7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/model/ActionCode.h>
10#include <aws/glacier/model/StatusCode.h>
11#include <aws/glacier/model/InventoryRetrievalJobDescription.h>
12#include <aws/glacier/model/SelectParameters.h>
13#include <aws/glacier/model/OutputLocation.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
51 template<
typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
53 template<
typename JobIdT = Aws::String>
62 template<
typename JobDescriptionT = Aws::String>
63 void SetJobDescription(JobDescriptionT&& value) { m_jobDescriptionHasBeenSet =
true; m_jobDescription = std::forward<JobDescriptionT>(value); }
64 template<
typename JobDescriptionT = Aws::String>
84 template<
typename ArchiveIdT = Aws::String>
85 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet =
true; m_archiveId = std::forward<ArchiveIdT>(value); }
86 template<
typename ArchiveIdT = Aws::String>
96 template<
typename VaultARNT = Aws::String>
97 void SetVaultARN(VaultARNT&& value) { m_vaultARNHasBeenSet =
true; m_vaultARN = std::forward<VaultARNT>(value); }
98 template<
typename VaultARNT = Aws::String>
109 template<
typename CreationDateT = Aws::String>
110 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
111 template<
typename CreationDateT = Aws::String>
121 inline void SetCompleted(
bool value) { m_completedHasBeenSet =
true; m_completed = value; }
140 template<
typename StatusMessageT = Aws::String>
141 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
142 template<
typename StatusMessageT = Aws::String>
153 inline void SetArchiveSizeInBytes(
long long value) { m_archiveSizeInBytesHasBeenSet =
true; m_archiveSizeInBytes = value; }
164 inline void SetInventorySizeInBytes(
long long value) { m_inventorySizeInBytesHasBeenSet =
true; m_inventorySizeInBytes = value; }
173 template<
typename SNSTopicT = Aws::String>
174 void SetSNSTopic(SNSTopicT&& value) { m_sNSTopicHasBeenSet =
true; m_sNSTopic = std::forward<SNSTopicT>(value); }
175 template<
typename SNSTopicT = Aws::String>
185 template<
typename CompletionDateT = Aws::String>
186 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet =
true; m_completionDate = std::forward<CompletionDateT>(value); }
187 template<
typename CompletionDateT = Aws::String>
206 template<
typename SHA256TreeHashT = Aws::String>
207 void SetSHA256TreeHash(SHA256TreeHashT&& value) { m_sHA256TreeHashHasBeenSet =
true; m_sHA256TreeHash = std::forward<SHA256TreeHashT>(value); }
208 template<
typename SHA256TreeHashT = Aws::String>
218 template<
typename ArchiveSHA256TreeHashT = Aws::String>
219 void SetArchiveSHA256TreeHash(ArchiveSHA256TreeHashT&& value) { m_archiveSHA256TreeHashHasBeenSet =
true; m_archiveSHA256TreeHash = std::forward<ArchiveSHA256TreeHashT>(value); }
220 template<
typename ArchiveSHA256TreeHashT = Aws::String>
234 template<
typename RetrievalByteRangeT = Aws::String>
235 void SetRetrievalByteRange(RetrievalByteRangeT&& value) { m_retrievalByteRangeHasBeenSet =
true; m_retrievalByteRange = std::forward<RetrievalByteRangeT>(value); }
236 template<
typename RetrievalByteRangeT = Aws::String>
247 template<
typename TierT = Aws::String>
248 void SetTier(TierT&& value) { m_tierHasBeenSet =
true; m_tier = std::forward<TierT>(value); }
249 template<
typename TierT = Aws::String>
258 template<
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
259 void SetInventoryRetrievalParameters(InventoryRetrievalParametersT&& value) { m_inventoryRetrievalParametersHasBeenSet =
true; m_inventoryRetrievalParameters = std::forward<InventoryRetrievalParametersT>(value); }
260 template<
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
269 template<
typename JobOutputPathT = Aws::String>
270 void SetJobOutputPath(JobOutputPathT&& value) { m_jobOutputPathHasBeenSet =
true; m_jobOutputPath = std::forward<JobOutputPathT>(value); }
271 template<
typename JobOutputPathT = Aws::String>
280 template<
typename SelectParametersT = SelectParameters>
281 void SetSelectParameters(SelectParametersT&& value) { m_selectParametersHasBeenSet =
true; m_selectParameters = std::forward<SelectParametersT>(value); }
282 template<
typename SelectParametersT = SelectParameters>
291 template<
typename OutputLocationT = OutputLocation>
292 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet =
true; m_outputLocation = std::forward<OutputLocationT>(value); }
293 template<
typename OutputLocationT = OutputLocation>
300 template<
typename RequestIdT = Aws::String>
301 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
302 template<
typename RequestIdT = Aws::String>
308 bool m_jobIdHasBeenSet =
false;
311 bool m_jobDescriptionHasBeenSet =
false;
314 bool m_actionHasBeenSet =
false;
317 bool m_archiveIdHasBeenSet =
false;
320 bool m_vaultARNHasBeenSet =
false;
323 bool m_creationDateHasBeenSet =
false;
325 bool m_completed{
false};
326 bool m_completedHasBeenSet =
false;
329 bool m_statusCodeHasBeenSet =
false;
332 bool m_statusMessageHasBeenSet =
false;
334 long long m_archiveSizeInBytes{0};
335 bool m_archiveSizeInBytesHasBeenSet =
false;
337 long long m_inventorySizeInBytes{0};
338 bool m_inventorySizeInBytesHasBeenSet =
false;
341 bool m_sNSTopicHasBeenSet =
false;
344 bool m_completionDateHasBeenSet =
false;
347 bool m_sHA256TreeHashHasBeenSet =
false;
350 bool m_archiveSHA256TreeHashHasBeenSet =
false;
353 bool m_retrievalByteRangeHasBeenSet =
false;
356 bool m_tierHasBeenSet =
false;
358 InventoryRetrievalJobDescription m_inventoryRetrievalParameters;
359 bool m_inventoryRetrievalParametersHasBeenSet =
false;
362 bool m_jobOutputPathHasBeenSet =
false;
364 SelectParameters m_selectParameters;
365 bool m_selectParametersHasBeenSet =
false;
367 OutputLocation m_outputLocation;
368 bool m_outputLocationHasBeenSet =
false;
371 bool m_requestIdHasBeenSet =
false;
AWS_GLACIER_API DescribeJobResult()=default
DescribeJobResult & WithInventoryRetrievalParameters(InventoryRetrievalParametersT &&value)
DescribeJobResult & WithSelectParameters(SelectParametersT &&value)
void SetCompletionDate(CompletionDateT &&value)
void SetAction(ActionCode value)
DescribeJobResult & WithArchiveSizeInBytes(long long value)
DescribeJobResult & WithInventorySizeInBytes(long long value)
const OutputLocation & GetOutputLocation() const
void SetJobDescription(JobDescriptionT &&value)
AWS_GLACIER_API DescribeJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobResult & WithStatusMessage(StatusMessageT &&value)
void SetArchiveSHA256TreeHash(ArchiveSHA256TreeHashT &&value)
void SetCompleted(bool value)
const Aws::String & GetArchiveSHA256TreeHash() const
DescribeJobResult & WithArchiveId(ArchiveIdT &&value)
void SetArchiveId(ArchiveIdT &&value)
DescribeJobResult & WithRetrievalByteRange(RetrievalByteRangeT &&value)
AWS_GLACIER_API DescribeJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
long long GetArchiveSizeInBytes() const
DescribeJobResult & WithAction(ActionCode value)
const Aws::String & GetSNSTopic() const
const Aws::String & GetJobOutputPath() const
void SetVaultARN(VaultARNT &&value)
DescribeJobResult & WithTier(TierT &&value)
void SetOutputLocation(OutputLocationT &&value)
const Aws::String & GetCreationDate() const
DescribeJobResult & WithStatusCode(StatusCode value)
void SetRequestId(RequestIdT &&value)
void SetInventorySizeInBytes(long long value)
void SetCreationDate(CreationDateT &&value)
void SetArchiveSizeInBytes(long long value)
void SetSelectParameters(SelectParametersT &&value)
DescribeJobResult & WithCompletionDate(CompletionDateT &&value)
const Aws::String & GetCompletionDate() const
DescribeJobResult & WithJobId(JobIdT &&value)
DescribeJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRetrievalByteRange() const
void SetTier(TierT &&value)
const Aws::String & GetArchiveId() const
void SetStatusMessage(StatusMessageT &&value)
DescribeJobResult & WithArchiveSHA256TreeHash(ArchiveSHA256TreeHashT &&value)
void SetRetrievalByteRange(RetrievalByteRangeT &&value)
DescribeJobResult & WithJobDescription(JobDescriptionT &&value)
StatusCode GetStatusCode() const
const Aws::String & GetStatusMessage() const
long long GetInventorySizeInBytes() const
ActionCode GetAction() const
const Aws::String & GetTier() const
const SelectParameters & GetSelectParameters() const
void SetJobId(JobIdT &&value)
DescribeJobResult & WithOutputLocation(OutputLocationT &&value)
DescribeJobResult & WithCreationDate(CreationDateT &&value)
DescribeJobResult & WithJobOutputPath(JobOutputPathT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetJobId() const
const Aws::String & GetJobDescription() const
DescribeJobResult & WithVaultARN(VaultARNT &&value)
void SetInventoryRetrievalParameters(InventoryRetrievalParametersT &&value)
void SetSHA256TreeHash(SHA256TreeHashT &&value)
const Aws::String & GetVaultARN() const
DescribeJobResult & WithSHA256TreeHash(SHA256TreeHashT &&value)
const Aws::String & GetSHA256TreeHash() const
void SetJobOutputPath(JobOutputPathT &&value)
DescribeJobResult & WithSNSTopic(SNSTopicT &&value)
void SetSNSTopic(SNSTopicT &&value)
DescribeJobResult & WithCompleted(bool value)
bool GetCompleted() const
const InventoryRetrievalJobDescription & GetInventoryRetrievalParameters() const
void SetStatusCode(StatusCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue