/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about the recovery points stored in a backup
* vault.See Also:
AWS
* API Reference
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for
* example,
* arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
The name of a logical container where backups are stored. Backup vaults are * identified by names that are unique to the account used to create them and the * AWS 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 account used to create them and the * AWS 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 account used to create them and the * AWS 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 account used to create them and the * AWS 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 account used to create them and the * AWS 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 account used to create them and the * AWS Region where they are created. They consist of lowercase letters, numbers, * and hyphens.
*/ inline RecoveryPointByBackupVault& 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 account used to create them and the * AWS Region where they are created. They consist of lowercase letters, numbers, * and hyphens.
*/ inline RecoveryPointByBackupVault& 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 account used to create them and the * AWS Region where they are created. They consist of lowercase letters, numbers, * and hyphens.
*/ inline RecoveryPointByBackupVault& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} /** *An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
An ARN that uniquely identifies a backup vault; for example,
* arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
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 RecoveryPointByBackupVault& 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 RecoveryPointByBackupVault& 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 RecoveryPointByBackupVault& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline RecoveryPointByBackupVault& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline RecoveryPointByBackupVault& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The type of AWS resource saved as a recovery point; for example, an Amazon * Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service * (Amazon RDS) database.
*/ inline RecoveryPointByBackupVault& WithResourceType(const char* value) { SetResourceType(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.
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.
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.
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.
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.
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.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
Specifies the IAM role ARN used to create the target recovery point; for
* example, arn:aws:iam::123456789012:role/S3Access.
A status code specifying the state of the recovery point.
*/ inline const RecoveryPointStatus& GetStatus() const{ return m_status; } /** *A status code specifying the state of the recovery point.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *A status code specifying the state of the recovery point.
*/ inline void SetStatus(const RecoveryPointStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *A status code specifying the state of the recovery point.
*/ inline void SetStatus(RecoveryPointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *A status code specifying the state of the recovery point.
*/ inline RecoveryPointByBackupVault& WithStatus(const RecoveryPointStatus& value) { SetStatus(value); return *this;} /** *A status code specifying the state of the recovery point.
*/ inline RecoveryPointByBackupVault& WithStatus(RecoveryPointStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a recovery point is created, in Unix format and Coordinated
* Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
The date and time a job to restore a recovery point is completed, in Unix
* format and Coordinated Universal Time (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.
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 RecoveryPointByBackupVault& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;} /** *A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
A CalculatedLifecycle object containing DeleteAt
* and MoveToColdStorageAt timestamps.
The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline const Lifecycle& GetLifecycle() const{ return m_lifecycle; } /** *The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; } /** *The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline void SetLifecycle(const Lifecycle& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; } /** *The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline void SetLifecycle(Lifecycle&& 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. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline RecoveryPointByBackupVault& WithLifecycle(const Lifecycle& value) { SetLifecycle(value); return *this;} /** *The lifecycle defines when a protected resource is transitioned to cold * storage and when it expires. AWS Backup transitions and expires backups * automatically according to the lifecycle that you define.
Backups * transitioned to cold storage must be stored in cold storage for a minimum of 90 * days. Therefore, the “expire after days” setting must be 90 days greater than * the “transition to cold after days” setting. The “transition to cold after days” * setting cannot be changed after a backup has been transitioned to cold.
*/ inline RecoveryPointByBackupVault& WithLifecycle(Lifecycle&& value) { SetLifecycle(std::move(value)); return *this;} /** *The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
The server-side encryption key that is used to protect your backups; for
* example,
* arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
A Boolean value that is returned as TRUE if the specified
* recovery point is encrypted, or FALSE if the recovery point is not
* encrypted.
A Boolean value that is returned as TRUE if the specified
* recovery point is encrypted, or FALSE if the recovery point is not
* encrypted.
A Boolean value that is returned as TRUE if the specified
* recovery point is encrypted, or FALSE if the recovery point is not
* encrypted.
A Boolean value that is returned as TRUE if the specified
* recovery point is encrypted, or FALSE if the recovery point is not
* encrypted.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.
The date and time a recovery point was last restored, in Unix format and
* Coordinated Universal Time (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.