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>
62 template<
typename BucketT = Aws::String>
63 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
64 template<
typename BucketT = Aws::String>
75 template<
typename CreateBucketConfigurationT = CreateBucketConfiguration>
76 void SetCreateBucketConfiguration(CreateBucketConfigurationT&& value) { m_createBucketConfigurationHasBeenSet =
true; m_createBucketConfiguration = std::forward<CreateBucketConfigurationT>(value); }
77 template<
typename CreateBucketConfigurationT = CreateBucketConfiguration>
89 template<
typename GrantFullControlT = Aws::String>
90 void SetGrantFullControl(GrantFullControlT&& value) { m_grantFullControlHasBeenSet =
true; m_grantFullControl = std::forward<GrantFullControlT>(value); }
91 template<
typename GrantFullControlT = Aws::String>
102 template<
typename GrantReadT = Aws::String>
103 void SetGrantRead(GrantReadT&& value) { m_grantReadHasBeenSet =
true; m_grantRead = std::forward<GrantReadT>(value); }
104 template<
typename GrantReadT = Aws::String>
115 template<
typename GrantReadACPT = Aws::String>
116 void SetGrantReadACP(GrantReadACPT&& value) { m_grantReadACPHasBeenSet =
true; m_grantReadACP = std::forward<GrantReadACPT>(value); }
117 template<
typename GrantReadACPT = Aws::String>
128 template<
typename GrantWriteT = Aws::String>
129 void SetGrantWrite(GrantWriteT&& value) { m_grantWriteHasBeenSet =
true; m_grantWrite = std::forward<GrantWriteT>(value); }
130 template<
typename GrantWriteT = Aws::String>
141 template<
typename GrantWriteACPT = Aws::String>
142 void SetGrantWriteACP(GrantWriteACPT&& value) { m_grantWriteACPHasBeenSet =
true; m_grantWriteACP = std::forward<GrantWriteACPT>(value); }
143 template<
typename GrantWriteACPT = Aws::String>
166 template<
typename OutpostIdT = Aws::String>
167 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet =
true; m_outpostId = std::forward<OutpostIdT>(value); }
168 template<
typename OutpostIdT = Aws::String>
174 bool m_aCLHasBeenSet =
false;
177 bool m_bucketHasBeenSet =
false;
179 CreateBucketConfiguration m_createBucketConfiguration;
180 bool m_createBucketConfigurationHasBeenSet =
false;
183 bool m_grantFullControlHasBeenSet =
false;
186 bool m_grantReadHasBeenSet =
false;
189 bool m_grantReadACPHasBeenSet =
false;
192 bool m_grantWriteHasBeenSet =
false;
195 bool m_grantWriteACPHasBeenSet =
false;
197 bool m_objectLockEnabledForBucket{
false};
198 bool m_objectLockEnabledForBucketHasBeenSet =
false;
201 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