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/OwnershipControls.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
59 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
75 inline void SetContentMD5(
const char* value) { m_contentMD5HasBeenSet =
true; m_contentMD5.assign(value); }
91 inline void SetExpectedBucketOwner(
const char* value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner.assign(value); }
130 bool m_bucketHasBeenSet =
false;
133 bool m_contentMD5HasBeenSet =
false;
136 bool m_expectedBucketOwnerHasBeenSet =
false;
139 bool m_ownershipControlsHasBeenSet =
false;
142 bool m_customizedAccessLogTagHasBeenSet =
false;
bool CustomizedAccessLogTagHasBeenSet() const
void SetBucket(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
bool OwnershipControlsHasBeenSet() const
PutBucketOwnershipControlsRequest & WithExpectedBucketOwner(const Aws::String &value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetExpectedBucketOwner() const
void SetContentMD5(Aws::String &&value)
PutBucketOwnershipControlsRequest & WithExpectedBucketOwner(const char *value)
const OwnershipControls & GetOwnershipControls() const
void SetExpectedBucketOwner(const Aws::String &value)
bool BucketHasBeenSet() const
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
void SetBucket(Aws::String &&value)
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
PutBucketOwnershipControlsRequest & WithContentMD5(const char *value)
bool ContentMD5HasBeenSet() const
PutBucketOwnershipControlsRequest & WithBucket(Aws::String &&value)
PutBucketOwnershipControlsRequest & WithBucket(const char *value)
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
void SetContentMD5(const Aws::String &value)
void SetBucket(const char *value)
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
void SetOwnershipControls(const OwnershipControls &value)
void SetExpectedBucketOwner(const char *value)
PutBucketOwnershipControlsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
PutBucketOwnershipControlsRequest & WithBucket(const Aws::String &value)
PutBucketOwnershipControlsRequest & WithContentMD5(const Aws::String &value)
void SetOwnershipControls(OwnershipControls &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ExpectedBucketOwnerHasBeenSet() const
void SetContentMD5(const char *value)
PutBucketOwnershipControlsRequest & WithOwnershipControls(OwnershipControls &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutBucketOwnershipControlsRequest & WithOwnershipControls(const OwnershipControls &value)
AWS_S3_API Aws::String SerializePayload() const override
PutBucketOwnershipControlsRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API PutBucketOwnershipControlsRequest()
PutBucketOwnershipControlsRequest & WithExpectedBucketOwner(Aws::String &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::String & GetContentMD5() const
PutBucketOwnershipControlsRequest & WithContentMD5(Aws::String &&value)
void SetExpectedBucketOwner(Aws::String &&value)
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetBucket() const
PutBucketOwnershipControlsRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &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