7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/AggregatedScanResult.h>
9#include <aws/backup/model/CalculatedLifecycle.h>
10#include <aws/backup/model/EncryptionKeyType.h>
11#include <aws/backup/model/IndexStatus.h>
12#include <aws/backup/model/Lifecycle.h>
13#include <aws/backup/model/RecoveryPointCreator.h>
14#include <aws/backup/model/RecoveryPointStatus.h>
15#include <aws/backup/model/VaultType.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
52 template <
typename RecoveryPo
intArnT = Aws::String>
54 m_recoveryPointArnHasBeenSet =
true;
55 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
57 template <
typename RecoveryPo
intArnT = Aws::String>
72 template <
typename BackupVaultNameT = Aws::String>
74 m_backupVaultNameHasBeenSet =
true;
75 m_backupVaultName = std::forward<BackupVaultNameT>(value);
77 template <
typename BackupVaultNameT = Aws::String>
91 template <
typename BackupVaultArnT = Aws::String>
93 m_backupVaultArnHasBeenSet =
true;
94 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
96 template <
typename BackupVaultArnT = Aws::String>
111 template <
typename SourceBackupVaultArnT = Aws::String>
113 m_sourceBackupVaultArnHasBeenSet =
true;
114 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
116 template <
typename SourceBackupVaultArnT = Aws::String>
130 template <
typename ResourceArnT = Aws::String>
132 m_resourceArnHasBeenSet =
true;
133 m_resourceArn = std::forward<ResourceArnT>(value);
135 template <
typename ResourceArnT = Aws::String>
151 template <
typename ResourceTypeT = Aws::String>
153 m_resourceTypeHasBeenSet =
true;
154 m_resourceType = std::forward<ResourceTypeT>(value);
156 template <
typename ResourceTypeT = Aws::String>
172 template <
typename CreatedByT = RecoveryPo
intCreator>
174 m_createdByHasBeenSet =
true;
175 m_createdBy = std::forward<CreatedByT>(value);
177 template <
typename CreatedByT = RecoveryPo
intCreator>
191 template <
typename IamRoleArnT = Aws::String>
193 m_iamRoleArnHasBeenSet =
true;
194 m_iamRoleArn = std::forward<IamRoleArnT>(value);
196 template <
typename IamRoleArnT = Aws::String>
210 m_statusHasBeenSet =
true;
225 template <
typename StatusMessageT = Aws::String>
227 m_statusMessageHasBeenSet =
true;
228 m_statusMessage = std::forward<StatusMessageT>(value);
230 template <
typename StatusMessageT = Aws::String>
246 template <
typename CreationDateT = Aws::Utils::DateTime>
248 m_creationDateHasBeenSet =
true;
249 m_creationDate = std::forward<CreationDateT>(value);
251 template <
typename CreationDateT = Aws::Utils::DateTime>
265 template <
typename InitiationDateT = Aws::Utils::DateTime>
267 m_initiationDateHasBeenSet =
true;
268 m_initiationDate = std::forward<InitiationDateT>(value);
270 template <
typename InitiationDateT = Aws::Utils::DateTime>
286 template <
typename CompletionDateT = Aws::Utils::DateTime>
288 m_completionDateHasBeenSet =
true;
289 m_completionDate = std::forward<CompletionDateT>(value);
291 template <
typename CompletionDateT = Aws::Utils::DateTime>
305 m_backupSizeInBytesHasBeenSet =
true;
306 m_backupSizeInBytes = value;
321 template <
typename CalculatedLifecycleT = CalculatedLifecycle>
323 m_calculatedLifecycleHasBeenSet =
true;
324 m_calculatedLifecycle = std::forward<CalculatedLifecycleT>(value);
326 template <
typename CalculatedLifecycleT = CalculatedLifecycle>
349 template <
typename LifecycleT = Lifecycle>
351 m_lifecycleHasBeenSet =
true;
352 m_lifecycle = std::forward<LifecycleT>(value);
354 template <
typename LifecycleT = Lifecycle>
369 template <
typename EncryptionKeyArnT = Aws::String>
371 m_encryptionKeyArnHasBeenSet =
true;
372 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
374 template <
typename EncryptionKeyArnT = Aws::String>
390 m_isEncryptedHasBeenSet =
true;
391 m_isEncrypted = value;
408 template <
typename LastRestoreTimeT = Aws::Utils::DateTime>
410 m_lastRestoreTimeHasBeenSet =
true;
411 m_lastRestoreTime = std::forward<LastRestoreTimeT>(value);
413 template <
typename LastRestoreTimeT = Aws::Utils::DateTime>
426 template <
typename ParentRecoveryPo
intArnT = Aws::String>
428 m_parentRecoveryPointArnHasBeenSet =
true;
429 m_parentRecoveryPointArn = std::forward<ParentRecoveryPointArnT>(value);
431 template <
typename ParentRecoveryPo
intArnT = Aws::String>
448 template <
typename CompositeMemberIdentifierT = Aws::String>
450 m_compositeMemberIdentifierHasBeenSet =
true;
451 m_compositeMemberIdentifier = std::forward<CompositeMemberIdentifierT>(value);
453 template <
typename CompositeMemberIdentifierT = Aws::String>
468 m_isParentHasBeenSet =
true;
483 template <
typename ResourceNameT = Aws::String>
485 m_resourceNameHasBeenSet =
true;
486 m_resourceName = std::forward<ResourceNameT>(value);
488 template <
typename ResourceNameT = Aws::String>
502 m_vaultTypeHasBeenSet =
true;
522 m_indexStatusHasBeenSet =
true;
523 m_indexStatus = value;
538 template <
typename IndexStatusMessageT = Aws::String>
540 m_indexStatusMessageHasBeenSet =
true;
541 m_indexStatusMessage = std::forward<IndexStatusMessageT>(value);
543 template <
typename IndexStatusMessageT = Aws::String>
559 m_encryptionKeyTypeHasBeenSet =
true;
560 m_encryptionKeyType = value;
576 template <
typename AggregatedScanResultT = AggregatedScanResult>
578 m_aggregatedScanResultHasBeenSet =
true;
579 m_aggregatedScanResult = std::forward<AggregatedScanResultT>(value);
581 template <
typename AggregatedScanResultT = AggregatedScanResult>
614 long long m_backupSizeInBytes{0};
616 CalculatedLifecycle m_calculatedLifecycle;
618 Lifecycle m_lifecycle;
622 bool m_isEncrypted{
false};
630 bool m_isParent{
false};
642 AggregatedScanResult m_aggregatedScanResult;
643 bool m_recoveryPointArnHasBeenSet =
false;
644 bool m_backupVaultNameHasBeenSet =
false;
645 bool m_backupVaultArnHasBeenSet =
false;
646 bool m_sourceBackupVaultArnHasBeenSet =
false;
647 bool m_resourceArnHasBeenSet =
false;
648 bool m_resourceTypeHasBeenSet =
false;
649 bool m_createdByHasBeenSet =
false;
650 bool m_iamRoleArnHasBeenSet =
false;
651 bool m_statusHasBeenSet =
false;
652 bool m_statusMessageHasBeenSet =
false;
653 bool m_creationDateHasBeenSet =
false;
654 bool m_initiationDateHasBeenSet =
false;
655 bool m_completionDateHasBeenSet =
false;
656 bool m_backupSizeInBytesHasBeenSet =
false;
657 bool m_calculatedLifecycleHasBeenSet =
false;
658 bool m_lifecycleHasBeenSet =
false;
659 bool m_encryptionKeyArnHasBeenSet =
false;
660 bool m_isEncryptedHasBeenSet =
false;
661 bool m_lastRestoreTimeHasBeenSet =
false;
662 bool m_parentRecoveryPointArnHasBeenSet =
false;
663 bool m_compositeMemberIdentifierHasBeenSet =
false;
664 bool m_isParentHasBeenSet =
false;
665 bool m_resourceNameHasBeenSet =
false;
666 bool m_vaultTypeHasBeenSet =
false;
667 bool m_indexStatusHasBeenSet =
false;
668 bool m_indexStatusMessageHasBeenSet =
false;
669 bool m_encryptionKeyTypeHasBeenSet =
false;
670 bool m_aggregatedScanResultHasBeenSet =
false;
void SetAggregatedScanResult(AggregatedScanResultT &&value)
void SetResourceArn(ResourceArnT &&value)
bool SourceBackupVaultArnHasBeenSet() const
RecoveryPointByBackupVault & WithCalculatedLifecycle(CalculatedLifecycleT &&value)
const Aws::String & GetIamRoleArn() const
long long GetBackupSizeInBytes() const
RecoveryPointByBackupVault & WithCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
void SetResourceName(ResourceNameT &&value)
bool CreatedByHasBeenSet() const
AWS_BACKUP_API RecoveryPointByBackupVault & operator=(Aws::Utils::Json::JsonView jsonValue)
IndexStatus GetIndexStatus() const
bool IsParentHasBeenSet() const
RecoveryPointByBackupVault & WithParentRecoveryPointArn(ParentRecoveryPointArnT &&value)
RecoveryPointByBackupVault & WithStatusMessage(StatusMessageT &&value)
bool BackupVaultArnHasBeenSet() const
bool EncryptionKeyArnHasBeenSet() const
void SetIsEncrypted(bool value)
const Aws::String & GetResourceType() const
void SetIsParent(bool value)
const Aws::String & GetParentRecoveryPointArn() const
void SetParentRecoveryPointArn(ParentRecoveryPointArnT &&value)
const Aws::Utils::DateTime & GetInitiationDate() const
void SetRecoveryPointArn(RecoveryPointArnT &&value)
const Aws::String & GetResourceArn() const
bool GetIsEncrypted() const
RecoveryPointByBackupVault & WithRecoveryPointArn(RecoveryPointArnT &&value)
const RecoveryPointCreator & GetCreatedBy() const
const AggregatedScanResult & GetAggregatedScanResult() const
RecoveryPointStatus GetStatus() const
void SetCalculatedLifecycle(CalculatedLifecycleT &&value)
bool CompletionDateHasBeenSet() const
RecoveryPointByBackupVault & WithIsParent(bool value)
const Aws::String & GetCompositeMemberIdentifier() const
void SetEncryptionKeyType(EncryptionKeyType value)
RecoveryPointByBackupVault & WithBackupVaultArn(BackupVaultArnT &&value)
void SetLastRestoreTime(LastRestoreTimeT &&value)
bool BackupVaultNameHasBeenSet() const
RecoveryPointByBackupVault & WithIamRoleArn(IamRoleArnT &&value)
void SetStatusMessage(StatusMessageT &&value)
AWS_BACKUP_API RecoveryPointByBackupVault()=default
const CalculatedLifecycle & GetCalculatedLifecycle() const
void SetResourceType(ResourceTypeT &&value)
RecoveryPointByBackupVault & WithInitiationDate(InitiationDateT &&value)
bool ResourceArnHasBeenSet() const
RecoveryPointByBackupVault & WithLifecycle(LifecycleT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetBackupVaultName() const
bool LastRestoreTimeHasBeenSet() const
const Aws::String & GetRecoveryPointArn() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetBackupVaultArn() const
void SetIndexStatus(IndexStatus value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetCreationDate(CreationDateT &&value)
RecoveryPointByBackupVault & WithResourceName(ResourceNameT &&value)
const Aws::String & GetStatusMessage() const
bool VaultTypeHasBeenSet() const
RecoveryPointByBackupVault & WithCompletionDate(CompletionDateT &&value)
bool IamRoleArnHasBeenSet() const
const Aws::String & GetEncryptionKeyArn() const
RecoveryPointByBackupVault & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
RecoveryPointByBackupVault & WithIndexStatusMessage(IndexStatusMessageT &&value)
void SetStatus(RecoveryPointStatus value)
const Aws::Utils::DateTime & GetCompletionDate() const
RecoveryPointByBackupVault & WithBackupVaultName(BackupVaultNameT &&value)
void SetBackupSizeInBytes(long long value)
void SetCreatedBy(CreatedByT &&value)
void SetIamRoleArn(IamRoleArnT &&value)
RecoveryPointByBackupVault & WithCreatedBy(CreatedByT &&value)
void SetBackupVaultName(BackupVaultNameT &&value)
RecoveryPointByBackupVault & WithResourceType(ResourceTypeT &&value)
bool CreationDateHasBeenSet() const
bool InitiationDateHasBeenSet() const
AWS_BACKUP_API RecoveryPointByBackupVault(Aws::Utils::Json::JsonView jsonValue)
void SetBackupVaultArn(BackupVaultArnT &&value)
void SetInitiationDate(InitiationDateT &&value)
bool RecoveryPointArnHasBeenSet() const
RecoveryPointByBackupVault & WithBackupSizeInBytes(long long value)
void SetCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
bool ResourceTypeHasBeenSet() const
void SetCompletionDate(CompletionDateT &&value)
bool AggregatedScanResultHasBeenSet() const
const Aws::String & GetSourceBackupVaultArn() const
const Aws::String & GetResourceName() const
bool ResourceNameHasBeenSet() const
void SetIndexStatusMessage(IndexStatusMessageT &&value)
const Aws::String & GetIndexStatusMessage() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
VaultType GetVaultType() const
RecoveryPointByBackupVault & WithResourceArn(ResourceArnT &&value)
RecoveryPointByBackupVault & WithVaultType(VaultType value)
bool CompositeMemberIdentifierHasBeenSet() const
bool CalculatedLifecycleHasBeenSet() const
EncryptionKeyType GetEncryptionKeyType() const
bool IndexStatusMessageHasBeenSet() const
bool BackupSizeInBytesHasBeenSet() const
RecoveryPointByBackupVault & WithEncryptionKeyType(EncryptionKeyType value)
void SetVaultType(VaultType value)
RecoveryPointByBackupVault & WithStatus(RecoveryPointStatus value)
RecoveryPointByBackupVault & WithCreationDate(CreationDateT &&value)
const Lifecycle & GetLifecycle() const
const Aws::Utils::DateTime & GetLastRestoreTime() const
void SetLifecycle(LifecycleT &&value)
bool ParentRecoveryPointArnHasBeenSet() const
RecoveryPointByBackupVault & WithIndexStatus(IndexStatus value)
bool LifecycleHasBeenSet() const
RecoveryPointByBackupVault & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool IndexStatusHasBeenSet() const
RecoveryPointByBackupVault & WithAggregatedScanResult(AggregatedScanResultT &&value)
RecoveryPointByBackupVault & WithLastRestoreTime(LastRestoreTimeT &&value)
bool IsEncryptedHasBeenSet() const
RecoveryPointByBackupVault & WithIsEncrypted(bool value)
bool EncryptionKeyTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue