7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/s3/model/BucketCannedACL.h>
10#include <aws/s3/model/AccessControlPolicy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3/model/ChecksumAlgorithm.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
72 template<
typename AccessControlPolicyT = AccessControlPolicy>
73 void SetAccessControlPolicy(AccessControlPolicyT&& value) { m_accessControlPolicyHasBeenSet =
true; m_accessControlPolicy = std::forward<AccessControlPolicyT>(value); }
74 template<
typename AccessControlPolicyT = AccessControlPolicy>
84 template<
typename BucketT = Aws::String>
85 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
86 template<
typename BucketT = Aws::String>
101 template<
typename ContentMD5T = Aws::String>
102 void SetContentMD5(ContentMD5T&& value) { m_contentMD5HasBeenSet =
true; m_contentMD5 = std::forward<ContentMD5T>(value); }
103 template<
typename ContentMD5T = Aws::String>
133 template<
typename GrantFullControlT = Aws::String>
134 void SetGrantFullControl(GrantFullControlT&& value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl = std::forward<GrantFullControlT>(value); }
135 template<
typename GrantFullControlT = Aws::String>
145 template<
typename GrantReadT = Aws::String>
146 void SetGrantRead(GrantReadT&& value) { m_grantReadHasBeenSet =
true; m_grantRead = std::forward<GrantReadT>(value); }
147 template<
typename GrantReadT = Aws::String>
157 template<
typename GrantReadACPT = Aws::String>
158 void SetGrantReadACP(GrantReadACPT&& value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP = std::forward<GrantReadACPT>(value); }
159 template<
typename GrantReadACPT = Aws::String>
171 template<
typename GrantWriteT = Aws::String>
172 void SetGrantWrite(GrantWriteT&& value) { m_grantWriteHasBeenSet =
true; m_grantWrite = std::forward<GrantWriteT>(value); }
173 template<
typename GrantWriteT = Aws::String>
183 template<
typename GrantWriteACPT = Aws::String>
184 void SetGrantWriteACP(GrantWriteACPT&& value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP = std::forward<GrantWriteACPT>(value); }
185 template<
typename GrantWriteACPT = Aws::String>
197 template<
typename ExpectedBucketOwnerT = Aws::String>
198 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
199 template<
typename ExpectedBucketOwnerT = Aws::String>
207 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
208 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
209 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
211 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
213 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
219 bool m_aCLHasBeenSet =
false;
221 AccessControlPolicy m_accessControlPolicy;
222 bool m_accessControlPolicyHasBeenSet =
false;
225 bool m_bucketHasBeenSet =
false;
228 bool m_contentMD5HasBeenSet =
false;
231 bool m_checksumAlgorithmHasBeenSet =
false;
234 bool m_grantFullControlHasBeenSet =
false;
237 bool m_grantReadHasBeenSet =
false;
240 bool m_grantReadACPHasBeenSet =
false;
243 bool m_grantWriteHasBeenSet =
false;
246 bool m_grantWriteACPHasBeenSet =
false;
249 bool m_expectedBucketOwnerHasBeenSet =
false;
252 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