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/core/utils/memory/stl/AWSMap.h>
51 inline void SetMaxBuckets(
int value) { m_maxBucketsHasBeenSet =
true; m_maxBuckets = value; }
70 template<
typename ContinuationTokenT = Aws::String>
71 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet =
true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
72 template<
typename ContinuationTokenT = Aws::String>
83 template<
typename PrefixT = Aws::String>
84 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
85 template<
typename PrefixT = Aws::String>
105 template<
typename BucketRegionT = Aws::String>
106 void SetBucketRegion(BucketRegionT&& value) { m_bucketRegionHasBeenSet =
true; m_bucketRegion = std::forward<BucketRegionT>(value); }
107 template<
typename BucketRegionT = Aws::String>
115 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
116 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
117 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
119 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
121 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
127 bool m_maxBucketsHasBeenSet =
false;
130 bool m_continuationTokenHasBeenSet =
false;
133 bool m_prefixHasBeenSet =
false;
136 bool m_bucketRegionHasBeenSet =
false;
139 bool m_customizedAccessLogTagHasBeenSet =
false;
ListBucketsRequest & WithPrefix(PrefixT &&value)
void SetContinuationToken(ContinuationTokenT &&value)
int GetMaxBuckets() const
void SetPrefix(PrefixT &&value)
AWS_S3_API Aws::String SerializePayload() const override
ListBucketsRequest & WithMaxBuckets(int value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool ContinuationTokenHasBeenSet() const
bool CustomizedAccessLogTagHasBeenSet() const
const Aws::String & GetContinuationToken() const
ListBucketsRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
ListBucketsRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool MaxBucketsHasBeenSet() const
bool BucketRegionHasBeenSet() const
ListBucketsRequest & WithContinuationToken(ContinuationTokenT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
ListBucketsRequest & WithBucketRegion(BucketRegionT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetBucketRegion() const
void SetBucketRegion(BucketRegionT &&value)
AWS_S3_API ListBucketsRequest()=default
void SetMaxBuckets(int value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool PrefixHasBeenSet() const
const Aws::String & GetPrefix() const
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