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/BucketLifecycleConfiguration.h>
12#include <aws/s3/model/TransitionDefaultMinimumObjectSize.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
61 template<
typename BucketT = Aws::String>
62 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
63 template<
typename BucketT = Aws::String>
92 template<
typename LifecycleConfigurationT = BucketLifecycleConfiguration>
93 void SetLifecycleConfiguration(LifecycleConfigurationT&& value) { m_lifecycleConfigurationHasBeenSet =
true; m_lifecycleConfiguration = std::forward<LifecycleConfigurationT>(value); }
94 template<
typename LifecycleConfigurationT = BucketLifecycleConfiguration>
108 template<
typename ExpectedBucketOwnerT = Aws::String>
109 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
110 template<
typename ExpectedBucketOwnerT = Aws::String>
140 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
141 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
142 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
144 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
146 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
152 bool m_bucketHasBeenSet =
false;
155 bool m_checksumAlgorithmHasBeenSet =
false;
157 BucketLifecycleConfiguration m_lifecycleConfiguration;
158 bool m_lifecycleConfigurationHasBeenSet =
false;
161 bool m_expectedBucketOwnerHasBeenSet =
false;
164 bool m_transitionDefaultMinimumObjectSizeHasBeenSet =
false;
167 bool m_customizedAccessLogTagHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
const Aws::String & GetExpectedBucketOwner() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
PutBucketLifecycleConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool TransitionDefaultMinimumObjectSizeHasBeenSet() const
bool ChecksumAlgorithmHasBeenSet() const
bool BucketHasBeenSet() const
PutBucketLifecycleConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::String & GetBucket() const
PutBucketLifecycleConfigurationRequest & WithBucket(BucketT &&value)
bool LifecycleConfigurationHasBeenSet() const
PutBucketLifecycleConfigurationRequest & WithLifecycleConfiguration(LifecycleConfigurationT &&value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ChecksumAlgorithm GetChecksumAlgorithm() const
bool ExpectedBucketOwnerHasBeenSet() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
AWS_S3_API Aws::String SerializePayload() const override
TransitionDefaultMinimumObjectSize GetTransitionDefaultMinimumObjectSize() const
AWS_S3_API Aws::String GetChecksumAlgorithmName() const override
AWS_S3_API PutBucketLifecycleConfigurationRequest()=default
PutBucketLifecycleConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
void SetTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize value)
bool RequestChecksumRequired() const override
PutBucketLifecycleConfigurationRequest & WithTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize value)
void SetLifecycleConfiguration(LifecycleConfigurationT &&value)
const BucketLifecycleConfiguration & GetLifecycleConfiguration() const
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketLifecycleConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetBucket(BucketT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
bool CustomizedAccessLogTagHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
TransitionDefaultMinimumObjectSize
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