7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/model/BucketCannedACL.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/s3control/model/CreateBucketConfiguration.h>
66 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
95 inline void SetGrantFullControl(
const char* value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl.assign(value); }
110 inline void SetGrantRead(
const char* value) { m_grantReadHasBeenSet =
true; m_grantRead.assign(value); }
125 inline void SetGrantReadACP(
const char* value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP.assign(value); }
140 inline void SetGrantWrite(
const char* value) { m_grantWriteHasBeenSet =
true; m_grantWrite.assign(value); }
155 inline void SetGrantWriteACP(
const char* value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP.assign(value); }
182 inline void SetOutpostId(
const char* value) { m_outpostIdHasBeenSet =
true; m_outpostId.assign(value); }
190 bool m_aCLHasBeenSet =
false;
193 bool m_bucketHasBeenSet =
false;
196 bool m_createBucketConfigurationHasBeenSet =
false;
199 bool m_grantFullControlHasBeenSet =
false;
202 bool m_grantReadHasBeenSet =
false;
205 bool m_grantReadACPHasBeenSet =
false;
208 bool m_grantWriteHasBeenSet =
false;
211 bool m_grantWriteACPHasBeenSet =
false;
213 bool m_objectLockEnabledForBucket;
214 bool m_objectLockEnabledForBucketHasBeenSet =
false;
217 bool m_outpostIdHasBeenSet =
false;
bool GrantWriteACPHasBeenSet() const
const Aws::String & GetGrantRead() const
CreateBucketRequest & WithOutpostId(const Aws::String &value)
void SetGrantReadACP(const Aws::String &value)
void SetGrantRead(Aws::String &&value)
void SetGrantReadACP(Aws::String &&value)
bool GrantWriteHasBeenSet() const
void SetGrantRead(const char *value)
bool ACLHasBeenSet() const
const Aws::String & GetOutpostId() const
const Aws::String & GetGrantReadACP() const
bool GrantReadHasBeenSet() const
CreateBucketRequest & WithBucket(const Aws::String &value)
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
void SetACL(const BucketCannedACL &value)
void SetGrantFullControl(const char *value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
void SetGrantRead(const Aws::String &value)
CreateBucketRequest & WithOutpostId(const char *value)
CreateBucketRequest & WithGrantWrite(const Aws::String &value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateBucketRequest & WithCreateBucketConfiguration(CreateBucketConfiguration &&value)
void SetOutpostId(Aws::String &&value)
void SetGrantWrite(Aws::String &&value)
void SetBucket(const char *value)
const BucketCannedACL & GetACL() const
const Aws::String & GetGrantFullControl() const
bool GetObjectLockEnabledForBucket() const
const Aws::String & GetGrantWriteACP() const
void SetOutpostId(const Aws::String &value)
bool BucketHasBeenSet() const
const Aws::String & GetGrantWrite() const
bool GrantFullControlHasBeenSet() const
void SetGrantFullControl(const Aws::String &value)
void SetBucket(const Aws::String &value)
const Aws::String & GetBucket() const
void SetGrantFullControl(Aws::String &&value)
CreateBucketRequest & WithOutpostId(Aws::String &&value)
void SetObjectLockEnabledForBucket(bool value)
void SetGrantWriteACP(const Aws::String &value)
CreateBucketRequest & WithGrantFullControl(const Aws::String &value)
void SetGrantWrite(const char *value)
AWS_S3CONTROL_API CreateBucketRequest()
AWS_S3CONTROL_API Aws::String SerializePayload() const override
void SetGrantReadACP(const char *value)
void SetCreateBucketConfiguration(const CreateBucketConfiguration &value)
CreateBucketRequest & WithGrantWrite(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateBucketRequest & WithGrantWrite(const char *value)
CreateBucketRequest & WithCreateBucketConfiguration(const CreateBucketConfiguration &value)
bool GrantReadACPHasBeenSet() const
bool OutpostIdHasBeenSet() const
CreateBucketRequest & WithACL(const BucketCannedACL &value)
void SetGrantWriteACP(const char *value)
CreateBucketRequest & WithGrantFullControl(Aws::String &&value)
void SetGrantWrite(const Aws::String &value)
CreateBucketRequest & WithGrantRead(const Aws::String &value)
CreateBucketRequest & WithGrantWriteACP(Aws::String &&value)
CreateBucketRequest & WithObjectLockEnabledForBucket(bool value)
CreateBucketRequest & WithACL(BucketCannedACL &&value)
CreateBucketRequest & WithGrantWriteACP(const Aws::String &value)
CreateBucketRequest & WithGrantRead(const char *value)
CreateBucketRequest & WithGrantReadACP(const Aws::String &value)
bool CreateBucketConfigurationHasBeenSet() const
void SetCreateBucketConfiguration(CreateBucketConfiguration &&value)
CreateBucketRequest & WithBucket(Aws::String &&value)
bool ObjectLockEnabledForBucketHasBeenSet() const
void SetACL(BucketCannedACL &&value)
void SetBucket(Aws::String &&value)
void SetGrantWriteACP(Aws::String &&value)
CreateBucketRequest & WithGrantWriteACP(const char *value)
CreateBucketRequest & WithBucket(const char *value)
CreateBucketRequest & WithGrantReadACP(const char *value)
const CreateBucketConfiguration & GetCreateBucketConfiguration() const
CreateBucketRequest & WithGrantRead(Aws::String &&value)
void SetOutpostId(const char *value)
CreateBucketRequest & WithGrantFullControl(const char *value)
CreateBucketRequest & WithGrantReadACP(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String