feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Route53DomainsEndpoint
{
AWS_ROUTE53DOMAINS_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace Route53DomainsEndpoint
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,23 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_ROUTE53DOMAINS_API Route53DomainsErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/route53domains/Route53Domains_EXPORTS.h>
namespace Aws
{
namespace Route53Domains
{
enum class Route53DomainsErrors
{
//From Core//
//////////////////////////////////////////////////////////////////////////////////////////
INCOMPLETE_SIGNATURE = 0,
INTERNAL_FAILURE = 1,
INVALID_ACTION = 2,
INVALID_CLIENT_TOKEN_ID = 3,
INVALID_PARAMETER_COMBINATION = 4,
INVALID_QUERY_PARAMETER = 5,
INVALID_PARAMETER_VALUE = 6,
MISSING_ACTION = 7, // SDK should never allow
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
MISSING_PARAMETER = 9, // SDK should never allow
OPT_IN_REQUIRED = 10,
REQUEST_EXPIRED = 11,
SERVICE_UNAVAILABLE = 12,
THROTTLING = 13,
VALIDATION = 14,
ACCESS_DENIED = 15,
RESOURCE_NOT_FOUND = 16,
UNRECOGNIZED_CLIENT = 17,
MALFORMED_QUERY_STRING = 18,
SLOW_DOWN = 19,
REQUEST_TIME_TOO_SKEWED = 20,
INVALID_SIGNATURE = 21,
SIGNATURE_DOES_NOT_MATCH = 22,
INVALID_ACCESS_KEY_ID = 23,
REQUEST_TIMEOUT = 24,
NETWORK_CONNECTION = 99,
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
DOMAIN_LIMIT_EXCEEDED= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
DUPLICATE_REQUEST,
INVALID_INPUT,
OPERATION_LIMIT_EXCEEDED,
T_L_D_RULES_VIOLATION,
UNSUPPORTED_T_L_D
};
class AWS_ROUTE53DOMAINS_API Route53DomainsError : public Aws::Client::AWSError<Route53DomainsErrors>
{
public:
Route53DomainsError() {}
Route53DomainsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<Route53DomainsErrors>(rhs) {}
Route53DomainsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<Route53DomainsErrors>(rhs) {}
Route53DomainsError(const Aws::Client::AWSError<Route53DomainsErrors>& rhs) : Aws::Client::AWSError<Route53DomainsErrors>(rhs) {}
Route53DomainsError(Aws::Client::AWSError<Route53DomainsErrors>&& rhs) : Aws::Client::AWSError<Route53DomainsErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace Route53DomainsErrorMapper
{
AWS_ROUTE53DOMAINS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace Route53Domains
{
class AWS_ROUTE53DOMAINS_API Route53DomainsRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~Route53DomainsRequest () {}
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
inline Aws::Http::HeaderValueCollection GetHeaders() const override
{
auto headers = GetRequestSpecificHeaders();
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
{
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_1 ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2014-05-15"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#ifdef _MSC_VER
//disable windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWS_ROUTE53DOMAINS_EXPORTS
#define AWS_ROUTE53DOMAINS_API __declspec(dllexport)
#else
#define AWS_ROUTE53DOMAINS_API __declspec(dllimport)
#endif /* AWS_ROUTE53DOMAINS_EXPORTS */
#else
#define AWS_ROUTE53DOMAINS_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_ROUTE53DOMAINS_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,173 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The AcceptDomainTransferFromAnotherAwsAccount request includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API AcceptDomainTransferFromAnotherAwsAccountRequest : public Route53DomainsRequest
{
public:
AcceptDomainTransferFromAnotherAwsAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "AcceptDomainTransferFromAnotherAwsAccount"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline const Aws::String& GetPassword() const{ return m_password; }
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
/**
* <p>The password that was returned by the <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_password;
bool m_passwordHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The AcceptDomainTransferFromAnotherAwsAccount response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API AcceptDomainTransferFromAnotherAwsAccountResult
{
public:
AcceptDomainTransferFromAnotherAwsAccountResult();
AcceptDomainTransferFromAnotherAwsAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AcceptDomainTransferFromAnotherAwsAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline AcceptDomainTransferFromAnotherAwsAccountResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,270 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/OperationType.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>Information for one billing record.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/BillingRecord">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API BillingRecord
{
public:
BillingRecord();
BillingRecord(Aws::Utils::Json::JsonView jsonValue);
BillingRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline BillingRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline BillingRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that the billing record applies to. If the domain name
* contains characters other than a-z, 0-9, and - (hyphen), such as an
* internationalized domain name, then this value is in Punycode. For more
* information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html">DNS
* Domain Name Format</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
*/
inline BillingRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The operation that you were charged for.</p>
*/
inline const OperationType& GetOperation() const{ return m_operation; }
/**
* <p>The operation that you were charged for.</p>
*/
inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
/**
* <p>The operation that you were charged for.</p>
*/
inline void SetOperation(const OperationType& value) { m_operationHasBeenSet = true; m_operation = value; }
/**
* <p>The operation that you were charged for.</p>
*/
inline void SetOperation(OperationType&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
/**
* <p>The operation that you were charged for.</p>
*/
inline BillingRecord& WithOperation(const OperationType& value) { SetOperation(value); return *this;}
/**
* <p>The operation that you were charged for.</p>
*/
inline BillingRecord& WithOperation(OperationType&& value) { SetOperation(std::move(value)); return *this;}
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline const Aws::String& GetInvoiceId() const{ return m_invoiceId; }
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline bool InvoiceIdHasBeenSet() const { return m_invoiceIdHasBeenSet; }
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline void SetInvoiceId(const Aws::String& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = value; }
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline void SetInvoiceId(Aws::String&& value) { m_invoiceIdHasBeenSet = true; m_invoiceId = std::move(value); }
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline void SetInvoiceId(const char* value) { m_invoiceIdHasBeenSet = true; m_invoiceId.assign(value); }
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline BillingRecord& WithInvoiceId(const Aws::String& value) { SetInvoiceId(value); return *this;}
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline BillingRecord& WithInvoiceId(Aws::String&& value) { SetInvoiceId(std::move(value)); return *this;}
/**
* <p>The ID of the invoice that is associated with the billing record.</p>
*/
inline BillingRecord& WithInvoiceId(const char* value) { SetInvoiceId(value); return *this;}
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline const Aws::Utils::DateTime& GetBillDate() const{ return m_billDate; }
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline bool BillDateHasBeenSet() const { return m_billDateHasBeenSet; }
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline void SetBillDate(const Aws::Utils::DateTime& value) { m_billDateHasBeenSet = true; m_billDate = value; }
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline void SetBillDate(Aws::Utils::DateTime&& value) { m_billDateHasBeenSet = true; m_billDate = std::move(value); }
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline BillingRecord& WithBillDate(const Aws::Utils::DateTime& value) { SetBillDate(value); return *this;}
/**
* <p>The date that the operation was billed, in Unix format.</p>
*/
inline BillingRecord& WithBillDate(Aws::Utils::DateTime&& value) { SetBillDate(std::move(value)); return *this;}
/**
* <p>The price that you were charged for the operation, in US dollars.</p>
* <p>Example value: 12.0</p>
*/
inline double GetPrice() const{ return m_price; }
/**
* <p>The price that you were charged for the operation, in US dollars.</p>
* <p>Example value: 12.0</p>
*/
inline bool PriceHasBeenSet() const { return m_priceHasBeenSet; }
/**
* <p>The price that you were charged for the operation, in US dollars.</p>
* <p>Example value: 12.0</p>
*/
inline void SetPrice(double value) { m_priceHasBeenSet = true; m_price = value; }
/**
* <p>The price that you were charged for the operation, in US dollars.</p>
* <p>Example value: 12.0</p>
*/
inline BillingRecord& WithPrice(double value) { SetPrice(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
OperationType m_operation;
bool m_operationHasBeenSet;
Aws::String m_invoiceId;
bool m_invoiceIdHasBeenSet;
Aws::Utils::DateTime m_billDate;
bool m_billDateHasBeenSet;
double m_price;
bool m_priceHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The CancelDomainTransferToAnotherAwsAccount request includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CancelDomainTransferToAnotherAwsAccountRequest : public Route53DomainsRequest
{
public:
CancelDomainTransferToAnotherAwsAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CancelDomainTransferToAnotherAwsAccount"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain for which you want to cancel the transfer to another
* AWS account.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,104 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The <code>CancelDomainTransferToAnotherAwsAccount</code> response includes
* the following element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CancelDomainTransferToAnotherAwsAccountResult
{
public:
CancelDomainTransferToAnotherAwsAccountResult();
CancelDomainTransferToAnotherAwsAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelDomainTransferToAnotherAwsAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was canceled,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline CancelDomainTransferToAnotherAwsAccountResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,261 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The CheckDomainAvailability request contains the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CheckDomainAvailabilityRequest : public Route53DomainsRequest
{
public:
CheckDomainAvailabilityRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CheckDomainAvailability"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline CheckDomainAvailabilityRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline CheckDomainAvailabilityRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to get availability for. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline CheckDomainAvailabilityRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; }
/**
* <p>Reserved for future use.</p>
*/
inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); }
/**
* <p>Reserved for future use.</p>
*/
inline CheckDomainAvailabilityRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline CheckDomainAvailabilityRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline CheckDomainAvailabilityRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_idnLangCode;
bool m_idnLangCodeHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,153 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/model/DomainAvailability.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The CheckDomainAvailability response includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailabilityResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CheckDomainAvailabilityResult
{
public:
CheckDomainAvailabilityResult();
CheckDomainAvailabilityResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CheckDomainAvailabilityResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only domains designated as <code>AVAILABLE</code>.</p> <p>Valid
* values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p>
* </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under
* specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain
* name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd>
* <p>The TLD registry didn't reply with a definitive answer about whether the
* domain name is available. Route 53 can return this response for a variety of
* reasons, for example, the registry is performing maintenance. Try again
* later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a
* response in the expected amount of time. When the response is delayed, it
* usually takes just a few extra seconds. You can resubmit the request
* immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been
* reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt>
* <dd> <p>The domain name is forbidden.</p> </dd> </dl>
*/
inline const DomainAvailability& GetAvailability() const{ return m_availability; }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only domains designated as <code>AVAILABLE</code>.</p> <p>Valid
* values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p>
* </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under
* specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain
* name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd>
* <p>The TLD registry didn't reply with a definitive answer about whether the
* domain name is available. Route 53 can return this response for a variety of
* reasons, for example, the registry is performing maintenance. Try again
* later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a
* response in the expected amount of time. When the response is delayed, it
* usually takes just a few extra seconds. You can resubmit the request
* immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been
* reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt>
* <dd> <p>The domain name is forbidden.</p> </dd> </dl>
*/
inline void SetAvailability(const DomainAvailability& value) { m_availability = value; }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only domains designated as <code>AVAILABLE</code>.</p> <p>Valid
* values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p>
* </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under
* specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain
* name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd>
* <p>The TLD registry didn't reply with a definitive answer about whether the
* domain name is available. Route 53 can return this response for a variety of
* reasons, for example, the registry is performing maintenance. Try again
* later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a
* response in the expected amount of time. When the response is delayed, it
* usually takes just a few extra seconds. You can resubmit the request
* immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been
* reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt>
* <dd> <p>The domain name is forbidden.</p> </dd> </dl>
*/
inline void SetAvailability(DomainAvailability&& value) { m_availability = std::move(value); }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only domains designated as <code>AVAILABLE</code>.</p> <p>Valid
* values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p>
* </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under
* specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain
* name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd>
* <p>The TLD registry didn't reply with a definitive answer about whether the
* domain name is available. Route 53 can return this response for a variety of
* reasons, for example, the registry is performing maintenance. Try again
* later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a
* response in the expected amount of time. When the response is delayed, it
* usually takes just a few extra seconds. You can resubmit the request
* immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been
* reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt>
* <dd> <p>The domain name is forbidden.</p> </dd> </dl>
*/
inline CheckDomainAvailabilityResult& WithAvailability(const DomainAvailability& value) { SetAvailability(value); return *this;}
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only domains designated as <code>AVAILABLE</code>.</p> <p>Valid
* values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is available.</p>
* </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is reserved under
* specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd> <p>The domain
* name is available and can be preordered.</p> </dd> <dt>DONT_KNOW</dt> <dd>
* <p>The TLD registry didn't reply with a definitive answer about whether the
* domain name is available. Route 53 can return this response for a variety of
* reasons, for example, the registry is performing maintenance. Try again
* later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD registry didn't return a
* response in the expected amount of time. When the response is delayed, it
* usually takes just a few extra seconds. You can resubmit the request
* immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has been
* reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt> <dd>
* <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_RESTRICTED</dt>
* <dd> <p>The domain name is forbidden.</p> </dd> </dl>
*/
inline CheckDomainAvailabilityResult& WithAvailability(DomainAvailability&& value) { SetAvailability(std::move(value)); return *this;}
private:
DomainAvailability m_availability;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,229 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The CheckDomainTransferability request contains the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferabilityRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CheckDomainTransferabilityRequest : public Route53DomainsRequest
{
public:
CheckDomainTransferabilityRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CheckDomainTransferability"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline CheckDomainTransferabilityRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline CheckDomainTransferabilityRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline CheckDomainTransferabilityRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline const Aws::String& GetAuthCode() const{ return m_authCode; }
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; }
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); }
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); }
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline CheckDomainTransferabilityRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline CheckDomainTransferabilityRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
/**
* <p>If the registrar for the top-level domain (TLD) requires an authorization
* code to transfer the domain, the code that you got from the current registrar
* for the domain.</p>
*/
inline CheckDomainTransferabilityRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_authCode;
bool m_authCodeHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/model/DomainTransferability.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The CheckDomainTransferability response includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferabilityResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API CheckDomainTransferabilityResult
{
public:
CheckDomainTransferabilityResult();
CheckDomainTransferabilityResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CheckDomainTransferabilityResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p>
*/
inline const DomainTransferability& GetTransferability() const{ return m_transferability; }
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p>
*/
inline void SetTransferability(const DomainTransferability& value) { m_transferability = value; }
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p>
*/
inline void SetTransferability(DomainTransferability&& value) { m_transferability = std::move(value); }
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p>
*/
inline CheckDomainTransferabilityResult& WithTransferability(const DomainTransferability& value) { SetTransferability(value); return *this;}
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p>
*/
inline CheckDomainTransferabilityResult& WithTransferability(DomainTransferability&& value) { SetTransferability(std::move(value)); return *this;}
private:
DomainTransferability m_transferability;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,760 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/ContactType.h>
#include <aws/route53domains/model/CountryCode.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/ExtraParam.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>ContactDetail includes the following elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ContactDetail">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ContactDetail
{
public:
ContactDetail();
ContactDetail(Aws::Utils::Json::JsonView jsonValue);
ContactDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>First name of contact.</p>
*/
inline const Aws::String& GetFirstName() const{ return m_firstName; }
/**
* <p>First name of contact.</p>
*/
inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
/**
* <p>First name of contact.</p>
*/
inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
/**
* <p>First name of contact.</p>
*/
inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
/**
* <p>First name of contact.</p>
*/
inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
/**
* <p>First name of contact.</p>
*/
inline ContactDetail& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
/**
* <p>First name of contact.</p>
*/
inline ContactDetail& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
/**
* <p>First name of contact.</p>
*/
inline ContactDetail& WithFirstName(const char* value) { SetFirstName(value); return *this;}
/**
* <p>Last name of contact.</p>
*/
inline const Aws::String& GetLastName() const{ return m_lastName; }
/**
* <p>Last name of contact.</p>
*/
inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
/**
* <p>Last name of contact.</p>
*/
inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
/**
* <p>Last name of contact.</p>
*/
inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
/**
* <p>Last name of contact.</p>
*/
inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
/**
* <p>Last name of contact.</p>
*/
inline ContactDetail& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
/**
* <p>Last name of contact.</p>
*/
inline ContactDetail& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
/**
* <p>Last name of contact.</p>
*/
inline ContactDetail& WithLastName(const char* value) { SetLastName(value); return *this;}
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline const ContactType& GetContactType() const{ return m_contactType; }
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline bool ContactTypeHasBeenSet() const { return m_contactTypeHasBeenSet; }
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline void SetContactType(const ContactType& value) { m_contactTypeHasBeenSet = true; m_contactType = value; }
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline void SetContactType(ContactType&& value) { m_contactTypeHasBeenSet = true; m_contactType = std::move(value); }
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline ContactDetail& WithContactType(const ContactType& value) { SetContactType(value); return *this;}
/**
* <p>Indicates whether the contact is a person, company, association, or public
* organization. Note the following:</p> <ul> <li> <p>If you specify a value other
* than <code>PERSON</code>, you must also specify a value for
* <code>OrganizationName</code>.</p> </li> <li> <p>For some TLDs, the privacy
* protection available depends on the value that you specify for <code>Contact
* Type</code>. For the privacy protection settings for your TLD, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i> </p> </li> <li> <p>For .es domains, if you specify
* <code>PERSON</code>, you must specify <code>INDIVIDUAL</code> for the value of
* <code>ES_LEGAL_FORM</code>.</p> </li> </ul>
*/
inline ContactDetail& WithContactType(ContactType&& value) { SetContactType(std::move(value)); return *this;}
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline const Aws::String& GetOrganizationName() const{ return m_organizationName; }
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline void SetOrganizationName(const Aws::String& value) { m_organizationNameHasBeenSet = true; m_organizationName = value; }
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline void SetOrganizationName(Aws::String&& value) { m_organizationNameHasBeenSet = true; m_organizationName = std::move(value); }
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline void SetOrganizationName(const char* value) { m_organizationNameHasBeenSet = true; m_organizationName.assign(value); }
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline ContactDetail& WithOrganizationName(const Aws::String& value) { SetOrganizationName(value); return *this;}
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline ContactDetail& WithOrganizationName(Aws::String&& value) { SetOrganizationName(std::move(value)); return *this;}
/**
* <p>Name of the organization for contact types other than
* <code>PERSON</code>.</p>
*/
inline ContactDetail& WithOrganizationName(const char* value) { SetOrganizationName(value); return *this;}
/**
* <p>First line of the contact's address.</p>
*/
inline const Aws::String& GetAddressLine1() const{ return m_addressLine1; }
/**
* <p>First line of the contact's address.</p>
*/
inline bool AddressLine1HasBeenSet() const { return m_addressLine1HasBeenSet; }
/**
* <p>First line of the contact's address.</p>
*/
inline void SetAddressLine1(const Aws::String& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = value; }
/**
* <p>First line of the contact's address.</p>
*/
inline void SetAddressLine1(Aws::String&& value) { m_addressLine1HasBeenSet = true; m_addressLine1 = std::move(value); }
/**
* <p>First line of the contact's address.</p>
*/
inline void SetAddressLine1(const char* value) { m_addressLine1HasBeenSet = true; m_addressLine1.assign(value); }
/**
* <p>First line of the contact's address.</p>
*/
inline ContactDetail& WithAddressLine1(const Aws::String& value) { SetAddressLine1(value); return *this;}
/**
* <p>First line of the contact's address.</p>
*/
inline ContactDetail& WithAddressLine1(Aws::String&& value) { SetAddressLine1(std::move(value)); return *this;}
/**
* <p>First line of the contact's address.</p>
*/
inline ContactDetail& WithAddressLine1(const char* value) { SetAddressLine1(value); return *this;}
/**
* <p>Second line of contact's address, if any.</p>
*/
inline const Aws::String& GetAddressLine2() const{ return m_addressLine2; }
/**
* <p>Second line of contact's address, if any.</p>
*/
inline bool AddressLine2HasBeenSet() const { return m_addressLine2HasBeenSet; }
/**
* <p>Second line of contact's address, if any.</p>
*/
inline void SetAddressLine2(const Aws::String& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = value; }
/**
* <p>Second line of contact's address, if any.</p>
*/
inline void SetAddressLine2(Aws::String&& value) { m_addressLine2HasBeenSet = true; m_addressLine2 = std::move(value); }
/**
* <p>Second line of contact's address, if any.</p>
*/
inline void SetAddressLine2(const char* value) { m_addressLine2HasBeenSet = true; m_addressLine2.assign(value); }
/**
* <p>Second line of contact's address, if any.</p>
*/
inline ContactDetail& WithAddressLine2(const Aws::String& value) { SetAddressLine2(value); return *this;}
/**
* <p>Second line of contact's address, if any.</p>
*/
inline ContactDetail& WithAddressLine2(Aws::String&& value) { SetAddressLine2(std::move(value)); return *this;}
/**
* <p>Second line of contact's address, if any.</p>
*/
inline ContactDetail& WithAddressLine2(const char* value) { SetAddressLine2(value); return *this;}
/**
* <p>The city of the contact's address.</p>
*/
inline const Aws::String& GetCity() const{ return m_city; }
/**
* <p>The city of the contact's address.</p>
*/
inline bool CityHasBeenSet() const { return m_cityHasBeenSet; }
/**
* <p>The city of the contact's address.</p>
*/
inline void SetCity(const Aws::String& value) { m_cityHasBeenSet = true; m_city = value; }
/**
* <p>The city of the contact's address.</p>
*/
inline void SetCity(Aws::String&& value) { m_cityHasBeenSet = true; m_city = std::move(value); }
/**
* <p>The city of the contact's address.</p>
*/
inline void SetCity(const char* value) { m_cityHasBeenSet = true; m_city.assign(value); }
/**
* <p>The city of the contact's address.</p>
*/
inline ContactDetail& WithCity(const Aws::String& value) { SetCity(value); return *this;}
/**
* <p>The city of the contact's address.</p>
*/
inline ContactDetail& WithCity(Aws::String&& value) { SetCity(std::move(value)); return *this;}
/**
* <p>The city of the contact's address.</p>
*/
inline ContactDetail& WithCity(const char* value) { SetCity(value); return *this;}
/**
* <p>The state or province of the contact's city.</p>
*/
inline const Aws::String& GetState() const{ return m_state; }
/**
* <p>The state or province of the contact's city.</p>
*/
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
/**
* <p>The state or province of the contact's city.</p>
*/
inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
/**
* <p>The state or province of the contact's city.</p>
*/
inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
/**
* <p>The state or province of the contact's city.</p>
*/
inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
/**
* <p>The state or province of the contact's city.</p>
*/
inline ContactDetail& WithState(const Aws::String& value) { SetState(value); return *this;}
/**
* <p>The state or province of the contact's city.</p>
*/
inline ContactDetail& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
/**
* <p>The state or province of the contact's city.</p>
*/
inline ContactDetail& WithState(const char* value) { SetState(value); return *this;}
/**
* <p>Code for the country of the contact's address.</p>
*/
inline const CountryCode& GetCountryCode() const{ return m_countryCode; }
/**
* <p>Code for the country of the contact's address.</p>
*/
inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
/**
* <p>Code for the country of the contact's address.</p>
*/
inline void SetCountryCode(const CountryCode& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
/**
* <p>Code for the country of the contact's address.</p>
*/
inline void SetCountryCode(CountryCode&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
/**
* <p>Code for the country of the contact's address.</p>
*/
inline ContactDetail& WithCountryCode(const CountryCode& value) { SetCountryCode(value); return *this;}
/**
* <p>Code for the country of the contact's address.</p>
*/
inline ContactDetail& WithCountryCode(CountryCode&& value) { SetCountryCode(std::move(value)); return *this;}
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline const Aws::String& GetZipCode() const{ return m_zipCode; }
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline bool ZipCodeHasBeenSet() const { return m_zipCodeHasBeenSet; }
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline void SetZipCode(const Aws::String& value) { m_zipCodeHasBeenSet = true; m_zipCode = value; }
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline void SetZipCode(Aws::String&& value) { m_zipCodeHasBeenSet = true; m_zipCode = std::move(value); }
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline void SetZipCode(const char* value) { m_zipCodeHasBeenSet = true; m_zipCode.assign(value); }
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline ContactDetail& WithZipCode(const Aws::String& value) { SetZipCode(value); return *this;}
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline ContactDetail& WithZipCode(Aws::String&& value) { SetZipCode(std::move(value)); return *this;}
/**
* <p>The zip or postal code of the contact's address.</p>
*/
inline ContactDetail& WithZipCode(const char* value) { SetZipCode(value); return *this;}
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
/**
* <p>The phone number of the contact.</p> <p>Constraints: Phone number must be
* specified in the format "+[country dialing code].[number including any area
* code&gt;]". For example, a US phone number might appear as
* <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
/**
* <p>Email address of the contact.</p>
*/
inline const Aws::String& GetEmail() const{ return m_email; }
/**
* <p>Email address of the contact.</p>
*/
inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
/**
* <p>Email address of the contact.</p>
*/
inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
/**
* <p>Email address of the contact.</p>
*/
inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
/**
* <p>Email address of the contact.</p>
*/
inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
/**
* <p>Email address of the contact.</p>
*/
inline ContactDetail& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
/**
* <p>Email address of the contact.</p>
*/
inline ContactDetail& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
/**
* <p>Email address of the contact.</p>
*/
inline ContactDetail& WithEmail(const char* value) { SetEmail(value); return *this;}
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline const Aws::String& GetFax() const{ return m_fax; }
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline bool FaxHasBeenSet() const { return m_faxHasBeenSet; }
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline void SetFax(const Aws::String& value) { m_faxHasBeenSet = true; m_fax = value; }
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline void SetFax(Aws::String&& value) { m_faxHasBeenSet = true; m_fax = std::move(value); }
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline void SetFax(const char* value) { m_faxHasBeenSet = true; m_fax.assign(value); }
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithFax(const Aws::String& value) { SetFax(value); return *this;}
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithFax(Aws::String&& value) { SetFax(std::move(value)); return *this;}
/**
* <p>Fax number of the contact.</p> <p>Constraints: Phone number must be specified
* in the format "+[country dialing code].[number including any area code]". For
* example, a US phone number might appear as <code>"+1.1234567890"</code>.</p>
*/
inline ContactDetail& WithFax(const char* value) { SetFax(value); return *this;}
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline const Aws::Vector<ExtraParam>& GetExtraParams() const{ return m_extraParams; }
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline bool ExtraParamsHasBeenSet() const { return m_extraParamsHasBeenSet; }
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline void SetExtraParams(const Aws::Vector<ExtraParam>& value) { m_extraParamsHasBeenSet = true; m_extraParams = value; }
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline void SetExtraParams(Aws::Vector<ExtraParam>&& value) { m_extraParamsHasBeenSet = true; m_extraParams = std::move(value); }
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline ContactDetail& WithExtraParams(const Aws::Vector<ExtraParam>& value) { SetExtraParams(value); return *this;}
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline ContactDetail& WithExtraParams(Aws::Vector<ExtraParam>&& value) { SetExtraParams(std::move(value)); return *this;}
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline ContactDetail& AddExtraParams(const ExtraParam& value) { m_extraParamsHasBeenSet = true; m_extraParams.push_back(value); return *this; }
/**
* <p>A list of name-value pairs for parameters required by certain top-level
* domains.</p>
*/
inline ContactDetail& AddExtraParams(ExtraParam&& value) { m_extraParamsHasBeenSet = true; m_extraParams.push_back(std::move(value)); return *this; }
private:
Aws::String m_firstName;
bool m_firstNameHasBeenSet;
Aws::String m_lastName;
bool m_lastNameHasBeenSet;
ContactType m_contactType;
bool m_contactTypeHasBeenSet;
Aws::String m_organizationName;
bool m_organizationNameHasBeenSet;
Aws::String m_addressLine1;
bool m_addressLine1HasBeenSet;
Aws::String m_addressLine2;
bool m_addressLine2HasBeenSet;
Aws::String m_city;
bool m_cityHasBeenSet;
Aws::String m_state;
bool m_stateHasBeenSet;
CountryCode m_countryCode;
bool m_countryCodeHasBeenSet;
Aws::String m_zipCode;
bool m_zipCodeHasBeenSet;
Aws::String m_phoneNumber;
bool m_phoneNumberHasBeenSet;
Aws::String m_email;
bool m_emailHasBeenSet;
Aws::String m_fax;
bool m_faxHasBeenSet;
Aws::Vector<ExtraParam> m_extraParams;
bool m_extraParamsHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,34 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class ContactType
{
NOT_SET,
PERSON,
COMPANY,
ASSOCIATION,
PUBLIC_BODY,
RESELLER
};
namespace ContactTypeMapper
{
AWS_ROUTE53DOMAINS_API ContactType GetContactTypeForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForContactType(ContactType value);
} // namespace ContactTypeMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,258 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class CountryCode
{
NOT_SET,
AD,
AE,
AF,
AG,
AI,
AL,
AM,
AN,
AO,
AQ,
AR,
AS,
AT,
AU,
AW,
AZ,
BA,
BB,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BL,
BM,
BN,
BO,
BR,
BS,
BT,
BW,
BY,
BZ,
CA,
CC,
CD,
CF,
CG,
CH,
CI,
CK,
CL,
CM,
CN,
CO,
CR,
CU,
CV,
CX,
CY,
CZ,
DE,
DJ,
DK,
DM,
DO,
DZ,
EC,
EE,
EG,
ER,
ES,
ET,
FI,
FJ,
FK,
FM,
FO,
FR,
GA,
GB,
GD,
GE,
GH,
GI,
GL,
GM,
GN,
GQ,
GR,
GT,
GU,
GW,
GY,
HK,
HN,
HR,
HT,
HU,
ID,
IE,
IL,
IM,
IN,
IQ,
IR,
IS,
IT,
JM,
JO,
JP,
KE,
KG,
KH,
KI,
KM,
KN,
KP,
KR,
KW,
KY,
KZ,
LA,
LB,
LC,
LI,
LK,
LR,
LS,
LT,
LU,
LV,
LY,
MA,
MC,
MD,
ME,
MF,
MG,
MH,
MK,
ML,
MM,
MN,
MO,
MP,
MR,
MS,
MT,
MU,
MV,
MW,
MX,
MY,
MZ,
NA,
NC,
NE,
NG,
NI,
NL,
NO,
NP,
NR,
NU,
NZ,
OM,
PA,
PE,
PF,
PG,
PH,
PK,
PL,
PM,
PN,
PR,
PT,
PW,
PY,
QA,
RO,
RS,
RU,
RW,
SA,
SB,
SC,
SD,
SE,
SG,
SH,
SI,
SK,
SL,
SM,
SN,
SO,
SR,
ST,
SV,
SY,
SZ,
TC,
TD,
TG,
TH,
TJ,
TK,
TL,
TM,
TN,
TO,
TR,
TT,
TV,
TW,
TZ,
UA,
UG,
US,
UY,
UZ,
VA,
VC,
VE,
VG,
VI,
VN,
VU,
WF,
WS,
YE,
YT,
ZA,
ZM,
ZW
};
namespace CountryCodeMapper
{
AWS_ROUTE53DOMAINS_API CountryCode GetCountryCodeForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForCountryCode(CountryCode value);
} // namespace CountryCodeMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,139 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The DeleteTagsForDomainRequest includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DeleteTagsForDomainRequest : public Route53DomainsRequest
{
public:
DeleteTagsForDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DeleteTagsForDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline DeleteTagsForDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline DeleteTagsForDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain for which you want to delete one or more tags.</p>
*/
inline DeleteTagsForDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>A list of tag keys to delete.</p>
*/
inline const Aws::Vector<Aws::String>& GetTagsToDelete() const{ return m_tagsToDelete; }
/**
* <p>A list of tag keys to delete.</p>
*/
inline bool TagsToDeleteHasBeenSet() const { return m_tagsToDeleteHasBeenSet; }
/**
* <p>A list of tag keys to delete.</p>
*/
inline void SetTagsToDelete(const Aws::Vector<Aws::String>& value) { m_tagsToDeleteHasBeenSet = true; m_tagsToDelete = value; }
/**
* <p>A list of tag keys to delete.</p>
*/
inline void SetTagsToDelete(Aws::Vector<Aws::String>&& value) { m_tagsToDeleteHasBeenSet = true; m_tagsToDelete = std::move(value); }
/**
* <p>A list of tag keys to delete.</p>
*/
inline DeleteTagsForDomainRequest& WithTagsToDelete(const Aws::Vector<Aws::String>& value) { SetTagsToDelete(value); return *this;}
/**
* <p>A list of tag keys to delete.</p>
*/
inline DeleteTagsForDomainRequest& WithTagsToDelete(Aws::Vector<Aws::String>&& value) { SetTagsToDelete(std::move(value)); return *this;}
/**
* <p>A list of tag keys to delete.</p>
*/
inline DeleteTagsForDomainRequest& AddTagsToDelete(const Aws::String& value) { m_tagsToDeleteHasBeenSet = true; m_tagsToDelete.push_back(value); return *this; }
/**
* <p>A list of tag keys to delete.</p>
*/
inline DeleteTagsForDomainRequest& AddTagsToDelete(Aws::String&& value) { m_tagsToDeleteHasBeenSet = true; m_tagsToDelete.push_back(std::move(value)); return *this; }
/**
* <p>A list of tag keys to delete.</p>
*/
inline DeleteTagsForDomainRequest& AddTagsToDelete(const char* value) { m_tagsToDeleteHasBeenSet = true; m_tagsToDelete.push_back(value); return *this; }
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::Vector<Aws::String> m_tagsToDelete;
bool m_tagsToDeleteHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API DeleteTagsForDomainResult
{
public:
DeleteTagsForDomainResult();
DeleteTagsForDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteTagsForDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
*/
class AWS_ROUTE53DOMAINS_API DisableDomainAutoRenewRequest : public Route53DomainsRequest
{
public:
DisableDomainAutoRenewRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisableDomainAutoRenew"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline DisableDomainAutoRenewRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline DisableDomainAutoRenewRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to disable automatic renewal for.</p>
*/
inline DisableDomainAutoRenewRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API DisableDomainAutoRenewResult
{
public:
DisableDomainAutoRenewResult();
DisableDomainAutoRenewResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisableDomainAutoRenewResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The DisableDomainTransferLock request includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLockRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DisableDomainTransferLockRequest : public Route53DomainsRequest
{
public:
DisableDomainTransferLockRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisableDomainTransferLock"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline DisableDomainTransferLockRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline DisableDomainTransferLockRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to remove the transfer lock for.</p>
*/
inline DisableDomainTransferLockRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The DisableDomainTransferLock response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLockResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DisableDomainTransferLockResult
{
public:
DisableDomainTransferLockResult();
DisableDomainTransferLockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DisableDomainTransferLockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline DisableDomainTransferLockResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline DisableDomainTransferLockResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline DisableDomainTransferLockResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,37 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class DomainAvailability
{
NOT_SET,
AVAILABLE,
AVAILABLE_RESERVED,
AVAILABLE_PREORDER,
UNAVAILABLE,
UNAVAILABLE_PREMIUM,
UNAVAILABLE_RESTRICTED,
RESERVED,
DONT_KNOW
};
namespace DomainAvailabilityMapper
{
AWS_ROUTE53DOMAINS_API DomainAvailability GetDomainAvailabilityForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForDomainAvailability(DomainAvailability value);
} // namespace DomainAvailabilityMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,268 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>Information about one suggested domain name.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSuggestion">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DomainSuggestion
{
public:
DomainSuggestion();
DomainSuggestion(Aws::Utils::Json::JsonView jsonValue);
DomainSuggestion& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A suggested domain name.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>A suggested domain name.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>A suggested domain name.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>A suggested domain name.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>A suggested domain name.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>A suggested domain name.</p>
*/
inline DomainSuggestion& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>A suggested domain name.</p>
*/
inline DomainSuggestion& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>A suggested domain name.</p>
*/
inline DomainSuggestion& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline const Aws::String& GetAvailability() const{ return m_availability; }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline bool AvailabilityHasBeenSet() const { return m_availabilityHasBeenSet; }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline void SetAvailability(const Aws::String& value) { m_availabilityHasBeenSet = true; m_availability = value; }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline void SetAvailability(Aws::String&& value) { m_availabilityHasBeenSet = true; m_availability = std::move(value); }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline void SetAvailability(const char* value) { m_availabilityHasBeenSet = true; m_availability.assign(value); }
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline DomainSuggestion& WithAvailability(const Aws::String& value) { SetAvailability(value); return *this;}
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline DomainSuggestion& WithAvailability(Aws::String&& value) { SetAvailability(std::move(value)); return *this;}
/**
* <p>Whether the domain name is available for registering.</p> <p>You can
* register only the domains that are designated as <code>AVAILABLE</code>.</p>
* <p>Valid values:</p> <dl> <dt>AVAILABLE</dt> <dd> <p>The domain name is
* available.</p> </dd> <dt>AVAILABLE_RESERVED</dt> <dd> <p>The domain name is
* reserved under specific conditions.</p> </dd> <dt>AVAILABLE_PREORDER</dt> <dd>
* <p>The domain name is available and can be preordered.</p> </dd>
* <dt>DONT_KNOW</dt> <dd> <p>The TLD registry didn't reply with a definitive
* answer about whether the domain name is available. Route 53 can return this
* response for a variety of reasons, for example, the registry is performing
* maintenance. Try again later.</p> </dd> <dt>PENDING</dt> <dd> <p>The TLD
* registry didn't return a response in the expected amount of time. When the
* response is delayed, it usually takes just a few extra seconds. You can resubmit
* the request immediately.</p> </dd> <dt>RESERVED</dt> <dd> <p>The domain name has
* been reserved for another person or organization.</p> </dd> <dt>UNAVAILABLE</dt>
* <dd> <p>The domain name is not available.</p> </dd> <dt>UNAVAILABLE_PREMIUM</dt>
* <dd> <p>The domain name is not available.</p> </dd>
* <dt>UNAVAILABLE_RESTRICTED</dt> <dd> <p>The domain name is forbidden.</p> </dd>
* </dl>
*/
inline DomainSuggestion& WithAvailability(const char* value) { SetAvailability(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_availability;
bool m_availabilityHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,181 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>Summary information about one domain.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainSummary">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DomainSummary
{
public:
DomainSummary();
DomainSummary(Aws::Utils::Json::JsonView jsonValue);
DomainSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline DomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline DomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that the summary information applies to.</p>
*/
inline DomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Indicates whether the domain is automatically renewed upon expiration.</p>
*/
inline bool GetAutoRenew() const{ return m_autoRenew; }
/**
* <p>Indicates whether the domain is automatically renewed upon expiration.</p>
*/
inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
/**
* <p>Indicates whether the domain is automatically renewed upon expiration.</p>
*/
inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
/**
* <p>Indicates whether the domain is automatically renewed upon expiration.</p>
*/
inline DomainSummary& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
/**
* <p>Indicates whether a domain is locked from unauthorized transfer to another
* party.</p>
*/
inline bool GetTransferLock() const{ return m_transferLock; }
/**
* <p>Indicates whether a domain is locked from unauthorized transfer to another
* party.</p>
*/
inline bool TransferLockHasBeenSet() const { return m_transferLockHasBeenSet; }
/**
* <p>Indicates whether a domain is locked from unauthorized transfer to another
* party.</p>
*/
inline void SetTransferLock(bool value) { m_transferLockHasBeenSet = true; m_transferLock = value; }
/**
* <p>Indicates whether a domain is locked from unauthorized transfer to another
* party.</p>
*/
inline DomainSummary& WithTransferLock(bool value) { SetTransferLock(value); return *this;}
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetExpiry() const{ return m_expiry; }
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline bool ExpiryHasBeenSet() const { return m_expiryHasBeenSet; }
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline void SetExpiry(const Aws::Utils::DateTime& value) { m_expiryHasBeenSet = true; m_expiry = value; }
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline void SetExpiry(Aws::Utils::DateTime&& value) { m_expiryHasBeenSet = true; m_expiry = std::move(value); }
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline DomainSummary& WithExpiry(const Aws::Utils::DateTime& value) { SetExpiry(value); return *this;}
/**
* <p>Expiration date of the domain in Unix time format and Coordinated Universal
* Time (UTC).</p>
*/
inline DomainSummary& WithExpiry(Aws::Utils::DateTime&& value) { SetExpiry(std::move(value)); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
bool m_autoRenew;
bool m_autoRenewHasBeenSet;
bool m_transferLock;
bool m_transferLockHasBeenSet;
Aws::Utils::DateTime m_expiry;
bool m_expiryHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/model/Transferable.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>A complex type that contains information about whether the specified domain
* can be transferred to Route 53.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DomainTransferability">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API DomainTransferability
{
public:
DomainTransferability();
DomainTransferability(Aws::Utils::Json::JsonView jsonValue);
DomainTransferability& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const Transferable& GetTransferable() const{ return m_transferable; }
inline bool TransferableHasBeenSet() const { return m_transferableHasBeenSet; }
inline void SetTransferable(const Transferable& value) { m_transferableHasBeenSet = true; m_transferable = value; }
inline void SetTransferable(Transferable&& value) { m_transferableHasBeenSet = true; m_transferable = std::move(value); }
inline DomainTransferability& WithTransferable(const Transferable& value) { SetTransferable(value); return *this;}
inline DomainTransferability& WithTransferable(Transferable&& value) { SetTransferable(std::move(value)); return *this;}
private:
Transferable m_transferable;
bool m_transferableHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
*/
class AWS_ROUTE53DOMAINS_API EnableDomainAutoRenewRequest : public Route53DomainsRequest
{
public:
EnableDomainAutoRenewRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "EnableDomainAutoRenew"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline EnableDomainAutoRenewRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline EnableDomainAutoRenewRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to enable automatic renewal for.</p>
*/
inline EnableDomainAutoRenewRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API EnableDomainAutoRenewResult
{
public:
EnableDomainAutoRenewResult();
EnableDomainAutoRenewResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
EnableDomainAutoRenewResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>A request to set the transfer lock for the specified domain.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLockRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API EnableDomainTransferLockRequest : public Route53DomainsRequest
{
public:
EnableDomainTransferLockRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "EnableDomainTransferLock"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline EnableDomainTransferLockRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline EnableDomainTransferLockRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to set the transfer lock for.</p>
*/
inline EnableDomainTransferLockRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The EnableDomainTransferLock response includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLockResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API EnableDomainTransferLockResult
{
public:
EnableDomainTransferLockResult();
EnableDomainTransferLockResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
EnableDomainTransferLockResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline EnableDomainTransferLockResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline EnableDomainTransferLockResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline EnableDomainTransferLockResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,993 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/model/ExtraParamName.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>ExtraParam includes the following elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ExtraParam">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ExtraParam
{
public:
ExtraParam();
ExtraParam(Aws::Utils::Json::JsonView jsonValue);
ExtraParam& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline const ExtraParamName& GetName() const{ return m_name; }
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline void SetName(const ExtraParamName& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline void SetName(ExtraParamName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline ExtraParam& WithName(const ExtraParamName& value) { SetName(value); return *this;}
/**
* <p>The name of an additional parameter that is required by a top-level domain.
* Here are the top-level domains that require additional parameters and the names
* of the parameters that they require:</p> <dl> <dt>.com.au and .net.au</dt> <dd>
* <ul> <li> <p> <code>AU_ID_NUMBER</code> </p> </li> <li> <p>
* <code>AU_ID_TYPE</code> </p> <p>Valid values include the following:</p> <ul>
* <li> <p> <code>ABN</code> (Australian business number)</p> </li> <li> <p>
* <code>ACN</code> (Australian company number)</p> </li> <li> <p> <code>TM</code>
* (Trademark number)</p> </li> </ul> </li> </ul> </dd> <dt>.ca</dt> <dd> <ul> <li>
* <p> <code>BRAND_NUMBER</code> </p> </li> <li> <p>
* <code>CA_BUSINESS_ENTITY_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>BANK</code> (Bank)</p> </li> <li> <p>
* <code>COMMERCIAL_COMPANY</code> (Commercial company)</p> </li> <li> <p>
* <code>COMPANY</code> (Company)</p> </li> <li> <p> <code>COOPERATION</code>
* (Cooperation)</p> </li> <li> <p> <code>COOPERATIVE</code> (Cooperative)</p>
* </li> <li> <p> <code>COOPRIX</code> (Cooprix)</p> </li> <li> <p>
* <code>CORP</code> (Corporation)</p> </li> <li> <p> <code>CREDIT_UNION</code>
* (Credit union)</p> </li> <li> <p> <code>FOMIA</code> (Federation of mutual
* insurance associations)</p> </li> <li> <p> <code>INC</code> (Incorporated)</p>
* </li> <li> <p> <code>LTD</code> (Limited)</p> </li> <li> <p> <code>LTEE</code>
* (Limitée)</p> </li> <li> <p> <code>LLC</code> (Limited liability
* corporation)</p> </li> <li> <p> <code>LLP</code> (Limited liability
* partnership)</p> </li> <li> <p> <code>LTE</code> (Lte.)</p> </li> <li> <p>
* <code>MBA</code> (Mutual benefit association)</p> </li> <li> <p>
* <code>MIC</code> (Mutual insurance company)</p> </li> <li> <p> <code>NFP</code>
* (Not-for-profit corporation)</p> </li> <li> <p> <code>SA</code> (S.A.)</p> </li>
* <li> <p> <code>SAVINGS_COMPANY</code> (Savings company)</p> </li> <li> <p>
* <code>SAVINGS_UNION</code> (Savings union)</p> </li> <li> <p> <code>SARL</code>
* (Société à responsabilité limitée)</p> </li> <li> <p> <code>TRUST</code>
* (Trust)</p> </li> <li> <p> <code>ULC</code> (Unlimited liability
* corporation)</p> </li> </ul> </li> <li> <p> <code>CA_LEGAL_TYPE</code> </p>
* <p>When <code>ContactType</code> is <code>PERSON</code>, valid values include
* the following:</p> <ul> <li> <p> <code>ABO</code> (Aboriginal Peoples indigenous
* to Canada)</p> </li> <li> <p> <code>CCT</code> (Canadian citizen)</p> </li> <li>
* <p> <code>LGR</code> (Legal Representative of a Canadian Citizen or Permanent
* Resident)</p> </li> <li> <p> <code>RES</code> (Permanent resident of Canada)</p>
* </li> </ul> <p>When <code>ContactType</code> is a value other than
* <code>PERSON</code>, valid values include the following:</p> <ul> <li> <p>
* <code>ASS</code> (Canadian unincorporated association)</p> </li> <li> <p>
* <code>CCO</code> (Canadian corporation)</p> </li> <li> <p> <code>EDU</code>
* (Canadian educational institution)</p> </li> <li> <p> <code>GOV</code>
* (Government or government entity in Canada)</p> </li> <li> <p> <code>HOP</code>
* (Canadian Hospital)</p> </li> <li> <p> <code>INB</code> (Indian Band recognized
* by the Indian Act of Canada)</p> </li> <li> <p> <code>LAM</code> (Canadian
* Library, Archive, or Museum)</p> </li> <li> <p> <code>MAJ</code> (Her/His
* Majesty the Queen/King)</p> </li> <li> <p> <code>OMK</code> (Official mark
* registered in Canada)</p> </li> <li> <p> <code>PLT</code> (Canadian Political
* Party)</p> </li> <li> <p> <code>PRT</code> (Partnership Registered in
* Canada)</p> </li> <li> <p> <code>TDM</code> (Trademark registered in Canada)</p>
* </li> <li> <p> <code>TRD</code> (Canadian Trade Union)</p> </li> <li> <p>
* <code>TRS</code> (Trust established in Canada)</p> </li> </ul> </li> </ul> </dd>
* <dt>.es</dt> <dd> <ul> <li> <p> <code>ES_IDENTIFICATION</code> </p> <p>Specify
* the applicable value:</p> <ul> <li> <p> <b>For contacts inside Spain:</b> Enter
* your passport ID.</p> </li> <li> <p> <b>For contacts outside of Spain:</b> Enter
* the VAT identification number for the company.</p> <p>For .es domains,
* the value of <code>ContactType</code> must be <code>PERSON</code>.</p>
* </li> </ul> </li> <li> <p> <code>ES_IDENTIFICATION_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>DNI_AND_NIF</code> (For
* Spanish contacts)</p> </li> <li> <p> <code>NIE</code> (For foreigners with legal
* residence)</p> </li> <li> <p> <code>OTHER</code> (For contacts outside of
* Spain)</p> </li> </ul> </li> <li> <p> <code>ES_LEGAL_FORM</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>ASSOCIATION</code> </p>
* </li> <li> <p> <code>CENTRAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>CIVIL_SOCIETY</code> </p> </li> <li> <p> <code>COMMUNITY_OF_OWNERS</code>
* </p> </li> <li> <p> <code>COMMUNITY_PROPERTY</code> </p> </li> <li> <p>
* <code>CONSULATE</code> </p> </li> <li> <p> <code>COOPERATIVE</code> </p> </li>
* <li> <p> <code>DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL</code> </p> </li> <li>
* <p> <code>ECONOMIC_INTEREST_GROUP</code> </p> </li> <li> <p>
* <code>EMBASSY</code> </p> </li> <li> <p>
* <code>ENTITY_MANAGING_NATURAL_AREAS</code> </p> </li> <li> <p>
* <code>FARM_PARTNERSHIP</code> </p> </li> <li> <p> <code>FOUNDATION</code> </p>
* </li> <li> <p> <code>GENERAL_AND_LIMITED_PARTNERSHIP</code> </p> </li> <li> <p>
* <code>GENERAL_PARTNERSHIP</code> </p> </li> <li> <p> <code>INDIVIDUAL</code>
* </p> </li> <li> <p> <code>LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>LOCAL_AUTHORITY</code> </p> </li> <li> <p>
* <code>LOCAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>MUTUAL_INSURANCE_COMPANY</code> </p> </li> <li> <p>
* <code>NATIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>ORDER_OR_RELIGIOUS_INSTITUTION</code> </p> </li> <li> <p> <code>OTHERS
* (Only for contacts outside of Spain)</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p>
* <code>PROFESSIONAL_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LAW_ASSOCIATION</code> </p> </li> <li> <p>
* <code>PUBLIC_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>REGIONAL_GOVERNMENT_BODY</code> </p> </li> <li> <p>
* <code>REGIONAL_PUBLIC_ENTITY</code> </p> </li> <li> <p>
* <code>SAVINGS_BANK</code> </p> </li> <li> <p> <code>SPANISH_OFFICE</code> </p>
* </li> <li> <p> <code>SPORTS_ASSOCIATION</code> </p> </li> <li> <p>
* <code>SPORTS_FEDERATION</code> </p> </li> <li> <p>
* <code>SPORTS_LIMITED_COMPANY</code> </p> </li> <li> <p>
* <code>TEMPORARY_ALLIANCE_OF_ENTERPRISES</code> </p> </li> <li> <p>
* <code>TRADE_UNION</code> </p> </li> <li> <p> <code>WORKER_OWNED_COMPANY</code>
* </p> </li> <li> <p> <code>WORKER_OWNED_LIMITED_COMPANY</code> </p> </li> </ul>
* </li> </ul> </dd> <dt>.fi</dt> <dd> <ul> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>FI_BUSINESS_NUMBER</code> </p> </li> <li> <p> <code>FI_ID_NUMBER</code>
* </p> </li> <li> <p> <code>FI_NATIONALITY</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>FINNISH</code> </p> </li> <li> <p>
* <code>NOT_FINNISH</code> </p> </li> </ul> </li> <li> <p>
* <code>FI_ORGANIZATION_TYPE</code> </p> <p>Valid values include the
* following:</p> <ul> <li> <p> <code>COMPANY</code> </p> </li> <li> <p>
* <code>CORPORATION</code> </p> </li> <li> <p> <code>GOVERNMENT</code> </p> </li>
* <li> <p> <code>INSTITUTION</code> </p> </li> <li> <p>
* <code>POLITICAL_PARTY</code> </p> </li> <li> <p> <code>PUBLIC_COMMUNITY</code>
* </p> </li> <li> <p> <code>TOWNSHIP</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.fr</dt> <dd> <ul> <li> <p> <code>BIRTH_CITY</code> </p> </li> <li> <p>
* <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li> <li> <p>
* <code>BIRTH_DEPARTMENT</code>: Specify the INSEE code that corresponds with the
* department where the contact was born. If the contact was born somewhere other
* than France or its overseas departments, specify <code>99</code>. For more
* information, including a list of departments and the corresponding INSEE
* numbers, see the Wikipedia entry <a
* href="https://en.wikipedia.org/wiki/Departments_of_France">Departments of
* France</a>.</p> </li> <li> <p> <code>BRAND_NUMBER</code> </p> </li> </ul> </dd>
* <dt>.it</dt> <dd> <ul> <li> <p> <code>IT_NATIONALITY</code> </p> </li> <li> <p>
* <code>IT_PIN</code> </p> </li> <li> <p> <code>IT_REGISTRANT_ENTITY_TYPE</code>
* </p> <p>Valid values include the following:</p> <ul> <li> <p>
* <code>FOREIGNERS</code> </p> </li> <li> <p> <code>FREELANCE_WORKERS</code>
* (Freelance workers and professionals)</p> </li> <li> <p>
* <code>ITALIAN_COMPANIES</code> (Italian companies and one-person companies)</p>
* </li> <li> <p> <code>NON_PROFIT_ORGANIZATIONS</code> </p> </li> <li> <p>
* <code>OTHER_SUBJECTS</code> </p> </li> <li> <p>
* <code>PUBLIC_ORGANIZATIONS</code> </p> </li> </ul> </li> </ul> </dd>
* <dt>.ru</dt> <dd> <ul> <li> <p> <code>BIRTH_DATE_IN_YYYY_MM_DD</code> </p> </li>
* <li> <p> <code>RU_PASSPORT_DATA</code> </p> </li> </ul> </dd> <dt>.se</dt> <dd>
* <ul> <li> <p> <code>BIRTH_COUNTRY</code> </p> </li> <li> <p>
* <code>SE_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.sg</dt> <dd> <ul> <li> <p>
* <code>SG_ID_NUMBER</code> </p> </li> </ul> </dd> <dt>.co.uk, .me.uk, and
* .org.uk</dt> <dd> <ul> <li> <p> <code>UK_CONTACT_TYPE</code> </p> <p>Valid
* values include the following:</p> <ul> <li> <p> <code>CRC</code> (UK Corporation
* by Royal Charter)</p> </li> <li> <p> <code>FCORP</code> (Non-UK Corporation)</p>
* </li> <li> <p> <code>FIND</code> (Non-UK Individual, representing self)</p>
* </li> <li> <p> <code>FOTHER</code> (Non-UK Entity that does not fit into any
* other category)</p> </li> <li> <p> <code>GOV</code> (UK Government Body)</p>
* </li> <li> <p> <code>IND</code> (UK Individual (representing self))</p> </li>
* <li> <p> <code>IP</code> (UK Industrial/Provident Registered Company)</p> </li>
* <li> <p> <code>LLP</code> (UK Limited Liability Partnership)</p> </li> <li> <p>
* <code>LTD</code> (UK Limited Company)</p> </li> <li> <p> <code>OTHER</code> (UK
* Entity that does not fit into any other category)</p> </li> <li> <p>
* <code>PLC</code> (UK Public Limited Company)</p> </li> <li> <p>
* <code>PTNR</code> (UK Partnership)</p> </li> <li> <p> <code>RCHAR</code> (UK
* Registered Charity)</p> </li> <li> <p> <code>SCH</code> (UK School)</p> </li>
* <li> <p> <code>STAT</code> (UK Statutory Body)</p> </li> <li> <p>
* <code>STRA</code> (UK Sole Trader)</p> </li> </ul> </li> <li> <p>
* <code>UK_COMPANY_NUMBER</code> </p> </li> </ul> </dd> </dl> <p>In addition, many
* TLDs require a <code>VAT_NUMBER</code>.</p>
*/
inline ExtraParam& WithName(ExtraParamName&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline ExtraParam& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline ExtraParam& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The value that corresponds with the name of an extra parameter.</p>
*/
inline ExtraParam& WithValue(const char* value) { SetValue(value); return *this;}
private:
ExtraParamName m_name;
bool m_nameHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,58 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class ExtraParamName
{
NOT_SET,
DUNS_NUMBER,
BRAND_NUMBER,
BIRTH_DEPARTMENT,
BIRTH_DATE_IN_YYYY_MM_DD,
BIRTH_COUNTRY,
BIRTH_CITY,
DOCUMENT_NUMBER,
AU_ID_NUMBER,
AU_ID_TYPE,
CA_LEGAL_TYPE,
CA_BUSINESS_ENTITY_TYPE,
CA_LEGAL_REPRESENTATIVE,
CA_LEGAL_REPRESENTATIVE_CAPACITY,
ES_IDENTIFICATION,
ES_IDENTIFICATION_TYPE,
ES_LEGAL_FORM,
FI_BUSINESS_NUMBER,
FI_ID_NUMBER,
FI_NATIONALITY,
FI_ORGANIZATION_TYPE,
IT_NATIONALITY,
IT_PIN,
IT_REGISTRANT_ENTITY_TYPE,
RU_PASSPORT_DATA,
SE_ID_NUMBER,
SG_ID_NUMBER,
VAT_NUMBER,
UK_CONTACT_TYPE,
UK_COMPANY_NUMBER
};
namespace ExtraParamNameMapper
{
AWS_ROUTE53DOMAINS_API ExtraParamName GetExtraParamNameForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForExtraParamName(ExtraParamName value);
} // namespace ExtraParamNameMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,93 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
*/
class AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusRequest : public Route53DomainsRequest
{
public:
GetContactReachabilityStatusRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetContactReachabilityStatus"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline GetContactReachabilityStatusRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline GetContactReachabilityStatusRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain for which you want to know whether the registrant
* contact has confirmed that the email address is valid.</p>
*/
inline GetContactReachabilityStatusRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,131 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/ReachabilityStatus.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusResult
{
public:
GetContactReachabilityStatusResult();
GetContactReachabilityStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetContactReachabilityStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline void SetDomainName(const char* value) { m_domainName.assign(value); }
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline GetContactReachabilityStatusResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline GetContactReachabilityStatusResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain name for which you requested the reachability status.</p>
*/
inline GetContactReachabilityStatusResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Whether the registrant contact has responded. Values include the
* following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
* haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
* email and got confirmation from the registrant contact.</p> </dd>
* <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
* responded.</p> </dd> </dl>
*/
inline const ReachabilityStatus& GetStatus() const{ return m_status; }
/**
* <p>Whether the registrant contact has responded. Values include the
* following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
* haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
* email and got confirmation from the registrant contact.</p> </dd>
* <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
* responded.</p> </dd> </dl>
*/
inline void SetStatus(const ReachabilityStatus& value) { m_status = value; }
/**
* <p>Whether the registrant contact has responded. Values include the
* following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
* haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
* email and got confirmation from the registrant contact.</p> </dd>
* <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
* responded.</p> </dd> </dl>
*/
inline void SetStatus(ReachabilityStatus&& value) { m_status = std::move(value); }
/**
* <p>Whether the registrant contact has responded. Values include the
* following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
* haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
* email and got confirmation from the registrant contact.</p> </dd>
* <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
* responded.</p> </dd> </dl>
*/
inline GetContactReachabilityStatusResult& WithStatus(const ReachabilityStatus& value) { SetStatus(value); return *this;}
/**
* <p>Whether the registrant contact has responded. Values include the
* following:</p> <dl> <dt>PENDING</dt> <dd> <p>We sent the confirmation email and
* haven't received a response yet.</p> </dd> <dt>DONE</dt> <dd> <p>We sent the
* email and got confirmation from the registrant contact.</p> </dd>
* <dt>EXPIRED</dt> <dd> <p>The time limit expired before the registrant contact
* responded.</p> </dd> </dl>
*/
inline GetContactReachabilityStatusResult& WithStatus(ReachabilityStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_domainName;
ReachabilityStatus m_status;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The GetDomainDetail request includes the following element.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API GetDomainDetailRequest : public Route53DomainsRequest
{
public:
GetDomainDetailRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetDomainDetail"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline GetDomainDetailRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline GetDomainDetailRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to get detailed information about.</p>
*/
inline GetDomainDetailRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,918 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/ContactDetail.h>
#include <aws/core/utils/DateTime.h>
#include <aws/route53domains/model/Nameserver.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The GetDomainDetail response includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetailResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API GetDomainDetailResult
{
public:
GetDomainDetailResult();
GetDomainDetailResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDomainDetailResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of a domain.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(const char* value) { m_domainName.assign(value); }
/**
* <p>The name of a domain.</p>
*/
inline GetDomainDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of a domain.</p>
*/
inline GetDomainDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of a domain.</p>
*/
inline GetDomainDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain.</p>
*/
inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
/**
* <p>The name of the domain.</p>
*/
inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameservers = value; }
/**
* <p>The name of the domain.</p>
*/
inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameservers = std::move(value); }
/**
* <p>The name of the domain.</p>
*/
inline GetDomainDetailResult& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;}
/**
* <p>The name of the domain.</p>
*/
inline GetDomainDetailResult& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
/**
* <p>The name of the domain.</p>
*/
inline GetDomainDetailResult& AddNameservers(const Nameserver& value) { m_nameservers.push_back(value); return *this; }
/**
* <p>The name of the domain.</p>
*/
inline GetDomainDetailResult& AddNameservers(Nameserver&& value) { m_nameservers.push_back(std::move(value)); return *this; }
/**
* <p>Specifies whether the domain registration is set to renew automatically.</p>
*/
inline bool GetAutoRenew() const{ return m_autoRenew; }
/**
* <p>Specifies whether the domain registration is set to renew automatically.</p>
*/
inline void SetAutoRenew(bool value) { m_autoRenew = value; }
/**
* <p>Specifies whether the domain registration is set to renew automatically.</p>
*/
inline GetDomainDetailResult& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
/**
* <p>Provides details about the domain administrative contact.</p>
*/
inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
/**
* <p>Provides details about the domain administrative contact.</p>
*/
inline void SetAdminContact(const ContactDetail& value) { m_adminContact = value; }
/**
* <p>Provides details about the domain administrative contact.</p>
*/
inline void SetAdminContact(ContactDetail&& value) { m_adminContact = std::move(value); }
/**
* <p>Provides details about the domain administrative contact.</p>
*/
inline GetDomainDetailResult& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
/**
* <p>Provides details about the domain administrative contact.</p>
*/
inline GetDomainDetailResult& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
/**
* <p>Provides details about the domain registrant.</p>
*/
inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
/**
* <p>Provides details about the domain registrant.</p>
*/
inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContact = value; }
/**
* <p>Provides details about the domain registrant.</p>
*/
inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContact = std::move(value); }
/**
* <p>Provides details about the domain registrant.</p>
*/
inline GetDomainDetailResult& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;}
/**
* <p>Provides details about the domain registrant.</p>
*/
inline GetDomainDetailResult& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
/**
* <p>Provides details about the domain technical contact.</p>
*/
inline const ContactDetail& GetTechContact() const{ return m_techContact; }
/**
* <p>Provides details about the domain technical contact.</p>
*/
inline void SetTechContact(const ContactDetail& value) { m_techContact = value; }
/**
* <p>Provides details about the domain technical contact.</p>
*/
inline void SetTechContact(ContactDetail&& value) { m_techContact = std::move(value); }
/**
* <p>Provides details about the domain technical contact.</p>
*/
inline GetDomainDetailResult& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
/**
* <p>Provides details about the domain technical contact.</p>
*/
inline GetDomainDetailResult& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline bool GetAdminPrivacy() const{ return m_adminPrivacy; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline void SetAdminPrivacy(bool value) { m_adminPrivacy = value; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline GetDomainDetailResult& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacy = value; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline GetDomainDetailResult& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;}
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline bool GetTechPrivacy() const{ return m_techPrivacy; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline void SetTechPrivacy(bool value) { m_techPrivacy = value; }
/**
* <p>Specifies whether contact information is concealed from WHOIS queries. If the
* value is <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If the value is
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline GetDomainDetailResult& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline const Aws::String& GetRegistrarName() const{ return m_registrarName; }
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline void SetRegistrarName(const Aws::String& value) { m_registrarName = value; }
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline void SetRegistrarName(Aws::String&& value) { m_registrarName = std::move(value); }
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline void SetRegistrarName(const char* value) { m_registrarName.assign(value); }
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline GetDomainDetailResult& WithRegistrarName(const Aws::String& value) { SetRegistrarName(value); return *this;}
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline GetDomainDetailResult& WithRegistrarName(Aws::String&& value) { SetRegistrarName(std::move(value)); return *this;}
/**
* <p>Name of the registrar of the domain as identified in the registry. Domains
* with a .com, .net, or .org TLD are registered by Amazon Registrar. All other
* domains are registered by our registrar associate, Gandi. The value for domains
* that are registered by Gandi is <code>"GANDI SAS"</code>. </p>
*/
inline GetDomainDetailResult& WithRegistrarName(const char* value) { SetRegistrarName(value); return *this;}
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline const Aws::String& GetWhoIsServer() const{ return m_whoIsServer; }
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline void SetWhoIsServer(const Aws::String& value) { m_whoIsServer = value; }
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline void SetWhoIsServer(Aws::String&& value) { m_whoIsServer = std::move(value); }
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline void SetWhoIsServer(const char* value) { m_whoIsServer.assign(value); }
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline GetDomainDetailResult& WithWhoIsServer(const Aws::String& value) { SetWhoIsServer(value); return *this;}
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline GetDomainDetailResult& WithWhoIsServer(Aws::String&& value) { SetWhoIsServer(std::move(value)); return *this;}
/**
* <p>The fully qualified name of the WHOIS server that can answer the WHOIS query
* for the domain.</p>
*/
inline GetDomainDetailResult& WithWhoIsServer(const char* value) { SetWhoIsServer(value); return *this;}
/**
* <p>Web address of the registrar.</p>
*/
inline const Aws::String& GetRegistrarUrl() const{ return m_registrarUrl; }
/**
* <p>Web address of the registrar.</p>
*/
inline void SetRegistrarUrl(const Aws::String& value) { m_registrarUrl = value; }
/**
* <p>Web address of the registrar.</p>
*/
inline void SetRegistrarUrl(Aws::String&& value) { m_registrarUrl = std::move(value); }
/**
* <p>Web address of the registrar.</p>
*/
inline void SetRegistrarUrl(const char* value) { m_registrarUrl.assign(value); }
/**
* <p>Web address of the registrar.</p>
*/
inline GetDomainDetailResult& WithRegistrarUrl(const Aws::String& value) { SetRegistrarUrl(value); return *this;}
/**
* <p>Web address of the registrar.</p>
*/
inline GetDomainDetailResult& WithRegistrarUrl(Aws::String&& value) { SetRegistrarUrl(std::move(value)); return *this;}
/**
* <p>Web address of the registrar.</p>
*/
inline GetDomainDetailResult& WithRegistrarUrl(const char* value) { SetRegistrarUrl(value); return *this;}
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline const Aws::String& GetAbuseContactEmail() const{ return m_abuseContactEmail; }
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline void SetAbuseContactEmail(const Aws::String& value) { m_abuseContactEmail = value; }
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline void SetAbuseContactEmail(Aws::String&& value) { m_abuseContactEmail = std::move(value); }
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline void SetAbuseContactEmail(const char* value) { m_abuseContactEmail.assign(value); }
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactEmail(const Aws::String& value) { SetAbuseContactEmail(value); return *this;}
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactEmail(Aws::String&& value) { SetAbuseContactEmail(std::move(value)); return *this;}
/**
* <p>Email address to contact to report incorrect contact information for a
* domain, to report that the domain is being used to send spam, to report that
* someone is cybersquatting on a domain name, or report some other type of
* abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactEmail(const char* value) { SetAbuseContactEmail(value); return *this;}
/**
* <p>Phone number for reporting abuse.</p>
*/
inline const Aws::String& GetAbuseContactPhone() const{ return m_abuseContactPhone; }
/**
* <p>Phone number for reporting abuse.</p>
*/
inline void SetAbuseContactPhone(const Aws::String& value) { m_abuseContactPhone = value; }
/**
* <p>Phone number for reporting abuse.</p>
*/
inline void SetAbuseContactPhone(Aws::String&& value) { m_abuseContactPhone = std::move(value); }
/**
* <p>Phone number for reporting abuse.</p>
*/
inline void SetAbuseContactPhone(const char* value) { m_abuseContactPhone.assign(value); }
/**
* <p>Phone number for reporting abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactPhone(const Aws::String& value) { SetAbuseContactPhone(value); return *this;}
/**
* <p>Phone number for reporting abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactPhone(Aws::String&& value) { SetAbuseContactPhone(std::move(value)); return *this;}
/**
* <p>Phone number for reporting abuse.</p>
*/
inline GetDomainDetailResult& WithAbuseContactPhone(const char* value) { SetAbuseContactPhone(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline const Aws::String& GetRegistryDomainId() const{ return m_registryDomainId; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetRegistryDomainId(const Aws::String& value) { m_registryDomainId = value; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetRegistryDomainId(Aws::String&& value) { m_registryDomainId = std::move(value); }
/**
* <p>Reserved for future use.</p>
*/
inline void SetRegistryDomainId(const char* value) { m_registryDomainId.assign(value); }
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithRegistryDomainId(const Aws::String& value) { SetRegistryDomainId(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithRegistryDomainId(Aws::String&& value) { SetRegistryDomainId(std::move(value)); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithRegistryDomainId(const char* value) { SetRegistryDomainId(value); return *this;}
/**
* <p>The date when the domain was created as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date when the domain was created as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
/**
* <p>The date when the domain was created as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
/**
* <p>The date when the domain was created as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline GetDomainDetailResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date when the domain was created as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline GetDomainDetailResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>The last updated date of the domain as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; }
/**
* <p>The last updated date of the domain as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDate = value; }
/**
* <p>The last updated date of the domain as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDate = std::move(value); }
/**
* <p>The last updated date of the domain as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline GetDomainDetailResult& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;}
/**
* <p>The last updated date of the domain as found in the response to a WHOIS
* query. The date and time is in Unix time format and Coordinated Universal time
* (UTC).</p>
*/
inline GetDomainDetailResult& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;}
/**
* <p>The date when the registration for the domain is set to expire. The date and
* time is in Unix time format and Coordinated Universal time (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; }
/**
* <p>The date when the registration for the domain is set to expire. The date and
* time is in Unix time format and Coordinated Universal time (UTC).</p>
*/
inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDate = value; }
/**
* <p>The date when the registration for the domain is set to expire. The date and
* time is in Unix time format and Coordinated Universal time (UTC).</p>
*/
inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDate = std::move(value); }
/**
* <p>The date when the registration for the domain is set to expire. The date and
* time is in Unix time format and Coordinated Universal time (UTC).</p>
*/
inline GetDomainDetailResult& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;}
/**
* <p>The date when the registration for the domain is set to expire. The date and
* time is in Unix time format and Coordinated Universal time (UTC).</p>
*/
inline GetDomainDetailResult& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;}
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline const Aws::String& GetReseller() const{ return m_reseller; }
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline void SetReseller(const Aws::String& value) { m_reseller = value; }
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline void SetReseller(Aws::String&& value) { m_reseller = std::move(value); }
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline void SetReseller(const char* value) { m_reseller.assign(value); }
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline GetDomainDetailResult& WithReseller(const Aws::String& value) { SetReseller(value); return *this;}
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline GetDomainDetailResult& WithReseller(Aws::String&& value) { SetReseller(std::move(value)); return *this;}
/**
* <p>Reseller of the domain. Domains registered or transferred using Route 53
* domains will have <code>"Amazon"</code> as the reseller. </p>
*/
inline GetDomainDetailResult& WithReseller(const char* value) { SetReseller(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline const Aws::String& GetDnsSec() const{ return m_dnsSec; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetDnsSec(const Aws::String& value) { m_dnsSec = value; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetDnsSec(Aws::String&& value) { m_dnsSec = std::move(value); }
/**
* <p>Reserved for future use.</p>
*/
inline void SetDnsSec(const char* value) { m_dnsSec.assign(value); }
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithDnsSec(const Aws::String& value) { SetDnsSec(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithDnsSec(Aws::String&& value) { SetDnsSec(std::move(value)); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline GetDomainDetailResult& WithDnsSec(const char* value) { SetDnsSec(value); return *this;}
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline const Aws::Vector<Aws::String>& GetStatusList() const{ return m_statusList; }
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline void SetStatusList(const Aws::Vector<Aws::String>& value) { m_statusList = value; }
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline void SetStatusList(Aws::Vector<Aws::String>&& value) { m_statusList = std::move(value); }
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline GetDomainDetailResult& WithStatusList(const Aws::Vector<Aws::String>& value) { SetStatusList(value); return *this;}
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline GetDomainDetailResult& WithStatusList(Aws::Vector<Aws::String>&& value) { SetStatusList(std::move(value)); return *this;}
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline GetDomainDetailResult& AddStatusList(const Aws::String& value) { m_statusList.push_back(value); return *this; }
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline GetDomainDetailResult& AddStatusList(Aws::String&& value) { m_statusList.push_back(std::move(value)); return *this; }
/**
* <p>An array of domain name status codes, also known as Extensible Provisioning
* Protocol (EPP) status codes.</p> <p>ICANN, the organization that maintains a
* central database of domain names, has developed a set of domain name status
* codes that tell you the status of a variety of operations on a domain name, for
* example, registering a domain name, transferring a domain name to another
* registrar, renewing the registration for a domain name, and so on. All
* registrars use this same set of status codes.</p> <p>For a current list of
* domain name status codes and an explanation of what each code means, go to the
* <a href="https://www.icann.org/">ICANN website</a> and search for <code>epp
* status codes</code>. (Search on the ICANN website; web searches sometimes return
* an old version of the document.)</p>
*/
inline GetDomainDetailResult& AddStatusList(const char* value) { m_statusList.push_back(value); return *this; }
private:
Aws::String m_domainName;
Aws::Vector<Nameserver> m_nameservers;
bool m_autoRenew;
ContactDetail m_adminContact;
ContactDetail m_registrantContact;
ContactDetail m_techContact;
bool m_adminPrivacy;
bool m_registrantPrivacy;
bool m_techPrivacy;
Aws::String m_registrarName;
Aws::String m_whoIsServer;
Aws::String m_registrarUrl;
Aws::String m_abuseContactEmail;
Aws::String m_abuseContactPhone;
Aws::String m_registryDomainId;
Aws::Utils::DateTime m_creationDate;
Aws::Utils::DateTime m_updatedDate;
Aws::Utils::DateTime m_expirationDate;
Aws::String m_reseller;
Aws::String m_dnsSec;
Aws::Vector<Aws::String> m_statusList;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,269 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
*/
class AWS_ROUTE53DOMAINS_API GetDomainSuggestionsRequest : public Route53DomainsRequest
{
public:
GetDomainSuggestionsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetDomainSuggestions"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline GetDomainSuggestionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline GetDomainSuggestionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>A domain name that you want to use as the basis for a list of possible domain
* names. The top-level domain (TLD), such as .com, must be a TLD that Route 53
* supports. For a list of supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. </p>
*/
inline GetDomainSuggestionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The number of suggested domain names that you want Route 53 to return.
* Specify a value between 1 and 50.</p>
*/
inline int GetSuggestionCount() const{ return m_suggestionCount; }
/**
* <p>The number of suggested domain names that you want Route 53 to return.
* Specify a value between 1 and 50.</p>
*/
inline bool SuggestionCountHasBeenSet() const { return m_suggestionCountHasBeenSet; }
/**
* <p>The number of suggested domain names that you want Route 53 to return.
* Specify a value between 1 and 50.</p>
*/
inline void SetSuggestionCount(int value) { m_suggestionCountHasBeenSet = true; m_suggestionCount = value; }
/**
* <p>The number of suggested domain names that you want Route 53 to return.
* Specify a value between 1 and 50.</p>
*/
inline GetDomainSuggestionsRequest& WithSuggestionCount(int value) { SetSuggestionCount(value); return *this;}
/**
* <p>If <code>OnlyAvailable</code> is <code>true</code>, Route 53 returns only
* domain names that are available. If <code>OnlyAvailable</code> is
* <code>false</code>, Route 53 returns domain names without checking whether
* they're available to be registered. To determine whether the domain is
* available, you can call <code>checkDomainAvailability</code> for each
* suggestion.</p>
*/
inline bool GetOnlyAvailable() const{ return m_onlyAvailable; }
/**
* <p>If <code>OnlyAvailable</code> is <code>true</code>, Route 53 returns only
* domain names that are available. If <code>OnlyAvailable</code> is
* <code>false</code>, Route 53 returns domain names without checking whether
* they're available to be registered. To determine whether the domain is
* available, you can call <code>checkDomainAvailability</code> for each
* suggestion.</p>
*/
inline bool OnlyAvailableHasBeenSet() const { return m_onlyAvailableHasBeenSet; }
/**
* <p>If <code>OnlyAvailable</code> is <code>true</code>, Route 53 returns only
* domain names that are available. If <code>OnlyAvailable</code> is
* <code>false</code>, Route 53 returns domain names without checking whether
* they're available to be registered. To determine whether the domain is
* available, you can call <code>checkDomainAvailability</code> for each
* suggestion.</p>
*/
inline void SetOnlyAvailable(bool value) { m_onlyAvailableHasBeenSet = true; m_onlyAvailable = value; }
/**
* <p>If <code>OnlyAvailable</code> is <code>true</code>, Route 53 returns only
* domain names that are available. If <code>OnlyAvailable</code> is
* <code>false</code>, Route 53 returns domain names without checking whether
* they're available to be registered. To determine whether the domain is
* available, you can call <code>checkDomainAvailability</code> for each
* suggestion.</p>
*/
inline GetDomainSuggestionsRequest& WithOnlyAvailable(bool value) { SetOnlyAvailable(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
int m_suggestionCount;
bool m_suggestionCountHasBeenSet;
bool m_onlyAvailable;
bool m_onlyAvailableHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,92 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/DomainSuggestion.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API GetDomainSuggestionsResult
{
public:
GetDomainSuggestionsResult();
GetDomainSuggestionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDomainSuggestionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline const Aws::Vector<DomainSuggestion>& GetSuggestionsList() const{ return m_suggestionsList; }
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline void SetSuggestionsList(const Aws::Vector<DomainSuggestion>& value) { m_suggestionsList = value; }
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline void SetSuggestionsList(Aws::Vector<DomainSuggestion>&& value) { m_suggestionsList = std::move(value); }
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline GetDomainSuggestionsResult& WithSuggestionsList(const Aws::Vector<DomainSuggestion>& value) { SetSuggestionsList(value); return *this;}
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline GetDomainSuggestionsResult& WithSuggestionsList(Aws::Vector<DomainSuggestion>&& value) { SetSuggestionsList(std::move(value)); return *this;}
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline GetDomainSuggestionsResult& AddSuggestionsList(const DomainSuggestion& value) { m_suggestionsList.push_back(value); return *this; }
/**
* <p>A list of possible domain names. If you specified <code>true</code> for
* <code>OnlyAvailable</code> in the request, the list contains only domains that
* are available for registration.</p>
*/
inline GetDomainSuggestionsResult& AddSuggestionsList(DomainSuggestion&& value) { m_suggestionsList.push_back(std::move(value)); return *this; }
private:
Aws::Vector<DomainSuggestion> m_suggestionsList;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,98 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>
* request includes the following element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API GetOperationDetailRequest : public Route53DomainsRequest
{
public:
GetOperationDetailRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "GetOperationDetail"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline GetOperationDetailRequest& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline GetOperationDetailRequest& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>The identifier for the operation for which you want to get the status. Route
* 53 returned the identifier in the response to the original request.</p>
*/
inline GetOperationDetailRequest& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
bool m_operationIdHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,246 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/OperationStatus.h>
#include <aws/route53domains/model/OperationType.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 Route53Domains
{
namespace Model
{
/**
* <p>The GetOperationDetail response includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetailResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API GetOperationDetailResult
{
public:
GetOperationDetailResult();
GetOperationDetailResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetOperationDetailResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The identifier for the operation.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>The identifier for the operation.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>The identifier for the operation.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>The identifier for the operation.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>The identifier for the operation.</p>
*/
inline GetOperationDetailResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>The identifier for the operation.</p>
*/
inline GetOperationDetailResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>The identifier for the operation.</p>
*/
inline GetOperationDetailResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline const OperationStatus& GetStatus() const{ return m_status; }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline void SetStatus(const OperationStatus& value) { m_status = value; }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline void SetStatus(OperationStatus&& value) { m_status = std::move(value); }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline GetOperationDetailResult& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline GetOperationDetailResult& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline const Aws::String& GetMessage() const{ return m_message; }
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline void SetMessage(const Aws::String& value) { m_message = value; }
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline void SetMessage(const char* value) { m_message.assign(value); }
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline GetOperationDetailResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline GetOperationDetailResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
/**
* <p>Detailed information on the status including possible errors.</p>
*/
inline GetOperationDetailResult& WithMessage(const char* value) { SetMessage(value); return *this;}
/**
* <p>The name of a domain.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
/**
* <p>The name of a domain.</p>
*/
inline void SetDomainName(const char* value) { m_domainName.assign(value); }
/**
* <p>The name of a domain.</p>
*/
inline GetOperationDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of a domain.</p>
*/
inline GetOperationDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of a domain.</p>
*/
inline GetOperationDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The type of operation that was requested.</p>
*/
inline const OperationType& GetType() const{ return m_type; }
/**
* <p>The type of operation that was requested.</p>
*/
inline void SetType(const OperationType& value) { m_type = value; }
/**
* <p>The type of operation that was requested.</p>
*/
inline void SetType(OperationType&& value) { m_type = std::move(value); }
/**
* <p>The type of operation that was requested.</p>
*/
inline GetOperationDetailResult& WithType(const OperationType& value) { SetType(value); return *this;}
/**
* <p>The type of operation that was requested.</p>
*/
inline GetOperationDetailResult& WithType(OperationType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The date when the request was submitted.</p>
*/
inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; }
/**
* <p>The date when the request was submitted.</p>
*/
inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDate = value; }
/**
* <p>The date when the request was submitted.</p>
*/
inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDate = std::move(value); }
/**
* <p>The date when the request was submitted.</p>
*/
inline GetOperationDetailResult& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;}
/**
* <p>The date when the request was submitted.</p>
*/
inline GetOperationDetailResult& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;}
private:
Aws::String m_operationId;
OperationStatus m_status;
Aws::String m_message;
Aws::String m_domainName;
OperationType m_type;
Aws::Utils::DateTime m_submittedDate;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,169 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListDomains request includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListDomainsRequest : public Route53DomainsRequest
{
public:
ListDomainsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListDomains"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline const Aws::String& GetMarker() const{ return m_marker; }
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline ListDomainsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline ListDomainsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
/**
* <p>For an initial request for a list of domains, omit this element. If the
* number of domains that are associated with the current AWS account is greater
* than the value that you specified for <code>MaxItems</code>, you can use
* <code>Marker</code> to return additional domains. Get the value of
* <code>NextPageMarker</code> from the previous response, and submit another
* request that includes the value of <code>NextPageMarker</code> in the
* <code>Marker</code> element.</p> <p>Constraints: The marker must match the value
* specified in the previous request.</p>
*/
inline ListDomainsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline int GetMaxItems() const{ return m_maxItems; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline ListDomainsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
private:
Aws::String m_marker;
bool m_markerHasBeenSet;
int m_maxItems;
bool m_maxItemsHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,137 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/DomainSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListDomains response includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomainsResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListDomainsResult
{
public:
ListDomainsResult();
ListDomainsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListDomainsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A summary of domains.</p>
*/
inline const Aws::Vector<DomainSummary>& GetDomains() const{ return m_domains; }
/**
* <p>A summary of domains.</p>
*/
inline void SetDomains(const Aws::Vector<DomainSummary>& value) { m_domains = value; }
/**
* <p>A summary of domains.</p>
*/
inline void SetDomains(Aws::Vector<DomainSummary>&& value) { m_domains = std::move(value); }
/**
* <p>A summary of domains.</p>
*/
inline ListDomainsResult& WithDomains(const Aws::Vector<DomainSummary>& value) { SetDomains(value); return *this;}
/**
* <p>A summary of domains.</p>
*/
inline ListDomainsResult& WithDomains(Aws::Vector<DomainSummary>&& value) { SetDomains(std::move(value)); return *this;}
/**
* <p>A summary of domains.</p>
*/
inline ListDomainsResult& AddDomains(const DomainSummary& value) { m_domains.push_back(value); return *this; }
/**
* <p>A summary of domains.</p>
*/
inline ListDomainsResult& AddDomains(DomainSummary&& value) { m_domains.push_back(std::move(value)); return *this; }
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; }
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const Aws::String& value) { m_nextPageMarker = value; }
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(Aws::String&& value) { m_nextPageMarker = std::move(value); }
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); }
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListDomainsResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;}
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListDomainsResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;}
/**
* <p>If there are more domains than you specified for <code>MaxItems</code> in the
* request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListDomainsResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;}
private:
Aws::Vector<DomainSummary> m_domains;
Aws::String m_nextPageMarker;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,200 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListOperations request includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListOperationsRequest : public Route53DomainsRequest
{
public:
ListOperationsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListOperations"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetSubmittedSince() const{ return m_submittedSince; }
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline bool SubmittedSinceHasBeenSet() const { return m_submittedSinceHasBeenSet; }
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline void SetSubmittedSince(const Aws::Utils::DateTime& value) { m_submittedSinceHasBeenSet = true; m_submittedSince = value; }
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline void SetSubmittedSince(Aws::Utils::DateTime&& value) { m_submittedSinceHasBeenSet = true; m_submittedSince = std::move(value); }
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline ListOperationsRequest& WithSubmittedSince(const Aws::Utils::DateTime& value) { SetSubmittedSince(value); return *this;}
/**
* <p>An optional parameter that lets you get information about all the operations
* that you submitted after a specified date and time. Specify the date and time in
* Unix time format and Coordinated Universal time (UTC).</p>
*/
inline ListOperationsRequest& WithSubmittedSince(Aws::Utils::DateTime&& value) { SetSubmittedSince(std::move(value)); return *this;}
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline const Aws::String& GetMarker() const{ return m_marker; }
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline ListOperationsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline ListOperationsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
/**
* <p>For an initial request for a list of operations, omit this element. If the
* number of operations that are not yet complete is greater than the value that
* you specified for <code>MaxItems</code>, you can use <code>Marker</code> to
* return additional operations. Get the value of <code>NextPageMarker</code> from
* the previous response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element.</p>
*/
inline ListOperationsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline int GetMaxItems() const{ return m_maxItems; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
/**
* <p>Number of domains to be returned.</p> <p>Default: 20</p>
*/
inline ListOperationsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
private:
Aws::Utils::DateTime m_submittedSince;
bool m_submittedSinceHasBeenSet;
Aws::String m_marker;
bool m_markerHasBeenSet;
int m_maxItems;
bool m_maxItemsHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,137 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/OperationSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListOperations response includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperationsResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListOperationsResult
{
public:
ListOperationsResult();
ListOperationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListOperationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Lists summaries of the operations.</p>
*/
inline const Aws::Vector<OperationSummary>& GetOperations() const{ return m_operations; }
/**
* <p>Lists summaries of the operations.</p>
*/
inline void SetOperations(const Aws::Vector<OperationSummary>& value) { m_operations = value; }
/**
* <p>Lists summaries of the operations.</p>
*/
inline void SetOperations(Aws::Vector<OperationSummary>&& value) { m_operations = std::move(value); }
/**
* <p>Lists summaries of the operations.</p>
*/
inline ListOperationsResult& WithOperations(const Aws::Vector<OperationSummary>& value) { SetOperations(value); return *this;}
/**
* <p>Lists summaries of the operations.</p>
*/
inline ListOperationsResult& WithOperations(Aws::Vector<OperationSummary>&& value) { SetOperations(std::move(value)); return *this;}
/**
* <p>Lists summaries of the operations.</p>
*/
inline ListOperationsResult& AddOperations(const OperationSummary& value) { m_operations.push_back(value); return *this; }
/**
* <p>Lists summaries of the operations.</p>
*/
inline ListOperationsResult& AddOperations(OperationSummary&& value) { m_operations.push_back(std::move(value)); return *this; }
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; }
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const Aws::String& value) { m_nextPageMarker = value; }
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(Aws::String&& value) { m_nextPageMarker = std::move(value); }
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); }
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListOperationsResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;}
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListOperationsResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;}
/**
* <p>If there are more operations than you specified for <code>MaxItems</code> in
* the request, submit another request and include the value of
* <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ListOperationsResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;}
private:
Aws::Vector<OperationSummary> m_operations;
Aws::String m_nextPageMarker;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListTagsForDomainRequest includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListTagsForDomainRequest : public Route53DomainsRequest
{
public:
ListTagsForDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListTagsForDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline ListTagsForDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline ListTagsForDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain for which you want to get a list of tags.</p>
*/
inline ListTagsForDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,84 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/Tag.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ListTagsForDomain response includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomainResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ListTagsForDomainResult
{
public:
ListTagsForDomainResult();
ListTagsForDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListTagsForDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagList = value; }
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagList = std::move(value); }
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline ListTagsForDomainResult& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline ListTagsForDomainResult& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline ListTagsForDomainResult& AddTagList(const Tag& value) { m_tagList.push_back(value); return *this; }
/**
* <p>A list of the tags that are associated with the specified domain.</p>
*/
inline ListTagsForDomainResult& AddTagList(Tag&& value) { m_tagList.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Tag> m_tagList;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,182 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>Nameserver includes the following elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Nameserver">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API Nameserver
{
public:
Nameserver();
Nameserver(Aws::Utils::Json::JsonView jsonValue);
Nameserver& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline Nameserver& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline Nameserver& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The fully qualified host name of the name server.</p> <p>Constraint: Maximum
* 255 characters</p>
*/
inline Nameserver& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline const Aws::Vector<Aws::String>& GetGlueIps() const{ return m_glueIps; }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline bool GlueIpsHasBeenSet() const { return m_glueIpsHasBeenSet; }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline void SetGlueIps(const Aws::Vector<Aws::String>& value) { m_glueIpsHasBeenSet = true; m_glueIps = value; }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline void SetGlueIps(Aws::Vector<Aws::String>&& value) { m_glueIpsHasBeenSet = true; m_glueIps = std::move(value); }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline Nameserver& WithGlueIps(const Aws::Vector<Aws::String>& value) { SetGlueIps(value); return *this;}
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline Nameserver& WithGlueIps(Aws::Vector<Aws::String>&& value) { SetGlueIps(std::move(value)); return *this;}
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline Nameserver& AddGlueIps(const Aws::String& value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(value); return *this; }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline Nameserver& AddGlueIps(Aws::String&& value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(std::move(value)); return *this; }
/**
* <p>Glue IP address of a name server entry. Glue IP addresses are required only
* when the name of the name server is a subdomain of the domain. For example, if
* your domain is example.com and the name server for the domain is ns.example.com,
* you need to specify the IP address for ns.example.com.</p> <p>Constraints: The
* list can contain only one IPv4 and one IPv6 address.</p>
*/
inline Nameserver& AddGlueIps(const char* value) { m_glueIpsHasBeenSet = true; m_glueIps.push_back(value); return *this; }
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Vector<Aws::String> m_glueIps;
bool m_glueIpsHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,34 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class OperationStatus
{
NOT_SET,
SUBMITTED,
IN_PROGRESS,
ERROR_,
SUCCESSFUL,
FAILED
};
namespace OperationStatusMapper
{
AWS_ROUTE53DOMAINS_API OperationStatus GetOperationStatusForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForOperationStatus(OperationStatus value);
} // namespace OperationStatusMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,194 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/OperationStatus.h>
#include <aws/route53domains/model/OperationType.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>OperationSummary includes the following elements.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/OperationSummary">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API OperationSummary
{
public:
OperationSummary();
OperationSummary(Aws::Utils::Json::JsonView jsonValue);
OperationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline OperationSummary& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline OperationSummary& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier returned to track the requested action.</p>
*/
inline OperationSummary& WithOperationId(const char* value) { SetOperationId(value); return *this;}
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline const OperationStatus& GetStatus() const{ return m_status; }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline void SetStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline void SetStatus(OperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline OperationSummary& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
/**
* <p>The current status of the requested operation in the system.</p>
*/
inline OperationSummary& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>Type of the action requested.</p>
*/
inline const OperationType& GetType() const{ return m_type; }
/**
* <p>Type of the action requested.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>Type of the action requested.</p>
*/
inline void SetType(const OperationType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>Type of the action requested.</p>
*/
inline void SetType(OperationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>Type of the action requested.</p>
*/
inline OperationSummary& WithType(const OperationType& value) { SetType(value); return *this;}
/**
* <p>Type of the action requested.</p>
*/
inline OperationSummary& WithType(OperationType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The date when the request was submitted.</p>
*/
inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; }
/**
* <p>The date when the request was submitted.</p>
*/
inline bool SubmittedDateHasBeenSet() const { return m_submittedDateHasBeenSet; }
/**
* <p>The date when the request was submitted.</p>
*/
inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDateHasBeenSet = true; m_submittedDate = value; }
/**
* <p>The date when the request was submitted.</p>
*/
inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDateHasBeenSet = true; m_submittedDate = std::move(value); }
/**
* <p>The date when the request was submitted.</p>
*/
inline OperationSummary& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;}
/**
* <p>The date when the request was submitted.</p>
*/
inline OperationSummary& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;}
private:
Aws::String m_operationId;
bool m_operationIdHasBeenSet;
OperationStatus m_status;
bool m_statusHasBeenSet;
OperationType m_type;
bool m_typeHasBeenSet;
Aws::Utils::DateTime m_submittedDate;
bool m_submittedDateHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,47 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class OperationType
{
NOT_SET,
REGISTER_DOMAIN,
DELETE_DOMAIN,
TRANSFER_IN_DOMAIN,
UPDATE_DOMAIN_CONTACT,
UPDATE_NAMESERVER,
CHANGE_PRIVACY_PROTECTION,
DOMAIN_LOCK,
ENABLE_AUTORENEW,
DISABLE_AUTORENEW,
ADD_DNSSEC,
REMOVE_DNSSEC,
EXPIRE_DOMAIN,
TRANSFER_OUT_DOMAIN,
CHANGE_DOMAIN_OWNER,
RENEW_DOMAIN,
PUSH_DOMAIN,
INTERNAL_TRANSFER_OUT_DOMAIN,
INTERNAL_TRANSFER_IN_DOMAIN
};
namespace OperationTypeMapper
{
AWS_ROUTE53DOMAINS_API OperationType GetOperationTypeForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForOperationType(OperationType value);
} // namespace OperationTypeMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class ReachabilityStatus
{
NOT_SET,
PENDING,
DONE,
EXPIRED
};
namespace ReachabilityStatusMapper
{
AWS_ROUTE53DOMAINS_API ReachabilityStatus GetReachabilityStatusForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForReachabilityStatus(ReachabilityStatus value);
} // namespace ReachabilityStatusMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,612 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/ContactDetail.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The RegisterDomain request includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RegisterDomainRequest : public Route53DomainsRequest
{
public:
RegisterDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RegisterDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline RegisterDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline RegisterDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain name that you want to register. The top-level domain (TLD), such
* as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul> <p>Internationalized domain names are
* not supported for some top-level domains. To determine whether the TLD that you
* want to use supports internationalized domain names, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a>. For more information, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns">Formatting
* Internationalized Domain Names</a>. </p>
*/
inline RegisterDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; }
/**
* <p>Reserved for future use.</p>
*/
inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); }
/**
* <p>Reserved for future use.</p>
*/
inline RegisterDomainRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline RegisterDomainRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline RegisterDomainRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;}
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain. For the range of valid values for your domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline int GetDurationInYears() const{ return m_durationInYears; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain. For the range of valid values for your domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain. For the range of valid values for your domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain. For the range of valid values for your domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline RegisterDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;}
/**
* <p>Indicates whether the domain will be automatically renewed
* (<code>true</code>) or not (<code>false</code>). Autorenewal only takes effect
* after the account is charged.</p> <p>Default: <code>true</code> </p>
*/
inline bool GetAutoRenew() const{ return m_autoRenew; }
/**
* <p>Indicates whether the domain will be automatically renewed
* (<code>true</code>) or not (<code>false</code>). Autorenewal only takes effect
* after the account is charged.</p> <p>Default: <code>true</code> </p>
*/
inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
/**
* <p>Indicates whether the domain will be automatically renewed
* (<code>true</code>) or not (<code>false</code>). Autorenewal only takes effect
* after the account is charged.</p> <p>Default: <code>true</code> </p>
*/
inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
/**
* <p>Indicates whether the domain will be automatically renewed
* (<code>true</code>) or not (<code>false</code>). Autorenewal only takes effect
* after the account is charged.</p> <p>Default: <code>true</code> </p>
*/
inline RegisterDomainRequest& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline const ContactDetail& GetTechContact() const{ return m_techContact; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
/**
* <p>Provides detailed contact information. For information about the values that
* you specify for each element, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html">ContactDetail</a>.</p>
*/
inline RegisterDomainRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool GetPrivacyProtectAdminContact() const{ return m_privacyProtectAdminContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool PrivacyProtectAdminContactHasBeenSet() const { return m_privacyProtectAdminContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline void SetPrivacyProtectAdminContact(bool value) { m_privacyProtectAdminContactHasBeenSet = true; m_privacyProtectAdminContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline RegisterDomainRequest& WithPrivacyProtectAdminContact(bool value) { SetPrivacyProtectAdminContact(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (the domain owner).</p> <p>Default: <code>true</code>
* </p>
*/
inline bool GetPrivacyProtectRegistrantContact() const{ return m_privacyProtectRegistrantContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (the domain owner).</p> <p>Default: <code>true</code>
* </p>
*/
inline bool PrivacyProtectRegistrantContactHasBeenSet() const { return m_privacyProtectRegistrantContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (the domain owner).</p> <p>Default: <code>true</code>
* </p>
*/
inline void SetPrivacyProtectRegistrantContact(bool value) { m_privacyProtectRegistrantContactHasBeenSet = true; m_privacyProtectRegistrantContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (the domain owner).</p> <p>Default: <code>true</code>
* </p>
*/
inline RegisterDomainRequest& WithPrivacyProtectRegistrantContact(bool value) { SetPrivacyProtectRegistrantContact(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool GetPrivacyProtectTechContact() const{ return m_privacyProtectTechContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool PrivacyProtectTechContactHasBeenSet() const { return m_privacyProtectTechContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline void SetPrivacyProtectTechContact(bool value) { m_privacyProtectTechContactHasBeenSet = true; m_privacyProtectTechContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline RegisterDomainRequest& WithPrivacyProtectTechContact(bool value) { SetPrivacyProtectTechContact(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_idnLangCode;
bool m_idnLangCodeHasBeenSet;
int m_durationInYears;
bool m_durationInYearsHasBeenSet;
bool m_autoRenew;
bool m_autoRenewHasBeenSet;
ContactDetail m_adminContact;
bool m_adminContactHasBeenSet;
ContactDetail m_registrantContact;
bool m_registrantContactHasBeenSet;
ContactDetail m_techContact;
bool m_techContactHasBeenSet;
bool m_privacyProtectAdminContact;
bool m_privacyProtectAdminContactHasBeenSet;
bool m_privacyProtectRegistrantContact;
bool m_privacyProtectRegistrantContactHasBeenSet;
bool m_privacyProtectTechContact;
bool m_privacyProtectTechContactHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The RegisterDomain response includes the following element.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomainResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RegisterDomainResult
{
public:
RegisterDomainResult();
RegisterDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RegisterDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RegisterDomainResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RegisterDomainResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RegisterDomainResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,113 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The RejectDomainTransferFromAnotherAwsAccount request includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RejectDomainTransferFromAnotherAwsAccountRequest : public Route53DomainsRequest
{
public:
RejectDomainTransferFromAnotherAwsAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RejectDomainTransferFromAnotherAwsAccount"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline RejectDomainTransferFromAnotherAwsAccountRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline RejectDomainTransferFromAnotherAwsAccountRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that was specified when another AWS account submitted
* a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html">TransferDomainToAnotherAwsAccount</a>
* request. </p>
*/
inline RejectDomainTransferFromAnotherAwsAccountRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,104 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The RejectDomainTransferFromAnotherAwsAccount response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RejectDomainTransferFromAnotherAwsAccountResult
{
public:
RejectDomainTransferFromAnotherAwsAccountResult();
RejectDomainTransferFromAnotherAwsAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RejectDomainTransferFromAnotherAwsAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline RejectDomainTransferFromAnotherAwsAccountResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline RejectDomainTransferFromAnotherAwsAccountResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> returned
* to track the progress of the request. Because the transfer request was rejected,
* the value is no longer valid, and you can't use <code>GetOperationDetail</code>
* to query the operation status.</p>
*/
inline RejectDomainTransferFromAnotherAwsAccountResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,161 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>A <code>RenewDomain</code> request includes the number of years that you want
* to renew for and the current expiration year.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RenewDomainRequest : public Route53DomainsRequest
{
public:
RenewDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RenewDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline RenewDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline RenewDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to renew.</p>
*/
inline RenewDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The number of years that you want to renew the domain for. The maximum number
* of years depends on the top-level domain. For the range of valid values for your
* domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline int GetDurationInYears() const{ return m_durationInYears; }
/**
* <p>The number of years that you want to renew the domain for. The maximum number
* of years depends on the top-level domain. For the range of valid values for your
* domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; }
/**
* <p>The number of years that you want to renew the domain for. The maximum number
* of years depends on the top-level domain. For the range of valid values for your
* domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; }
/**
* <p>The number of years that you want to renew the domain for. The maximum number
* of years depends on the top-level domain. For the range of valid values for your
* domain, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>Default: 1</p>
*/
inline RenewDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;}
/**
* <p>The year when the registration for the domain is set to expire. This value
* must match the current expiration date for the domain.</p>
*/
inline int GetCurrentExpiryYear() const{ return m_currentExpiryYear; }
/**
* <p>The year when the registration for the domain is set to expire. This value
* must match the current expiration date for the domain.</p>
*/
inline bool CurrentExpiryYearHasBeenSet() const { return m_currentExpiryYearHasBeenSet; }
/**
* <p>The year when the registration for the domain is set to expire. This value
* must match the current expiration date for the domain.</p>
*/
inline void SetCurrentExpiryYear(int value) { m_currentExpiryYearHasBeenSet = true; m_currentExpiryYear = value; }
/**
* <p>The year when the registration for the domain is set to expire. This value
* must match the current expiration date for the domain.</p>
*/
inline RenewDomainRequest& WithCurrentExpiryYear(int value) { SetCurrentExpiryYear(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
int m_durationInYears;
bool m_durationInYearsHasBeenSet;
int m_currentExpiryYear;
bool m_currentExpiryYearHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API RenewDomainResult
{
public:
RenewDomainResult();
RenewDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RenewDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RenewDomainResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RenewDomainResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline RenewDomainResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,93 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
*/
class AWS_ROUTE53DOMAINS_API ResendContactReachabilityEmailRequest : public Route53DomainsRequest
{
public:
ResendContactReachabilityEmailRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ResendContactReachabilityEmail"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline ResendContactReachabilityEmailRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline ResendContactReachabilityEmailRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain for which you want Route 53 to resend a confirmation
* email to the registrant contact.</p>
*/
inline ResendContactReachabilityEmailRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,146 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API ResendContactReachabilityEmailResult
{
public:
ResendContactReachabilityEmailResult();
ResendContactReachabilityEmailResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ResendContactReachabilityEmailResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline void SetDomainName(const char* value) { m_domainName.assign(value); }
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline ResendContactReachabilityEmailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline ResendContactReachabilityEmailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain name for which you requested a confirmation email.</p>
*/
inline ResendContactReachabilityEmailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline void SetEmailAddress(const Aws::String& value) { m_emailAddress = value; }
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline void SetEmailAddress(Aws::String&& value) { m_emailAddress = std::move(value); }
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline void SetEmailAddress(const char* value) { m_emailAddress.assign(value); }
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline ResendContactReachabilityEmailResult& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline ResendContactReachabilityEmailResult& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
/**
* <p>The email address for the registrant contact at the time that we sent the
* verification email.</p>
*/
inline ResendContactReachabilityEmailResult& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
/**
* <p> <code>True</code> if the email address for the registrant contact has
* already been verified, and <code>false</code> otherwise. If the email address
* has already been verified, we don't send another confirmation email.</p>
*/
inline bool GetIsAlreadyVerified() const{ return m_isAlreadyVerified; }
/**
* <p> <code>True</code> if the email address for the registrant contact has
* already been verified, and <code>false</code> otherwise. If the email address
* has already been verified, we don't send another confirmation email.</p>
*/
inline void SetIsAlreadyVerified(bool value) { m_isAlreadyVerified = value; }
/**
* <p> <code>True</code> if the email address for the registrant contact has
* already been verified, and <code>false</code> otherwise. If the email address
* has already been verified, we don't send another confirmation email.</p>
*/
inline ResendContactReachabilityEmailResult& WithIsAlreadyVerified(bool value) { SetIsAlreadyVerified(value); return *this;}
private:
Aws::String m_domainName;
Aws::String m_emailAddress;
bool m_isAlreadyVerified;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>A request for the authorization code for the specified domain. To transfer a
* domain to another registrar, you provide this value to the new
* registrar.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RetrieveDomainAuthCodeRequest : public Route53DomainsRequest
{
public:
RetrieveDomainAuthCodeRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "RetrieveDomainAuthCode"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline RetrieveDomainAuthCodeRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline RetrieveDomainAuthCodeRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to get an authorization code for.</p>
*/
inline RetrieveDomainAuthCodeRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The RetrieveDomainAuthCode response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCodeResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API RetrieveDomainAuthCodeResult
{
public:
RetrieveDomainAuthCodeResult();
RetrieveDomainAuthCodeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
RetrieveDomainAuthCodeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The authorization code for the domain.</p>
*/
inline const Aws::String& GetAuthCode() const{ return m_authCode; }
/**
* <p>The authorization code for the domain.</p>
*/
inline void SetAuthCode(const Aws::String& value) { m_authCode = value; }
/**
* <p>The authorization code for the domain.</p>
*/
inline void SetAuthCode(Aws::String&& value) { m_authCode = std::move(value); }
/**
* <p>The authorization code for the domain.</p>
*/
inline void SetAuthCode(const char* value) { m_authCode.assign(value); }
/**
* <p>The authorization code for the domain.</p>
*/
inline RetrieveDomainAuthCodeResult& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
/**
* <p>The authorization code for the domain.</p>
*/
inline RetrieveDomainAuthCodeResult& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
/**
* <p>The authorization code for the domain.</p>
*/
inline RetrieveDomainAuthCodeResult& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
private:
Aws::String m_authCode;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>Each tag includes the following elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/Tag">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API Tag
{
public:
Tag();
Tag(Aws::Utils::Json::JsonView jsonValue);
Tag& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline const Aws::String& GetKey() const{ return m_key; }
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;}
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
/**
* <p>The key (name) of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space,
* ".:/=+\-@"</p> <p>Constraints: Each key can be 1-128 characters long.</p>
*/
inline Tag& WithKey(const char* value) { SetKey(value); return *this;}
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The value of a tag.</p> <p>Valid values: A-Z, a-z, 0-9, space, ".:/=+\-@"</p>
* <p>Constraints: Each value can be 0-256 characters long.</p>
*/
inline Tag& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_key;
bool m_keyHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,610 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/ContactDetail.h>
#include <aws/route53domains/model/Nameserver.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The TransferDomain request includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API TransferDomainRequest : public Route53DomainsRequest
{
public:
TransferDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "TransferDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline TransferDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline TransferDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to transfer to Route 53. The top-level
* domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of
* supported TLDs, see <a
* href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html">Domains
* that You Can Register with Amazon Route 53</a> in the <i>Amazon Route 53
* Developer Guide</i>.</p> <p>The domain name can contain only the following
* characters:</p> <ul> <li> <p>Letters a through z. Domain names are not case
* sensitive.</p> </li> <li> <p>Numbers 0 through 9.</p> </li> <li> <p>Hyphen (-).
* You can't specify a hyphen at the beginning or end of a label. </p> </li> <li>
* <p>Period (.) to separate the labels in the name, such as the <code>.</code> in
* <code>example.com</code>.</p> </li> </ul>
*/
inline TransferDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline const Aws::String& GetIdnLangCode() const{ return m_idnLangCode; }
/**
* <p>Reserved for future use.</p>
*/
inline bool IdnLangCodeHasBeenSet() const { return m_idnLangCodeHasBeenSet; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const Aws::String& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = value; }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(Aws::String&& value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode = std::move(value); }
/**
* <p>Reserved for future use.</p>
*/
inline void SetIdnLangCode(const char* value) { m_idnLangCodeHasBeenSet = true; m_idnLangCode.assign(value); }
/**
* <p>Reserved for future use.</p>
*/
inline TransferDomainRequest& WithIdnLangCode(const Aws::String& value) { SetIdnLangCode(value); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline TransferDomainRequest& WithIdnLangCode(Aws::String&& value) { SetIdnLangCode(std::move(value)); return *this;}
/**
* <p>Reserved for future use.</p>
*/
inline TransferDomainRequest& WithIdnLangCode(const char* value) { SetIdnLangCode(value); return *this;}
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain.</p> <p>Default: 1</p>
*/
inline int GetDurationInYears() const{ return m_durationInYears; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain.</p> <p>Default: 1</p>
*/
inline bool DurationInYearsHasBeenSet() const { return m_durationInYearsHasBeenSet; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain.</p> <p>Default: 1</p>
*/
inline void SetDurationInYears(int value) { m_durationInYearsHasBeenSet = true; m_durationInYears = value; }
/**
* <p>The number of years that you want to register the domain for. Domains are
* registered for a minimum of one year. The maximum period depends on the
* top-level domain.</p> <p>Default: 1</p>
*/
inline TransferDomainRequest& WithDurationInYears(int value) { SetDurationInYears(value); return *this;}
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; }
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::move(value); }
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline TransferDomainRequest& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;}
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline TransferDomainRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline TransferDomainRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
/**
* <p>Contains details for the host and glue IP addresses.</p>
*/
inline TransferDomainRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline const Aws::String& GetAuthCode() const{ return m_authCode; }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); }
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline TransferDomainRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline TransferDomainRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
/**
* <p>The authorization code for the domain. You get this value from the current
* registrar.</p>
*/
inline TransferDomainRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
/**
* <p>Indicates whether the domain will be automatically renewed (true) or not
* (false). Autorenewal only takes effect after the account is charged.</p>
* <p>Default: true</p>
*/
inline bool GetAutoRenew() const{ return m_autoRenew; }
/**
* <p>Indicates whether the domain will be automatically renewed (true) or not
* (false). Autorenewal only takes effect after the account is charged.</p>
* <p>Default: true</p>
*/
inline bool AutoRenewHasBeenSet() const { return m_autoRenewHasBeenSet; }
/**
* <p>Indicates whether the domain will be automatically renewed (true) or not
* (false). Autorenewal only takes effect after the account is charged.</p>
* <p>Default: true</p>
*/
inline void SetAutoRenew(bool value) { m_autoRenewHasBeenSet = true; m_autoRenew = value; }
/**
* <p>Indicates whether the domain will be automatically renewed (true) or not
* (false). Autorenewal only takes effect after the account is charged.</p>
* <p>Default: true</p>
*/
inline TransferDomainRequest& WithAutoRenew(bool value) { SetAutoRenew(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetTechContact() const{ return m_techContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline TransferDomainRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool GetPrivacyProtectAdminContact() const{ return m_privacyProtectAdminContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool PrivacyProtectAdminContactHasBeenSet() const { return m_privacyProtectAdminContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline void SetPrivacyProtectAdminContact(bool value) { m_privacyProtectAdminContactHasBeenSet = true; m_privacyProtectAdminContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p> <p>Default: <code>true</code> </p>
*/
inline TransferDomainRequest& WithPrivacyProtectAdminContact(bool value) { SetPrivacyProtectAdminContact(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p>
*/
inline bool GetPrivacyProtectRegistrantContact() const{ return m_privacyProtectRegistrantContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p>
*/
inline bool PrivacyProtectRegistrantContactHasBeenSet() const { return m_privacyProtectRegistrantContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p>
*/
inline void SetPrivacyProtectRegistrantContact(bool value) { m_privacyProtectRegistrantContactHasBeenSet = true; m_privacyProtectRegistrantContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p> <p>Default: <code>true</code> </p>
*/
inline TransferDomainRequest& WithPrivacyProtectRegistrantContact(bool value) { SetPrivacyProtectRegistrantContact(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool GetPrivacyProtectTechContact() const{ return m_privacyProtectTechContact; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline bool PrivacyProtectTechContactHasBeenSet() const { return m_privacyProtectTechContactHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline void SetPrivacyProtectTechContact(bool value) { m_privacyProtectTechContactHasBeenSet = true; m_privacyProtectTechContact = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p> <p>Default: <code>true</code> </p>
*/
inline TransferDomainRequest& WithPrivacyProtectTechContact(bool value) { SetPrivacyProtectTechContact(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_idnLangCode;
bool m_idnLangCodeHasBeenSet;
int m_durationInYears;
bool m_durationInYearsHasBeenSet;
Aws::Vector<Nameserver> m_nameservers;
bool m_nameserversHasBeenSet;
Aws::String m_authCode;
bool m_authCodeHasBeenSet;
bool m_autoRenew;
bool m_autoRenewHasBeenSet;
ContactDetail m_adminContact;
bool m_adminContactHasBeenSet;
ContactDetail m_registrantContact;
bool m_registrantContactHasBeenSet;
ContactDetail m_techContact;
bool m_techContactHasBeenSet;
bool m_privacyProtectAdminContact;
bool m_privacyProtectAdminContactHasBeenSet;
bool m_privacyProtectRegistrantContact;
bool m_privacyProtectRegistrantContactHasBeenSet;
bool m_privacyProtectTechContact;
bool m_privacyProtectTechContactHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The TransferDomain response includes the following element.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API TransferDomainResult
{
public:
TransferDomainResult();
TransferDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
TransferDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The TransferDomainToAnotherAwsAccount request includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API TransferDomainToAnotherAwsAccountRequest : public Route53DomainsRequest
{
public:
TransferDomainToAnotherAwsAccountRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "TransferDomainToAnotherAwsAccount"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to transfer from the current AWS account
* to another account.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The account ID of the AWS account that you want to transfer the domain to,
* for example, <code>111122223333</code>.</p>
*/
inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,170 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The <code>TransferDomainToAnotherAwsAccount</code> response includes the
* following elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API TransferDomainToAnotherAwsAccountResult
{
public:
TransferDomainToAnotherAwsAccountResult();
TransferDomainToAnotherAwsAccountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
TransferDomainToAnotherAwsAccountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline const Aws::String& GetPassword() const{ return m_password; }
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline void SetPassword(const Aws::String& value) { m_password = value; }
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline void SetPassword(Aws::String&& value) { m_password = std::move(value); }
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline void SetPassword(const char* value) { m_password.assign(value); }
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
/**
* <p>To finish transferring a domain to another AWS account, the account that the
* domain is being transferred to must submit an <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a>
* request. The request must include the value of the <code>Password</code> element
* that was returned in the <code>TransferDomainToAnotherAwsAccount</code>
* response.</p>
*/
inline TransferDomainToAnotherAwsAccountResult& WithPassword(const char* value) { SetPassword(value); return *this;}
private:
Aws::String m_operationId;
Aws::String m_password;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
enum class Transferable
{
NOT_SET,
TRANSFERABLE,
UNTRANSFERABLE,
DONT_KNOW
};
namespace TransferableMapper
{
AWS_ROUTE53DOMAINS_API Transferable GetTransferableForName(const Aws::String& name);
AWS_ROUTE53DOMAINS_API Aws::String GetNameForTransferable(Transferable value);
} // namespace TransferableMapper
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,221 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateDomainContactPrivacy request includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyRequest : public Route53DomainsRequest
{
public:
UpdateDomainContactPrivacyRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContactPrivacy"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline UpdateDomainContactPrivacyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline UpdateDomainContactPrivacyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to update the privacy setting for.</p>
*/
inline UpdateDomainContactPrivacyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline bool GetAdminPrivacy() const{ return m_adminPrivacy; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline bool AdminPrivacyHasBeenSet() const { return m_adminPrivacyHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline void SetAdminPrivacy(bool value) { m_adminPrivacyHasBeenSet = true; m_adminPrivacy = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the admin contact.</p>
*/
inline UpdateDomainContactPrivacyRequest& WithAdminPrivacy(bool value) { SetAdminPrivacy(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline bool GetRegistrantPrivacy() const{ return m_registrantPrivacy; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline bool RegistrantPrivacyHasBeenSet() const { return m_registrantPrivacyHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline void SetRegistrantPrivacy(bool value) { m_registrantPrivacyHasBeenSet = true; m_registrantPrivacy = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the registrant contact (domain owner).</p>
*/
inline UpdateDomainContactPrivacyRequest& WithRegistrantPrivacy(bool value) { SetRegistrantPrivacy(value); return *this;}
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline bool GetTechPrivacy() const{ return m_techPrivacy; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline bool TechPrivacyHasBeenSet() const { return m_techPrivacyHasBeenSet; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline void SetTechPrivacy(bool value) { m_techPrivacyHasBeenSet = true; m_techPrivacy = value; }
/**
* <p>Whether you want to conceal contact information from WHOIS queries. If you
* specify <code>true</code>, WHOIS ("who is") queries return contact information
* either for Amazon Registrar (for .com, .net, and .org domains) or for our
* registrar associate, Gandi (for all other TLDs). If you specify
* <code>false</code>, WHOIS queries return the information that you entered for
* the technical contact.</p>
*/
inline UpdateDomainContactPrivacyRequest& WithTechPrivacy(bool value) { SetTechPrivacy(value); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
bool m_adminPrivacy;
bool m_adminPrivacyHasBeenSet;
bool m_registrantPrivacy;
bool m_registrantPrivacyHasBeenSet;
bool m_techPrivacy;
bool m_techPrivacyHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateDomainContactPrivacy response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacyResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainContactPrivacyResult
{
public:
UpdateDomainContactPrivacyResult();
UpdateDomainContactPrivacyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateDomainContactPrivacyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline UpdateDomainContactPrivacyResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline UpdateDomainContactPrivacyResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To use this ID to query
* the operation status, use GetOperationDetail.</p>
*/
inline UpdateDomainContactPrivacyResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,192 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53domains/model/ContactDetail.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateDomainContact request includes the following
* elements.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainContactRequest : public Route53DomainsRequest
{
public:
UpdateDomainContactRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainContact"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline UpdateDomainContactRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline UpdateDomainContactRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to update contact information for.</p>
*/
inline UpdateDomainContactRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetAdminContact() const{ return m_adminContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool AdminContactHasBeenSet() const { return m_adminContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetAdminContact(const ContactDetail& value) { m_adminContactHasBeenSet = true; m_adminContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetAdminContact(ContactDetail&& value) { m_adminContactHasBeenSet = true; m_adminContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithAdminContact(const ContactDetail& value) { SetAdminContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithAdminContact(ContactDetail&& value) { SetAdminContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetRegistrantContact() const{ return m_registrantContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool RegistrantContactHasBeenSet() const { return m_registrantContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetRegistrantContact(const ContactDetail& value) { m_registrantContactHasBeenSet = true; m_registrantContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetRegistrantContact(ContactDetail&& value) { m_registrantContactHasBeenSet = true; m_registrantContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithRegistrantContact(const ContactDetail& value) { SetRegistrantContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithRegistrantContact(ContactDetail&& value) { SetRegistrantContact(std::move(value)); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline const ContactDetail& GetTechContact() const{ return m_techContact; }
/**
* <p>Provides detailed contact information.</p>
*/
inline bool TechContactHasBeenSet() const { return m_techContactHasBeenSet; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetTechContact(const ContactDetail& value) { m_techContactHasBeenSet = true; m_techContact = value; }
/**
* <p>Provides detailed contact information.</p>
*/
inline void SetTechContact(ContactDetail&& value) { m_techContactHasBeenSet = true; m_techContact = std::move(value); }
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithTechContact(const ContactDetail& value) { SetTechContact(value); return *this;}
/**
* <p>Provides detailed contact information.</p>
*/
inline UpdateDomainContactRequest& WithTechContact(ContactDetail&& value) { SetTechContact(std::move(value)); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
ContactDetail m_adminContact;
bool m_adminContactHasBeenSet;
ContactDetail m_registrantContact;
bool m_registrantContactHasBeenSet;
ContactDetail m_techContact;
bool m_techContactHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateDomainContact response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainContactResult
{
public:
UpdateDomainContactResult();
UpdateDomainContactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateDomainContactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainContactResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainContactResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainContactResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,140 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/Nameserver.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>Replaces the current set of name servers for the domain with the specified
* set of name servers. If you use Amazon Route 53 as your DNS service, specify the
* four name servers in the delegation set for the hosted zone for the domain.</p>
* <p>If successful, this operation returns an operation ID that you can use to
* track the progress and completion of the action. If the request is not completed
* successfully, the domain registrant will be notified by email. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameserversRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainNameserversRequest : public Route53DomainsRequest
{
public:
UpdateDomainNameserversRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateDomainNameservers"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline UpdateDomainNameserversRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline UpdateDomainNameserversRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the domain that you want to change name servers for.</p>
*/
inline UpdateDomainNameserversRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>A list of new name servers for the domain.</p>
*/
inline const Aws::Vector<Nameserver>& GetNameservers() const{ return m_nameservers; }
/**
* <p>A list of new name servers for the domain.</p>
*/
inline bool NameserversHasBeenSet() const { return m_nameserversHasBeenSet; }
/**
* <p>A list of new name servers for the domain.</p>
*/
inline void SetNameservers(const Aws::Vector<Nameserver>& value) { m_nameserversHasBeenSet = true; m_nameservers = value; }
/**
* <p>A list of new name servers for the domain.</p>
*/
inline void SetNameservers(Aws::Vector<Nameserver>&& value) { m_nameserversHasBeenSet = true; m_nameservers = std::move(value); }
/**
* <p>A list of new name servers for the domain.</p>
*/
inline UpdateDomainNameserversRequest& WithNameservers(const Aws::Vector<Nameserver>& value) { SetNameservers(value); return *this;}
/**
* <p>A list of new name servers for the domain.</p>
*/
inline UpdateDomainNameserversRequest& WithNameservers(Aws::Vector<Nameserver>&& value) { SetNameservers(std::move(value)); return *this;}
/**
* <p>A list of new name servers for the domain.</p>
*/
inline UpdateDomainNameserversRequest& AddNameservers(const Nameserver& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(value); return *this; }
/**
* <p>A list of new name servers for the domain.</p>
*/
inline UpdateDomainNameserversRequest& AddNameservers(Nameserver&& value) { m_nameserversHasBeenSet = true; m_nameservers.push_back(std::move(value)); return *this; }
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::Vector<Nameserver> m_nameservers;
bool m_nameserversHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateDomainNameservers response includes the following
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameserversResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateDomainNameserversResult
{
public:
UpdateDomainNameserversResult();
UpdateDomainNameserversResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateDomainNameserversResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline const Aws::String& GetOperationId() const{ return m_operationId; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainNameserversResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainNameserversResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
/**
* <p>Identifier for tracking the progress of the request. To query the operation
* status, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
*/
inline UpdateDomainNameserversResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
private:
Aws::String m_operationId;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/Tag.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The UpdateTagsForDomainRequest includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomainRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API UpdateTagsForDomainRequest : public Route53DomainsRequest
{
public:
UpdateTagsForDomainRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateTagsForDomain"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline UpdateTagsForDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline UpdateTagsForDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The domain for which you want to add or update tags.</p>
*/
inline UpdateTagsForDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline const Aws::Vector<Tag>& GetTagsToUpdate() const{ return m_tagsToUpdate; }
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline bool TagsToUpdateHasBeenSet() const { return m_tagsToUpdateHasBeenSet; }
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline void SetTagsToUpdate(const Aws::Vector<Tag>& value) { m_tagsToUpdateHasBeenSet = true; m_tagsToUpdate = value; }
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline void SetTagsToUpdate(Aws::Vector<Tag>&& value) { m_tagsToUpdateHasBeenSet = true; m_tagsToUpdate = std::move(value); }
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline UpdateTagsForDomainRequest& WithTagsToUpdate(const Aws::Vector<Tag>& value) { SetTagsToUpdate(value); return *this;}
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline UpdateTagsForDomainRequest& WithTagsToUpdate(Aws::Vector<Tag>&& value) { SetTagsToUpdate(std::move(value)); return *this;}
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline UpdateTagsForDomainRequest& AddTagsToUpdate(const Tag& value) { m_tagsToUpdateHasBeenSet = true; m_tagsToUpdate.push_back(value); return *this; }
/**
* <p>A list of the tag keys and values that you want to add or update. If you
* specify a key that already exists, the corresponding value will be replaced.</p>
*/
inline UpdateTagsForDomainRequest& AddTagsToUpdate(Tag&& value) { m_tagsToUpdateHasBeenSet = true; m_tagsToUpdate.push_back(std::move(value)); return *this; }
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
Aws::Vector<Tag> m_tagsToUpdate;
bool m_tagsToUpdateHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
class AWS_ROUTE53DOMAINS_API UpdateTagsForDomainResult
{
public:
UpdateTagsForDomainResult();
UpdateTagsForDomainResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateTagsForDomainResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,270 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/route53domains/Route53DomainsRequest.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ViewBilling request includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBillingRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ViewBillingRequest : public Route53DomainsRequest
{
public:
ViewBillingRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ViewBilling"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline ViewBillingRequest& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
/**
* <p>The beginning date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline ViewBillingRequest& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline ViewBillingRequest& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
/**
* <p>The end date and time for the time period for which you want a list of
* billing records. Specify the date and time in Unix time format and Coordinated
* Universal time (UTC).</p>
*/
inline ViewBillingRequest& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline const Aws::String& GetMarker() const{ return m_marker; }
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline ViewBillingRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline ViewBillingRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
/**
* <p>For an initial request for a list of billing records, omit this element. If
* the number of billing records that are associated with the current AWS account
* during the specified period is greater than the value that you specified for
* <code>MaxItems</code>, you can use <code>Marker</code> to return additional
* billing records. Get the value of <code>NextPageMarker</code> from the previous
* response, and submit another request that includes the value of
* <code>NextPageMarker</code> in the <code>Marker</code> element. </p>
* <p>Constraints: The marker must match the value of <code>NextPageMarker</code>
* that was returned in the previous response.</p>
*/
inline ViewBillingRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
/**
* <p>The number of billing records to be returned.</p> <p>Default: 20</p>
*/
inline int GetMaxItems() const{ return m_maxItems; }
/**
* <p>The number of billing records to be returned.</p> <p>Default: 20</p>
*/
inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
/**
* <p>The number of billing records to be returned.</p> <p>Default: 20</p>
*/
inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
/**
* <p>The number of billing records to be returned.</p> <p>Default: 20</p>
*/
inline ViewBillingRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
private:
Aws::Utils::DateTime m_start;
bool m_startHasBeenSet;
Aws::Utils::DateTime m_end;
bool m_endHasBeenSet;
Aws::String m_marker;
bool m_markerHasBeenSet;
int m_maxItems;
bool m_maxItemsHasBeenSet;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws

View File

@@ -0,0 +1,137 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53domains/Route53Domains_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53domains/model/BillingRecord.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Route53Domains
{
namespace Model
{
/**
* <p>The ViewBilling response includes the following elements.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBillingResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53DOMAINS_API ViewBillingResult
{
public:
ViewBillingResult();
ViewBillingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ViewBillingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; }
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const Aws::String& value) { m_nextPageMarker = value; }
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(Aws::String&& value) { m_nextPageMarker = std::move(value); }
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); }
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ViewBillingResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;}
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ViewBillingResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(std::move(value)); return *this;}
/**
* <p>If there are more billing records than you specified for
* <code>MaxItems</code> in the request, submit another request and include the
* value of <code>NextPageMarker</code> in the value of <code>Marker</code>.</p>
*/
inline ViewBillingResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;}
/**
* <p>A summary of billing records.</p>
*/
inline const Aws::Vector<BillingRecord>& GetBillingRecords() const{ return m_billingRecords; }
/**
* <p>A summary of billing records.</p>
*/
inline void SetBillingRecords(const Aws::Vector<BillingRecord>& value) { m_billingRecords = value; }
/**
* <p>A summary of billing records.</p>
*/
inline void SetBillingRecords(Aws::Vector<BillingRecord>&& value) { m_billingRecords = std::move(value); }
/**
* <p>A summary of billing records.</p>
*/
inline ViewBillingResult& WithBillingRecords(const Aws::Vector<BillingRecord>& value) { SetBillingRecords(value); return *this;}
/**
* <p>A summary of billing records.</p>
*/
inline ViewBillingResult& WithBillingRecords(Aws::Vector<BillingRecord>&& value) { SetBillingRecords(std::move(value)); return *this;}
/**
* <p>A summary of billing records.</p>
*/
inline ViewBillingResult& AddBillingRecords(const BillingRecord& value) { m_billingRecords.push_back(value); return *this; }
/**
* <p>A summary of billing records.</p>
*/
inline ViewBillingResult& AddBillingRecords(BillingRecord&& value) { m_billingRecords.push_back(std::move(value)); return *this; }
private:
Aws::String m_nextPageMarker;
Aws::Vector<BillingRecord> m_billingRecords;
};
} // namespace Model
} // namespace Route53Domains
} // namespace Aws