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/EncodingType.h>
11#include <aws/s3/model/RequestPayer.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/s3/model/OptionalObjectAttributes.h>
90 template<
typename BucketT = Aws::String>
91 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
92 template<
typename BucketT = Aws::String>
112 template<
typename DelimiterT = Aws::String>
113 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet =
true; m_delimiter = std::forward<DelimiterT>(value); }
114 template<
typename DelimiterT = Aws::String>
149 inline void SetMaxKeys(
int value) { m_maxKeysHasBeenSet =
true; m_maxKeys = value; }
161 template<
typename PrefixT = Aws::String>
162 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
163 template<
typename PrefixT = Aws::String>
176 template<
typename ContinuationTokenT = Aws::String>
177 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet =
true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
178 template<
typename ContinuationTokenT = Aws::String>
192 inline void SetFetchOwner(
bool value) { m_fetchOwnerHasBeenSet =
true; m_fetchOwner = value; }
205 template<
typename StartAfterT = Aws::String>
206 void SetStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet =
true; m_startAfter = std::forward<StartAfterT>(value); }
207 template<
typename StartAfterT = Aws::String>
232 template<
typename ExpectedBucketOwnerT = Aws::String>
233 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
234 template<
typename ExpectedBucketOwnerT = Aws::String>
246 template<
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
247 void SetOptionalObjectAttributes(OptionalObjectAttributesT&& value) { m_optionalObjectAttributesHasBeenSet =
true; m_optionalObjectAttributes = std::forward<OptionalObjectAttributesT>(value); }
248 template<
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
257 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
258 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
259 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
261 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
263 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
269 bool m_bucketHasBeenSet =
false;
272 bool m_delimiterHasBeenSet =
false;
275 bool m_encodingTypeHasBeenSet =
false;
278 bool m_maxKeysHasBeenSet =
false;
281 bool m_prefixHasBeenSet =
false;
284 bool m_continuationTokenHasBeenSet =
false;
286 bool m_fetchOwner{
false};
287 bool m_fetchOwnerHasBeenSet =
false;
290 bool m_startAfterHasBeenSet =
false;
293 bool m_requestPayerHasBeenSet =
false;
296 bool m_expectedBucketOwnerHasBeenSet =
false;
299 bool m_optionalObjectAttributesHasBeenSet =
false;
302 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetEncodingType(EncodingType value)
void SetStartAfter(StartAfterT &&value)
void SetContinuationToken(ContinuationTokenT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
ListObjectsV2Request & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetExpectedBucketOwner() const
bool StartAfterHasBeenSet() const
bool DelimiterHasBeenSet() const
void SetOptionalObjectAttributes(OptionalObjectAttributesT &&value)
const Aws::String & GetContinuationToken() const
bool RequestPayerHasBeenSet() const
void SetPrefix(PrefixT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
EncodingType GetEncodingType() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMaxKeys(int value)
bool OptionalObjectAttributesHasBeenSet() const
ListObjectsV2Request & WithFetchOwner(bool value)
RequestPayer GetRequestPayer() const
ListObjectsV2Request & WithEncodingType(EncodingType value)
bool EncodingTypeHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
const Aws::String & GetDelimiter() const
const Aws::Vector< OptionalObjectAttributes > & GetOptionalObjectAttributes() const
bool BucketHasBeenSet() const
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListObjectsV2Request & WithDelimiter(DelimiterT &&value)
void SetBucket(BucketT &&value)
void SetFetchOwner(bool value)
const Aws::String & GetPrefix() const
bool MaxKeysHasBeenSet() const
ListObjectsV2Request & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
ListObjectsV2Request & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
bool PrefixHasBeenSet() const
ListObjectsV2Request & WithPrefix(PrefixT &&value)
bool ExpectedBucketOwnerHasBeenSet() const
ListObjectsV2Request & WithOptionalObjectAttributes(OptionalObjectAttributesT &&value)
ListObjectsV2Request & WithBucket(BucketT &&value)
AWS_S3_API Aws::String SerializePayload() const override
ListObjectsV2Request & WithMaxKeys(int value)
bool ContinuationTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ListObjectsV2Request & WithStartAfter(StartAfterT &&value)
AWS_S3_API ListObjectsV2Request()=default
void SetRequestPayer(RequestPayer value)
bool GetFetchOwner() const
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
ListObjectsV2Request & WithRequestPayer(RequestPayer value)
bool CustomizedAccessLogTagHasBeenSet() const
ListObjectsV2Request & WithContinuationToken(ContinuationTokenT &&value)
const Aws::String & GetStartAfter() const
void SetDelimiter(DelimiterT &&value)
bool FetchOwnerHasBeenSet() const
const Aws::String & GetBucket() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
ListObjectsV2Request & AddOptionalObjectAttributes(OptionalObjectAttributes value)
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
std::vector< T, Aws::Allocator< T > > Vector