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/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
63 template <
typename BackupJobIdT = Aws::String>
65 m_backupJobIdHasBeenSet =
true;
66 m_backupJobId = std::forward<BackupJobIdT>(value);
68 template <
typename BackupJobIdT = Aws::String>
83 template <
typename BackupVaultNameT = Aws::String>
85 m_backupVaultNameHasBeenSet =
true;
86 m_backupVaultName = std::forward<BackupVaultNameT>(value);
88 template <
typename BackupVaultNameT = Aws::String>
103 template <
typename BackupVaultArnT = Aws::String>
105 m_backupVaultArnHasBeenSet =
true;
106 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
108 template <
typename BackupVaultArnT = Aws::String>
124 template <
typename VaultTypeT = Aws::String>
126 m_vaultTypeHasBeenSet =
true;
127 m_vaultType = std::forward<VaultTypeT>(value);
129 template <
typename VaultTypeT = Aws::String>
144 template <
typename VaultLockStateT = Aws::String>
146 m_vaultLockStateHasBeenSet =
true;
147 m_vaultLockState = std::forward<VaultLockStateT>(value);
149 template <
typename VaultLockStateT = Aws::String>
163 template <
typename RecoveryPo
intArnT = Aws::String>
165 m_recoveryPointArnHasBeenSet =
true;
166 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
168 template <
typename RecoveryPo
intArnT = Aws::String>
179 template <
typename RecoveryPo
intLifecycleT = Lifecycle>
181 m_recoveryPointLifecycleHasBeenSet =
true;
182 m_recoveryPointLifecycle = std::forward<RecoveryPointLifecycleT>(value);
184 template <
typename RecoveryPo
intLifecycleT = Lifecycle>
199 template <
typename EncryptionKeyArnT = Aws::String>
201 m_encryptionKeyArnHasBeenSet =
true;
202 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
204 template <
typename EncryptionKeyArnT = Aws::String>
220 m_isEncryptedHasBeenSet =
true;
221 m_isEncrypted = value;
236 template <
typename ResourceArnT = Aws::String>
238 m_resourceArnHasBeenSet =
true;
239 m_resourceArn = std::forward<ResourceArnT>(value);
241 template <
typename ResourceArnT = Aws::String>
257 template <
typename CreationDateT = Aws::Utils::DateTime>
259 m_creationDateHasBeenSet =
true;
260 m_creationDate = std::forward<CreationDateT>(value);
262 template <
typename CreationDateT = Aws::Utils::DateTime>
278 template <
typename CompletionDateT = Aws::Utils::DateTime>
280 m_completionDateHasBeenSet =
true;
281 m_completionDate = std::forward<CompletionDateT>(value);
283 template <
typename CompletionDateT = Aws::Utils::DateTime>
297 m_stateHasBeenSet =
true;
313 template <
typename StatusMessageT = Aws::String>
315 m_statusMessageHasBeenSet =
true;
316 m_statusMessage = std::forward<StatusMessageT>(value);
318 template <
typename StatusMessageT = Aws::String>
332 template <
typename PercentDoneT = Aws::String>
334 m_percentDoneHasBeenSet =
true;
335 m_percentDone = std::forward<PercentDoneT>(value);
337 template <
typename PercentDoneT = Aws::String>
369 m_backupSizeInBytesHasBeenSet =
true;
370 m_backupSizeInBytes = value;
388 template <
typename IamRoleArnT = Aws::String>
390 m_iamRoleArnHasBeenSet =
true;
391 m_iamRoleArn = std::forward<IamRoleArnT>(value);
393 template <
typename IamRoleArnT = Aws::String>
409 template <
typename CreatedByT = RecoveryPo
intCreator>
411 m_createdByHasBeenSet =
true;
412 m_createdBy = std::forward<CreatedByT>(value);
414 template <
typename CreatedByT = RecoveryPo
intCreator>
431 template <
typename ExpectedCompletionDateT = Aws::Utils::DateTime>
433 m_expectedCompletionDateHasBeenSet =
true;
434 m_expectedCompletionDate = std::forward<ExpectedCompletionDateT>(value);
436 template <
typename ExpectedCompletionDateT = Aws::Utils::DateTime>
455 template <
typename StartByT = Aws::Utils::DateTime>
457 m_startByHasBeenSet =
true;
458 m_startBy = std::forward<StartByT>(value);
460 template <
typename StartByT = Aws::Utils::DateTime>
476 template <
typename ResourceTypeT = Aws::String>
478 m_resourceTypeHasBeenSet =
true;
479 m_resourceType = std::forward<ResourceTypeT>(value);
481 template <
typename ResourceTypeT = Aws::String>
496 m_bytesTransferredHasBeenSet =
true;
497 m_bytesTransferred = value;
517 template <
typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
519 m_backupOptionsHasBeenSet =
true;
520 m_backupOptions = std::forward<BackupOptionsT>(value);
522 template <
typename BackupOptionsT = Aws::Map<Aws::String, Aws::String>>
527 template <
typename BackupOptionsKeyT = Aws::String,
typename BackupOptionsValueT = Aws::String>
529 m_backupOptionsHasBeenSet =
true;
530 m_backupOptions.emplace(std::forward<BackupOptionsKeyT>(key), std::forward<BackupOptionsValueT>(value));
541 template <
typename BackupTypeT = Aws::String>
543 m_backupTypeHasBeenSet =
true;
544 m_backupType = std::forward<BackupTypeT>(value);
546 template <
typename BackupTypeT = Aws::String>
560 template <
typename ParentJobIdT = Aws::String>
562 m_parentJobIdHasBeenSet =
true;
563 m_parentJobId = std::forward<ParentJobIdT>(value);
565 template <
typename ParentJobIdT = Aws::String>
580 m_isParentHasBeenSet =
true;
595 template <
typename ResourceNameT = Aws::String>
597 m_resourceNameHasBeenSet =
true;
598 m_resourceName = std::forward<ResourceNameT>(value);
600 template <
typename ResourceNameT = Aws::String>
613 template <
typename InitiationDateT = Aws::Utils::DateTime>
615 m_initiationDateHasBeenSet =
true;
616 m_initiationDate = std::forward<InitiationDateT>(value);
618 template <
typename InitiationDateT = Aws::Utils::DateTime>
637 template <
typename MessageCategoryT = Aws::String>
639 m_messageCategoryHasBeenSet =
true;
640 m_messageCategory = std::forward<MessageCategoryT>(value);
642 template <
typename MessageCategoryT = Aws::String>
667 bool m_isEncrypted{
false};
681 long long m_backupSizeInBytes{0};
685 RecoveryPointCreator m_createdBy;
693 long long m_bytesTransferred{0};
701 bool m_isParent{
false};
708 bool m_accountIdHasBeenSet =
false;
709 bool m_backupJobIdHasBeenSet =
false;
710 bool m_backupVaultNameHasBeenSet =
false;
711 bool m_backupVaultArnHasBeenSet =
false;
712 bool m_vaultTypeHasBeenSet =
false;
713 bool m_vaultLockStateHasBeenSet =
false;
714 bool m_recoveryPointArnHasBeenSet =
false;
715 bool m_recoveryPointLifecycleHasBeenSet =
false;
716 bool m_encryptionKeyArnHasBeenSet =
false;
717 bool m_isEncryptedHasBeenSet =
false;
718 bool m_resourceArnHasBeenSet =
false;
719 bool m_creationDateHasBeenSet =
false;
720 bool m_completionDateHasBeenSet =
false;
721 bool m_stateHasBeenSet =
false;
722 bool m_statusMessageHasBeenSet =
false;
723 bool m_percentDoneHasBeenSet =
false;
724 bool m_backupSizeInBytesHasBeenSet =
false;
725 bool m_iamRoleArnHasBeenSet =
false;
726 bool m_createdByHasBeenSet =
false;
727 bool m_expectedCompletionDateHasBeenSet =
false;
728 bool m_startByHasBeenSet =
false;
729 bool m_resourceTypeHasBeenSet =
false;
730 bool m_bytesTransferredHasBeenSet =
false;
731 bool m_backupOptionsHasBeenSet =
false;
732 bool m_backupTypeHasBeenSet =
false;
733 bool m_parentJobIdHasBeenSet =
false;
734 bool m_isParentHasBeenSet =
false;
735 bool m_resourceNameHasBeenSet =
false;
736 bool m_initiationDateHasBeenSet =
false;
737 bool m_messageCategoryHasBeenSet =
false;
bool BackupVaultNameHasBeenSet() const
bool ExpectedCompletionDateHasBeenSet() const
BackupJob & WithBackupVaultArn(BackupVaultArnT &&value)
bool VaultTypeHasBeenSet() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
bool CreatedByHasBeenSet() const
void SetIamRoleArn(IamRoleArnT &&value)
bool BackupSizeInBytesHasBeenSet() const
BackupJob & AddBackupOptions(BackupOptionsKeyT &&key, BackupOptionsValueT &&value)
const Aws::String & GetBackupJobId() const
const Aws::String & GetRecoveryPointArn() const
const Aws::String & GetEncryptionKeyArn() const
void SetVaultType(VaultTypeT &&value)
const Aws::String & GetVaultLockState() const
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
BackupJob & WithAccountId(AccountIdT &&value)
void SetMessageCategory(MessageCategoryT &&value)
void SetVaultLockState(VaultLockStateT &&value)
BackupJob & WithBackupSizeInBytes(long long value)
BackupJob & WithBackupJobId(BackupJobIdT &&value)
void SetBackupSizeInBytes(long long value)
void SetResourceType(ResourceTypeT &&value)
BackupJob & WithCompletionDate(CompletionDateT &&value)
bool InitiationDateHasBeenSet() const
BackupJob & WithCreationDate(CreationDateT &&value)
bool MessageCategoryHasBeenSet() const
BackupJob & WithVaultType(VaultTypeT &&value)
void SetRecoveryPointArn(RecoveryPointArnT &&value)
const Aws::String & GetBackupType() const
void SetParentJobId(ParentJobIdT &&value)
const Aws::String & GetStatusMessage() const
bool ResourceNameHasBeenSet() const
bool IsParentHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
BackupJob & WithRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
BackupJob & WithParentJobId(ParentJobIdT &&value)
const RecoveryPointCreator & GetCreatedBy() const
AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue)
BackupJob & WithPercentDone(PercentDoneT &&value)
bool IsEncryptedHasBeenSet() const
bool IamRoleArnHasBeenSet() const
bool BackupOptionsHasBeenSet() const
const Aws::Utils::DateTime & GetStartBy() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
BackupJob & WithStatusMessage(StatusMessageT &&value)
bool EncryptionKeyArnHasBeenSet() const
const Aws::String & GetIamRoleArn() const
bool CreationDateHasBeenSet() const
void SetAccountId(AccountIdT &&value)
bool RecoveryPointArnHasBeenSet() const
const Aws::String & GetParentJobId() const
BackupJob & WithCreatedBy(CreatedByT &&value)
bool CompletionDateHasBeenSet() const
BackupJob & WithRecoveryPointArn(RecoveryPointArnT &&value)
AWS_BACKUP_API BackupJob()=default
bool BackupVaultArnHasBeenSet() const
bool BackupJobIdHasBeenSet() const
void SetStartBy(StartByT &&value)
BackupJob & WithResourceName(ResourceNameT &&value)
long long GetBytesTransferred() const
BackupJob & WithIsParent(bool value)
const Aws::String & GetAccountId() const
BackupJob & WithBackupVaultName(BackupVaultNameT &&value)
void SetStatusMessage(StatusMessageT &&value)
bool VaultLockStateHasBeenSet() const
BackupJob & WithState(BackupJobState value)
BackupJobState GetState() const
AWS_BACKUP_API BackupJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitiationDate(InitiationDateT &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetPercentDone() const
const Aws::String & GetBackupVaultArn() const
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
const Lifecycle & GetRecoveryPointLifecycle() const
const Aws::String & GetVaultType() const
void SetBackupType(BackupTypeT &&value)
void SetPercentDone(PercentDoneT &&value)
bool ResourceArnHasBeenSet() const
void SetBackupVaultName(BackupVaultNameT &&value)
BackupJob & WithIamRoleArn(IamRoleArnT &&value)
bool BackupTypeHasBeenSet() const
BackupJob & WithBackupOptions(BackupOptionsT &&value)
long long GetBackupSizeInBytes() const
BackupJob & WithResourceType(ResourceTypeT &&value)
void SetResourceName(ResourceNameT &&value)
void SetCreationDate(CreationDateT &&value)
BackupJob & WithBytesTransferred(long long value)
const Aws::String & GetResourceType() const
void SetBackupJobId(BackupJobIdT &&value)
bool PercentDoneHasBeenSet() const
const Aws::Utils::DateTime & GetInitiationDate() const
bool StatusMessageHasBeenSet() const
BackupJob & WithVaultLockState(VaultLockStateT &&value)
void SetCompletionDate(CompletionDateT &&value)
bool StateHasBeenSet() const
bool StartByHasBeenSet() const
const Aws::String & GetResourceName() const
void SetBackupVaultArn(BackupVaultArnT &&value)
void SetBytesTransferred(long long value)
BackupJob & WithMessageCategory(MessageCategoryT &&value)
bool ResourceTypeHasBeenSet() const
bool ParentJobIdHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetBackupOptions(BackupOptionsT &&value)
void SetExpectedCompletionDate(ExpectedCompletionDateT &&value)
void SetState(BackupJobState value)
void SetResourceArn(ResourceArnT &&value)
const Aws::String & GetMessageCategory() const
void SetRecoveryPointLifecycle(RecoveryPointLifecycleT &&value)
BackupJob & WithIsEncrypted(bool value)
BackupJob & WithExpectedCompletionDate(ExpectedCompletionDateT &&value)
void SetIsEncrypted(bool value)
const Aws::Utils::DateTime & GetCompletionDate() const
void SetIsParent(bool value)
BackupJob & WithResourceArn(ResourceArnT &&value)
BackupJob & WithBackupType(BackupTypeT &&value)
bool RecoveryPointLifecycleHasBeenSet() const
bool BytesTransferredHasBeenSet() const
const Aws::String & GetBackupVaultName() const
BackupJob & WithInitiationDate(InitiationDateT &&value)
BackupJob & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
bool GetIsEncrypted() const
BackupJob & WithStartBy(StartByT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
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