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/IntelligentTieringConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "PutBucketIntelligentTieringConfiguration"; }
57 template<
typename BucketT = Aws::String>
58 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
59 template<
typename BucketT = Aws::String>
69 template<
typename IdT = Aws::String>
70 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
71 template<
typename IdT = Aws::String>
83 template<
typename ExpectedBucketOwnerT = Aws::String>
84 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
85 template<
typename ExpectedBucketOwnerT = Aws::String>
95 template<
typename IntelligentTieringConfigurationT = IntelligentTieringConfiguration>
96 void SetIntelligentTieringConfiguration(IntelligentTieringConfigurationT&& value) { m_intelligentTieringConfigurationHasBeenSet =
true; m_intelligentTieringConfiguration = std::forward<IntelligentTieringConfigurationT>(value); }
97 template<
typename IntelligentTieringConfigurationT = IntelligentTieringConfiguration>
105 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
106 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
107 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
109 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
111 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
117 bool m_bucketHasBeenSet =
false;
120 bool m_idHasBeenSet =
false;
123 bool m_expectedBucketOwnerHasBeenSet =
false;
126 bool m_intelligentTieringConfigurationHasBeenSet =
false;
129 bool m_customizedAccessLogTagHasBeenSet =
false;
const Aws::String & GetBucket() const
PutBucketIntelligentTieringConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetIntelligentTieringConfiguration(IntelligentTieringConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
void SetBucket(BucketT &&value)
const Aws::String & GetExpectedBucketOwner() const
PutBucketIntelligentTieringConfigurationRequest & WithId(IdT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketIntelligentTieringConfigurationRequest & WithIntelligentTieringConfiguration(IntelligentTieringConfigurationT &&value)
PutBucketIntelligentTieringConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool IdHasBeenSet() const
AWS_S3_API PutBucketIntelligentTieringConfigurationRequest()=default
AWS_S3_API Aws::String SerializePayload() const override
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
PutBucketIntelligentTieringConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const IntelligentTieringConfiguration & GetIntelligentTieringConfiguration() const
bool CustomizedAccessLogTagHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutBucketIntelligentTieringConfigurationRequest & WithBucket(BucketT &&value)
const Aws::String & GetId() const
bool IntelligentTieringConfigurationHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
bool BucketHasBeenSet() 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