/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains detailed information about a saved recovery point.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 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.
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 RecoveryPointByResource& WithStatus(const RecoveryPointStatus& value) { SetStatus(value); return *this;} /** *A status code specifying the state of the recovery point.
*/ inline RecoveryPointByResource& WithStatus(RecoveryPointStatus&& value) { SetStatus(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.
The size, in bytes, of a backup.
*/ inline long long GetBackupSizeBytes() const{ return m_backupSizeBytes; } /** *The size, in bytes, of a backup.
*/ inline bool BackupSizeBytesHasBeenSet() const { return m_backupSizeBytesHasBeenSet; } /** *The size, in bytes, of a backup.
*/ inline void SetBackupSizeBytes(long long value) { m_backupSizeBytesHasBeenSet = true; m_backupSizeBytes = value; } /** *The size, in bytes, of a backup.
*/ inline RecoveryPointByResource& WithBackupSizeBytes(long long value) { SetBackupSizeBytes(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 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 RecoveryPointByResource& 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 RecoveryPointByResource& 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 RecoveryPointByResource& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} private: Aws::String m_recoveryPointArn; bool m_recoveryPointArnHasBeenSet; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet; RecoveryPointStatus m_status; bool m_statusHasBeenSet; Aws::String m_encryptionKeyArn; bool m_encryptionKeyArnHasBeenSet; long long m_backupSizeBytes; bool m_backupSizeBytesHasBeenSet; Aws::String m_backupVaultName; bool m_backupVaultNameHasBeenSet; }; } // namespace Model } // namespace Backup } // namespace Aws