7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10#include <aws/s3control/model/BucketCannedACL.h>
11#include <aws/s3control/model/CreateBucketConfiguration.h>
50 m_aCLHasBeenSet =
true;
65 template <
typename BucketT = Aws::String>
67 m_bucketHasBeenSet =
true;
68 m_bucket = std::forward<BucketT>(value);
70 template <
typename BucketT = Aws::String>
84 template <
typename CreateBucketConfigurationT = CreateBucketConfiguration>
86 m_createBucketConfigurationHasBeenSet =
true;
87 m_createBucketConfiguration = std::forward<CreateBucketConfigurationT>(value);
89 template <
typename CreateBucketConfigurationT = CreateBucketConfiguration>
104 template <
typename GrantFullControlT = Aws::String>
106 m_grantFullControlHasBeenSet =
true;
107 m_grantFullControl = std::forward<GrantFullControlT>(value);
109 template <
typename GrantFullControlT = Aws::String>
123 template <
typename GrantReadT = Aws::String>
125 m_grantReadHasBeenSet =
true;
126 m_grantRead = std::forward<GrantReadT>(value);
128 template <
typename GrantReadT = Aws::String>
142 template <
typename GrantReadACPT = Aws::String>
144 m_grantReadACPHasBeenSet =
true;
145 m_grantReadACP = std::forward<GrantReadACPT>(value);
147 template <
typename GrantReadACPT = Aws::String>
161 template <
typename GrantWriteT = Aws::String>
163 m_grantWriteHasBeenSet =
true;
164 m_grantWrite = std::forward<GrantWriteT>(value);
166 template <
typename GrantWriteT = Aws::String>
180 template <
typename GrantWriteACPT = Aws::String>
182 m_grantWriteACPHasBeenSet =
true;
183 m_grantWriteACP = std::forward<GrantWriteACPT>(value);
185 template <
typename GrantWriteACPT = Aws::String>
201 m_objectLockEnabledForBucketHasBeenSet =
true;
202 m_objectLockEnabledForBucket = value;
217 template <
typename OutpostIdT = Aws::String>
219 m_outpostIdHasBeenSet =
true;
220 m_outpostId = std::forward<OutpostIdT>(value);
222 template <
typename OutpostIdT = Aws::String>
233 CreateBucketConfiguration m_createBucketConfiguration;
245 bool m_objectLockEnabledForBucket{
false};
248 bool m_aCLHasBeenSet =
false;
249 bool m_bucketHasBeenSet =
false;
250 bool m_createBucketConfigurationHasBeenSet =
false;
251 bool m_grantFullControlHasBeenSet =
false;
252 bool m_grantReadHasBeenSet =
false;
253 bool m_grantReadACPHasBeenSet =
false;
254 bool m_grantWriteHasBeenSet =
false;
255 bool m_grantWriteACPHasBeenSet =
false;
256 bool m_objectLockEnabledForBucketHasBeenSet =
false;
257 bool m_outpostIdHasBeenSet =
false;
bool GrantWriteACPHasBeenSet() const
const Aws::String & GetGrantRead() const
bool GrantWriteHasBeenSet() const
void SetGrantWriteACP(GrantWriteACPT &&value)
bool ACLHasBeenSet() const
const Aws::String & GetOutpostId() const
const Aws::String & GetGrantReadACP() const
bool GrantReadHasBeenSet() const
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
void SetCreateBucketConfiguration(CreateBucketConfigurationT &&value)
CreateBucketRequest & WithACL(BucketCannedACL value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API CreateBucketRequest()=default
void SetGrantWrite(GrantWriteT &&value)
CreateBucketRequest & WithGrantWrite(GrantWriteT &&value)
const Aws::String & GetGrantFullControl() const
bool GetObjectLockEnabledForBucket() const
const Aws::String & GetGrantWriteACP() const
CreateBucketRequest & WithOutpostId(OutpostIdT &&value)
CreateBucketRequest & WithGrantFullControl(GrantFullControlT &&value)
bool BucketHasBeenSet() const
const Aws::String & GetGrantWrite() const
bool GrantFullControlHasBeenSet() const
const Aws::String & GetBucket() const
void SetObjectLockEnabledForBucket(bool value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
CreateBucketRequest & WithCreateBucketConfiguration(CreateBucketConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
CreateBucketRequest & WithGrantRead(GrantReadT &&value)
CreateBucketRequest & WithBucket(BucketT &&value)
CreateBucketRequest & WithGrantReadACP(GrantReadACPT &&value)
void SetGrantRead(GrantReadT &&value)
void SetOutpostId(OutpostIdT &&value)
bool GrantReadACPHasBeenSet() const
bool OutpostIdHasBeenSet() const
CreateBucketRequest & WithGrantWriteACP(GrantWriteACPT &&value)
BucketCannedACL GetACL() const
void SetACL(BucketCannedACL value)
CreateBucketRequest & WithObjectLockEnabledForBucket(bool value)
void SetGrantReadACP(GrantReadACPT &&value)
bool CreateBucketConfigurationHasBeenSet() const
bool ObjectLockEnabledForBucketHasBeenSet() const
const CreateBucketConfiguration & GetCreateBucketConfiguration() const
void SetBucket(BucketT &&value)
void SetGrantFullControl(GrantFullControlT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String