7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9#include <aws/glacier/model/ActionCode.h>
10#include <aws/glacier/model/InventoryRetrievalJobDescription.h>
11#include <aws/glacier/model/OutputLocation.h>
12#include <aws/glacier/model/SelectParameters.h>
13#include <aws/glacier/model/StatusCode.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template <
typename JobIdT = Aws::String>
47 m_jobIdHasBeenSet =
true;
48 m_jobId = std::forward<JobIdT>(value);
50 template <
typename JobIdT = Aws::String>
52 SetJobId(std::forward<JobIdT>(value));
62 template <
typename JobDescriptionT = Aws::String>
64 m_jobDescriptionHasBeenSet =
true;
65 m_jobDescription = std::forward<JobDescriptionT>(value);
67 template <
typename JobDescriptionT = Aws::String>
81 m_actionHasBeenSet =
true;
96 template <
typename ArchiveIdT = Aws::String>
98 m_archiveIdHasBeenSet =
true;
99 m_archiveId = std::forward<ArchiveIdT>(value);
101 template <
typename ArchiveIdT = Aws::String>
114 template <
typename VaultARNT = Aws::String>
116 m_vaultARNHasBeenSet =
true;
117 m_vaultARN = std::forward<VaultARNT>(value);
119 template <
typename VaultARNT = Aws::String>
133 template <
typename CreationDateT = Aws::String>
135 m_creationDateHasBeenSet =
true;
136 m_creationDate = std::forward<CreationDateT>(value);
138 template <
typename CreationDateT = Aws::String>
152 m_completedHasBeenSet =
true;
168 m_statusCodeHasBeenSet =
true;
169 m_statusCode = value;
182 template <
typename StatusMessageT = Aws::String>
184 m_statusMessageHasBeenSet =
true;
185 m_statusMessage = std::forward<StatusMessageT>(value);
187 template <
typename StatusMessageT = Aws::String>
202 m_archiveSizeInBytesHasBeenSet =
true;
203 m_archiveSizeInBytes = value;
219 m_inventorySizeInBytesHasBeenSet =
true;
220 m_inventorySizeInBytes = value;
233 template <
typename SNSTopicT = Aws::String>
235 m_sNSTopicHasBeenSet =
true;
236 m_sNSTopic = std::forward<SNSTopicT>(value);
238 template <
typename SNSTopicT = Aws::String>
251 template <
typename CompletionDateT = Aws::String>
253 m_completionDateHasBeenSet =
true;
254 m_completionDate = std::forward<CompletionDateT>(value);
256 template <
typename CompletionDateT = Aws::String>
278 template <
typename SHA256TreeHashT = Aws::String>
280 m_sHA256TreeHashHasBeenSet =
true;
281 m_sHA256TreeHash = std::forward<SHA256TreeHashT>(value);
283 template <
typename SHA256TreeHashT = Aws::String>
296 template <
typename ArchiveSHA256TreeHashT = Aws::String>
298 m_archiveSHA256TreeHashHasBeenSet =
true;
299 m_archiveSHA256TreeHash = std::forward<ArchiveSHA256TreeHashT>(value);
301 template <
typename ArchiveSHA256TreeHashT = Aws::String>
318 template <
typename RetrievalByteRangeT = Aws::String>
320 m_retrievalByteRangeHasBeenSet =
true;
321 m_retrievalByteRange = std::forward<RetrievalByteRangeT>(value);
323 template <
typename RetrievalByteRangeT = Aws::String>
337 template <
typename TierT = Aws::String>
339 m_tierHasBeenSet =
true;
340 m_tier = std::forward<TierT>(value);
342 template <
typename TierT = Aws::String>
344 SetTier(std::forward<TierT>(value));
354 template <
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
356 m_inventoryRetrievalParametersHasBeenSet =
true;
357 m_inventoryRetrievalParameters = std::forward<InventoryRetrievalParametersT>(value);
359 template <
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
371 template <
typename JobOutputPathT = Aws::String>
373 m_jobOutputPathHasBeenSet =
true;
374 m_jobOutputPath = std::forward<JobOutputPathT>(value);
376 template <
typename JobOutputPathT = Aws::String>
388 template <
typename SelectParametersT = SelectParameters>
390 m_selectParametersHasBeenSet =
true;
391 m_selectParameters = std::forward<SelectParametersT>(value);
393 template <
typename SelectParametersT = SelectParameters>
405 template <
typename OutputLocationT = OutputLocation>
407 m_outputLocationHasBeenSet =
true;
408 m_outputLocation = std::forward<OutputLocationT>(value);
410 template <
typename OutputLocationT = OutputLocation>
420 template <
typename RequestIdT = Aws::String>
422 m_requestIdHasBeenSet =
true;
423 m_requestId = std::forward<RequestIdT>(value);
425 template <
typename RequestIdT = Aws::String>
444 bool m_completed{
false};
450 long long m_archiveSizeInBytes{0};
452 long long m_inventorySizeInBytes{0};
466 InventoryRetrievalJobDescription m_inventoryRetrievalParameters;
470 SelectParameters m_selectParameters;
472 OutputLocation m_outputLocation;
475 bool m_jobIdHasBeenSet =
false;
476 bool m_jobDescriptionHasBeenSet =
false;
477 bool m_actionHasBeenSet =
false;
478 bool m_archiveIdHasBeenSet =
false;
479 bool m_vaultARNHasBeenSet =
false;
480 bool m_creationDateHasBeenSet =
false;
481 bool m_completedHasBeenSet =
false;
482 bool m_statusCodeHasBeenSet =
false;
483 bool m_statusMessageHasBeenSet =
false;
484 bool m_archiveSizeInBytesHasBeenSet =
false;
485 bool m_inventorySizeInBytesHasBeenSet =
false;
486 bool m_sNSTopicHasBeenSet =
false;
487 bool m_completionDateHasBeenSet =
false;
488 bool m_sHA256TreeHashHasBeenSet =
false;
489 bool m_archiveSHA256TreeHashHasBeenSet =
false;
490 bool m_retrievalByteRangeHasBeenSet =
false;
491 bool m_tierHasBeenSet =
false;
492 bool m_inventoryRetrievalParametersHasBeenSet =
false;
493 bool m_jobOutputPathHasBeenSet =
false;
494 bool m_selectParametersHasBeenSet =
false;
495 bool m_outputLocationHasBeenSet =
false;
496 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