7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/RecoveryPointCreator.h>
10#include <aws/backup/model/RecoveryPointStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/backup/model/CalculatedLifecycle.h>
13#include <aws/backup/model/Lifecycle.h>
14#include <aws/backup/model/VaultType.h>
15#include <aws/backup/model/IndexStatus.h>
56 template<
typename RecoveryPo
intArnT = Aws::String>
57 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet =
true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
58 template<
typename RecoveryPo
intArnT = Aws::String>
70 template<
typename BackupVaultNameT = Aws::String>
71 void SetBackupVaultName(BackupVaultNameT&& value) { m_backupVaultNameHasBeenSet =
true; m_backupVaultName = std::forward<BackupVaultNameT>(value); }
72 template<
typename BackupVaultNameT = Aws::String>
83 template<
typename BackupVaultArnT = Aws::String>
84 void SetBackupVaultArn(BackupVaultArnT&& value) { m_backupVaultArnHasBeenSet =
true; m_backupVaultArn = std::forward<BackupVaultArnT>(value); }
85 template<
typename BackupVaultArnT = Aws::String>
97 template<
typename SourceBackupVaultArnT = Aws::String>
98 void SetSourceBackupVaultArn(SourceBackupVaultArnT&& value) { m_sourceBackupVaultArnHasBeenSet =
true; m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value); }
99 template<
typename SourceBackupVaultArnT = Aws::String>
110 template<
typename ResourceArnT = Aws::String>
111 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
112 template<
typename ResourceArnT = Aws::String>
125 template<
typename ResourceTypeT = Aws::String>
126 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
127 template<
typename ResourceTypeT = Aws::String>
140 template<
typename CreatedByT = RecoveryPo
intCreator>
141 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
142 template<
typename CreatedByT = RecoveryPo
intCreator>
153 template<
typename IamRoleArnT = Aws::String>
154 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
155 template<
typename IamRoleArnT = Aws::String>
175 template<
typename StatusMessageT = Aws::String>
176 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
177 template<
typename StatusMessageT = Aws::String>
190 template<
typename CreationDateT = Aws::Utils::DateTime>
191 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
192 template<
typename CreationDateT = Aws::Utils::DateTime>
203 template<
typename InitiationDateT = Aws::Utils::DateTime>
204 void SetInitiationDate(InitiationDateT&& value) { m_initiationDateHasBeenSet =
true; m_initiationDate = std::forward<InitiationDateT>(value); }
205 template<
typename InitiationDateT = Aws::Utils::DateTime>
218 template<
typename CompletionDateT = Aws::Utils::DateTime>
219 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet =
true; m_completionDate = std::forward<CompletionDateT>(value); }
220 template<
typename CompletionDateT = Aws::Utils::DateTime>
230 inline void SetBackupSizeInBytes(
long long value) { m_backupSizeInBytesHasBeenSet =
true; m_backupSizeInBytes = value; }
241 template<
typename CalculatedLifecycleT = CalculatedLifecycle>
242 void SetCalculatedLifecycle(CalculatedLifecycleT&& value) { m_calculatedLifecycleHasBeenSet =
true; m_calculatedLifecycle = std::forward<CalculatedLifecycleT>(value); }
243 template<
typename CalculatedLifecycleT = CalculatedLifecycle>
263 template<
typename LifecycleT = Lifecycle>
264 void SetLifecycle(LifecycleT&& value) { m_lifecycleHasBeenSet =
true; m_lifecycle = std::forward<LifecycleT>(value); }
265 template<
typename LifecycleT = Lifecycle>
277 template<
typename EncryptionKeyArnT = Aws::String>
278 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
279 template<
typename EncryptionKeyArnT = Aws::String>
291 inline void SetIsEncrypted(
bool value) { m_isEncryptedHasBeenSet =
true; m_isEncrypted = value; }
304 template<
typename LastRestoreTimeT = Aws::Utils::DateTime>
305 void SetLastRestoreTime(LastRestoreTimeT&& value) { m_lastRestoreTimeHasBeenSet =
true; m_lastRestoreTime = std::forward<LastRestoreTimeT>(value); }
306 template<
typename LastRestoreTimeT = Aws::Utils::DateTime>
316 template<
typename ParentRecoveryPo
intArnT = Aws::String>
317 void SetParentRecoveryPointArn(ParentRecoveryPointArnT&& value) { m_parentRecoveryPointArnHasBeenSet =
true; m_parentRecoveryPointArn = std::forward<ParentRecoveryPointArnT>(value); }
318 template<
typename ParentRecoveryPo
intArnT = Aws::String>
332 template<
typename CompositeMemberIdentifierT = Aws::String>
333 void SetCompositeMemberIdentifier(CompositeMemberIdentifierT&& value) { m_compositeMemberIdentifierHasBeenSet =
true; m_compositeMemberIdentifier = std::forward<CompositeMemberIdentifierT>(value); }
334 template<
typename CompositeMemberIdentifierT = Aws::String>
345 inline void SetIsParent(
bool value) { m_isParentHasBeenSet =
true; m_isParent = value; }
355 template<
typename ResourceNameT = Aws::String>
356 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
357 template<
typename ResourceNameT = Aws::String>
392 template<
typename IndexStatusMessageT = Aws::String>
393 void SetIndexStatusMessage(IndexStatusMessageT&& value) { m_indexStatusMessageHasBeenSet =
true; m_indexStatusMessage = std::forward<IndexStatusMessageT>(value); }
394 template<
typename IndexStatusMessageT = Aws::String>
400 bool m_recoveryPointArnHasBeenSet =
false;
403 bool m_backupVaultNameHasBeenSet =
false;
406 bool m_backupVaultArnHasBeenSet =
false;
409 bool m_sourceBackupVaultArnHasBeenSet =
false;
412 bool m_resourceArnHasBeenSet =
false;
415 bool m_resourceTypeHasBeenSet =
false;
418 bool m_createdByHasBeenSet =
false;
421 bool m_iamRoleArnHasBeenSet =
false;
424 bool m_statusHasBeenSet =
false;
427 bool m_statusMessageHasBeenSet =
false;
430 bool m_creationDateHasBeenSet =
false;
433 bool m_initiationDateHasBeenSet =
false;
436 bool m_completionDateHasBeenSet =
false;
438 long long m_backupSizeInBytes{0};
439 bool m_backupSizeInBytesHasBeenSet =
false;
441 CalculatedLifecycle m_calculatedLifecycle;
442 bool m_calculatedLifecycleHasBeenSet =
false;
444 Lifecycle m_lifecycle;
445 bool m_lifecycleHasBeenSet =
false;
448 bool m_encryptionKeyArnHasBeenSet =
false;
450 bool m_isEncrypted{
false};
451 bool m_isEncryptedHasBeenSet =
false;
454 bool m_lastRestoreTimeHasBeenSet =
false;
457 bool m_parentRecoveryPointArnHasBeenSet =
false;
460 bool m_compositeMemberIdentifierHasBeenSet =
false;
462 bool m_isParent{
false};
463 bool m_isParentHasBeenSet =
false;
466 bool m_resourceNameHasBeenSet =
false;
469 bool m_vaultTypeHasBeenSet =
false;
472 bool m_indexStatusHasBeenSet =
false;
475 bool m_indexStatusMessageHasBeenSet =
false;
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
RecoveryPointStatus GetStatus() const
void SetCalculatedLifecycle(CalculatedLifecycleT &&value)
bool CompletionDateHasBeenSet() const
RecoveryPointByBackupVault & WithIsParent(bool value)
const Aws::String & GetCompositeMemberIdentifier() const
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)
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
bool IndexStatusMessageHasBeenSet() const
bool BackupSizeInBytesHasBeenSet() const
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 & WithLastRestoreTime(LastRestoreTimeT &&value)
bool IsEncryptedHasBeenSet() const
RecoveryPointByBackupVault & WithIsEncrypted(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue