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/glacier/Glacier_EXPORTS.h>
11#include <aws/glacier/model/PartListElement.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template <
typename MultipartUploadIdT = Aws::String>
45 m_multipartUploadIdHasBeenSet =
true;
46 m_multipartUploadId = std::forward<MultipartUploadIdT>(value);
48 template <
typename MultipartUploadIdT = Aws::String>
61 template <
typename VaultARNT = Aws::String>
63 m_vaultARNHasBeenSet =
true;
64 m_vaultARN = std::forward<VaultARNT>(value);
66 template <
typename VaultARNT = Aws::String>
79 template <
typename ArchiveDescriptionT = Aws::String>
81 m_archiveDescriptionHasBeenSet =
true;
82 m_archiveDescription = std::forward<ArchiveDescriptionT>(value);
84 template <
typename ArchiveDescriptionT = Aws::String>
98 m_partSizeInBytesHasBeenSet =
true;
99 m_partSizeInBytes = value;
112 template <
typename CreationDateT = Aws::String>
114 m_creationDateHasBeenSet =
true;
115 m_creationDate = std::forward<CreationDateT>(value);
117 template <
typename CreationDateT = Aws::String>
131 template <
typename PartsT = Aws::Vector<PartListElement>>
133 m_partsHasBeenSet =
true;
134 m_parts = std::forward<PartsT>(value);
136 template <
typename PartsT = Aws::Vector<PartListElement>>
138 SetParts(std::forward<PartsT>(value));
141 template <
typename PartsT = PartListElement>
143 m_partsHasBeenSet =
true;
144 m_parts.emplace_back(std::forward<PartsT>(value));
156 template <
typename MarkerT = Aws::String>
158 m_markerHasBeenSet =
true;
159 m_marker = std::forward<MarkerT>(value);
161 template <
typename MarkerT = Aws::String>
171 template <
typename RequestIdT = Aws::String>
173 m_requestIdHasBeenSet =
true;
174 m_requestId = std::forward<RequestIdT>(value);
176 template <
typename RequestIdT = Aws::String>
191 long long m_partSizeInBytes{0};
201 bool m_multipartUploadIdHasBeenSet =
false;
202 bool m_vaultARNHasBeenSet =
false;
203 bool m_archiveDescriptionHasBeenSet =
false;
204 bool m_partSizeInBytesHasBeenSet =
false;
205 bool m_creationDateHasBeenSet =
false;
206 bool m_partsHasBeenSet =
false;
207 bool m_markerHasBeenSet =
false;
208 bool m_requestIdHasBeenSet =
false;
ListPartsResult & WithCreationDate(CreationDateT &&value)
void SetParts(PartsT &&value)
const Aws::String & GetCreationDate() const
ListPartsResult & WithVaultARN(VaultARNT &&value)
ListPartsResult & WithParts(PartsT &&value)
const Aws::String & GetArchiveDescription() const
const Aws::String & GetVaultARN() const
AWS_GLACIER_API ListPartsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArchiveDescription(ArchiveDescriptionT &&value)
void SetMarker(MarkerT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetMultipartUploadId() const
AWS_GLACIER_API ListPartsResult()=default
void SetPartSizeInBytes(long long value)
ListPartsResult & WithMultipartUploadId(MultipartUploadIdT &&value)
ListPartsResult & WithArchiveDescription(ArchiveDescriptionT &&value)
ListPartsResult & WithRequestId(RequestIdT &&value)
ListPartsResult & WithPartSizeInBytes(long long value)
const Aws::Vector< PartListElement > & GetParts() const
AWS_GLACIER_API ListPartsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListPartsResult & AddParts(PartsT &&value)
ListPartsResult & WithMarker(MarkerT &&value)
void SetVaultARN(VaultARNT &&value)
long long GetPartSizeInBytes() const
void SetCreationDate(CreationDateT &&value)
void SetMultipartUploadId(MultipartUploadIdT &&value)
const Aws::String & GetMarker() const
void SetRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue