| 1404 | } |
| 1405 | |
| 1406 | static Setter CannedACLSetter() { |
| 1407 | return [](const std::string& v, ObjectRequest* req) { |
| 1408 | ARROW_ASSIGN_OR_RAISE(auto acl, ParseACL(v)); |
| 1409 | req->SetACL(acl); |
| 1410 | return Status::OK(); |
| 1411 | }; |
| 1412 | } |
| 1413 | |
| 1414 | /** We need a special setter here and can not use `StringSetter` because for e.g. the |
| 1415 | * `PutObjectRequest`, the setter is located in the base class (instead of the concrete |