7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3Request.h>
10#include <aws/s3/S3_EXPORTS.h>
11#include <aws/s3/model/AccessControlPolicy.h>
12#include <aws/s3/model/ChecksumAlgorithm.h>
13#include <aws/s3/model/ObjectCannedACL.h>
14#include <aws/s3/model/RequestPayer.h>
61 m_aCLHasBeenSet =
true;
77 template <
typename AccessControlPolicyT = AccessControlPolicy>
79 m_accessControlPolicyHasBeenSet =
true;
80 m_accessControlPolicy = std::forward<AccessControlPolicyT>(value);
82 template <
typename AccessControlPolicyT = AccessControlPolicy>
117 template <
typename BucketT = Aws::String>
119 m_bucketHasBeenSet =
true;
120 m_bucket = std::forward<BucketT>(value);
122 template <
typename BucketT = Aws::String>
140 template <
typename ContentMD5T = Aws::String>
142 m_contentMD5HasBeenSet =
true;
143 m_contentMD5 = std::forward<ContentMD5T>(value);
145 template <
typename ContentMD5T = Aws::String>
168 m_checksumAlgorithmHasBeenSet =
true;
169 m_checksumAlgorithm = value;
185 template <
typename GrantFullControlT = Aws::String>
187 m_grantFullControlHasBeenSet =
true;
188 m_grantFullControl = std::forward<GrantFullControlT>(value);
190 template <
typename GrantFullControlT = Aws::String>
204 template <
typename GrantReadT = Aws::String>
206 m_grantReadHasBeenSet =
true;
207 m_grantRead = std::forward<GrantReadT>(value);
209 template <
typename GrantReadT = Aws::String>
223 template <
typename GrantReadACPT = Aws::String>
225 m_grantReadACPHasBeenSet =
true;
226 m_grantReadACP = std::forward<GrantReadACPT>(value);
228 template <
typename GrantReadACPT = Aws::String>
243 template <
typename GrantWriteT = Aws::String>
245 m_grantWriteHasBeenSet =
true;
246 m_grantWrite = std::forward<GrantWriteT>(value);
248 template <
typename GrantWriteT = Aws::String>
262 template <
typename GrantWriteACPT = Aws::String>
264 m_grantWriteACPHasBeenSet =
true;
265 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
267 template <
typename GrantWriteACPT = Aws::String>
280 template <
typename KeyT = Aws::String>
282 m_keyHasBeenSet =
true;
283 m_key = std::forward<KeyT>(value);
285 template <
typename KeyT = Aws::String>
287 SetKey(std::forward<KeyT>(value));
297 m_requestPayerHasBeenSet =
true;
298 m_requestPayer = value;
313 template <
typename VersionIdT = Aws::String>
315 m_versionIdHasBeenSet =
true;
316 m_versionId = std::forward<VersionIdT>(value);
318 template <
typename VersionIdT = Aws::String>
333 template <
typename ExpectedBucketOwnerT = Aws::String>
335 m_expectedBucketOwnerHasBeenSet =
true;
336 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
338 template <
typename ExpectedBucketOwnerT = Aws::String>
349 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
351 m_customizedAccessLogTagHasBeenSet =
true;
352 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
354 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
359 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
361 m_customizedAccessLogTagHasBeenSet =
true;
362 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
368 bool m_aCLHasBeenSet =
false;
370 AccessControlPolicy m_accessControlPolicy;
371 bool m_accessControlPolicyHasBeenSet =
false;
374 bool m_bucketHasBeenSet =
false;
377 bool m_contentMD5HasBeenSet =
false;
380 bool m_checksumAlgorithmHasBeenSet =
false;
383 bool m_grantFullControlHasBeenSet =
false;
386 bool m_grantReadHasBeenSet =
false;
389 bool m_grantReadACPHasBeenSet =
false;
392 bool m_grantWriteHasBeenSet =
false;
395 bool m_grantWriteACPHasBeenSet =
false;
398 bool m_keyHasBeenSet =
false;
401 bool m_requestPayerHasBeenSet =
false;
404 bool m_versionIdHasBeenSet =
false;
407 bool m_expectedBucketOwnerHasBeenSet =
false;
410 bool m_customizedAccessLogTagHasBeenSet =
false;
const Aws::String & GetGrantWriteACP() const
bool GrantWriteHasBeenSet() const
bool GrantFullControlHasBeenSet() const
void SetKey(KeyT &&value)
PutObjectAclRequest & WithAccessControlPolicy(AccessControlPolicyT &&value)
PutObjectAclRequest & WithGrantWrite(GrantWriteT &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
PutObjectAclRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool GrantReadACPHasBeenSet() const
bool VersionIdHasBeenSet() const
void SetContentMD5(ContentMD5T &&value)
PutObjectAclRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetBucket(BucketT &&value)
const Aws::String & GetKey() const
const Aws::String & GetGrantWrite() const
bool ACLHasBeenSet() const
bool AccessControlPolicyHasBeenSet() const
bool RequestChecksumRequired() const override
void SetGrantWriteACP(GrantWriteACPT &&value)
void SetGrantWrite(GrantWriteT &&value)
void SetGrantFullControl(GrantFullControlT &&value)
PutObjectAclRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetExpectedBucketOwner() const
const Aws::String & GetGrantFullControl() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool BucketHasBeenSet() const
PutObjectAclRequest & WithBucket(BucketT &&value)
PutObjectAclRequest & WithGrantReadACP(GrantReadACPT &&value)
void SetGrantReadACP(GrantReadACPT &&value)
PutObjectAclRequest & WithRequestPayer(RequestPayer value)
const Aws::String & GetBucket() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3_API PutObjectAclRequest()=default
void SetChecksumAlgorithm(ChecksumAlgorithm value)
bool RequestPayerHasBeenSet() const
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
void SetVersionId(VersionIdT &&value)
const AccessControlPolicy & GetAccessControlPolicy() const
virtual const char * GetServiceRequestName() const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutObjectAclRequest & WithGrantWriteACP(GrantWriteACPT &&value)
void SetRequestPayer(RequestPayer value)
void SetAccessControlPolicy(AccessControlPolicyT &&value)
ObjectCannedACL GetACL() const
PutObjectAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API Aws::String SerializePayload() const override
bool ContentMD5HasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutObjectAclRequest & WithGrantRead(GrantReadT &&value)
PutObjectAclRequest & WithKey(KeyT &&value)
bool ChecksumAlgorithmHasBeenSet() const
const Aws::String & GetVersionId() const
RequestPayer GetRequestPayer() const
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetACL(ObjectCannedACL value)
void SetGrantRead(GrantReadT &&value)
PutObjectAclRequest & WithGrantFullControl(GrantFullControlT &&value)
PutObjectAclRequest & WithContentMD5(ContentMD5T &&value)
bool GrantReadHasBeenSet() const
const Aws::String & GetGrantReadACP() const
PutObjectAclRequest & WithACL(ObjectCannedACL value)
bool KeyHasBeenSet() const
const Aws::String & GetGrantRead() const
const Aws::String & GetContentMD5() const
PutObjectAclRequest & WithVersionId(VersionIdT &&value)
bool GrantWriteACPHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String