7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/S3CrtRequest.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/BucketLifecycleConfiguration.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <aws/s3-crt/model/TransitionDefaultMinimumObjectSize.h>
57 template <
typename BucketT = Aws::String>
59 m_bucketHasBeenSet =
true;
60 m_bucket = std::forward<BucketT>(value);
62 template <
typename BucketT = Aws::String>
85 m_checksumAlgorithmHasBeenSet =
true;
86 m_checksumAlgorithm = value;
100 template <
typename LifecycleConfigurationT = BucketLifecycleConfiguration>
102 m_lifecycleConfigurationHasBeenSet =
true;
103 m_lifecycleConfiguration = std::forward<LifecycleConfigurationT>(value);
105 template <
typename LifecycleConfigurationT = BucketLifecycleConfiguration>
122 template <
typename ExpectedBucketOwnerT = Aws::String>
124 m_expectedBucketOwnerHasBeenSet =
true;
125 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
127 template <
typename ExpectedBucketOwnerT = Aws::String>
153 m_transitionDefaultMinimumObjectSizeHasBeenSet =
true;
154 m_transitionDefaultMinimumObjectSize = value;
166 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
168 m_customizedAccessLogTagHasBeenSet =
true;
169 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
171 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
176 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
178 CustomizedAccessLogTagValueT&& value) {
179 m_customizedAccessLogTagHasBeenSet =
true;
180 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
186 bool m_bucketHasBeenSet =
false;
189 bool m_checksumAlgorithmHasBeenSet =
false;
191 BucketLifecycleConfiguration m_lifecycleConfiguration;
192 bool m_lifecycleConfigurationHasBeenSet =
false;
195 bool m_expectedBucketOwnerHasBeenSet =
false;
198 bool m_transitionDefaultMinimumObjectSizeHasBeenSet =
false;
201 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3CRT_API Aws::String GetChecksumAlgorithmName() const override
bool ChecksumAlgorithmHasBeenSet() const
PutBucketLifecycleConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketLifecycleConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool RequestChecksumRequired() const override
const BucketLifecycleConfiguration & GetLifecycleConfiguration() const
bool BucketHasBeenSet() const
bool TransitionDefaultMinimumObjectSizeHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
void SetTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize value)
PutBucketLifecycleConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutBucketLifecycleConfigurationRequest & WithLifecycleConfiguration(LifecycleConfigurationT &&value)
bool LifecycleConfigurationHasBeenSet() const
AWS_S3CRT_API PutBucketLifecycleConfigurationRequest()=default
const Aws::String & GetExpectedBucketOwner() const
ChecksumAlgorithm GetChecksumAlgorithm() const
void SetBucket(BucketT &&value)
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetLifecycleConfiguration(LifecycleConfigurationT &&value)
PutBucketLifecycleConfigurationRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
TransitionDefaultMinimumObjectSize GetTransitionDefaultMinimumObjectSize() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const Aws::String & GetBucket() const
AWS_S3CRT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutBucketLifecycleConfigurationRequest & WithTransitionDefaultMinimumObjectSize(TransitionDefaultMinimumObjectSize value)
bool CustomizedAccessLogTagHasBeenSet() const
PutBucketLifecycleConfigurationRequest & WithBucket(BucketT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
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