7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3Request.h>
10#include <aws/s3/S3_EXPORTS.h>
11#include <aws/s3/model/MetricsConfiguration.h>
52 template <
typename BucketT = Aws::String>
54 m_bucketHasBeenSet =
true;
55 m_bucket = std::forward<BucketT>(value);
57 template <
typename BucketT = Aws::String>
72 template <
typename IdT = Aws::String>
74 m_idHasBeenSet =
true;
75 m_id = std::forward<IdT>(value);
77 template <
typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
90 template <
typename MetricsConfigurationT = MetricsConfiguration>
92 m_metricsConfigurationHasBeenSet =
true;
93 m_metricsConfiguration = std::forward<MetricsConfigurationT>(value);
95 template <
typename MetricsConfigurationT = MetricsConfiguration>
110 template <
typename ExpectedBucketOwnerT = Aws::String>
112 m_expectedBucketOwnerHasBeenSet =
true;
113 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
115 template <
typename ExpectedBucketOwnerT = Aws::String>
126 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
128 m_customizedAccessLogTagHasBeenSet =
true;
129 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
131 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
136 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
138 m_customizedAccessLogTagHasBeenSet =
true;
139 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
145 bool m_bucketHasBeenSet =
false;
148 bool m_idHasBeenSet =
false;
151 bool m_metricsConfigurationHasBeenSet =
false;
154 bool m_expectedBucketOwnerHasBeenSet =
false;
157 bool m_customizedAccessLogTagHasBeenSet =
false;
PutBucketMetricsConfigurationRequest & WithMetricsConfiguration(MetricsConfigurationT &&value)
PutBucketMetricsConfigurationRequest & WithId(IdT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
PutBucketMetricsConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetBucket() const
PutBucketMetricsConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
const MetricsConfiguration & GetMetricsConfiguration() const
bool IdHasBeenSet() const
AWS_S3_API PutBucketMetricsConfigurationRequest()=default
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetId() const
PutBucketMetricsConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool CustomizedAccessLogTagHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool BucketHasBeenSet() const
const Aws::String & GetExpectedBucketOwner() const
bool MetricsConfigurationHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetBucket(BucketT &&value)
PutBucketMetricsConfigurationRequest & WithBucket(BucketT &&value)
void SetMetricsConfiguration(MetricsConfigurationT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3_API Aws::String SerializePayload() const override
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