7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/ChecksumAlgorithm.h>
11#include <aws/s3/model/VersioningConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
60 template<
typename BucketT = Aws::String>
61 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
62 template<
typename BucketT = Aws::String>
77 template<
typename ContentMD5T = Aws::String>
78 void SetContentMD5(ContentMD5T&& value) { m_contentMD5HasBeenSet =
true; m_contentMD5 = std::forward<ContentMD5T>(value); }
79 template<
typename ContentMD5T = Aws::String>
109 template<
typename MFAT = Aws::String>
110 void SetMFA(MFAT&& value) { m_mFAHasBeenSet =
true; m_mFA = std::forward<MFAT>(value); }
111 template<
typename MFAT = Aws::String>
121 template<
typename VersioningConfigurationT = VersioningConfiguration>
122 void SetVersioningConfiguration(VersioningConfigurationT&& value) { m_versioningConfigurationHasBeenSet =
true; m_versioningConfiguration = std::forward<VersioningConfigurationT>(value); }
123 template<
typename VersioningConfigurationT = VersioningConfiguration>
135 template<
typename ExpectedBucketOwnerT = Aws::String>
136 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
137 template<
typename ExpectedBucketOwnerT = Aws::String>
145 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
146 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
147 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
151 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
157 bool m_bucketHasBeenSet =
false;
160 bool m_contentMD5HasBeenSet =
false;
163 bool m_checksumAlgorithmHasBeenSet =
false;
166 bool m_mFAHasBeenSet =
false;
168 VersioningConfiguration m_versioningConfiguration;
169 bool m_versioningConfigurationHasBeenSet =
false;
172 bool m_expectedBucketOwnerHasBeenSet =
false;
175 bool m_customizedAccessLogTagHasBeenSet =
false;
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
AWS_S3_API PutBucketVersioningRequest()=default
PutBucketVersioningRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
void SetVersioningConfiguration(VersioningConfigurationT &&value)
const Aws::String & GetMFA() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutBucketVersioningRequest & WithContentMD5(ContentMD5T &&value)
PutBucketVersioningRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
const Aws::String & GetBucket() const
void SetBucket(BucketT &&value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
ChecksumAlgorithm GetChecksumAlgorithm() const
bool VersioningConfigurationHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool BucketHasBeenSet() const
PutBucketVersioningRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
PutBucketVersioningRequest & WithVersioningConfiguration(VersioningConfigurationT &&value)
const Aws::String & GetContentMD5() const
bool ChecksumAlgorithmHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
PutBucketVersioningRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutBucketVersioningRequest & WithMFA(MFAT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetContentMD5(ContentMD5T &&value)
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
bool MFAHasBeenSet() const
bool ContentMD5HasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_S3_API Aws::String SerializePayload() const override
const VersioningConfiguration & GetVersioningConfiguration() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool RequestChecksumRequired() const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetMFA(MFAT &&value)
PutBucketVersioningRequest & WithBucket(BucketT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
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