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/BucketCannedACL.h>
13#include <aws/s3/model/ChecksumAlgorithm.h>
58 m_aCLHasBeenSet =
true;
74 template <
typename AccessControlPolicyT = AccessControlPolicy>
76 m_accessControlPolicyHasBeenSet =
true;
77 m_accessControlPolicy = std::forward<AccessControlPolicyT>(value);
79 template <
typename AccessControlPolicyT = AccessControlPolicy>
92 template <
typename BucketT = Aws::String>
94 m_bucketHasBeenSet =
true;
95 m_bucket = std::forward<BucketT>(value);
97 template <
typename BucketT = Aws::String>
115 template <
typename ContentMD5T = Aws::String>
117 m_contentMD5HasBeenSet =
true;
118 m_contentMD5 = std::forward<ContentMD5T>(value);
120 template <
typename ContentMD5T = Aws::String>
143 m_checksumAlgorithmHasBeenSet =
true;
144 m_checksumAlgorithm = value;
159 template <
typename GrantFullControlT = Aws::String>
161 m_grantFullControlHasBeenSet =
true;
162 m_grantFullControl = std::forward<GrantFullControlT>(value);
164 template <
typename GrantFullControlT = Aws::String>
177 template <
typename GrantReadT = Aws::String>
179 m_grantReadHasBeenSet =
true;
180 m_grantRead = std::forward<GrantReadT>(value);
182 template <
typename GrantReadT = Aws::String>
195 template <
typename GrantReadACPT = Aws::String>
197 m_grantReadACPHasBeenSet =
true;
198 m_grantReadACP = std::forward<GrantReadACPT>(value);
200 template <
typename GrantReadACPT = Aws::String>
215 template <
typename GrantWriteT = Aws::String>
217 m_grantWriteHasBeenSet =
true;
218 m_grantWrite = std::forward<GrantWriteT>(value);
220 template <
typename GrantWriteT = Aws::String>
233 template <
typename GrantWriteACPT = Aws::String>
235 m_grantWriteACPHasBeenSet =
true;
236 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
238 template <
typename GrantWriteACPT = Aws::String>
253 template <
typename ExpectedBucketOwnerT = Aws::String>
255 m_expectedBucketOwnerHasBeenSet =
true;
256 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
258 template <
typename ExpectedBucketOwnerT = Aws::String>
269 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
271 m_customizedAccessLogTagHasBeenSet =
true;
272 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
274 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
279 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
281 m_customizedAccessLogTagHasBeenSet =
true;
282 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
289 AccessControlPolicy m_accessControlPolicy;
310 bool m_aCLHasBeenSet =
false;
311 bool m_accessControlPolicyHasBeenSet =
false;
312 bool m_bucketHasBeenSet =
false;
313 bool m_contentMD5HasBeenSet =
false;
314 bool m_checksumAlgorithmHasBeenSet =
false;
315 bool m_grantFullControlHasBeenSet =
false;
316 bool m_grantReadHasBeenSet =
false;
317 bool m_grantReadACPHasBeenSet =
false;
318 bool m_grantWriteHasBeenSet =
false;
319 bool m_grantWriteACPHasBeenSet =
false;
320 bool m_expectedBucketOwnerHasBeenSet =
false;
321 bool m_customizedAccessLogTagHasBeenSet =
false;
ChecksumAlgorithm GetChecksumAlgorithm() const
bool ContentMD5HasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetAccessControlPolicy(AccessControlPolicyT &&value)
virtual const char * GetServiceRequestName() const override
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API Aws::String SerializePayload() const override
bool ChecksumAlgorithmHasBeenSet() const
PutBucketAclRequest & WithGrantFullControl(GrantFullControlT &&value)
const Aws::String & GetContentMD5() const
const Aws::String & GetBucket() const
void SetGrantReadACP(GrantReadACPT &&value)
PutBucketAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
const AccessControlPolicy & GetAccessControlPolicy() const
bool GrantReadACPHasBeenSet() const
const Aws::String & GetGrantWrite() const
PutBucketAclRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
void SetGrantWriteACP(GrantWriteACPT &&value)
void SetGrantWrite(GrantWriteT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetBucket(BucketT &&value)
void SetACL(BucketCannedACL value)
const Aws::String & GetGrantRead() const
bool GrantWriteACPHasBeenSet() const
bool BucketHasBeenSet() const
PutBucketAclRequest & WithGrantWriteACP(GrantWriteACPT &&value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
PutBucketAclRequest & WithGrantReadACP(GrantReadACPT &&value)
bool ACLHasBeenSet() const
PutBucketAclRequest & WithGrantWrite(GrantWriteT &&value)
PutBucketAclRequest & WithACL(BucketCannedACL value)
PutBucketAclRequest & WithBucket(BucketT &&value)
void SetGrantRead(GrantReadT &&value)
const Aws::String & GetGrantReadACP() const
const Aws::String & GetGrantFullControl() const
PutBucketAclRequest & WithAccessControlPolicy(AccessControlPolicyT &&value)
const Aws::String & GetGrantWriteACP() const
bool GrantReadHasBeenSet() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketAclRequest & WithContentMD5(ContentMD5T &&value)
bool AccessControlPolicyHasBeenSet() const
BucketCannedACL GetACL() const
AWS_S3_API PutBucketAclRequest()=default
void SetContentMD5(ContentMD5T &&value)
void SetGrantFullControl(GrantFullControlT &&value)
const Aws::String & GetExpectedBucketOwner() const
bool CustomizedAccessLogTagHasBeenSet() const
bool RequestChecksumRequired() const override
PutBucketAclRequest & WithGrantRead(GrantReadT &&value)
bool GrantFullControlHasBeenSet() const
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
bool GrantWriteHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutBucketAclRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutBucketAclRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
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