7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glacier/model/PartListElement.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
48 template<
typename MultipartUploadIdT = Aws::String>
49 void SetMultipartUploadId(MultipartUploadIdT&& value) { m_multipartUploadIdHasBeenSet =
true; m_multipartUploadId = std::forward<MultipartUploadIdT>(value); }
50 template<
typename MultipartUploadIdT = Aws::String>
60 template<
typename VaultARNT = Aws::String>
61 void SetVaultARN(VaultARNT&& value) { m_vaultARNHasBeenSet =
true; m_vaultARN = std::forward<VaultARNT>(value); }
62 template<
typename VaultARNT = Aws::String>
72 template<
typename ArchiveDescriptionT = Aws::String>
73 void SetArchiveDescription(ArchiveDescriptionT&& value) { m_archiveDescriptionHasBeenSet =
true; m_archiveDescription = std::forward<ArchiveDescriptionT>(value); }
74 template<
typename ArchiveDescriptionT = Aws::String>
84 inline void SetPartSizeInBytes(
long long value) { m_partSizeInBytesHasBeenSet =
true; m_partSizeInBytes = value; }
93 template<
typename CreationDateT = Aws::String>
94 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
95 template<
typename CreationDateT = Aws::String>
106 template<
typename PartsT = Aws::Vector<PartListElement>>
107 void SetParts(PartsT&& value) { m_partsHasBeenSet =
true; m_parts = std::forward<PartsT>(value); }
108 template<
typename PartsT = Aws::Vector<PartListElement>>
110 template<
typename PartsT = PartListElement>
111 ListPartsResult&
AddParts(PartsT&& value) { m_partsHasBeenSet =
true; m_parts.emplace_back(std::forward<PartsT>(value));
return *
this; }
121 template<
typename MarkerT = Aws::String>
122 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
123 template<
typename MarkerT = Aws::String>
130 template<
typename RequestIdT = Aws::String>
131 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
132 template<
typename RequestIdT = Aws::String>
138 bool m_multipartUploadIdHasBeenSet =
false;
141 bool m_vaultARNHasBeenSet =
false;
144 bool m_archiveDescriptionHasBeenSet =
false;
146 long long m_partSizeInBytes{0};
147 bool m_partSizeInBytesHasBeenSet =
false;
150 bool m_creationDateHasBeenSet =
false;
153 bool m_partsHasBeenSet =
false;
156 bool m_markerHasBeenSet =
false;
159 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue