/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Contains detailed information about the recovery points stored in an Backup * backup vault. A backup, or recovery point, represents the content of a resource * at a specified time.

See Also:

AWS * API Reference

*/ class AwsBackupRecoveryPointDetails { public: AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails(); AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The size, in bytes, of a backup.

*/ inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; } /** *

The size, in bytes, of a backup.

*/ inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; } /** *

The size, in bytes, of a backup.

*/ inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; } /** *

The size, in bytes, of a backup.

*/ inline AwsBackupRecoveryPointDetails& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); } /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;} /** *

An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); } /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} /** *

The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the Amazon Web Services account used to * create them and the Amazon Web Services Region where they are created. They * consist of lowercase letters, numbers, and hyphens.

*/ inline AwsBackupRecoveryPointDetails& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline const AwsBackupRecoveryPointCalculatedLifecycleDetails& GetCalculatedLifecycle() const{ return m_calculatedLifecycle; } /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline bool CalculatedLifecycleHasBeenSet() const { return m_calculatedLifecycleHasBeenSet; } /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline void SetCalculatedLifecycle(const AwsBackupRecoveryPointCalculatedLifecycleDetails& value) { m_calculatedLifecycleHasBeenSet = true; m_calculatedLifecycle = value; } /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline void SetCalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails&& value) { m_calculatedLifecycleHasBeenSet = true; m_calculatedLifecycle = std::move(value); } /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline AwsBackupRecoveryPointDetails& WithCalculatedLifecycle(const AwsBackupRecoveryPointCalculatedLifecycleDetails& value) { SetCalculatedLifecycle(value); return *this;} /** *

A CalculatedLifecycle object containing DeleteAt * and MoveToColdStorageAt timestamps.

*/ inline AwsBackupRecoveryPointDetails& WithCalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails&& value) { SetCalculatedLifecycle(std::move(value)); return *this;} /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline const Aws::String& GetCompletionDate() const{ return m_completionDate; } /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; } /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline void SetCompletionDate(const Aws::String& value) { m_completionDateHasBeenSet = true; m_completionDate = value; } /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline void SetCompletionDate(Aws::String&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::move(value); } /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline void SetCompletionDate(const char* value) { m_completionDateHasBeenSet = true; m_completionDate.assign(value); } /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCompletionDate(const Aws::String& value) { SetCompletionDate(value); return *this;} /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCompletionDate(Aws::String&& value) { SetCompletionDate(std::move(value)); return *this;} /** *

The date and time that a job to create a recovery point is completed, in Unix * format and UTC. The value of CompletionDate is accurate to * milliseconds. For example, the value 1516925490.087 represents Friday, January * 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCompletionDate(const char* value) { SetCompletionDate(value); return *this;} /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline const AwsBackupRecoveryPointCreatedByDetails& GetCreatedBy() const{ return m_createdBy; } /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline void SetCreatedBy(const AwsBackupRecoveryPointCreatedByDetails& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline void SetCreatedBy(AwsBackupRecoveryPointCreatedByDetails&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline AwsBackupRecoveryPointDetails& WithCreatedBy(const AwsBackupRecoveryPointCreatedByDetails& value) { SetCreatedBy(value); return *this;} /** *

Contains identifying information about the creation of a recovery point, * including the BackupPlanArn, BackupPlanId, * BackupPlanVersion, and BackupRuleId of the backup plan * that is used to create it.

*/ inline AwsBackupRecoveryPointDetails& WithCreatedBy(AwsBackupRecoveryPointCreatedByDetails&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline const Aws::String& GetCreationDate() const{ return m_creationDate; } /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); } /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;} /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date and time a recovery point is created, in Unix format and UTC. The * value of CreationDate is accurate to milliseconds. For example, the * value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithCreationDate(const char* value) { SetCreationDate(value); return *this;} /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; } /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; } /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; } /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); } /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); } /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline AwsBackupRecoveryPointDetails& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;} /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline AwsBackupRecoveryPointDetails& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;} /** *

The ARN for the server-side encryption key that is used to protect your * backups.

*/ inline AwsBackupRecoveryPointDetails& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline AwsBackupRecoveryPointDetails& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline AwsBackupRecoveryPointDetails& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

Specifies the IAM role ARN used to create the target recovery point

*/ inline AwsBackupRecoveryPointDetails& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

A Boolean value that is returned as TRUE if the specified * recovery point is encrypted, or FALSE if the recovery point is not * encrypted.

*/ inline bool GetIsEncrypted() const{ return m_isEncrypted; } /** *

A Boolean value that is returned as TRUE if the specified * recovery point is encrypted, or FALSE if the recovery point is not * encrypted.

*/ inline bool IsEncryptedHasBeenSet() const { return m_isEncryptedHasBeenSet; } /** *

A Boolean value that is returned as TRUE if the specified * recovery point is encrypted, or FALSE if the recovery point is not * encrypted.

*/ inline void SetIsEncrypted(bool value) { m_isEncryptedHasBeenSet = true; m_isEncrypted = value; } /** *

A Boolean value that is returned as TRUE if the specified * recovery point is encrypted, or FALSE if the recovery point is not * encrypted.

*/ inline AwsBackupRecoveryPointDetails& WithIsEncrypted(bool value) { SetIsEncrypted(value); return *this;} /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline const Aws::String& GetLastRestoreTime() const{ return m_lastRestoreTime; } /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline bool LastRestoreTimeHasBeenSet() const { return m_lastRestoreTimeHasBeenSet; } /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline void SetLastRestoreTime(const Aws::String& value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime = value; } /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline void SetLastRestoreTime(Aws::String&& value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime = std::move(value); } /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline void SetLastRestoreTime(const char* value) { m_lastRestoreTimeHasBeenSet = true; m_lastRestoreTime.assign(value); } /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithLastRestoreTime(const Aws::String& value) { SetLastRestoreTime(value); return *this;} /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithLastRestoreTime(Aws::String&& value) { SetLastRestoreTime(std::move(value)); return *this;} /** *

The date and time that a recovery point was last restored, in Unix format and * UTC. The value of LastRestoreTime is accurate to milliseconds. For * example, the value 1516925490.087 represents Friday, January 26, 2018 * 12:11:30.087 AM.

*/ inline AwsBackupRecoveryPointDetails& WithLastRestoreTime(const char* value) { SetLastRestoreTime(value); return *this;} /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline const AwsBackupRecoveryPointLifecycleDetails& GetLifecycle() const{ return m_lifecycle; } /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; } /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline void SetLifecycle(const AwsBackupRecoveryPointLifecycleDetails& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; } /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline void SetLifecycle(AwsBackupRecoveryPointLifecycleDetails&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); } /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline AwsBackupRecoveryPointDetails& WithLifecycle(const AwsBackupRecoveryPointLifecycleDetails& value) { SetLifecycle(value); return *this;} /** *

The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. Backup transitions and expires backups * automatically according to the lifecycle that you define

*/ inline AwsBackupRecoveryPointDetails& WithLifecycle(AwsBackupRecoveryPointLifecycleDetails&& value) { SetLifecycle(std::move(value)); return *this;} /** *

An ARN that uniquely identifies a recovery point.

*/ inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } /** *

An ARN that uniquely identifies a recovery point.

*/ inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; } /** *

An ARN that uniquely identifies a recovery point.

*/ inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; } /** *

An ARN that uniquely identifies a recovery point.

*/ inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); } /** *

An ARN that uniquely identifies a recovery point.

*/ inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); } /** *

An ARN that uniquely identifies a recovery point.

*/ inline AwsBackupRecoveryPointDetails& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} /** *

An ARN that uniquely identifies a recovery point.

*/ inline AwsBackupRecoveryPointDetails& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} /** *

An ARN that uniquely identifies a recovery point.

*/ inline AwsBackupRecoveryPointDetails& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline AwsBackupRecoveryPointDetails& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline AwsBackupRecoveryPointDetails& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

An ARN that uniquely identifies a resource. The format of the ARN depends on * the resource type.

*/ inline AwsBackupRecoveryPointDetails& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline AwsBackupRecoveryPointDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline AwsBackupRecoveryPointDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *

The type of Amazon Web Services resource saved as a recovery point, such as * an Amazon EBS volume or an Amazon RDS database.

*/ inline AwsBackupRecoveryPointDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline const Aws::String& GetSourceBackupVaultArn() const{ return m_sourceBackupVaultArn; } /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline bool SourceBackupVaultArnHasBeenSet() const { return m_sourceBackupVaultArnHasBeenSet; } /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline void SetSourceBackupVaultArn(const Aws::String& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = value; } /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline void SetSourceBackupVaultArn(Aws::String&& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = std::move(value); } /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline void SetSourceBackupVaultArn(const char* value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn.assign(value); } /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline AwsBackupRecoveryPointDetails& WithSourceBackupVaultArn(const Aws::String& value) { SetSourceBackupVaultArn(value); return *this;} /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline AwsBackupRecoveryPointDetails& WithSourceBackupVaultArn(Aws::String&& value) { SetSourceBackupVaultArn(std::move(value)); return *this;} /** *

The ARN for the backup vault where the recovery point was originally copied * from. If the recovery point is restored to the same account, this value will be * null.

*/ inline AwsBackupRecoveryPointDetails& WithSourceBackupVaultArn(const char* value) { SetSourceBackupVaultArn(value); return *this;} /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline AwsBackupRecoveryPointDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline AwsBackupRecoveryPointDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

A status code specifying the state of the recovery point. Valid values are as * follows:

  • COMPLETED

  • * DELETING

  • EXPIRED

  • *

    PARTIAL

*/ inline AwsBackupRecoveryPointDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline AwsBackupRecoveryPointDetails& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline AwsBackupRecoveryPointDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

A message explaining the reason of the recovery point deletion failure.

*/ inline AwsBackupRecoveryPointDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline const Aws::String& GetStorageClass() const{ return m_storageClass; } /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline void SetStorageClass(const Aws::String& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline void SetStorageClass(Aws::String&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); } /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline void SetStorageClass(const char* value) { m_storageClassHasBeenSet = true; m_storageClass.assign(value); } /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline AwsBackupRecoveryPointDetails& WithStorageClass(const Aws::String& value) { SetStorageClass(value); return *this;} /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline AwsBackupRecoveryPointDetails& WithStorageClass(Aws::String&& value) { SetStorageClass(std::move(value)); return *this;} /** *

Specifies the storage class of the recovery point. Valid values are as * follows:

  • COLD

  • * DELETED

  • WARM

*/ inline AwsBackupRecoveryPointDetails& WithStorageClass(const char* value) { SetStorageClass(value); return *this;} private: long long m_backupSizeInBytes; bool m_backupSizeInBytesHasBeenSet = false; Aws::String m_backupVaultArn; bool m_backupVaultArnHasBeenSet = false; Aws::String m_backupVaultName; bool m_backupVaultNameHasBeenSet = false; AwsBackupRecoveryPointCalculatedLifecycleDetails m_calculatedLifecycle; bool m_calculatedLifecycleHasBeenSet = false; Aws::String m_completionDate; bool m_completionDateHasBeenSet = false; AwsBackupRecoveryPointCreatedByDetails m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_creationDate; bool m_creationDateHasBeenSet = false; Aws::String m_encryptionKeyArn; bool m_encryptionKeyArnHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; bool m_isEncrypted; bool m_isEncryptedHasBeenSet = false; Aws::String m_lastRestoreTime; bool m_lastRestoreTimeHasBeenSet = false; AwsBackupRecoveryPointLifecycleDetails m_lifecycle; bool m_lifecycleHasBeenSet = false; Aws::String m_recoveryPointArn; bool m_recoveryPointArnHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_sourceBackupVaultArn; bool m_sourceBackupVaultArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_storageClass; bool m_storageClassHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws