7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/S3CrtRequest.h>
11#include <aws/s3-crt/S3Crt_EXPORTS.h>
12#include <aws/s3-crt/model/EncodingType.h>
13#include <aws/s3-crt/model/OptionalObjectAttributes.h>
14#include <aws/s3-crt/model/RequestPayer.h>
87 template <
typename BucketT = Aws::String>
89 m_bucketHasBeenSet =
true;
90 m_bucket = std::forward<BucketT>(value);
92 template <
typename BucketT = Aws::String>
107 template <
typename DelimiterT = Aws::String>
109 m_delimiterHasBeenSet =
true;
110 m_delimiter = std::forward<DelimiterT>(value);
112 template <
typename DelimiterT = Aws::String>
124 m_encodingTypeHasBeenSet =
true;
125 m_encodingType = value;
140 template <
typename MarkerT = Aws::String>
142 m_markerHasBeenSet =
true;
143 m_marker = std::forward<MarkerT>(value);
145 template <
typename MarkerT = Aws::String>
161 m_maxKeysHasBeenSet =
true;
176 template <
typename PrefixT = Aws::String>
178 m_prefixHasBeenSet =
true;
179 m_prefix = std::forward<PrefixT>(value);
181 template <
typename PrefixT = Aws::String>
197 m_requestPayerHasBeenSet =
true;
198 m_requestPayer = value;
214 template <
typename ExpectedBucketOwnerT = Aws::String>
216 m_expectedBucketOwnerHasBeenSet =
true;
217 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
219 template <
typename ExpectedBucketOwnerT = Aws::String>
233 template <
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
235 m_optionalObjectAttributesHasBeenSet =
true;
236 m_optionalObjectAttributes = std::forward<OptionalObjectAttributesT>(value);
238 template <
typename OptionalObjectAttributesT = Aws::Vector<OptionalObjectAttributes>>
244 m_optionalObjectAttributesHasBeenSet =
true;
245 m_optionalObjectAttributes.push_back(value);
254 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
256 m_customizedAccessLogTagHasBeenSet =
true;
257 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
259 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
264 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
266 m_customizedAccessLogTagHasBeenSet =
true;
267 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
291 bool m_bucketHasBeenSet =
false;
292 bool m_delimiterHasBeenSet =
false;
293 bool m_encodingTypeHasBeenSet =
false;
294 bool m_markerHasBeenSet =
false;
295 bool m_maxKeysHasBeenSet =
false;
296 bool m_prefixHasBeenSet =
false;
297 bool m_requestPayerHasBeenSet =
false;
298 bool m_expectedBucketOwnerHasBeenSet =
false;
299 bool m_optionalObjectAttributesHasBeenSet =
false;
300 bool m_customizedAccessLogTagHasBeenSet =
false;
bool MaxKeysHasBeenSet() const
void SetRequestPayer(RequestPayer value)
bool MarkerHasBeenSet() const
ListObjectsRequest & WithDelimiter(DelimiterT &&value)
RequestPayer GetRequestPayer() const
const Aws::Vector< OptionalObjectAttributes > & GetOptionalObjectAttributes() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool RequestPayerHasBeenSet() const
AWS_S3CRT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetDelimiter() const
AWS_S3CRT_API EndpointParameters GetEndpointContextParams() const override
void SetMaxKeys(int value)
ListObjectsRequest & WithOptionalObjectAttributes(OptionalObjectAttributesT &&value)
void SetBucket(BucketT &&value)
ListObjectsRequest & WithPrefix(PrefixT &&value)
AWS_S3CRT_API Aws::String SerializePayload() const override
void SetDelimiter(DelimiterT &&value)
ListObjectsRequest & WithMaxKeys(int value)
ListObjectsRequest & WithBucket(BucketT &&value)
void SetOptionalObjectAttributes(OptionalObjectAttributesT &&value)
bool BucketHasBeenSet() const
void SetPrefix(PrefixT &&value)
ListObjectsRequest & WithEncodingType(EncodingType value)
const Aws::String & GetPrefix() const
bool OptionalObjectAttributesHasBeenSet() const
bool DelimiterHasBeenSet() const
bool PrefixHasBeenSet() const
bool EncodingTypeHasBeenSet() const
ListObjectsRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
const Aws::String & GetBucket() const
void SetMarker(MarkerT &&value)
ListObjectsRequest & AddOptionalObjectAttributes(OptionalObjectAttributes value)
const Aws::String & GetExpectedBucketOwner() const
AWS_S3CRT_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
ListObjectsRequest & WithRequestPayer(RequestPayer value)
AWS_S3CRT_API ListObjectsRequest()=default
AWS_S3CRT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
EncodingType GetEncodingType() const
const Aws::String & GetMarker() const
bool ExpectedBucketOwnerHasBeenSet() const
void SetEncodingType(EncodingType value)
bool CustomizedAccessLogTagHasBeenSet() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
virtual const char * GetServiceRequestName() const override
ListObjectsRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
ListObjectsRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
ListObjectsRequest & WithMarker(MarkerT &&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