186 lines
8.5 KiB
C
186 lines
8.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/dms/model/AccountQuota.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DatabaseMigrationService
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p/><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributesResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATABASEMIGRATIONSERVICE_API DescribeAccountAttributesResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeAccountAttributesResult();
|
|||
|
|
DescribeAccountAttributesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeAccountAttributesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<AccountQuota>& GetAccountQuotas() const{ return m_accountQuotas; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAccountQuotas(const Aws::Vector<AccountQuota>& value) { m_accountQuotas = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAccountQuotas(Aws::Vector<AccountQuota>&& value) { m_accountQuotas = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& WithAccountQuotas(const Aws::Vector<AccountQuota>& value) { SetAccountQuotas(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& WithAccountQuotas(Aws::Vector<AccountQuota>&& value) { SetAccountQuotas(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& AddAccountQuotas(const AccountQuota& value) { m_accountQuotas.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Account quota information.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& AddAccountQuotas(AccountQuota&& value) { m_accountQuotas.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetUniqueAccountIdentifier() const{ return m_uniqueAccountIdentifier; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline void SetUniqueAccountIdentifier(const Aws::String& value) { m_uniqueAccountIdentifier = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline void SetUniqueAccountIdentifier(Aws::String&& value) { m_uniqueAccountIdentifier = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline void SetUniqueAccountIdentifier(const char* value) { m_uniqueAccountIdentifier.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& WithUniqueAccountIdentifier(const Aws::String& value) { SetUniqueAccountIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& WithUniqueAccountIdentifier(Aws::String&& value) { SetUniqueAccountIdentifier(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A unique AWS DMS identifier for an account in a particular AWS Region. The
|
|||
|
|
* value of this identifier has the following format: <code>c99999999999</code>.
|
|||
|
|
* DMS uses this identifier to name artifacts. For example, DMS uses this
|
|||
|
|
* identifier to name the default Amazon S3 bucket for storing task assessment
|
|||
|
|
* reports in a given AWS Region. The format of this S3 bucket name is the
|
|||
|
|
* following: <code>dms-<i>AccountNumber</i>-<i>UniqueAccountIdentifier</i>.</code>
|
|||
|
|
* Here is an example name for this default S3 bucket:
|
|||
|
|
* <code>dms-111122223333-c44445555666</code>.</p> <p>AWS DMS supports the
|
|||
|
|
* <code>UniqueAccountIdentifier</code> parameter in versions 3.1.4 and later.</p>
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
inline DescribeAccountAttributesResult& WithUniqueAccountIdentifier(const char* value) { SetUniqueAccountIdentifier(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<AccountQuota> m_accountQuotas;
|
|||
|
|
|
|||
|
|
Aws::String m_uniqueAccountIdentifier;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DatabaseMigrationService
|
|||
|
|
} // namespace Aws
|