7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/ChecksumAlgorithm.h>
12#include <aws/s3-crt/model/VersioningConfiguration.h>
56 template <
typename BucketT = Aws::String>
58 m_bucketHasBeenSet =
true;
59 m_bucket = std::forward<BucketT>(value);
61 template <
typename BucketT = Aws::String>
79 template <
typename ContentMD5T = Aws::String>
81 m_contentMD5HasBeenSet =
true;
82 m_contentMD5 = std::forward<ContentMD5T>(value);
84 template <
typename ContentMD5T = Aws::String>
107 m_checksumAlgorithmHasBeenSet =
true;
108 m_checksumAlgorithm = value;
130 template <
typename MFAT = Aws::String>
132 m_mFAHasBeenSet =
true;
133 m_mFA = std::forward<MFAT>(value);
135 template <
typename MFAT = Aws::String>
137 SetMFA(std::forward<MFAT>(value));
148 template <
typename VersioningConfigurationT = VersioningConfiguration>
150 m_versioningConfigurationHasBeenSet =
true;
151 m_versioningConfiguration = std::forward<VersioningConfigurationT>(value);
153 template <
typename VersioningConfigurationT = VersioningConfiguration>
168 template <
typename ExpectedBucketOwnerT = Aws::String>
170 m_expectedBucketOwnerHasBeenSet =
true;
171 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
173 template <
typename ExpectedBucketOwnerT = Aws::String>
184 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
186 m_customizedAccessLogTagHasBeenSet =
true;
187 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
189 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
194 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
196 m_customizedAccessLogTagHasBeenSet =
true;
197 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
203 bool m_bucketHasBeenSet =
false;
206 bool m_contentMD5HasBeenSet =
false;
209 bool m_checksumAlgorithmHasBeenSet =
false;
212 bool m_mFAHasBeenSet =
false;
214 VersioningConfiguration m_versioningConfiguration;
215 bool m_versioningConfigurationHasBeenSet =
false;
218 bool m_expectedBucketOwnerHasBeenSet =
false;
221 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketVersioningRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketVersioningRequest & WithMFA(MFAT &&value)
void SetMFA(MFAT &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
const Aws::String & GetMFA() const
PutBucketVersioningRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
PutBucketVersioningRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool ChecksumAlgorithmHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool ExpectedBucketOwnerHasBeenSet() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool ContentMD5HasBeenSet() const
const Aws::String & GetContentMD5() const
bool VersioningConfigurationHasBeenSet() const
PutBucketVersioningRequest & WithContentMD5(ContentMD5T &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetChecksumAlgorithm(ChecksumAlgorithm value)
void SetContentMD5(ContentMD5T &&value)
void SetVersioningConfiguration(VersioningConfigurationT &&value)
AWS_S3CRT_API PutBucketVersioningRequest()=default
void SetBucket(BucketT &&value)
const Aws::String & GetExpectedBucketOwner() const
const Aws::String & GetBucket() const
PutBucketVersioningRequest & WithVersioningConfiguration(VersioningConfigurationT &&value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
bool MFAHasBeenSet() const
bool RequestChecksumRequired() const override
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
const VersioningConfiguration & GetVersioningConfiguration() const
bool BucketHasBeenSet() const
PutBucketVersioningRequest & WithBucket(BucketT &&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