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/core/utils/memory/stl/AWSString.h>
11#include <aws/s3-crt/model/CreateBucketConfiguration.h>
12#include <aws/s3-crt/model/ObjectOwnership.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
86 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
114 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
129 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
144 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
161 inline void SetGrantWrite(
const char* value) { m_grantWriteHasBeenSet =
true; m_grantWrite.assign(value); }
176 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
223 bool m_aCLHasBeenSet =
false;
226 bool m_bucketHasBeenSet =
false;
229 bool m_createBucketConfigurationHasBeenSet =
false;
232 bool m_grantFullControlHasBeenSet =
false;
235 bool m_grantReadHasBeenSet =
false;
238 bool m_grantReadACPHasBeenSet =
false;
241 bool m_grantWriteHasBeenSet =
false;
244 bool m_grantWriteACPHasBeenSet =
false;
246 bool m_objectLockEnabledForBucket;
247 bool m_objectLockEnabledForBucketHasBeenSet =
false;
250 bool m_objectOwnershipHasBeenSet =
false;
253 bool m_customizedAccessLogTagHasBeenSet =
false;
CreateBucketRequest & WithGrantFullControl(const char *value)
void SetObjectLockEnabledForBucket(bool value)
CreateBucketRequest & WithObjectOwnership(ObjectOwnership &&value)
CreateBucketRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
AWS_S3CRT_API CreateBucketRequest()
bool GetObjectLockEnabledForBucket() const
CreateBucketRequest & WithGrantWriteACP(const Aws::String &value)
void SetGrantRead(const char *value)
CreateBucketRequest & WithGrantReadACP(const char *value)
void SetGrantWrite(Aws::String &&value)
bool CustomizedAccessLogTagHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateBucketRequest & WithGrantFullControl(Aws::String &&value)
bool CreateBucketConfigurationHasBeenSet() const
void SetObjectOwnership(ObjectOwnership &&value)
void SetGrantRead(const Aws::String &value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
CreateBucketRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
void SetGrantWriteACP(Aws::String &&value)
const Aws::String & GetGrantFullControl() const
CreateBucketRequest & WithGrantWriteACP(const char *value)
CreateBucketRequest & WithGrantRead(const char *value)
CreateBucketRequest & WithGrantWriteACP(Aws::String &&value)
const Aws::String & GetBucket() const
CreateBucketRequest & WithCreateBucketConfiguration(const CreateBucketConfiguration &value)
CreateBucketRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateBucketRequest & WithBucket(Aws::String &&value)
const Aws::String & GetGrantWriteACP() const
CreateBucketRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
void SetGrantFullControl(Aws::String &&value)
const CreateBucketConfiguration & GetCreateBucketConfiguration() const
void SetGrantWrite(const Aws::String &value)
const ObjectOwnership & GetObjectOwnership() const
bool GrantFullControlHasBeenSet() const
bool BucketHasBeenSet() const
CreateBucketRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
bool ObjectLockEnabledForBucketHasBeenSet() const
const Aws::String & GetGrantReadACP() const
void SetGrantWrite(const char *value)
void SetGrantWriteACP(const char *value)
bool GrantReadHasBeenSet() const
AWS_S3CRT_API Aws::String SerializePayload() const override
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetCreateBucketConfiguration(CreateBucketConfiguration &&value)
void SetGrantReadACP(const char *value)
bool GrantReadACPHasBeenSet() const
void SetGrantFullControl(const char *value)
CreateBucketRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
CreateBucketRequest & WithGrantWrite(Aws::String &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetBucket(Aws::String &&value)
void SetCreateBucketConfiguration(const CreateBucketConfiguration &value)
void SetBucket(const Aws::String &value)
const Aws::String & GetGrantRead() const
void SetACL(BucketCannedACL &&value)
void SetGrantFullControl(const Aws::String &value)
bool GrantWriteHasBeenSet() const
CreateBucketRequest & WithACL(BucketCannedACL &&value)
CreateBucketRequest & WithObjectLockEnabledForBucket(bool value)
const Aws::String & GetGrantWrite() const
CreateBucketRequest & WithCreateBucketConfiguration(CreateBucketConfiguration &&value)
CreateBucketRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
bool ObjectOwnershipHasBeenSet() const
void SetGrantWriteACP(const Aws::String &value)
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetObjectOwnership(const ObjectOwnership &value)
CreateBucketRequest & WithGrantRead(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool GrantWriteACPHasBeenSet() const
const BucketCannedACL & GetACL() const
CreateBucketRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
CreateBucketRequest & WithGrantRead(const Aws::String &value)
CreateBucketRequest & WithGrantReadACP(const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
CreateBucketRequest & WithBucket(const char *value)
CreateBucketRequest & WithBucket(const Aws::String &value)
CreateBucketRequest & WithGrantWrite(const char *value)
CreateBucketRequest & WithGrantReadACP(Aws::String &&value)
bool ACLHasBeenSet() const
void SetGrantRead(Aws::String &&value)
CreateBucketRequest & WithObjectOwnership(const ObjectOwnership &value)
void SetGrantReadACP(const Aws::String &value)
void SetACL(const BucketCannedACL &value)
void SetBucket(const char *value)
CreateBucketRequest & WithGrantWrite(const Aws::String &value)
CreateBucketRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
void SetGrantReadACP(Aws::String &&value)
CreateBucketRequest & WithGrantFullControl(const Aws::String &value)
CreateBucketRequest & WithACL(const 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