7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/EncodingType.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <aws/s3/model/Object.h>
13#include <aws/s3/model/CommonPrefix.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
48 inline void SetIsTruncated(
bool value) { m_isTruncatedHasBeenSet =
true; m_isTruncated = value; }
57 template<
typename ContentsT = Aws::Vector<Object>>
58 void SetContents(ContentsT&& value) { m_contentsHasBeenSet =
true; m_contents = std::forward<ContentsT>(value); }
59 template<
typename ContentsT = Aws::Vector<Object>>
61 template<
typename ContentsT = Object>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
83 template<
typename PrefixT = Aws::String>
84 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
85 template<
typename PrefixT = Aws::String>
100 template<
typename DelimiterT = Aws::String>
101 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet =
true; m_delimiter = std::forward<DelimiterT>(value); }
102 template<
typename DelimiterT = Aws::String>
113 inline void SetMaxKeys(
int value) { m_maxKeysHasBeenSet =
true; m_maxKeys = value; }
142 template<
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
143 void SetCommonPrefixes(CommonPrefixesT&& value) { m_commonPrefixesHasBeenSet =
true; m_commonPrefixes = std::forward<CommonPrefixesT>(value); }
144 template<
typename CommonPrefixesT = Aws::Vector<CommonPrefix>>
146 template<
typename CommonPrefixesT = CommonPrefix>
171 inline void SetKeyCount(
int value) { m_keyCountHasBeenSet =
true; m_keyCount = value; }
182 template<
typename ContinuationTokenT = Aws::String>
183 void SetContinuationToken(ContinuationTokenT&& value) { m_continuationTokenHasBeenSet =
true; m_continuationToken = std::forward<ContinuationTokenT>(value); }
184 template<
typename ContinuationTokenT = Aws::String>
197 template<
typename NextContinuationTokenT = Aws::String>
198 void SetNextContinuationToken(NextContinuationTokenT&& value) { m_nextContinuationTokenHasBeenSet =
true; m_nextContinuationToken = std::forward<NextContinuationTokenT>(value); }
199 template<
typename NextContinuationTokenT = Aws::String>
209 template<
typename StartAfterT = Aws::String>
210 void SetStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet =
true; m_startAfter = std::forward<StartAfterT>(value); }
211 template<
typename StartAfterT = Aws::String>
225 template<
typename RequestIdT = Aws::String>
226 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
227 template<
typename RequestIdT = Aws::String>
232 bool m_isTruncated{
false};
233 bool m_isTruncatedHasBeenSet =
false;
236 bool m_contentsHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_prefixHasBeenSet =
false;
245 bool m_delimiterHasBeenSet =
false;
248 bool m_maxKeysHasBeenSet =
false;
251 bool m_commonPrefixesHasBeenSet =
false;
254 bool m_encodingTypeHasBeenSet =
false;
257 bool m_keyCountHasBeenSet =
false;
260 bool m_continuationTokenHasBeenSet =
false;
263 bool m_nextContinuationTokenHasBeenSet =
false;
266 bool m_startAfterHasBeenSet =
false;
269 bool m_requestChargedHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetPrefix() const
const Aws::String & GetName() const
ListObjectsV2Result & WithCommonPrefixes(CommonPrefixesT &&value)
void SetName(NameT &&value)
ListObjectsV2Result & WithRequestId(RequestIdT &&value)
const Aws::Vector< Object > & GetContents() const
const Aws::String & GetStartAfter() const
void SetContinuationToken(ContinuationTokenT &&value)
AWS_S3_API ListObjectsV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RequestCharged GetRequestCharged() const
ListObjectsV2Result & WithDelimiter(DelimiterT &&value)
void SetContents(ContentsT &&value)
const Aws::Vector< CommonPrefix > & GetCommonPrefixes() const
AWS_S3_API ListObjectsV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListObjectsV2Result & WithStartAfter(StartAfterT &&value)
ListObjectsV2Result & WithNextContinuationToken(NextContinuationTokenT &&value)
ListObjectsV2Result & WithEncodingType(EncodingType value)
const Aws::String & GetNextContinuationToken() const
ListObjectsV2Result & AddCommonPrefixes(CommonPrefixesT &&value)
ListObjectsV2Result & AddContents(ContentsT &&value)
EncodingType GetEncodingType() const
void SetCommonPrefixes(CommonPrefixesT &&value)
ListObjectsV2Result & WithContents(ContentsT &&value)
ListObjectsV2Result & WithMaxKeys(int value)
const Aws::String & GetRequestId() const
AWS_S3_API ListObjectsV2Result()=default
void SetEncodingType(EncodingType value)
void SetIsTruncated(bool value)
void SetStartAfter(StartAfterT &&value)
void SetDelimiter(DelimiterT &&value)
ListObjectsV2Result & WithKeyCount(int value)
void SetPrefix(PrefixT &&value)
bool GetIsTruncated() const
ListObjectsV2Result & WithName(NameT &&value)
void SetNextContinuationToken(NextContinuationTokenT &&value)
void SetKeyCount(int value)
ListObjectsV2Result & WithIsTruncated(bool value)
const Aws::String & GetDelimiter() const
const Aws::String & GetContinuationToken() const
void SetRequestId(RequestIdT &&value)
ListObjectsV2Result & WithRequestCharged(RequestCharged value)
void SetRequestCharged(RequestCharged value)
void SetMaxKeys(int value)
ListObjectsV2Result & WithContinuationToken(ContinuationTokenT &&value)
ListObjectsV2Result & WithPrefix(PrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument