7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/VersioningConfiguration.h>
52 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
66 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
80 inline void SetMFA(
Aws::String&& value) { m_mFAHasBeenSet =
true; m_mFA = std::move(value); }
81 inline void SetMFA(
const char* value) { m_mFAHasBeenSet =
true; m_mFA.assign(value); }
102 bool m_accountIdHasBeenSet =
false;
105 bool m_bucketHasBeenSet =
false;
108 bool m_mFAHasBeenSet =
false;
111 bool m_versioningConfigurationHasBeenSet =
false;
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BucketHasBeenSet() const
void SetAccountId(const char *value)
AWS_S3CONTROL_API PutBucketVersioningRequest()
void SetVersioningConfiguration(const VersioningConfiguration &value)
PutBucketVersioningRequest & WithVersioningConfiguration(VersioningConfiguration &&value)
PutBucketVersioningRequest & WithMFA(Aws::String &&value)
PutBucketVersioningRequest & WithBucket(const Aws::String &value)
void SetMFA(const char *value)
bool VersioningConfigurationHasBeenSet() const
const Aws::String & GetAccountId() const
void SetBucket(const char *value)
PutBucketVersioningRequest & WithMFA(const char *value)
void SetVersioningConfiguration(VersioningConfiguration &&value)
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
void SetBucket(const Aws::String &value)
PutBucketVersioningRequest & WithAccountId(const Aws::String &value)
PutBucketVersioningRequest & WithBucket(Aws::String &&value)
const VersioningConfiguration & GetVersioningConfiguration() const
const Aws::String & GetBucket() const
void SetAccountId(const Aws::String &value)
void SetMFA(Aws::String &&value)
void SetBucket(Aws::String &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
const Aws::String & GetMFA() const
void SetAccountId(Aws::String &&value)
bool AccountIdHasBeenSet() const
PutBucketVersioningRequest & WithAccountId(const char *value)
PutBucketVersioningRequest & WithVersioningConfiguration(const VersioningConfiguration &value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
PutBucketVersioningRequest & WithAccountId(Aws::String &&value)
PutBucketVersioningRequest & WithBucket(const char *value)
PutBucketVersioningRequest & WithMFA(const Aws::String &value)
bool MFAHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetMFA(const Aws::String &value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String