7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/BackupJobState.h>
9#include <aws/backup/model/Lifecycle.h>
10#include <aws/backup/model/RecoveryPointCreator.h>
11#include <aws/core/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename AccountIdT = Aws::String>
42 m_accountIdHasBeenSet =
true;
43 m_accountId = std::forward<AccountIdT>(value);
45 template <
typename AccountIdT = Aws::String>
57 template <
typename BackupJobIdT = Aws::String>
59 m_backupJobIdHasBeenSet =
true;
60 m_backupJobId = std::forward<BackupJobIdT>(value);
62 template <
typename BackupJobIdT = Aws::String>
76 template <
typename BackupVaultNameT = Aws::String>
78 m_backupVaultNameHasBeenSet =
true;
79 m_backupVaultName = std::forward<BackupVaultNameT>(value);
81 template <
typename BackupVaultNameT = Aws::String>
91 template <
typename RecoveryPo
intLifecycleT = Lifecycle>
93 m_recoveryPointLifecycleHasBeenSet =
true;
94 m_recoveryPointLifecycle = std::forward<RecoveryPointLifecycleT>(value);
96 template <
typename RecoveryPo
intLifecycleT = Lifecycle>
110 template <
typename BackupVaultArnT = Aws::String>
112 m_backupVaultArnHasBeenSet =
true;
113 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
115 template <
typename BackupVaultArnT = Aws::String>
130 template <
typename VaultTypeT = Aws::String>
132 m_vaultTypeHasBeenSet =
true;
133 m_vaultType = std::forward<VaultTypeT>(value);
135 template <
typename VaultTypeT = Aws::String>
149 template <
typename VaultLockStateT = Aws::String>
151 m_vaultLockStateHasBeenSet =
true;
152 m_vaultLockState = std::forward<VaultLockStateT>(value);
154 template <
typename VaultLockStateT = Aws::String>
167 template <
typename RecoveryPo
intArnT = Aws::String>
169 m_recoveryPointArnHasBeenSet =
true;
170 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
172 template <
typename RecoveryPo
intArnT = Aws::String>
186 template <
typename EncryptionKeyArnT = Aws::String>
188 m_encryptionKeyArnHasBeenSet =
true;
189 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
191 template <
typename EncryptionKeyArnT = Aws::String>
206 m_isEncryptedHasBeenSet =
true;
207 m_isEncrypted = value;
221 template <
typename ResourceArnT = Aws::String>
223 m_resourceArnHasBeenSet =
true;
224 m_resourceArn = std::forward<ResourceArnT>(value);
226 template <
typename ResourceArnT = Aws::String>
241 template <
typename CreationDateT = Aws::Utils::DateTime>
243 m_creationDateHasBeenSet =
true;
244 m_creationDate = std::forward<CreationDateT>(value);
246 template <
typename CreationDateT = Aws::Utils::DateTime>
261 template <
typename CompletionDateT = Aws::Utils::DateTime>
263 m_completionDateHasBeenSet =
true;
264 m_completionDate = std::forward<CompletionDateT>(value);
266 template <
typename CompletionDateT = Aws::Utils::DateTime>
279 m_stateHasBeenSet =
true;
294 template <
typename StatusMessageT = Aws::String>
296 m_statusMessageHasBeenSet =
true;
297 m_statusMessage = std::forward<StatusMessageT>(value);
299 template <
typename StatusMessageT = Aws::String>
312 template <
typename PercentDoneT = Aws::String>
314 m_percentDoneHasBeenSet =
true;
315 m_percentDone = std::forward<PercentDoneT>(value);
317 template <
typename PercentDoneT = Aws::String>
348 m_backupSizeInBytesHasBeenSet =
true;
349 m_backupSizeInBytes = value;
363 template <
typename IamRoleArnT = Aws::String>
365 m_iamRoleArnHasBeenSet =
true;
366 m_iamRoleArn = std::forward<IamRoleArnT>(value);
368 template <
typename IamRoleArnT = Aws::String>
383 template <
typename CreatedByT = RecoveryPo
intCreator>
385 m_createdByHasBeenSet =
true;
386 m_createdBy = std::forward<CreatedByT>(value);
388 template <
typename CreatedByT = RecoveryPo
intCreator>
402 template <
typename ResourceTypeT = Aws::String>
404 m_resourceTypeHasBeenSet =
true;
405 m_resourceType = std::forward<ResourceTypeT>(value);
407 template <
typename ResourceTypeT = Aws::String>
421 m_bytesTransferredHasBeenSet =
true;
422 m_bytesTransferred = value;
439 template <
typename ExpectedCompletionDateT = Aws::Utils::DateTime>
441 m_expectedCompletionDateHasBeenSet =
true;
442 m_expectedCompletionDate = std::forward<ExpectedCompletionDateT>(value);
444 template <
typename ExpectedCompletionDateT = Aws::Utils::DateTime>
462 template <
typename StartByT = Aws::Utils::DateTime>
464 m_startByHasBeenSet =
true;
465 m_startBy = std::forward<StartByT>(value);
467 template <
typename StartByT = Aws::Utils::DateTime>
480 template <
typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
482 m_backupOptionsHasBeenSet =
true;
483 m_backupOptions = std::forward<BackupOptionsT>(value);
485 template <
typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
490 template <
typename BackupOptionsKeyT = Aws::String,
typename BackupOptionsValueT = Aws::String>
492 m_backupOptionsHasBeenSet =
true;
493 m_backupOptions.emplace(std::forward<BackupOptionsKeyT>(key), std::forward<BackupOptionsValueT>(value));
506 template <
typename BackupTypeT = Aws::String>
508 m_backupTypeHasBeenSet =
true;
509 m_backupType = std::forward<BackupTypeT>(value);
511 template <
typename BackupTypeT = Aws::String>
523 template <
typename ParentJobIdT = Aws::String>
525 m_parentJobIdHasBeenSet =
true;
526 m_parentJobId = std::forward<ParentJobIdT>(value);
528 template <
typename ParentJobIdT = Aws::String>
542 m_isParentHasBeenSet =
true;
557 m_numberOfChildJobsHasBeenSet =
true;
558 m_numberOfChildJobs = value;
571 template <
typename ChildJobsInStateT = Aws::Map<BackupJobState,
long long>>
573 m_childJobsInStateHasBeenSet =
true;
574 m_childJobsInState = std::forward<ChildJobsInStateT>(value);
576 template <
typename ChildJobsInStateT = Aws::Map<BackupJobState,
long long>>
582 m_childJobsInStateHasBeenSet =
true;
583 m_childJobsInState.emplace(key, value);
593 template <
typename ResourceNameT = Aws::String>
595 m_resourceNameHasBeenSet =
true;
596 m_resourceName = std::forward<ResourceNameT>(value);
598 template <
typename ResourceNameT = Aws::String>
610 template <
typename InitiationDateT = Aws::Utils::DateTime>
612 m_initiationDateHasBeenSet =
true;
613 m_initiationDate = std::forward<InitiationDateT>(value);
615 template <
typename InitiationDateT = Aws::Utils::DateTime>
631 template <
typename MessageCategoryT = Aws::String>
633 m_messageCategoryHasBeenSet =
true;
634 m_messageCategory = std::forward<MessageCategoryT>(value);
636 template <
typename MessageCategoryT = Aws::String>
646 template <
typename RequestIdT = Aws::String>
648 m_requestIdHasBeenSet =
true;
649 m_requestId = std::forward<RequestIdT>(value);
651 template <
typename RequestIdT = Aws::String>
678 bool m_isEncrypted{
false};
692 long long m_backupSizeInBytes{0};
696 RecoveryPointCreator m_createdBy;
700 long long m_bytesTransferred{0};
712 bool m_isParent{
false};
714 long long m_numberOfChildJobs{0};
726 bool m_accountIdHasBeenSet =
false;
727 bool m_backupJobIdHasBeenSet =
false;
728 bool m_backupVaultNameHasBeenSet =
false;
729 bool m_recoveryPointLifecycleHasBeenSet =
false;
730 bool m_backupVaultArnHasBeenSet =
false;
731 bool m_vaultTypeHasBeenSet =
false;
732 bool m_vaultLockStateHasBeenSet =
false;
733 bool m_recoveryPointArnHasBeenSet =
false;
734 bool m_encryptionKeyArnHasBeenSet =
false;
735 bool m_isEncryptedHasBeenSet =
false;
736 bool m_resourceArnHasBeenSet =
false;
737 bool m_creationDateHasBeenSet =
false;
738 bool m_completionDateHasBeenSet =
false;
739 bool m_stateHasBeenSet =
false;
740 bool m_statusMessageHasBeenSet =
false;
741 bool m_percentDoneHasBeenSet =
false;
742 bool m_backupSizeInBytesHasBeenSet =
false;
743 bool m_iamRoleArnHasBeenSet =
false;
744 bool m_createdByHasBeenSet =
false;
745 bool m_resourceTypeHasBeenSet =
false;
746 bool m_bytesTransferredHasBeenSet =
false;
747 bool m_expectedCompletionDateHasBeenSet =
false;
748 bool m_startByHasBeenSet =
false;
749 bool m_backupOptionsHasBeenSet =
false;
750 bool m_backupTypeHasBeenSet =
false;
751 bool m_parentJobIdHasBeenSet =
false;
752 bool m_isParentHasBeenSet =
false;
753 bool m_numberOfChildJobsHasBeenSet =
false;
754 bool m_childJobsInStateHasBeenSet =
false;
755 bool m_resourceNameHasBeenSet =
false;
756 bool m_initiationDateHasBeenSet =
false;
757 bool m_messageCategoryHasBeenSet =
false;
758 bool m_requestIdHasBeenSet =
false;
DescribeBackupJobResult & WithParentJobId(ParentJobIdT &&value)
DescribeBackupJobResult & WithBytesTransferred(long long value)
void SetCreationDate(CreationDateT &&value)
void SetParentJobId(ParentJobIdT &&value)
void SetBackupType(BackupTypeT &&value)
const Aws::Utils::DateTime & GetInitiationDate() const
void SetNumberOfChildJobs(long long value)
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
void SetRecoveryPointArn(RecoveryPointArnT &&value)
const Aws::Map< BackupJobState, long long > & GetChildJobsInState() const
const Aws::String & GetResourceName() const
const Aws::String & GetParentJobId() const
DescribeBackupJobResult & WithStartBy(StartByT &&value)
void SetResourceType(ResourceTypeT &&value)
DescribeBackupJobResult & WithResourceArn(ResourceArnT &&value)
void SetState(BackupJobState value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCompletionDate(CompletionDateT &&value)
const Aws::String & GetResourceArn() const
void SetBackupJobId(BackupJobIdT &&value)
void SetBackupSizeInBytes(long long value)
void SetExpectedCompletionDate(ExpectedCompletionDateT &&value)
void SetPercentDone(PercentDoneT &&value)
void SetRequestId(RequestIdT &&value)
const RecoveryPointCreator & GetCreatedBy() const
void SetResourceArn(ResourceArnT &&value)
DescribeBackupJobResult & WithCreationDate(CreationDateT &&value)
void SetBytesTransferred(long long value)
DescribeBackupJobResult & WithIamRoleArn(IamRoleArnT &&value)
DescribeBackupJobResult & WithIsParent(bool value)
void SetResourceName(ResourceNameT &&value)
AWS_BACKUP_API DescribeBackupJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBackupJobResult & WithRecoveryPointArn(RecoveryPointArnT &&value)
const Lifecycle & GetRecoveryPointLifecycle() const
const Aws::String & GetBackupType() const
void SetInitiationDate(InitiationDateT &&value)
void SetVaultType(VaultTypeT &&value)
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
const Aws::Utils::DateTime & GetCreationDate() const
DescribeBackupJobResult & WithPercentDone(PercentDoneT &&value)
AWS_BACKUP_API DescribeBackupJobResult()=default
void SetIsParent(bool value)
BackupJobState GetState() const
DescribeBackupJobResult & WithExpectedCompletionDate(ExpectedCompletionDateT &&value)
DescribeBackupJobResult & WithResourceType(ResourceTypeT &&value)
DescribeBackupJobResult & WithBackupVaultArn(BackupVaultArnT &&value)
DescribeBackupJobResult & WithBackupJobId(BackupJobIdT &&value)
const Aws::String & GetRecoveryPointArn() const
void SetIsEncrypted(bool value)
const Aws::String & GetBackupVaultName() const
DescribeBackupJobResult & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
DescribeBackupJobResult & WithIsEncrypted(bool value)
void SetRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
DescribeBackupJobResult & WithBackupSizeInBytes(long long value)
const Aws::String & GetResourceType() const
void SetAccountId(AccountIdT &&value)
DescribeBackupJobResult & WithBackupVaultName(BackupVaultNameT &&value)
const Aws::String & GetStatusMessage() const
const Aws::String & GetBackupVaultArn() const
DescribeBackupJobResult & WithResourceName(ResourceNameT &&value)
void SetVaultLockState(VaultLockStateT &&value)
const Aws::String & GetVaultType() const
void SetBackupVaultArn(BackupVaultArnT &&value)
const Aws::String & GetPercentDone() const
void SetBackupOptions(BackupOptionsT &&value)
DescribeBackupJobResult & WithMessageCategory(MessageCategoryT &&value)
DescribeBackupJobResult & WithCompletionDate(CompletionDateT &&value)
DescribeBackupJobResult & AddChildJobsInState(BackupJobState key, long long value)
void SetBackupVaultName(BackupVaultNameT &&value)
long long GetNumberOfChildJobs() const
const Aws::Utils::DateTime & GetStartBy() const
DescribeBackupJobResult & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetIamRoleArn() const
DescribeBackupJobResult & WithAccountId(AccountIdT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::Utils::DateTime & GetCompletionDate() const
DescribeBackupJobResult & WithInitiationDate(InitiationDateT &&value)
DescribeBackupJobResult & WithVaultType(VaultTypeT &&value)
DescribeBackupJobResult & WithVaultLockState(VaultLockStateT &&value)
DescribeBackupJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetEncryptionKeyArn() const
const Aws::String & GetRequestId() const
void SetChildJobsInState(ChildJobsInStateT &&value)
void SetCreatedBy(CreatedByT &&value)
DescribeBackupJobResult & WithNumberOfChildJobs(long long value)
void SetStartBy(StartByT &&value)
const Aws::String & GetBackupJobId() const
DescribeBackupJobResult & WithBackupOptions(BackupOptionsT &&value)
DescribeBackupJobResult & WithBackupType(BackupTypeT &&value)
const Aws::String & GetVaultLockState() const
long long GetBytesTransferred() const
DescribeBackupJobResult & WithRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
DescribeBackupJobResult & AddBackupOptions(BackupOptionsKeyT &&key, BackupOptionsValueT &&value)
const Aws::String & GetMessageCategory() const
DescribeBackupJobResult & WithState(BackupJobState value)
const Aws::String & GetAccountId() const
long long GetBackupSizeInBytes() const
DescribeBackupJobResult & WithChildJobsInState(ChildJobsInStateT &&value)
void SetIamRoleArn(IamRoleArnT &&value)
void SetMessageCategory(MessageCategoryT &&value)
DescribeBackupJobResult & WithStatusMessage(StatusMessageT &&value)
bool GetIsEncrypted() const
AWS_BACKUP_API DescribeBackupJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatusMessage(StatusMessageT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue