7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10#include <aws/glacier/model/ActionCode.h>
11#include <aws/glacier/model/InventoryRetrievalJobDescription.h>
12#include <aws/glacier/model/OutputLocation.h>
13#include <aws/glacier/model/SelectParameters.h>
14#include <aws/glacier/model/StatusCode.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template <
typename JobIdT = Aws::String>
48 m_jobIdHasBeenSet =
true;
49 m_jobId = std::forward<JobIdT>(value);
51 template <
typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
63 template <
typename JobDescriptionT = Aws::String>
65 m_jobDescriptionHasBeenSet =
true;
66 m_jobDescription = std::forward<JobDescriptionT>(value);
68 template <
typename JobDescriptionT = Aws::String>
82 m_actionHasBeenSet =
true;
97 template <
typename ArchiveIdT = Aws::String>
99 m_archiveIdHasBeenSet =
true;
100 m_archiveId = std::forward<ArchiveIdT>(value);
102 template <
typename ArchiveIdT = Aws::String>
115 template <
typename VaultARNT = Aws::String>
117 m_vaultARNHasBeenSet =
true;
118 m_vaultARN = std::forward<VaultARNT>(value);
120 template <
typename VaultARNT = Aws::String>
134 template <
typename CreationDateT = Aws::String>
136 m_creationDateHasBeenSet =
true;
137 m_creationDate = std::forward<CreationDateT>(value);
139 template <
typename CreationDateT = Aws::String>
153 m_completedHasBeenSet =
true;
169 m_statusCodeHasBeenSet =
true;
170 m_statusCode = value;
183 template <
typename StatusMessageT = Aws::String>
185 m_statusMessageHasBeenSet =
true;
186 m_statusMessage = std::forward<StatusMessageT>(value);
188 template <
typename StatusMessageT = Aws::String>
203 m_archiveSizeInBytesHasBeenSet =
true;
204 m_archiveSizeInBytes = value;
220 m_inventorySizeInBytesHasBeenSet =
true;
221 m_inventorySizeInBytes = value;
234 template <
typename SNSTopicT = Aws::String>
236 m_sNSTopicHasBeenSet =
true;
237 m_sNSTopic = std::forward<SNSTopicT>(value);
239 template <
typename SNSTopicT = Aws::String>
252 template <
typename CompletionDateT = Aws::String>
254 m_completionDateHasBeenSet =
true;
255 m_completionDate = std::forward<CompletionDateT>(value);
257 template <
typename CompletionDateT = Aws::String>
279 template <
typename SHA256TreeHashT = Aws::String>
281 m_sHA256TreeHashHasBeenSet =
true;
282 m_sHA256TreeHash = std::forward<SHA256TreeHashT>(value);
284 template <
typename SHA256TreeHashT = Aws::String>
297 template <
typename ArchiveSHA256TreeHashT = Aws::String>
299 m_archiveSHA256TreeHashHasBeenSet =
true;
300 m_archiveSHA256TreeHash = std::forward<ArchiveSHA256TreeHashT>(value);
302 template <
typename ArchiveSHA256TreeHashT = Aws::String>
319 template <
typename RetrievalByteRangeT = Aws::String>
321 m_retrievalByteRangeHasBeenSet =
true;
322 m_retrievalByteRange = std::forward<RetrievalByteRangeT>(value);
324 template <
typename RetrievalByteRangeT = Aws::String>
338 template <
typename TierT = Aws::String>
340 m_tierHasBeenSet =
true;
341 m_tier = std::forward<TierT>(value);
343 template <
typename TierT = Aws::String>
345 SetTier(std::forward<TierT>(value));
355 template <
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
357 m_inventoryRetrievalParametersHasBeenSet =
true;
358 m_inventoryRetrievalParameters = std::forward<InventoryRetrievalParametersT>(value);
360 template <
typename InventoryRetrievalParametersT = InventoryRetrievalJobDescription>
372 template <
typename JobOutputPathT = Aws::String>
374 m_jobOutputPathHasBeenSet =
true;
375 m_jobOutputPath = std::forward<JobOutputPathT>(value);
377 template <
typename JobOutputPathT = Aws::String>
389 template <
typename SelectParametersT = SelectParameters>
391 m_selectParametersHasBeenSet =
true;
392 m_selectParameters = std::forward<SelectParametersT>(value);
394 template <
typename SelectParametersT = SelectParameters>
406 template <
typename OutputLocationT = OutputLocation>
408 m_outputLocationHasBeenSet =
true;
409 m_outputLocation = std::forward<OutputLocationT>(value);
411 template <
typename OutputLocationT = OutputLocation>
421 template <
typename RequestIdT = Aws::String>
423 m_requestIdHasBeenSet =
true;
424 m_requestId = std::forward<RequestIdT>(value);
426 template <
typename RequestIdT = Aws::String>
447 bool m_completed{
false};
453 long long m_archiveSizeInBytes{0};
455 long long m_inventorySizeInBytes{0};
469 InventoryRetrievalJobDescription m_inventoryRetrievalParameters;
473 SelectParameters m_selectParameters;
475 OutputLocation m_outputLocation;
479 bool m_jobIdHasBeenSet =
false;
480 bool m_jobDescriptionHasBeenSet =
false;
481 bool m_actionHasBeenSet =
false;
482 bool m_archiveIdHasBeenSet =
false;
483 bool m_vaultARNHasBeenSet =
false;
484 bool m_creationDateHasBeenSet =
false;
485 bool m_completedHasBeenSet =
false;
486 bool m_statusCodeHasBeenSet =
false;
487 bool m_statusMessageHasBeenSet =
false;
488 bool m_archiveSizeInBytesHasBeenSet =
false;
489 bool m_inventorySizeInBytesHasBeenSet =
false;
490 bool m_sNSTopicHasBeenSet =
false;
491 bool m_completionDateHasBeenSet =
false;
492 bool m_sHA256TreeHashHasBeenSet =
false;
493 bool m_archiveSHA256TreeHashHasBeenSet =
false;
494 bool m_retrievalByteRangeHasBeenSet =
false;
495 bool m_tierHasBeenSet =
false;
496 bool m_inventoryRetrievalParametersHasBeenSet =
false;
497 bool m_jobOutputPathHasBeenSet =
false;
498 bool m_selectParametersHasBeenSet =
false;
499 bool m_outputLocationHasBeenSet =
false;
500 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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