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>
91 template<
typename BucketT = Aws::String>
92 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
93 template<
typename BucketT = Aws::String>
105 template<
typename DelimiterT = Aws::String>
106 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet =
true; m_delimiter = std::forward<DelimiterT>(value); }
107 template<
typename DelimiterT = Aws::String>
126 template<
typename MarkerT = Aws::String>
127 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
128 template<
typename MarkerT = Aws::String>
140 inline void SetMaxKeys(
int value) { m_maxKeysHasBeenSet =
true; m_maxKeys = value; }
150 template<
typename PrefixT = Aws::String>
151 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
152 template<
typename PrefixT = Aws::String>
176 template<
typename ExpectedBucketOwnerT = Aws::String>
177 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
178 template<
typename ExpectedBucketOwnerT = Aws::String>
189 template<
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
190 void SetOptionalObjectAttributes(OptionalObjectAttributesT&& value) { m_optionalObjectAttributesHasBeenSet =
true; m_optionalObjectAttributes = std::forward<OptionalObjectAttributesT>(value); }
191 template<
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
200 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
201 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
202 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
204 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
206 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
212 bool m_bucketHasBeenSet =
false;
215 bool m_delimiterHasBeenSet =
false;
218 bool m_encodingTypeHasBeenSet =
false;
221 bool m_markerHasBeenSet =
false;
224 bool m_maxKeysHasBeenSet =
false;
227 bool m_prefixHasBeenSet =
false;
230 bool m_requestPayerHasBeenSet =
false;
233 bool m_expectedBucketOwnerHasBeenSet =
false;
236 bool m_optionalObjectAttributesHasBeenSet =
false;
239 bool m_customizedAccessLogTagHasBeenSet =
false;
ListObjectsRequest & WithOptionalObjectAttributes(OptionalObjectAttributesT &&value)
ListObjectsRequest & WithPrefix(PrefixT &&value)
const Aws::String & GetDelimiter() const
ListObjectsRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
void SetBucket(BucketT &&value)
const Aws::String & GetExpectedBucketOwner() const
ListObjectsRequest & WithEncodingType(EncodingType value)
void SetPrefix(PrefixT &&value)
bool OptionalObjectAttributesHasBeenSet() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
void SetOptionalObjectAttributes(OptionalObjectAttributesT &&value)
AWS_S3_API Aws::String SerializePayload() const override
ListObjectsRequest & WithMarker(MarkerT &&value)
bool PrefixHasBeenSet() const
void SetMarker(MarkerT &&value)
virtual const char * GetServiceRequestName() const override
ListObjectsRequest & WithDelimiter(DelimiterT &&value)
const Aws::Vector< OptionalObjectAttributes > & GetOptionalObjectAttributes() const
AWS_S3_API ListObjectsRequest()=default
bool CustomizedAccessLogTagHasBeenSet() const
void SetRequestPayer(RequestPayer value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
bool EncodingTypeHasBeenSet() const
bool ExpectedBucketOwnerHasBeenSet() const
ListObjectsRequest & WithRequestPayer(RequestPayer value)
ListObjectsRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool MarkerHasBeenSet() const
EncodingType GetEncodingType() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
RequestPayer GetRequestPayer() const
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMaxKeys(int value)
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
void SetDelimiter(DelimiterT &&value)
bool BucketHasBeenSet() const
ListObjectsRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool MaxKeysHasBeenSet() const
bool RequestPayerHasBeenSet() const
const Aws::String & GetMarker() const
const Aws::String & GetBucket() const
const Aws::String & GetPrefix() const
void SetEncodingType(EncodingType value)
ListObjectsRequest & AddOptionalObjectAttributes(OptionalObjectAttributes value)
bool DelimiterHasBeenSet() const
ListObjectsRequest & WithMaxKeys(int value)
ListObjectsRequest & WithBucket(BucketT &&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