7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/S3CrtRequest.h>
9#include <aws/s3-crt/model/BucketCannedACL.h>
10#include <aws/s3-crt/model/AccessControlPolicy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
87 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
106 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
142 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
156 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
170 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
186 inline void SetGrantWrite(
const char* value) { m_grantWriteHasBeenSet =
true; m_grantWrite.assign(value); }
200 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
216 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
241 bool m_aCLHasBeenSet =
false;
244 bool m_accessControlPolicyHasBeenSet =
false;
247 bool m_bucketHasBeenSet =
false;
250 bool m_contentMD5HasBeenSet =
false;
253 bool m_checksumAlgorithmHasBeenSet =
false;
256 bool m_grantFullControlHasBeenSet =
false;
259 bool m_grantReadHasBeenSet =
false;
262 bool m_grantReadACPHasBeenSet =
false;
265 bool m_grantWriteHasBeenSet =
false;
268 bool m_grantWriteACPHasBeenSet =
false;
271 bool m_expectedBucketOwnerHasBeenSet =
false;
274 bool m_customizedAccessLogTagHasBeenSet =
false;
PutBucketAclRequest & WithGrantReadACP(Aws::String &&value)
void SetGrantFullControl(const Aws::String &value)
AWS_S3CRT_API PutBucketAclRequest()
const AccessControlPolicy & GetAccessControlPolicy() const
PutBucketAclRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetGrantWrite(const char *value)
PutBucketAclRequest & WithAccessControlPolicy(const AccessControlPolicy &value)
virtual const char * GetServiceRequestName() const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetGrantRead(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutBucketAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
PutBucketAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutBucketAclRequest & WithAccessControlPolicy(AccessControlPolicy &&value)
void SetBucket(const char *value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
PutBucketAclRequest & WithContentMD5(const Aws::String &value)
const Aws::String & GetGrantReadACP() const
PutBucketAclRequest & WithGrantFullControl(Aws::String &&value)
PutBucketAclRequest & WithBucket(const Aws::String &value)
PutBucketAclRequest & WithACL(const BucketCannedACL &value)
PutBucketAclRequest & WithGrantWriteACP(const Aws::String &value)
void SetExpectedBucketOwner(Aws::String &&value)
const Aws::String & GetContentMD5() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetAccessControlPolicy(AccessControlPolicy &&value)
bool GrantReadACPHasBeenSet() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool ChecksumAlgorithmHasBeenSet() const
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetBucket(const Aws::String &value)
PutBucketAclRequest & WithGrantFullControl(const char *value)
bool GrantWriteHasBeenSet() const
bool ContentMD5HasBeenSet() const
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetExpectedBucketOwner(const char *value)
bool BucketHasBeenSet() const
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
PutBucketAclRequest & WithGrantRead(Aws::String &&value)
PutBucketAclRequest & WithContentMD5(const char *value)
bool ExpectedBucketOwnerHasBeenSet() const
PutBucketAclRequest & WithGrantReadACP(const Aws::String &value)
void SetGrantWriteACP(Aws::String &&value)
PutBucketAclRequest & WithGrantFullControl(const Aws::String &value)
bool GrantReadHasBeenSet() const
void SetAccessControlPolicy(const AccessControlPolicy &value)
bool CustomizedAccessLogTagHasBeenSet() const
void SetContentMD5(const Aws::String &value)
void SetGrantWriteACP(const char *value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
PutBucketAclRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
bool AccessControlPolicyHasBeenSet() const
PutBucketAclRequest & WithGrantRead(const char *value)
PutBucketAclRequest & WithGrantWriteACP(Aws::String &&value)
const Aws::String & GetGrantFullControl() const
void SetGrantReadACP(const Aws::String &value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
PutBucketAclRequest & WithGrantWrite(const Aws::String &value)
PutBucketAclRequest & WithGrantWrite(Aws::String &&value)
const Aws::String & GetGrantWrite() const
PutBucketAclRequest & WithExpectedBucketOwner(const Aws::String &value)
PutBucketAclRequest & WithExpectedBucketOwner(Aws::String &&value)
void SetGrantWrite(Aws::String &&value)
PutBucketAclRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetGrantReadACP(const char *value)
PutBucketAclRequest & WithGrantWriteACP(const char *value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
PutBucketAclRequest & WithBucket(const char *value)
const Aws::String & GetExpectedBucketOwner() const
const BucketCannedACL & GetACL() const
PutBucketAclRequest & WithContentMD5(Aws::String &&value)
void SetGrantWrite(const Aws::String &value)
PutBucketAclRequest & WithBucket(Aws::String &&value)
void SetGrantFullControl(Aws::String &&value)
PutBucketAclRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetACL(const BucketCannedACL &value)
PutBucketAclRequest & WithGrantReadACP(const char *value)
void SetGrantRead(Aws::String &&value)
PutBucketAclRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutBucketAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetGrantWriteACP(const Aws::String &value)
PutBucketAclRequest & WithGrantWrite(const char *value)
PutBucketAclRequest & WithACL(BucketCannedACL &&value)
const Aws::String & GetGrantRead() const
PutBucketAclRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetContentMD5(const char *value)
bool GrantFullControlHasBeenSet() const
bool GrantWriteACPHasBeenSet() const
void SetBucket(Aws::String &&value)
bool ACLHasBeenSet() const
const Aws::String & GetBucket() const
PutBucketAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
PutBucketAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutBucketAclRequest & WithGrantRead(const Aws::String &value)
void SetGrantReadACP(Aws::String &&value)
PutBucketAclRequest & WithExpectedBucketOwner(const char *value)
void SetGrantFullControl(const char *value)
const Aws::String & GetGrantWriteACP() const
void SetContentMD5(Aws::String &&value)
void SetGrantRead(const char *value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetExpectedBucketOwner(const Aws::String &value)
void SetACL(BucketCannedACL &&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