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>
57 template <
typename BucketT = Aws::String>
59 m_bucketHasBeenSet =
true;
60 m_bucket = std::forward<BucketT>(value);
62 template <
typename BucketT = Aws::String>
80 template <
typename ContentMD5T = Aws::String>
82 m_contentMD5HasBeenSet =
true;
83 m_contentMD5 = std::forward<ContentMD5T>(value);
85 template <
typename ContentMD5T = Aws::String>
108 m_checksumAlgorithmHasBeenSet =
true;
109 m_checksumAlgorithm = value;
131 template <
typename MFAT = Aws::String>
133 m_mFAHasBeenSet =
true;
134 m_mFA = std::forward<MFAT>(value);
136 template <
typename MFAT = Aws::String>
138 SetMFA(std::forward<MFAT>(value));
149 template <
typename VersioningConfigurationT = VersioningConfiguration>
151 m_versioningConfigurationHasBeenSet =
true;
152 m_versioningConfiguration = std::forward<VersioningConfigurationT>(value);
154 template <
typename VersioningConfigurationT = VersioningConfiguration>
169 template <
typename ExpectedBucketOwnerT = Aws::String>
171 m_expectedBucketOwnerHasBeenSet =
true;
172 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
174 template <
typename ExpectedBucketOwnerT = Aws::String>
185 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
187 m_customizedAccessLogTagHasBeenSet =
true;
188 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
190 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
195 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
197 m_customizedAccessLogTagHasBeenSet =
true;
198 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
211 VersioningConfiguration m_versioningConfiguration;
216 bool m_bucketHasBeenSet =
false;
217 bool m_contentMD5HasBeenSet =
false;
218 bool m_checksumAlgorithmHasBeenSet =
false;
219 bool m_mFAHasBeenSet =
false;
220 bool m_versioningConfigurationHasBeenSet =
false;
221 bool m_expectedBucketOwnerHasBeenSet =
false;
222 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)
AWS_S3CRT_API bool ChecksumAlgorithmIsSet() const override
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