7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/AccessControlPolicy.h>
12#include <aws/s3-crt/model/BucketCannedACL.h>
13#include <aws/s3-crt/model/ChecksumAlgorithm.h>
59 m_aCLHasBeenSet =
true;
75 template <
typename AccessControlPolicyT = AccessControlPolicy>
77 m_accessControlPolicyHasBeenSet =
true;
78 m_accessControlPolicy = std::forward<AccessControlPolicyT>(value);
80 template <
typename AccessControlPolicyT = AccessControlPolicy>
93 template <
typename BucketT = Aws::String>
95 m_bucketHasBeenSet =
true;
96 m_bucket = std::forward<BucketT>(value);
98 template <
typename BucketT = Aws::String>
116 template <
typename ContentMD5T = Aws::String>
118 m_contentMD5HasBeenSet =
true;
119 m_contentMD5 = std::forward<ContentMD5T>(value);
121 template <
typename ContentMD5T = Aws::String>
144 m_checksumAlgorithmHasBeenSet =
true;
145 m_checksumAlgorithm = value;
160 template <
typename GrantFullControlT = Aws::String>
162 m_grantFullControlHasBeenSet =
true;
163 m_grantFullControl = std::forward<GrantFullControlT>(value);
165 template <
typename GrantFullControlT = Aws::String>
178 template <
typename GrantReadT = Aws::String>
180 m_grantReadHasBeenSet =
true;
181 m_grantRead = std::forward<GrantReadT>(value);
183 template <
typename GrantReadT = Aws::String>
196 template <
typename GrantReadACPT = Aws::String>
198 m_grantReadACPHasBeenSet =
true;
199 m_grantReadACP = std::forward<GrantReadACPT>(value);
201 template <
typename GrantReadACPT = Aws::String>
216 template <
typename GrantWriteT = Aws::String>
218 m_grantWriteHasBeenSet =
true;
219 m_grantWrite = std::forward<GrantWriteT>(value);
221 template <
typename GrantWriteT = Aws::String>
234 template <
typename GrantWriteACPT = Aws::String>
236 m_grantWriteACPHasBeenSet =
true;
237 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
239 template <
typename GrantWriteACPT = Aws::String>
254 template <
typename ExpectedBucketOwnerT = Aws::String>
256 m_expectedBucketOwnerHasBeenSet =
true;
257 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
259 template <
typename ExpectedBucketOwnerT = Aws::String>
270 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
272 m_customizedAccessLogTagHasBeenSet =
true;
273 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
275 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
280 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
282 m_customizedAccessLogTagHasBeenSet =
true;
283 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
290 AccessControlPolicy m_accessControlPolicy;
311 bool m_aCLHasBeenSet =
false;
312 bool m_accessControlPolicyHasBeenSet =
false;
313 bool m_bucketHasBeenSet =
false;
314 bool m_contentMD5HasBeenSet =
false;
315 bool m_checksumAlgorithmHasBeenSet =
false;
316 bool m_grantFullControlHasBeenSet =
false;
317 bool m_grantReadHasBeenSet =
false;
318 bool m_grantReadACPHasBeenSet =
false;
319 bool m_grantWriteHasBeenSet =
false;
320 bool m_grantWriteACPHasBeenSet =
false;
321 bool m_expectedBucketOwnerHasBeenSet =
false;
322 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetGrantReadACP(GrantReadACPT &&value)
PutBucketAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
PutBucketAclRequest & WithGrantWriteACP(GrantWriteACPT &&value)
const AccessControlPolicy & GetAccessControlPolicy() const
PutBucketAclRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
virtual const char * GetServiceRequestName() const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ChecksumAlgorithm GetChecksumAlgorithm() const
PutBucketAclRequest & WithGrantFullControl(GrantFullControlT &&value)
PutBucketAclRequest & WithBucket(BucketT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetAccessControlPolicy(AccessControlPolicyT &&value)
void SetGrantWrite(GrantWriteT &&value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
void SetBucket(BucketT &&value)
const Aws::String & GetGrantReadACP() const
PutBucketAclRequest & WithGrantWrite(GrantWriteT &&value)
const Aws::String & GetContentMD5() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool GrantReadACPHasBeenSet() const
bool RequestChecksumRequired() const override
PutBucketAclRequest & WithGrantRead(GrantReadT &&value)
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketAclRequest & WithGrantReadACP(GrantReadACPT &&value)
bool ChecksumAlgorithmHasBeenSet() const
PutBucketAclRequest & WithContentMD5(ContentMD5T &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetGrantRead(GrantReadT &&value)
bool GrantWriteHasBeenSet() const
bool ContentMD5HasBeenSet() const
void SetGrantFullControl(GrantFullControlT &&value)
BucketCannedACL GetACL() const
bool BucketHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
bool GrantReadHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3CRT_API PutBucketAclRequest()=default
PutBucketAclRequest & WithACL(BucketCannedACL value)
bool AccessControlPolicyHasBeenSet() const
const Aws::String & GetGrantFullControl() const
const Aws::String & GetGrantWrite() const
AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override
void SetChecksumAlgorithm(ChecksumAlgorithm value)
void SetGrantWriteACP(GrantWriteACPT &&value)
PutBucketAclRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetACL(BucketCannedACL value)
const Aws::String & GetExpectedBucketOwner() const
PutBucketAclRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetGrantRead() const
bool GrantFullControlHasBeenSet() const
bool GrantWriteACPHasBeenSet() const
bool ACLHasBeenSet() const
const Aws::String & GetBucket() const
PutBucketAclRequest & WithAccessControlPolicy(AccessControlPolicyT &&value)
void SetContentMD5(ContentMD5T &&value)
const Aws::String & GetGrantWriteACP() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
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