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>
62 m_aCLHasBeenSet =
true;
78 template <
typename AccessControlPolicyT = AccessControlPolicy>
80 m_accessControlPolicyHasBeenSet =
true;
81 m_accessControlPolicy = std::forward<AccessControlPolicyT>(value);
83 template <
typename AccessControlPolicyT = AccessControlPolicy>
118 template <
typename BucketT = Aws::String>
120 m_bucketHasBeenSet =
true;
121 m_bucket = std::forward<BucketT>(value);
123 template <
typename BucketT = Aws::String>
141 template <
typename ContentMD5T = Aws::String>
143 m_contentMD5HasBeenSet =
true;
144 m_contentMD5 = std::forward<ContentMD5T>(value);
146 template <
typename ContentMD5T = Aws::String>
169 m_checksumAlgorithmHasBeenSet =
true;
170 m_checksumAlgorithm = value;
186 template <
typename GrantFullControlT = Aws::String>
188 m_grantFullControlHasBeenSet =
true;
189 m_grantFullControl = std::forward<GrantFullControlT>(value);
191 template <
typename GrantFullControlT = Aws::String>
205 template <
typename GrantReadT = Aws::String>
207 m_grantReadHasBeenSet =
true;
208 m_grantRead = std::forward<GrantReadT>(value);
210 template <
typename GrantReadT = Aws::String>
224 template <
typename GrantReadACPT = Aws::String>
226 m_grantReadACPHasBeenSet =
true;
227 m_grantReadACP = std::forward<GrantReadACPT>(value);
229 template <
typename GrantReadACPT = Aws::String>
244 template <
typename GrantWriteT = Aws::String>
246 m_grantWriteHasBeenSet =
true;
247 m_grantWrite = std::forward<GrantWriteT>(value);
249 template <
typename GrantWriteT = Aws::String>
263 template <
typename GrantWriteACPT = Aws::String>
265 m_grantWriteACPHasBeenSet =
true;
266 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
268 template <
typename GrantWriteACPT = Aws::String>
281 template <
typename KeyT = Aws::String>
283 m_keyHasBeenSet =
true;
284 m_key = std::forward<KeyT>(value);
286 template <
typename KeyT = Aws::String>
288 SetKey(std::forward<KeyT>(value));
298 m_requestPayerHasBeenSet =
true;
299 m_requestPayer = value;
314 template <
typename VersionIdT = Aws::String>
316 m_versionIdHasBeenSet =
true;
317 m_versionId = std::forward<VersionIdT>(value);
319 template <
typename VersionIdT = Aws::String>
334 template <
typename ExpectedBucketOwnerT = Aws::String>
336 m_expectedBucketOwnerHasBeenSet =
true;
337 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
339 template <
typename ExpectedBucketOwnerT = Aws::String>
350 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
352 m_customizedAccessLogTagHasBeenSet =
true;
353 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
355 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
360 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
362 m_customizedAccessLogTagHasBeenSet =
true;
363 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
370 AccessControlPolicy m_accessControlPolicy;
397 bool m_aCLHasBeenSet =
false;
398 bool m_accessControlPolicyHasBeenSet =
false;
399 bool m_bucketHasBeenSet =
false;
400 bool m_contentMD5HasBeenSet =
false;
401 bool m_checksumAlgorithmHasBeenSet =
false;
402 bool m_grantFullControlHasBeenSet =
false;
403 bool m_grantReadHasBeenSet =
false;
404 bool m_grantReadACPHasBeenSet =
false;
405 bool m_grantWriteHasBeenSet =
false;
406 bool m_grantWriteACPHasBeenSet =
false;
407 bool m_keyHasBeenSet =
false;
408 bool m_requestPayerHasBeenSet =
false;
409 bool m_versionIdHasBeenSet =
false;
410 bool m_expectedBucketOwnerHasBeenSet =
false;
411 bool m_customizedAccessLogTagHasBeenSet =
false;
const Aws::String & GetGrantWriteACP() const
bool GrantWriteHasBeenSet() const
AWS_S3_API bool ChecksumAlgorithmIsSet() const override
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