We need a special setter here and can not use `StringSetter` because for e.g. the * `PutObjectRequest`, the setter is located in the base class (instead of the concrete * class). */
| 1415 | * `PutObjectRequest`, the setter is located in the base class (instead of the concrete |
| 1416 | * class). */ |
| 1417 | static Setter ContentTypeSetter() { |
| 1418 | return [](const std::string& str, ObjectRequest* req) { |
| 1419 | req->SetContentType(str); |
| 1420 | return Status::OK(); |
| 1421 | }; |
| 1422 | } |
| 1423 | |
| 1424 | static Result<S3Model::ObjectCannedACL> ParseACL(const std::string& v) { |
| 1425 | if (v.empty()) { |