This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-backup/include/aws/backup/model/DescribeBackupVaultResult.h

310 lines
13 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/backup/Backup_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Backup
{
namespace Model
{
class AWS_BACKUP_API DescribeBackupVaultResult
{
public:
DescribeBackupVaultResult();
DescribeBackupVaultResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeBackupVaultResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
/**
* <p>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
* Region where they are created. They consist of lowercase letters, numbers, and
* hyphens.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
/**
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for
* example,
* <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>.</p>
*/
inline DescribeBackupVaultResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArn = value; }
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArn = std::move(value); }
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArn.assign(value); }
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline DescribeBackupVaultResult& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;}
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline DescribeBackupVaultResult& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
/**
* <p>The server-side encryption key that is used to protect your backups; for
* example,
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
*/
inline DescribeBackupVaultResult& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
/**
* <p>The date and time that a backup vault is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date and time that a backup vault is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
/**
* <p>The date and time that a backup vault is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
/**
* <p>The date and time that a backup vault is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupVaultResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date and time that a backup vault is created, in Unix format and
* Coordinated Universal Time (UTC). The value of <code>CreationDate</code> is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.</p>
*/
inline DescribeBackupVaultResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestId = value; }
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestId = std::move(value); }
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline void SetCreatorRequestId(const char* value) { m_creatorRequestId.assign(value); }
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline DescribeBackupVaultResult& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline DescribeBackupVaultResult& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request and allows failed requests to be
* retried without the risk of executing the operation twice.</p>
*/
inline DescribeBackupVaultResult& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
/**
* <p>The number of recovery points that are stored in a backup vault.</p>
*/
inline long long GetNumberOfRecoveryPoints() const{ return m_numberOfRecoveryPoints; }
/**
* <p>The number of recovery points that are stored in a backup vault.</p>
*/
inline void SetNumberOfRecoveryPoints(long long value) { m_numberOfRecoveryPoints = value; }
/**
* <p>The number of recovery points that are stored in a backup vault.</p>
*/
inline DescribeBackupVaultResult& WithNumberOfRecoveryPoints(long long value) { SetNumberOfRecoveryPoints(value); return *this;}
private:
Aws::String m_backupVaultName;
Aws::String m_backupVaultArn;
Aws::String m_encryptionKeyArn;
Aws::Utils::DateTime m_creationDate;
Aws::String m_creatorRequestId;
long long m_numberOfRecoveryPoints;
};
} // namespace Model
} // namespace Backup
} // namespace Aws