7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/S3Crt_EXPORTS.h>
11#include <aws/s3-crt/model/CommonPrefix.h>
12#include <aws/s3-crt/model/EncodingType.h>
13#include <aws/s3-crt/model/Object.h>
14#include <aws/s3-crt/model/RequestCharged.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
42 m_isTruncatedHasBeenSet =
true;
43 m_isTruncated = value;
57 template <
typename MarkerT = Aws::String>
59 m_markerHasBeenSet =
true;
60 m_marker = std::forward<MarkerT>(value);
62 template <
typename MarkerT = Aws::String>
83 template <
typename NextMarkerT = Aws::String>
85 m_nextMarkerHasBeenSet =
true;
86 m_nextMarker = std::forward<NextMarkerT>(value);
88 template <
typename NextMarkerT = Aws::String>
100 template <
typename ContentsT = Aws::Vector<Object>>
102 m_contentsHasBeenSet =
true;
103 m_contents = std::forward<ContentsT>(value);
105 template <
typename ContentsT = Aws::Vector<Object>>
110 template <
typename ContentsT = Object>
112 m_contentsHasBeenSet =
true;
113 m_contents.emplace_back(std::forward<ContentsT>(value));
123 template <
typename NameT = Aws::String>
125 m_nameHasBeenSet =
true;
126 m_name = std::forward<NameT>(value);
128 template <
typename NameT = Aws::String>
130 SetName(std::forward<NameT>(value));
140 template <
typename PrefixT = Aws::String>
142 m_prefixHasBeenSet =
true;
143 m_prefix = std::forward<PrefixT>(value);
145 template <
typename PrefixT = Aws::String>
161 template <
typename DelimiterT = Aws::String>
163 m_delimiterHasBeenSet =
true;
164 m_delimiter = std::forward<DelimiterT>(value);
166 template <
typename DelimiterT = Aws::String>
179 m_maxKeysHasBeenSet =
true;
203 template <
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
205 m_commonPrefixesHasBeenSet =
true;
206 m_commonPrefixes = std::forward<CommonPrefixesT>(value);
208 template <
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
213 template <
typename CommonPrefixesT = CommonPrefix>
215 m_commonPrefixesHasBeenSet =
true;
216 m_commonPrefixes.emplace_back(std::forward<CommonPrefixesT>(value));
240 m_encodingTypeHasBeenSet =
true;
241 m_encodingType = value;
253 m_requestChargedHasBeenSet =
true;
254 m_requestCharged = value;
265 template <
typename RequestIdT = Aws::String>
267 m_requestIdHasBeenSet =
true;
268 m_requestId = std::forward<RequestIdT>(value);
270 template <
typename RequestIdT = Aws::String>
279 bool m_isTruncated{
false};
303 bool m_isTruncatedHasBeenSet =
false;
304 bool m_markerHasBeenSet =
false;
305 bool m_nextMarkerHasBeenSet =
false;
306 bool m_contentsHasBeenSet =
false;
307 bool m_nameHasBeenSet =
false;
308 bool m_prefixHasBeenSet =
false;
309 bool m_delimiterHasBeenSet =
false;
310 bool m_maxKeysHasBeenSet =
false;
311 bool m_commonPrefixesHasBeenSet =
false;
312 bool m_encodingTypeHasBeenSet =
false;
313 bool m_requestChargedHasBeenSet =
false;
314 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetMarker() const
ListObjectsResult & WithMarker(MarkerT &&value)
ListObjectsResult & WithName(NameT &&value)
void SetContents(ContentsT &&value)
ListObjectsResult & WithEncodingType(EncodingType value)
void SetCommonPrefixes(CommonPrefixesT &&value)
ListObjectsResult & WithMaxKeys(int value)
const Aws::String & GetNextMarker() const
void SetMaxKeys(int value)
const Aws::String & GetName() const
const Aws::Vector< CommonPrefix > & GetCommonPrefixes() const
void SetEncodingType(EncodingType value)
void SetMarker(MarkerT &&value)
AWS_S3CRT_API ListObjectsResult()=default
void SetRequestId(RequestIdT &&value)
ListObjectsResult & WithContents(ContentsT &&value)
ListObjectsResult & WithRequestId(RequestIdT &&value)
RequestCharged GetRequestCharged() const
void SetName(NameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListObjectsResult & WithIsTruncated(bool value)
void SetPrefix(PrefixT &&value)
EncodingType GetEncodingType() const
const Aws::String & GetPrefix() const
const Aws::String & GetDelimiter() const
ListObjectsResult & WithCommonPrefixes(CommonPrefixesT &&value)
void SetRequestCharged(RequestCharged value)
ListObjectsResult & WithNextMarker(NextMarkerT &&value)
bool GetIsTruncated() const
const Aws::String & GetRequestId() const
ListObjectsResult & AddCommonPrefixes(CommonPrefixesT &&value)
void SetNextMarker(NextMarkerT &&value)
AWS_S3CRT_API ListObjectsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListObjectsResult & WithRequestCharged(RequestCharged value)
void SetIsTruncated(bool value)
ListObjectsResult & WithPrefix(PrefixT &&value)
const Aws::Vector< Object > & GetContents() const
void SetDelimiter(DelimiterT &&value)
ListObjectsResult & WithDelimiter(DelimiterT &&value)
ListObjectsResult & AddContents(ContentsT &&value)
AWS_S3CRT_API ListObjectsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument