7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/S3Crt_EXPORTS.h>
10#include <aws/s3-crt/model/CommonPrefix.h>
11#include <aws/s3-crt/model/EncodingType.h>
12#include <aws/s3-crt/model/Object.h>
13#include <aws/s3-crt/model/RequestCharged.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
41 m_isTruncatedHasBeenSet =
true;
42 m_isTruncated = value;
56 template <
typename MarkerT = Aws::String>
58 m_markerHasBeenSet =
true;
59 m_marker = std::forward<MarkerT>(value);
61 template <
typename MarkerT = Aws::String>
82 template <
typename NextMarkerT = Aws::String>
84 m_nextMarkerHasBeenSet =
true;
85 m_nextMarker = std::forward<NextMarkerT>(value);
87 template <
typename NextMarkerT = Aws::String>
99 template <
typename ContentsT = Aws::Vector<Object>>
101 m_contentsHasBeenSet =
true;
102 m_contents = std::forward<ContentsT>(value);
104 template <
typename ContentsT = Aws::Vector<Object>>
109 template <
typename ContentsT = Object>
111 m_contentsHasBeenSet =
true;
112 m_contents.emplace_back(std::forward<ContentsT>(value));
122 template <
typename NameT = Aws::String>
124 m_nameHasBeenSet =
true;
125 m_name = std::forward<NameT>(value);
127 template <
typename NameT = Aws::String>
129 SetName(std::forward<NameT>(value));
139 template <
typename PrefixT = Aws::String>
141 m_prefixHasBeenSet =
true;
142 m_prefix = std::forward<PrefixT>(value);
144 template <
typename PrefixT = Aws::String>
160 template <
typename DelimiterT = Aws::String>
162 m_delimiterHasBeenSet =
true;
163 m_delimiter = std::forward<DelimiterT>(value);
165 template <
typename DelimiterT = Aws::String>
178 m_maxKeysHasBeenSet =
true;
202 template <
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
204 m_commonPrefixesHasBeenSet =
true;
205 m_commonPrefixes = std::forward<CommonPrefixesT>(value);
207 template <
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
212 template <
typename CommonPrefixesT = CommonPrefix>
214 m_commonPrefixesHasBeenSet =
true;
215 m_commonPrefixes.emplace_back(std::forward<CommonPrefixesT>(value));
239 m_encodingTypeHasBeenSet =
true;
240 m_encodingType = value;
252 m_requestChargedHasBeenSet =
true;
253 m_requestCharged = value;
264 template <
typename RequestIdT = Aws::String>
266 m_requestIdHasBeenSet =
true;
267 m_requestId = std::forward<RequestIdT>(value);
269 template <
typename RequestIdT = Aws::String>
276 bool m_isTruncated{
false};
299 bool m_isTruncatedHasBeenSet =
false;
300 bool m_markerHasBeenSet =
false;
301 bool m_nextMarkerHasBeenSet =
false;
302 bool m_contentsHasBeenSet =
false;
303 bool m_nameHasBeenSet =
false;
304 bool m_prefixHasBeenSet =
false;
305 bool m_delimiterHasBeenSet =
false;
306 bool m_maxKeysHasBeenSet =
false;
307 bool m_commonPrefixesHasBeenSet =
false;
308 bool m_encodingTypeHasBeenSet =
false;
309 bool m_requestChargedHasBeenSet =
false;
310 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)
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