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>
61 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
80 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
116 inline void SetMFA(
const char* value) { m_mFAHasBeenSet =
true; m_mFA.assign(value); }
144 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
169 bool m_bucketHasBeenSet =
false;
172 bool m_contentMD5HasBeenSet =
false;
175 bool m_checksumAlgorithmHasBeenSet =
false;
178 bool m_mFAHasBeenSet =
false;
181 bool m_versioningConfigurationHasBeenSet =
false;
184 bool m_expectedBucketOwnerHasBeenSet =
false;
187 bool m_customizedAccessLogTagHasBeenSet =
false;
PutBucketVersioningRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
PutBucketVersioningRequest & WithBucket(const char *value)
PutBucketVersioningRequest & WithMFA(Aws::String &&value)
PutBucketVersioningRequest & WithExpectedBucketOwner(Aws::String &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
void SetBucket(const Aws::String &value)
void SetBucket(Aws::String &&value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetVersioningConfiguration(const VersioningConfiguration &value)
PutBucketVersioningRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetMFA() const
void SetMFA(Aws::String &&value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetExpectedBucketOwner(const char *value)
const Aws::String & GetBucket() const
AWS_S3_API PutBucketVersioningRequest()
PutBucketVersioningRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
PutBucketVersioningRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
void SetMFA(const Aws::String &value)
PutBucketVersioningRequest & WithMFA(const Aws::String &value)
bool VersioningConfigurationHasBeenSet() const
void SetContentMD5(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool BucketHasBeenSet() const
const Aws::String & GetContentMD5() const
bool ChecksumAlgorithmHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
PutBucketVersioningRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutBucketVersioningRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetVersioningConfiguration(VersioningConfiguration &&value)
void SetExpectedBucketOwner(const Aws::String &value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
void SetMFA(const char *value)
PutBucketVersioningRequest & WithBucket(Aws::String &&value)
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
void SetContentMD5(const char *value)
PutBucketVersioningRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
PutBucketVersioningRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
bool MFAHasBeenSet() const
void SetBucket(const char *value)
bool ContentMD5HasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
PutBucketVersioningRequest & WithContentMD5(const char *value)
PutBucketVersioningRequest & WithBucket(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetContentMD5(const Aws::String &value)
AWS_S3_API Aws::String SerializePayload() const override
const VersioningConfiguration & GetVersioningConfiguration() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutBucketVersioningRequest & WithContentMD5(const Aws::String &value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
PutBucketVersioningRequest & WithContentMD5(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketVersioningRequest & WithVersioningConfiguration(const VersioningConfiguration &value)
PutBucketVersioningRequest & WithMFA(const char *value)
PutBucketVersioningRequest & WithVersioningConfiguration(VersioningConfiguration &&value)
void SetExpectedBucketOwner(Aws::String &&value)
PutBucketVersioningRequest & WithExpectedBucketOwner(const char *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