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>
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));
288 bool m_aCLHasBeenSet =
false;
290 AccessControlPolicy m_accessControlPolicy;
291 bool m_accessControlPolicyHasBeenSet =
false;
294 bool m_bucketHasBeenSet =
false;
297 bool m_contentMD5HasBeenSet =
false;
300 bool m_checksumAlgorithmHasBeenSet =
false;
303 bool m_grantFullControlHasBeenSet =
false;
306 bool m_grantReadHasBeenSet =
false;
309 bool m_grantReadACPHasBeenSet =
false;
312 bool m_grantWriteHasBeenSet =
false;
315 bool m_grantWriteACPHasBeenSet =
false;
318 bool m_expectedBucketOwnerHasBeenSet =
false;
321 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
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