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/route53/Route53_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Route53Endpoint
{
AWS_ROUTE53_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace Route53Endpoint
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_ROUTE53_API Route53ErrorMarshaller : public Aws::Client::XmlErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,121 @@
/**
* 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/route53/Route53_EXPORTS.h>
namespace Aws
{
namespace Route53
{
enum class Route53Errors
{
//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,
///////////////////////////////////////////////////////////////////////////////////////////
CONCURRENT_MODIFICATION= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONFLICTING_DOMAIN_EXISTS,
CONFLICTING_TYPES,
DELEGATION_SET_ALREADY_CREATED,
DELEGATION_SET_ALREADY_REUSABLE,
DELEGATION_SET_IN_USE,
DELEGATION_SET_NOT_AVAILABLE,
DELEGATION_SET_NOT_REUSABLE,
HEALTH_CHECK_ALREADY_EXISTS,
HEALTH_CHECK_IN_USE,
HEALTH_CHECK_VERSION_MISMATCH,
HOSTED_ZONE_ALREADY_EXISTS,
HOSTED_ZONE_NOT_EMPTY,
HOSTED_ZONE_NOT_FOUND,
HOSTED_ZONE_NOT_PRIVATE,
INCOMPATIBLE_VERSION,
INSUFFICIENT_CLOUD_WATCH_LOGS_RESOURCE_POLICY,
INVALID_ARGUMENT,
INVALID_CHANGE_BATCH,
INVALID_DOMAIN_NAME,
INVALID_INPUT,
INVALID_PAGINATION_TOKEN,
INVALID_TRAFFIC_POLICY_DOCUMENT,
INVALID_V_P_C_ID,
LAST_V_P_C_ASSOCIATION,
LIMITS_EXCEEDED,
NOT_AUTHORIZED,
NO_SUCH_CHANGE,
NO_SUCH_CLOUD_WATCH_LOGS_LOG_GROUP,
NO_SUCH_DELEGATION_SET,
NO_SUCH_GEO_LOCATION,
NO_SUCH_HEALTH_CHECK,
NO_SUCH_HOSTED_ZONE,
NO_SUCH_QUERY_LOGGING_CONFIG,
NO_SUCH_TRAFFIC_POLICY,
NO_SUCH_TRAFFIC_POLICY_INSTANCE,
PRIOR_REQUEST_NOT_COMPLETE,
PUBLIC_ZONE_V_P_C_ASSOCIATION,
QUERY_LOGGING_CONFIG_ALREADY_EXISTS,
TOO_MANY_HEALTH_CHECKS,
TOO_MANY_HOSTED_ZONES,
TOO_MANY_TRAFFIC_POLICIES,
TOO_MANY_TRAFFIC_POLICY_INSTANCES,
TOO_MANY_TRAFFIC_POLICY_VERSIONS_FOR_CURRENT_POLICY,
TOO_MANY_V_P_C_ASSOCIATION_AUTHORIZATIONS,
TRAFFIC_POLICY_ALREADY_EXISTS,
TRAFFIC_POLICY_INSTANCE_ALREADY_EXISTS,
TRAFFIC_POLICY_IN_USE,
V_P_C_ASSOCIATION_AUTHORIZATION_NOT_FOUND,
V_P_C_ASSOCIATION_NOT_FOUND
};
class AWS_ROUTE53_API Route53Error : public Aws::Client::AWSError<Route53Errors>
{
public:
Route53Error() {}
Route53Error(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<Route53Errors>(rhs) {}
Route53Error(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<Route53Errors>(rhs) {}
Route53Error(const Aws::Client::AWSError<Route53Errors>& rhs) : Aws::Client::AWSError<Route53Errors>(rhs) {}
Route53Error(Aws::Client::AWSError<Route53Errors>&& rhs) : Aws::Client::AWSError<Route53Errors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace Route53ErrorMapper
{
AWS_ROUTE53_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace Route53
{
class AWS_ROUTE53_API Route53Request : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~Route53Request () {}
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_XML_CONTENT_TYPE ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2013-04-01"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace Route53
} // 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_ROUTE53_EXPORTS
#define AWS_ROUTE53_API __declspec(dllexport)
#else
#define AWS_ROUTE53_API __declspec(dllimport)
#endif /* AWS_ROUTE53_EXPORTS */
#else
#define AWS_ROUTE53_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_ROUTE53_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/AccountLimitType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the type of limit that you specified in the
* request and the current value for that limit.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AccountLimit">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API AccountLimit
{
public:
AccountLimit();
AccountLimit(const Aws::Utils::Xml::XmlNode& xmlNode);
AccountLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline const AccountLimitType& GetType() const{ return m_type; }
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline void SetType(const AccountLimitType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline void SetType(AccountLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline AccountLimit& WithType(const AccountLimitType& value) { SetType(value); return *this;}
/**
* <p>The limit that you requested. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline AccountLimit& WithType(AccountLimitType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The current value for the limit that is specified by <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AccountLimit.html#Route53-Type-AccountLimit-Type">Type</a>.</p>
*/
inline long long GetValue() const{ return m_value; }
/**
* <p>The current value for the limit that is specified by <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AccountLimit.html#Route53-Type-AccountLimit-Type">Type</a>.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The current value for the limit that is specified by <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AccountLimit.html#Route53-Type-AccountLimit-Type">Type</a>.</p>
*/
inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The current value for the limit that is specified by <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AccountLimit.html#Route53-Type-AccountLimit-Type">Type</a>.</p>
*/
inline AccountLimit& WithValue(long long value) { SetValue(value); return *this;}
private:
AccountLimitType m_type;
bool m_typeHasBeenSet;
long long m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class AccountLimitType
{
NOT_SET,
MAX_HEALTH_CHECKS_BY_OWNER,
MAX_HOSTED_ZONES_BY_OWNER,
MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER,
MAX_REUSABLE_DELEGATION_SETS_BY_OWNER,
MAX_TRAFFIC_POLICIES_BY_OWNER
};
namespace AccountLimitTypeMapper
{
AWS_ROUTE53_API AccountLimitType GetAccountLimitTypeForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForAccountLimitType(AccountLimitType value);
} // namespace AccountLimitTypeMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,219 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/CloudWatchRegion.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that identifies the CloudWatch alarm that you want Amazon
* Route 53 health checkers to use to determine whether the specified health check
* is healthy.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AlarmIdentifier">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API AlarmIdentifier
{
public:
AlarmIdentifier();
AlarmIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
AlarmIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline const CloudWatchRegion& GetRegion() const{ return m_region; }
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline void SetRegion(const CloudWatchRegion& value) { m_regionHasBeenSet = true; m_region = value; }
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline void SetRegion(CloudWatchRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline AlarmIdentifier& WithRegion(const CloudWatchRegion& value) { SetRegion(value); return *this;}
/**
* <p>For the CloudWatch alarm that you want Route 53 health checkers to use to
* determine whether this health check is healthy, the region that the alarm was
* created in.</p> <p>For the current list of CloudWatch regions, see <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region">Amazon
* CloudWatch</a> in the <i>AWS Service Endpoints</i> chapter of the <i>Amazon Web
* Services General Reference</i>.</p>
*/
inline AlarmIdentifier& WithRegion(CloudWatchRegion&& value) { SetRegion(std::move(value)); return *this;}
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline AlarmIdentifier& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline AlarmIdentifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the CloudWatch alarm that you want Amazon Route 53 health
* checkers to use to determine whether this health check is healthy.</p>
* <p>Route 53 supports CloudWatch alarms with the following features:</p> <ul>
* <li> <p>Standard-resolution metrics. High-resolution metrics aren't supported.
* For more information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/publishingMetrics.html#high-resolution-metrics">High-Resolution
* Metrics</a> in the <i>Amazon CloudWatch User Guide</i>.</p> </li> <li>
* <p>Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended
* statistics aren't supported.</p> </li> </ul>
*/
inline AlarmIdentifier& WithName(const char* value) { SetName(value); return *this;}
private:
CloudWatchRegion m_region;
bool m_regionHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,188 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to associate a VPC
* with a private hosted zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API AssociateVPCWithHostedZoneRequest : public Route53Request
{
public:
AssociateVPCWithHostedZoneRequest();
// 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 "AssociateVPCWithHostedZone"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the private hosted zone that you want to associate an Amazon VPC
* with.</p> <p>Note that you can't associate a VPC with a hosted zone that doesn't
* have an existing VPC association.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>A complex type that contains information about the VPC that you want to
* associate with a private hosted zone.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p> <i>Optional:</i> A comment about the association request.</p>
*/
inline AssociateVPCWithHostedZoneRequest& WithComment(const char* value) { SetComment(value); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
VPC m_vPC;
bool m_vPCHasBeenSet;
Aws::String m_comment;
bool m_commentHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,73 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the
* <code>AssociateVPCWithHostedZone</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZoneResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API AssociateVPCWithHostedZoneResult
{
public:
AssociateVPCWithHostedZoneResult();
AssociateVPCWithHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
AssociateVPCWithHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that describes the changes made to your hosted zone.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that describes the changes made to your hosted zone.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that describes the changes made to your hosted zone.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that describes the changes made to your hosted zone.</p>
*/
inline AssociateVPCWithHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that describes the changes made to your hosted zone.</p>
*/
inline AssociateVPCWithHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
private:
ChangeInfo m_changeInfo;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,186 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeAction.h>
#include <aws/route53/model/ResourceRecordSet.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>The information for each resource record set that you want to
* change.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Change">AWS API
* Reference</a></p>
*/
class AWS_ROUTE53_API Change
{
public:
Change();
Change(const Aws::Utils::Xml::XmlNode& xmlNode);
Change& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline const ChangeAction& GetAction() const{ return m_action; }
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline void SetAction(const ChangeAction& value) { m_actionHasBeenSet = true; m_action = value; }
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline void SetAction(ChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline Change& WithAction(const ChangeAction& value) { SetAction(value); return *this;}
/**
* <p>The action to perform:</p> <ul> <li> <p> <code>CREATE</code>: Creates a
* resource record set that has the specified values.</p> </li> <li> <p>
* <code>DELETE</code>: Deletes a existing resource record set.</p>
* <p>To delete the resource record set that is associated with a traffic policy
* instance, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html">DeleteTrafficPolicyInstance</a>.
* Amazon Route 53 will delete the resource record set automatically. If you delete
* the resource record set by using <code>ChangeResourceRecordSets</code>, Route 53
* doesn't automatically delete the traffic policy instance, and you'll continue to
* be charged for it even though it's no longer in use. </p> </li>
* <li> <p> <code>UPSERT</code>: If a resource record set doesn't already exist,
* Route 53 creates it. If a resource record set does exist, Route 53 updates it
* with the values in the request.</p> </li> </ul>
*/
inline Change& WithAction(ChangeAction&& value) { SetAction(std::move(value)); return *this;}
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline const ResourceRecordSet& GetResourceRecordSet() const{ return m_resourceRecordSet; }
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline bool ResourceRecordSetHasBeenSet() const { return m_resourceRecordSetHasBeenSet; }
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline void SetResourceRecordSet(const ResourceRecordSet& value) { m_resourceRecordSetHasBeenSet = true; m_resourceRecordSet = value; }
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline void SetResourceRecordSet(ResourceRecordSet&& value) { m_resourceRecordSetHasBeenSet = true; m_resourceRecordSet = std::move(value); }
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline Change& WithResourceRecordSet(const ResourceRecordSet& value) { SetResourceRecordSet(value); return *this;}
/**
* <p>Information about the resource record set to create, delete, or update.</p>
*/
inline Change& WithResourceRecordSet(ResourceRecordSet&& value) { SetResourceRecordSet(std::move(value)); return *this;}
private:
ChangeAction m_action;
bool m_actionHasBeenSet;
ResourceRecordSet m_resourceRecordSet;
bool m_resourceRecordSetHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class ChangeAction
{
NOT_SET,
CREATE,
DELETE_,
UPSERT
};
namespace ChangeActionMapper
{
AWS_ROUTE53_API ChangeAction GetChangeActionForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForChangeAction(ChangeAction value);
} // namespace ChangeActionMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,142 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/Change.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>The information for a change request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeBatch">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeBatch
{
public:
ChangeBatch();
ChangeBatch(const Aws::Utils::Xml::XmlNode& xmlNode);
ChangeBatch& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline ChangeBatch& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline ChangeBatch& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p> <i>Optional:</i> Any comments you want to include about a change batch
* request.</p>
*/
inline ChangeBatch& WithComment(const char* value) { SetComment(value); return *this;}
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline const Aws::Vector<Change>& GetChanges() const{ return m_changes; }
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; }
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline void SetChanges(const Aws::Vector<Change>& value) { m_changesHasBeenSet = true; m_changes = value; }
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline void SetChanges(Aws::Vector<Change>&& value) { m_changesHasBeenSet = true; m_changes = std::move(value); }
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline ChangeBatch& WithChanges(const Aws::Vector<Change>& value) { SetChanges(value); return *this;}
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline ChangeBatch& WithChanges(Aws::Vector<Change>&& value) { SetChanges(std::move(value)); return *this;}
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline ChangeBatch& AddChanges(const Change& value) { m_changesHasBeenSet = true; m_changes.push_back(value); return *this; }
/**
* <p>Information about the changes to make to the record sets.</p>
*/
inline ChangeBatch& AddChanges(Change&& value) { m_changesHasBeenSet = true; m_changes.push_back(std::move(value)); return *this; }
private:
Aws::String m_comment;
bool m_commentHasBeenSet;
Aws::Vector<Change> m_changes;
bool m_changesHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,265 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/ChangeStatus.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeInfo">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeInfo
{
public:
ChangeInfo();
ChangeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
ChangeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The ID of the request.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the request.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the request.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the request.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the request.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the request.</p>
*/
inline ChangeInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the request.</p>
*/
inline ChangeInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the request.</p>
*/
inline ChangeInfo& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline const ChangeStatus& GetStatus() const{ return m_status; }
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline void SetStatus(const ChangeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline void SetStatus(ChangeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline ChangeInfo& WithStatus(const ChangeStatus& value) { SetStatus(value); return *this;}
/**
* <p>The current state of the request. <code>PENDING</code> indicates that this
* request has not yet been applied to all Amazon Route 53 DNS servers.</p>
*/
inline ChangeInfo& WithStatus(ChangeStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline const Aws::Utils::DateTime& GetSubmittedAt() const{ return m_submittedAt; }
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline bool SubmittedAtHasBeenSet() const { return m_submittedAtHasBeenSet; }
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline void SetSubmittedAt(const Aws::Utils::DateTime& value) { m_submittedAtHasBeenSet = true; m_submittedAt = value; }
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline void SetSubmittedAt(Aws::Utils::DateTime&& value) { m_submittedAtHasBeenSet = true; m_submittedAt = std::move(value); }
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline ChangeInfo& WithSubmittedAt(const Aws::Utils::DateTime& value) { SetSubmittedAt(value); return *this;}
/**
* <p>The date and time that the change request was submitted in <a
* href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a> and
* Coordinated Universal Time (UTC). For example, the value
* <code>2017-03-27T17:48:16.751Z</code> represents March 27, 2017 at 17:48:16.751
* UTC.</p>
*/
inline ChangeInfo& WithSubmittedAt(Aws::Utils::DateTime&& value) { SetSubmittedAt(std::move(value)); return *this;}
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline ChangeInfo& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline ChangeInfo& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p>A complex type that describes change information about changes made to your
* hosted zone.</p> <p>This element contains an ID that you use when performing a
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline ChangeInfo& WithComment(const char* value) { SetComment(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
ChangeStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_submittedAt;
bool m_submittedAtHasBeenSet;
Aws::String m_comment;
bool m_commentHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/ChangeBatch.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains change information for the resource record
* set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeResourceRecordSetsRequest : public Route53Request
{
public:
ChangeResourceRecordSetsRequest();
// 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 "ChangeResourceRecordSets"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline ChangeResourceRecordSetsRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that contains the resource record sets that you
* want to change.</p>
*/
inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline const ChangeBatch& GetChangeBatch() const{ return m_changeBatch; }
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline bool ChangeBatchHasBeenSet() const { return m_changeBatchHasBeenSet; }
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline void SetChangeBatch(const ChangeBatch& value) { m_changeBatchHasBeenSet = true; m_changeBatch = value; }
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline void SetChangeBatch(ChangeBatch&& value) { m_changeBatchHasBeenSet = true; m_changeBatch = std::move(value); }
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline ChangeResourceRecordSetsRequest& WithChangeBatch(const ChangeBatch& value) { SetChangeBatch(value); return *this;}
/**
* <p>A complex type that contains an optional comment and the <code>Changes</code>
* element.</p>
*/
inline ChangeResourceRecordSetsRequest& WithChangeBatch(ChangeBatch&& value) { SetChangeBatch(std::move(value)); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
ChangeBatch m_changeBatch;
bool m_changeBatchHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type containing the response for the request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSetsResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeResourceRecordSetsResult
{
public:
ChangeResourceRecordSetsResult();
ChangeResourceRecordSetsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
ChangeResourceRecordSetsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains information about changes made to your hosted
* zone.</p> <p>This element contains an ID that you use when performing a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that contains information about changes made to your hosted
* zone.</p> <p>This element contains an ID that you use when performing a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that contains information about changes made to your hosted
* zone.</p> <p>This element contains an ID that you use when performing a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that contains information about changes made to your hosted
* zone.</p> <p>This element contains an ID that you use when performing a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline ChangeResourceRecordSetsResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that contains information about changes made to your hosted
* zone.</p> <p>This element contains an ID that you use when performing a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html">GetChange</a>
* action to get detailed information about the change.</p>
*/
inline ChangeResourceRecordSetsResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
private:
ChangeInfo m_changeInfo;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class ChangeStatus
{
NOT_SET,
PENDING,
INSYNC
};
namespace ChangeStatusMapper
{
AWS_ROUTE53_API ChangeStatus GetChangeStatusForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForChangeStatus(ChangeStatus value);
} // namespace ChangeStatusMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,262 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/route53/model/TagResourceType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/Tag.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the tags that you want to add,
* edit, or delete.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeTagsForResourceRequest : public Route53Request
{
public:
ChangeTagsForResourceRequest();
// 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 "ChangeTagsForResource"; }
Aws::String SerializePayload() const override;
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline const TagResourceType& GetResourceType() const{ return m_resourceType; }
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline void SetResourceType(const TagResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline void SetResourceType(TagResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline ChangeTagsForResourceRequest& WithResourceType(const TagResourceType& value) { SetResourceType(value); return *this;}
/**
* <p>The type of the resource.</p> <ul> <li> <p>The resource type for health
* checks is <code>healthcheck</code>.</p> </li> <li> <p>The resource type for
* hosted zones is <code>hostedzone</code>.</p> </li> </ul>
*/
inline ChangeTagsForResourceRequest& WithResourceType(TagResourceType&& value) { SetResourceType(std::move(value)); return *this;}
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline ChangeTagsForResourceRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline ChangeTagsForResourceRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p>The ID of the resource for which you want to add, change, or delete tags.</p>
*/
inline ChangeTagsForResourceRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline const Aws::Vector<Tag>& GetAddTags() const{ return m_addTags; }
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline bool AddTagsHasBeenSet() const { return m_addTagsHasBeenSet; }
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline void SetAddTags(const Aws::Vector<Tag>& value) { m_addTagsHasBeenSet = true; m_addTags = value; }
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline void SetAddTags(Aws::Vector<Tag>&& value) { m_addTagsHasBeenSet = true; m_addTags = std::move(value); }
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline ChangeTagsForResourceRequest& WithAddTags(const Aws::Vector<Tag>& value) { SetAddTags(value); return *this;}
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline ChangeTagsForResourceRequest& WithAddTags(Aws::Vector<Tag>&& value) { SetAddTags(std::move(value)); return *this;}
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline ChangeTagsForResourceRequest& AddAddTags(const Tag& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(value); return *this; }
/**
* <p>A complex type that contains a list of the tags that you want to add to the
* specified health check or hosted zone and/or the tags that you want to edit
* <code>Value</code> for.</p> <p>You can add a maximum of 10 tags to a health
* check or a hosted zone.</p>
*/
inline ChangeTagsForResourceRequest& AddAddTags(Tag&& value) { m_addTagsHasBeenSet = true; m_addTags.push_back(std::move(value)); return *this; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline const Aws::Vector<Aws::String>& GetRemoveTagKeys() const{ return m_removeTagKeys; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline bool RemoveTagKeysHasBeenSet() const { return m_removeTagKeysHasBeenSet; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline void SetRemoveTagKeys(const Aws::Vector<Aws::String>& value) { m_removeTagKeysHasBeenSet = true; m_removeTagKeys = value; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline void SetRemoveTagKeys(Aws::Vector<Aws::String>&& value) { m_removeTagKeysHasBeenSet = true; m_removeTagKeys = std::move(value); }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline ChangeTagsForResourceRequest& WithRemoveTagKeys(const Aws::Vector<Aws::String>& value) { SetRemoveTagKeys(value); return *this;}
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline ChangeTagsForResourceRequest& WithRemoveTagKeys(Aws::Vector<Aws::String>&& value) { SetRemoveTagKeys(std::move(value)); return *this;}
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline ChangeTagsForResourceRequest& AddRemoveTagKeys(const Aws::String& value) { m_removeTagKeysHasBeenSet = true; m_removeTagKeys.push_back(value); return *this; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline ChangeTagsForResourceRequest& AddRemoveTagKeys(Aws::String&& value) { m_removeTagKeysHasBeenSet = true; m_removeTagKeys.push_back(std::move(value)); return *this; }
/**
* <p>A complex type that contains a list of the tags that you want to delete from
* the specified health check or hosted zone. You can specify up to 10 keys.</p>
*/
inline ChangeTagsForResourceRequest& AddRemoveTagKeys(const char* value) { m_removeTagKeysHasBeenSet = true; m_removeTagKeys.push_back(value); return *this; }
private:
TagResourceType m_resourceType;
bool m_resourceTypeHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
Aws::Vector<Tag> m_addTags;
bool m_addTagsHasBeenSet;
Aws::Vector<Aws::String> m_removeTagKeys;
bool m_removeTagKeysHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>Empty response for the request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResourceResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API ChangeTagsForResourceResult
{
public:
ChangeTagsForResourceResult();
ChangeTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
ChangeTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,418 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ComparisonOperator.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/Statistic.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/Dimension.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CloudWatchAlarmConfiguration">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CloudWatchAlarmConfiguration
{
public:
CloudWatchAlarmConfiguration();
CloudWatchAlarmConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
CloudWatchAlarmConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>For the metric that the CloudWatch alarm is associated with, the number of
* periods that the metric is compared to the threshold.</p>
*/
inline int GetEvaluationPeriods() const{ return m_evaluationPeriods; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the number of
* periods that the metric is compared to the threshold.</p>
*/
inline bool EvaluationPeriodsHasBeenSet() const { return m_evaluationPeriodsHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the number of
* periods that the metric is compared to the threshold.</p>
*/
inline void SetEvaluationPeriods(int value) { m_evaluationPeriodsHasBeenSet = true; m_evaluationPeriods = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the number of
* periods that the metric is compared to the threshold.</p>
*/
inline CloudWatchAlarmConfiguration& WithEvaluationPeriods(int value) { SetEvaluationPeriods(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value the
* metric is compared with.</p>
*/
inline double GetThreshold() const{ return m_threshold; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value the
* metric is compared with.</p>
*/
inline bool ThresholdHasBeenSet() const { return m_thresholdHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value the
* metric is compared with.</p>
*/
inline void SetThreshold(double value) { m_thresholdHasBeenSet = true; m_threshold = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value the
* metric is compared with.</p>
*/
inline CloudWatchAlarmConfiguration& WithThreshold(double value) { SetThreshold(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline const ComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline void SetComparisonOperator(const ComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline void SetComparisonOperator(ComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline CloudWatchAlarmConfiguration& WithComparisonOperator(const ComparisonOperator& value) { SetComparisonOperator(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the arithmetic
* operation that is used for the comparison.</p>
*/
inline CloudWatchAlarmConfiguration& WithComparisonOperator(ComparisonOperator&& value) { SetComparisonOperator(std::move(value)); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the duration of
* one evaluation period in seconds.</p>
*/
inline int GetPeriod() const{ return m_period; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the duration of
* one evaluation period in seconds.</p>
*/
inline bool PeriodHasBeenSet() const { return m_periodHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the duration of
* one evaluation period in seconds.</p>
*/
inline void SetPeriod(int value) { m_periodHasBeenSet = true; m_period = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the duration of
* one evaluation period in seconds.</p>
*/
inline CloudWatchAlarmConfiguration& WithPeriod(int value) { SetPeriod(value); return *this;}
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline const Aws::String& GetMetricName() const{ return m_metricName; }
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; }
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; }
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); }
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); }
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline CloudWatchAlarmConfiguration& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;}
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline CloudWatchAlarmConfiguration& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;}
/**
* <p>The name of the CloudWatch metric that the alarm is associated with.</p>
*/
inline CloudWatchAlarmConfiguration& WithMetricName(const char* value) { SetMetricName(value); return *this;}
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline const Aws::String& GetNamespace() const{ return m_namespace; }
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
/**
* <p>The namespace of the metric that the alarm is associated with. For more
* information, see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& WithNamespace(const char* value) { SetNamespace(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline const Statistic& GetStatistic() const{ return m_statistic; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline void SetStatistic(const Statistic& value) { m_statisticHasBeenSet = true; m_statistic = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline void SetStatistic(Statistic&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline CloudWatchAlarmConfiguration& WithStatistic(const Statistic& value) { SetStatistic(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the statistic
* that is applied to the metric.</p>
*/
inline CloudWatchAlarmConfiguration& WithStatistic(Statistic&& value) { SetStatistic(std::move(value)); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline const Aws::Vector<Dimension>& GetDimensions() const{ return m_dimensions; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline void SetDimensions(const Aws::Vector<Dimension>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline void SetDimensions(Aws::Vector<Dimension>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& WithDimensions(const Aws::Vector<Dimension>& value) { SetDimensions(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& WithDimensions(Aws::Vector<Dimension>&& value) { SetDimensions(std::move(value)); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& AddDimensions(const Dimension& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about the dimensions for the metric. For information,
* see <a
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html">Amazon
* CloudWatch Namespaces, Dimensions, and Metrics Reference</a> in the <i>Amazon
* CloudWatch User Guide</i>.</p>
*/
inline CloudWatchAlarmConfiguration& AddDimensions(Dimension&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
private:
int m_evaluationPeriods;
bool m_evaluationPeriodsHasBeenSet;
double m_threshold;
bool m_thresholdHasBeenSet;
ComparisonOperator m_comparisonOperator;
bool m_comparisonOperatorHasBeenSet;
int m_period;
bool m_periodHasBeenSet;
Aws::String m_metricName;
bool m_metricNameHasBeenSet;
Aws::String m_namespace;
bool m_namespaceHasBeenSet;
Statistic m_statistic;
bool m_statisticHasBeenSet;
Aws::Vector<Dimension> m_dimensions;
bool m_dimensionsHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,56 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class CloudWatchRegion
{
NOT_SET,
us_east_1,
us_east_2,
us_west_1,
us_west_2,
ca_central_1,
eu_central_1,
eu_west_1,
eu_west_2,
eu_west_3,
ap_east_1,
me_south_1,
ap_south_1,
ap_southeast_1,
ap_southeast_2,
ap_northeast_1,
ap_northeast_2,
ap_northeast_3,
eu_north_1,
sa_east_1,
cn_northwest_1,
cn_north_1,
af_south_1,
eu_south_1,
us_gov_west_1,
us_gov_east_1,
us_iso_east_1,
us_isob_east_1
};
namespace CloudWatchRegionMapper
{
AWS_ROUTE53_API CloudWatchRegion GetCloudWatchRegionForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForCloudWatchRegion(CloudWatchRegion value);
} // namespace CloudWatchRegionMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,33 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class ComparisonOperator
{
NOT_SET,
GreaterThanOrEqualToThreshold,
GreaterThanThreshold,
LessThanThreshold,
LessThanOrEqualToThreshold
};
namespace ComparisonOperatorMapper
{
AWS_ROUTE53_API ComparisonOperator GetComparisonOperatorForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForComparisonOperator(ComparisonOperator value);
} // namespace ComparisonOperatorMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,242 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/HealthCheckConfig.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the health check request
* information.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateHealthCheckRequest : public Route53Request
{
public:
CreateHealthCheckRequest();
// 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 "CreateHealthCheck"; }
Aws::String SerializePayload() const override;
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline CreateHealthCheckRequest& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline CreateHealthCheckRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request and that allows you to retry a
* failed <code>CreateHealthCheck</code> request without the risk of creating two
* identical health checks:</p> <ul> <li> <p>If you send a
* <code>CreateHealthCheck</code> request with the same
* <code>CallerReference</code> and settings as a previous request, and if the
* health check doesn't exist, Amazon Route 53 creates the health check. If the
* health check does exist, Route 53 returns the settings for the existing health
* check.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as a deleted health check, regardless
* of the settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with the same <code>CallerReference</code> as an existing health check but with
* different settings, Route 53 returns a <code>HealthCheckAlreadyExists</code>
* error.</p> </li> <li> <p>If you send a <code>CreateHealthCheck</code> request
* with a unique <code>CallerReference</code> but settings identical to an existing
* health check, Route 53 creates the health check.</p> </li> </ul>
*/
inline CreateHealthCheckRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline CreateHealthCheckRequest& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;}
/**
* <p>A complex type that contains settings for a new health check.</p>
*/
inline CreateHealthCheckRequest& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
private:
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
HealthCheckConfig m_healthCheckConfig;
bool m_healthCheckConfigHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HealthCheck.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type containing the response information for the new health
* check.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheckResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateHealthCheckResult
{
public:
CreateHealthCheckResult();
CreateHealthCheckResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateHealthCheckResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains identifying information about the health
* check.</p>
*/
inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; }
/**
* <p>A complex type that contains identifying information about the health
* check.</p>
*/
inline void SetHealthCheck(const HealthCheck& value) { m_healthCheck = value; }
/**
* <p>A complex type that contains identifying information about the health
* check.</p>
*/
inline void SetHealthCheck(HealthCheck&& value) { m_healthCheck = std::move(value); }
/**
* <p>A complex type that contains identifying information about the health
* check.</p>
*/
inline CreateHealthCheckResult& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;}
/**
* <p>A complex type that contains identifying information about the health
* check.</p>
*/
inline CreateHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new health check.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The unique URL representing the new health check.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>The unique URL representing the new health check.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>The unique URL representing the new health check.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>The unique URL representing the new health check.</p>
*/
inline CreateHealthCheckResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The unique URL representing the new health check.</p>
*/
inline CreateHealthCheckResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new health check.</p>
*/
inline CreateHealthCheckResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
HealthCheck m_healthCheck;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,433 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <aws/route53/model/HostedZoneConfig.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to create a public
* or private hosted zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateHostedZoneRequest : public Route53Request
{
public:
CreateHostedZoneRequest();
// 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 "CreateHostedZone"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline CreateHostedZoneRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline CreateHostedZoneRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the domain. Specify a fully qualified domain name, for example,
* <i>www.example.com</i>. The trailing dot is optional; Amazon Route 53 assumes
* that the domain name is fully qualified. This means that Route 53 treats
* <i>www.example.com</i> (without a trailing dot) and <i>www.example.com.</i>
* (with a trailing dot) as identical.</p> <p>If you're creating a public hosted
* zone, this is the name you have registered with your DNS registrar. If your
* domain name is registered with a registrar other than Route 53, change the name
* servers for your domain to the set of <code>NameServers</code> that
* <code>CreateHostedZone</code> returns in <code>DelegationSet</code>.</p>
*/
inline CreateHostedZoneRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline CreateHostedZoneRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>(Private hosted zones only) A complex type that contains information about
* the Amazon VPC that you're associating with this hosted zone.</p> <p>You can
* specify only one Amazon VPC when you create a private hosted zone. To associate
* additional Amazon VPCs with the hosted zone, use <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_AssociateVPCWithHostedZone.html">AssociateVPCWithHostedZone</a>
* after you create a hosted zone.</p>
*/
inline CreateHostedZoneRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline CreateHostedZoneRequest& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline CreateHostedZoneRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request and that allows failed
* <code>CreateHostedZone</code> requests to be retried without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateHostedZone</code> request. <code>CallerReference</code> can be any
* unique string, for example, a date/time stamp.</p>
*/
inline CreateHostedZoneRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline const HostedZoneConfig& GetHostedZoneConfig() const{ return m_hostedZoneConfig; }
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline bool HostedZoneConfigHasBeenSet() const { return m_hostedZoneConfigHasBeenSet; }
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline void SetHostedZoneConfig(const HostedZoneConfig& value) { m_hostedZoneConfigHasBeenSet = true; m_hostedZoneConfig = value; }
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline void SetHostedZoneConfig(HostedZoneConfig&& value) { m_hostedZoneConfigHasBeenSet = true; m_hostedZoneConfig = std::move(value); }
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline CreateHostedZoneRequest& WithHostedZoneConfig(const HostedZoneConfig& value) { SetHostedZoneConfig(value); return *this;}
/**
* <p>(Optional) A complex type that contains the following optional values:</p>
* <ul> <li> <p>For public and private hosted zones, an optional comment</p> </li>
* <li> <p>For private hosted zones, an optional <code>PrivateZone</code>
* element</p> </li> </ul> <p>If you don't specify a comment or the
* <code>PrivateZone</code> element, omit <code>HostedZoneConfig</code> and the
* other elements.</p>
*/
inline CreateHostedZoneRequest& WithHostedZoneConfig(HostedZoneConfig&& value) { SetHostedZoneConfig(std::move(value)); return *this;}
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; }
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; }
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; }
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::move(value); }
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); }
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline CreateHostedZoneRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;}
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline CreateHostedZoneRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(std::move(value)); return *this;}
/**
* <p>If you want to associate a reusable delegation set with this hosted zone, the
* ID that Amazon Route 53 assigned to the reusable delegation set when you created
* it. For more information about reusable delegation sets, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html">CreateReusableDelegationSet</a>.</p>
*/
inline CreateHostedZoneRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
VPC m_vPC;
bool m_vPCHasBeenSet;
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
HostedZoneConfig m_hostedZoneConfig;
bool m_hostedZoneConfigHasBeenSet;
Aws::String m_delegationSetId;
bool m_delegationSetIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,209 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HostedZone.h>
#include <aws/route53/model/ChangeInfo.h>
#include <aws/route53/model/DelegationSet.h>
#include <aws/route53/model/VPC.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type containing the response information for the hosted
* zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZoneResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateHostedZoneResult
{
public:
CreateHostedZoneResult();
CreateHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains general information about the hosted zone.</p>
*/
inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
/**
* <p>A complex type that contains general information about the hosted zone.</p>
*/
inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
/**
* <p>A complex type that contains general information about the hosted zone.</p>
*/
inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); }
/**
* <p>A complex type that contains general information about the hosted zone.</p>
*/
inline CreateHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
/**
* <p>A complex type that contains general information about the hosted zone.</p>
*/
inline CreateHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;}
/**
* <p>A complex type that contains information about the
* <code>CreateHostedZone</code> request.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that contains information about the
* <code>CreateHostedZone</code> request.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that contains information about the
* <code>CreateHostedZone</code> request.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that contains information about the
* <code>CreateHostedZone</code> request.</p>
*/
inline CreateHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that contains information about the
* <code>CreateHostedZone</code> request.</p>
*/
inline CreateHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
/**
* <p>A complex type that describes the name servers for this hosted zone.</p>
*/
inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
/**
* <p>A complex type that describes the name servers for this hosted zone.</p>
*/
inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
/**
* <p>A complex type that describes the name servers for this hosted zone.</p>
*/
inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
/**
* <p>A complex type that describes the name servers for this hosted zone.</p>
*/
inline CreateHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
/**
* <p>A complex type that describes the name servers for this hosted zone.</p>
*/
inline CreateHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
/**
* <p>A complex type that contains information about an Amazon VPC that you
* associated with this hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>A complex type that contains information about an Amazon VPC that you
* associated with this hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPC = value; }
/**
* <p>A complex type that contains information about an Amazon VPC that you
* associated with this hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPC = std::move(value); }
/**
* <p>A complex type that contains information about an Amazon VPC that you
* associated with this hosted zone.</p>
*/
inline CreateHostedZoneResult& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>A complex type that contains information about an Amazon VPC that you
* associated with this hosted zone.</p>
*/
inline CreateHostedZoneResult& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline CreateHostedZoneResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline CreateHostedZoneResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new hosted zone.</p>
*/
inline CreateHostedZoneResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
HostedZone m_hostedZone;
ChangeInfo m_changeInfo;
DelegationSet m_delegationSet;
VPC m_vPC;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,199 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
*/
class AWS_ROUTE53_API CreateQueryLoggingConfigRequest : public Route53Request
{
public:
CreateQueryLoggingConfigRequest();
// 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 "CreateQueryLoggingConfig"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline CreateQueryLoggingConfigRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you want to log queries for. You can log
* queries only for public hosted zones.</p>
*/
inline CreateQueryLoggingConfigRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline const Aws::String& GetCloudWatchLogsLogGroupArn() const{ return m_cloudWatchLogsLogGroupArn; }
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline bool CloudWatchLogsLogGroupArnHasBeenSet() const { return m_cloudWatchLogsLogGroupArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline void SetCloudWatchLogsLogGroupArn(const Aws::String& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = value; }
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline void SetCloudWatchLogsLogGroupArn(Aws::String&& value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline void SetCloudWatchLogsLogGroupArn(const char* value) { m_cloudWatchLogsLogGroupArnHasBeenSet = true; m_cloudWatchLogsLogGroupArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(const Aws::String& value) { SetCloudWatchLogsLogGroupArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(Aws::String&& value) { SetCloudWatchLogsLogGroupArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) for the log group that you want to Amazon
* Route 53 to send query logs to. This is the format of the ARN:</p>
* <p>arn:aws:logs:<i>region</i>:<i>account-id</i>:log-group:<i>log_group_name</i>
* </p> <p>To get the ARN for a log group, you can use the CloudWatch console, the
* <a
* href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html">DescribeLogGroups</a>
* API action, the <a
* href="https://docs.aws.amazon.com/cli/latest/reference/logs/describe-log-groups.html">describe-log-groups</a>
* command, or the applicable command in one of the AWS SDKs.</p>
*/
inline CreateQueryLoggingConfigRequest& WithCloudWatchLogsLogGroupArn(const char* value) { SetCloudWatchLogsLogGroupArn(value); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
Aws::String m_cloudWatchLogsLogGroupArn;
bool m_cloudWatchLogsLogGroupArnHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,116 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/QueryLoggingConfig.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
class AWS_ROUTE53_API CreateQueryLoggingConfigResult
{
public:
CreateQueryLoggingConfigResult();
CreateQueryLoggingConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateQueryLoggingConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains the ID for a query logging configuration, the ID
* of the hosted zone that you want to log queries for, and the ARN for the log
* group that you want Amazon Route 53 to send query logs to.</p>
*/
inline const QueryLoggingConfig& GetQueryLoggingConfig() const{ return m_queryLoggingConfig; }
/**
* <p>A complex type that contains the ID for a query logging configuration, the ID
* of the hosted zone that you want to log queries for, and the ARN for the log
* group that you want Amazon Route 53 to send query logs to.</p>
*/
inline void SetQueryLoggingConfig(const QueryLoggingConfig& value) { m_queryLoggingConfig = value; }
/**
* <p>A complex type that contains the ID for a query logging configuration, the ID
* of the hosted zone that you want to log queries for, and the ARN for the log
* group that you want Amazon Route 53 to send query logs to.</p>
*/
inline void SetQueryLoggingConfig(QueryLoggingConfig&& value) { m_queryLoggingConfig = std::move(value); }
/**
* <p>A complex type that contains the ID for a query logging configuration, the ID
* of the hosted zone that you want to log queries for, and the ARN for the log
* group that you want Amazon Route 53 to send query logs to.</p>
*/
inline CreateQueryLoggingConfigResult& WithQueryLoggingConfig(const QueryLoggingConfig& value) { SetQueryLoggingConfig(value); return *this;}
/**
* <p>A complex type that contains the ID for a query logging configuration, the ID
* of the hosted zone that you want to log queries for, and the ARN for the log
* group that you want Amazon Route 53 to send query logs to.</p>
*/
inline CreateQueryLoggingConfigResult& WithQueryLoggingConfig(QueryLoggingConfig&& value) { SetQueryLoggingConfig(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline CreateQueryLoggingConfigResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline CreateQueryLoggingConfigResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new query logging configuration.</p>
*/
inline CreateQueryLoggingConfigResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
QueryLoggingConfig m_queryLoggingConfig;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,175 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
*/
class AWS_ROUTE53_API CreateReusableDelegationSetRequest : public Route53Request
{
public:
CreateReusableDelegationSetRequest();
// 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 "CreateReusableDelegationSet"; }
Aws::String SerializePayload() const override;
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline CreateReusableDelegationSetRequest& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline CreateReusableDelegationSetRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>A unique string that identifies the request, and that allows you to retry
* failed <code>CreateReusableDelegationSet</code> requests without the risk of
* executing the operation twice. You must use a unique
* <code>CallerReference</code> string every time you submit a
* <code>CreateReusableDelegationSet</code> request. <code>CallerReference</code>
* can be any unique string, for example a date/time stamp.</p>
*/
inline CreateReusableDelegationSetRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline CreateReusableDelegationSetRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline CreateReusableDelegationSetRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>If you want to mark the delegation set for an existing hosted zone as
* reusable, the ID for that hosted zone.</p>
*/
inline CreateReusableDelegationSetRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
private:
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,106 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/DelegationSet.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
class AWS_ROUTE53_API CreateReusableDelegationSetResult
{
public:
CreateReusableDelegationSetResult();
CreateReusableDelegationSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateReusableDelegationSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains name server information.</p>
*/
inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
/**
* <p>A complex type that contains name server information.</p>
*/
inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
/**
* <p>A complex type that contains name server information.</p>
*/
inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
/**
* <p>A complex type that contains name server information.</p>
*/
inline CreateReusableDelegationSetResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
/**
* <p>A complex type that contains name server information.</p>
*/
inline CreateReusableDelegationSetResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline CreateReusableDelegationSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline CreateReusableDelegationSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The unique URL representing the new reusable delegation set.</p>
*/
inline CreateReusableDelegationSetResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
DelegationSet m_delegationSet;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,264 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the resource record sets that
* you want to create based on a specified traffic policy.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyInstanceRequest : public Route53Request
{
public:
CreateTrafficPolicyInstanceRequest();
// 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 "CreateTrafficPolicyInstance"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you want Amazon Route 53 to create resource
* record sets in by using the configuration in a traffic policy.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The domain name (such as example.com) or subdomain name (such as
* www.example.com) for which Amazon Route 53 responds to DNS queries by using the
* resource record sets that Route 53 creates for this traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>(Optional) The TTL that you want Amazon Route 53 to assign to all of the
* resource record sets that it creates in the specified hosted zone.</p>
*/
inline long long GetTTL() const{ return m_tTL; }
/**
* <p>(Optional) The TTL that you want Amazon Route 53 to assign to all of the
* resource record sets that it creates in the specified hosted zone.</p>
*/
inline bool TTLHasBeenSet() const { return m_tTLHasBeenSet; }
/**
* <p>(Optional) The TTL that you want Amazon Route 53 to assign to all of the
* resource record sets that it creates in the specified hosted zone.</p>
*/
inline void SetTTL(long long value) { m_tTLHasBeenSet = true; m_tTL = value; }
/**
* <p>(Optional) The TTL that you want Amazon Route 53 to assign to all of the
* resource record sets that it creates in the specified hosted zone.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithTTL(long long value) { SetTTL(value); return *this;}
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline const Aws::String& GetTrafficPolicyId() const{ return m_trafficPolicyId; }
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline void SetTrafficPolicyId(const Aws::String& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = value; }
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline void SetTrafficPolicyId(Aws::String&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::move(value); }
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline void SetTrafficPolicyId(const char* value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId.assign(value); }
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithTrafficPolicyId(const Aws::String& value) { SetTrafficPolicyId(value); return *this;}
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithTrafficPolicyId(Aws::String&& value) { SetTrafficPolicyId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy that you want to use to create resource record
* sets in the specified hosted zone.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithTrafficPolicyId(const char* value) { SetTrafficPolicyId(value); return *this;}
/**
* <p>The version of the traffic policy that you want to use to create resource
* record sets in the specified hosted zone.</p>
*/
inline int GetTrafficPolicyVersion() const{ return m_trafficPolicyVersion; }
/**
* <p>The version of the traffic policy that you want to use to create resource
* record sets in the specified hosted zone.</p>
*/
inline bool TrafficPolicyVersionHasBeenSet() const { return m_trafficPolicyVersionHasBeenSet; }
/**
* <p>The version of the traffic policy that you want to use to create resource
* record sets in the specified hosted zone.</p>
*/
inline void SetTrafficPolicyVersion(int value) { m_trafficPolicyVersionHasBeenSet = true; m_trafficPolicyVersion = value; }
/**
* <p>The version of the traffic policy that you want to use to create resource
* record sets in the specified hosted zone.</p>
*/
inline CreateTrafficPolicyInstanceRequest& WithTrafficPolicyVersion(int value) { SetTrafficPolicyVersion(value); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
long long m_tTL;
bool m_tTLHasBeenSet;
Aws::String m_trafficPolicyId;
bool m_trafficPolicyIdHasBeenSet;
int m_trafficPolicyVersion;
bool m_trafficPolicyVersionHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/TrafficPolicyInstance.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the
* <code>CreateTrafficPolicyInstance</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyInstanceResult
{
public:
CreateTrafficPolicyInstanceResult();
CreateTrafficPolicyInstanceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateTrafficPolicyInstanceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains settings for the new traffic policy
* instance.</p>
*/
inline const TrafficPolicyInstance& GetTrafficPolicyInstance() const{ return m_trafficPolicyInstance; }
/**
* <p>A complex type that contains settings for the new traffic policy
* instance.</p>
*/
inline void SetTrafficPolicyInstance(const TrafficPolicyInstance& value) { m_trafficPolicyInstance = value; }
/**
* <p>A complex type that contains settings for the new traffic policy
* instance.</p>
*/
inline void SetTrafficPolicyInstance(TrafficPolicyInstance&& value) { m_trafficPolicyInstance = std::move(value); }
/**
* <p>A complex type that contains settings for the new traffic policy
* instance.</p>
*/
inline CreateTrafficPolicyInstanceResult& WithTrafficPolicyInstance(const TrafficPolicyInstance& value) { SetTrafficPolicyInstance(value); return *this;}
/**
* <p>A complex type that contains settings for the new traffic policy
* instance.</p>
*/
inline CreateTrafficPolicyInstanceResult& WithTrafficPolicyInstance(TrafficPolicyInstance&& value) { SetTrafficPolicyInstance(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy instance.</p>
*/
inline CreateTrafficPolicyInstanceResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
TrafficPolicyInstance m_trafficPolicyInstance;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,207 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the traffic policy that you
* want to create.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyRequest : public Route53Request
{
public:
CreateTrafficPolicyRequest();
// 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 "CreateTrafficPolicy"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the traffic policy.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the traffic policy.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the traffic policy.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the traffic policy.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the traffic policy.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the traffic policy.</p>
*/
inline CreateTrafficPolicyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the traffic policy.</p>
*/
inline CreateTrafficPolicyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the traffic policy.</p>
*/
inline CreateTrafficPolicyRequest& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline const Aws::String& GetDocument() const{ return m_document; }
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline void SetDocument(const Aws::String& value) { m_documentHasBeenSet = true; m_document = value; }
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline void SetDocument(Aws::String&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline void SetDocument(const char* value) { m_documentHasBeenSet = true; m_document.assign(value); }
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline CreateTrafficPolicyRequest& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline CreateTrafficPolicyRequest& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
/**
* <p>The definition of this traffic policy in JSON format. For more information,
* see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic
* Policy Document Format</a>.</p>
*/
inline CreateTrafficPolicyRequest& WithDocument(const char* value) { SetDocument(value); return *this;}
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline CreateTrafficPolicyRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline CreateTrafficPolicyRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p>(Optional) Any comments that you want to include about the traffic
* policy.</p>
*/
inline CreateTrafficPolicyRequest& WithComment(const char* value) { SetComment(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_document;
bool m_documentHasBeenSet;
Aws::String m_comment;
bool m_commentHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,112 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/TrafficPolicy.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the
* <code>CreateTrafficPolicy</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyResult
{
public:
CreateTrafficPolicyResult();
CreateTrafficPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateTrafficPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains settings for the new traffic policy.</p>
*/
inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; }
/**
* <p>A complex type that contains settings for the new traffic policy.</p>
*/
inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; }
/**
* <p>A complex type that contains settings for the new traffic policy.</p>
*/
inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); }
/**
* <p>A complex type that contains settings for the new traffic policy.</p>
*/
inline CreateTrafficPolicyResult& WithTrafficPolicy(const TrafficPolicy& value) { SetTrafficPolicy(value); return *this;}
/**
* <p>A complex type that contains settings for the new traffic policy.</p>
*/
inline CreateTrafficPolicyResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline CreateTrafficPolicyResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline CreateTrafficPolicyResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy.</p>
*/
inline CreateTrafficPolicyResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
TrafficPolicy m_trafficPolicy;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,207 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the traffic policy that you
* want to create a new version for.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyVersionRequest : public Route53Request
{
public:
CreateTrafficPolicyVersionRequest();
// 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 "CreateTrafficPolicyVersion"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy for which you want to create a new version.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline const Aws::String& GetDocument() const{ return m_document; }
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline void SetDocument(const Aws::String& value) { m_documentHasBeenSet = true; m_document = value; }
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline void SetDocument(Aws::String&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline void SetDocument(const char* value) { m_documentHasBeenSet = true; m_document.assign(value); }
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
/**
* <p>The definition of this version of the traffic policy, in JSON format. You
* specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For
* more information about the JSON format, see <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithDocument(const char* value) { SetDocument(value); return *this;}
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code>
* request, if any.</p>
*/
inline CreateTrafficPolicyVersionRequest& WithComment(const char* value) { SetComment(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_document;
bool m_documentHasBeenSet;
Aws::String m_comment;
bool m_commentHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/TrafficPolicy.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the
* <code>CreateTrafficPolicyVersion</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersionResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateTrafficPolicyVersionResult
{
public:
CreateTrafficPolicyVersionResult();
CreateTrafficPolicyVersionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateTrafficPolicyVersionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains settings for the new version of the traffic
* policy.</p>
*/
inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; }
/**
* <p>A complex type that contains settings for the new version of the traffic
* policy.</p>
*/
inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; }
/**
* <p>A complex type that contains settings for the new version of the traffic
* policy.</p>
*/
inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); }
/**
* <p>A complex type that contains settings for the new version of the traffic
* policy.</p>
*/
inline CreateTrafficPolicyVersionResult& WithTrafficPolicy(const TrafficPolicy& value) { SetTrafficPolicy(value); return *this;}
/**
* <p>A complex type that contains settings for the new version of the traffic
* policy.</p>
*/
inline CreateTrafficPolicyVersionResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline CreateTrafficPolicyVersionResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline CreateTrafficPolicyVersionResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>A unique URL that represents a new traffic policy version.</p>
*/
inline CreateTrafficPolicyVersionResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
TrafficPolicy m_trafficPolicy;
Aws::String m_location;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,138 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to authorize
* associating a VPC with your private hosted zone. Authorization is only required
* when a private hosted zone and a VPC were created by using different
* accounts.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateVPCAssociationAuthorizationRequest : public Route53Request
{
public:
CreateVPCAssociationAuthorizationRequest();
// 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 "CreateVPCAssociationAuthorization"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the private hosted zone that you want to authorize associating a
* VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline CreateVPCAssociationAuthorizationRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>A complex type that contains the VPC ID and region for the VPC that you want
* to authorize associating with your hosted zone.</p>
*/
inline CreateVPCAssociationAuthorizationRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
VPC m_vPC;
bool m_vPCHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information from a
* <code>CreateVPCAssociationAuthorization</code> request.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorizationResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API CreateVPCAssociationAuthorizationResult
{
public:
CreateVPCAssociationAuthorizationResult();
CreateVPCAssociationAuthorizationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
CreateVPCAssociationAuthorizationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneId = value; }
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneId.assign(value); }
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationResult& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationResult& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you authorized associating a VPC with.</p>
*/
inline CreateVPCAssociationAuthorizationResult& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>The VPC that you authorized associating with a hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>The VPC that you authorized associating with a hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPC = value; }
/**
* <p>The VPC that you authorized associating with a hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPC = std::move(value); }
/**
* <p>The VPC that you authorized associating with a hosted zone.</p>
*/
inline CreateVPCAssociationAuthorizationResult& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>The VPC that you authorized associating with a hosted zone.</p>
*/
inline CreateVPCAssociationAuthorizationResult& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
private:
Aws::String m_hostedZoneId;
VPC m_vPC;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,201 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_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 Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that lists the name servers in a delegation set, as well as
* the <code>CallerReference</code> and the <code>ID</code> for the delegation
* set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DelegationSet">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DelegationSet
{
public:
DelegationSet();
DelegationSet(const Aws::Utils::Xml::XmlNode& xmlNode);
DelegationSet& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline DelegationSet& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline DelegationSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID that Amazon Route 53 assigns to a reusable delegation set.</p>
*/
inline DelegationSet& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline DelegationSet& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline DelegationSet& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the reusable delegation set.</p>
*/
inline DelegationSet& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline const Aws::Vector<Aws::String>& GetNameServers() const{ return m_nameServers; }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline bool NameServersHasBeenSet() const { return m_nameServersHasBeenSet; }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline void SetNameServers(const Aws::Vector<Aws::String>& value) { m_nameServersHasBeenSet = true; m_nameServers = value; }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline void SetNameServers(Aws::Vector<Aws::String>&& value) { m_nameServersHasBeenSet = true; m_nameServers = std::move(value); }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline DelegationSet& WithNameServers(const Aws::Vector<Aws::String>& value) { SetNameServers(value); return *this;}
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline DelegationSet& WithNameServers(Aws::Vector<Aws::String>&& value) { SetNameServers(std::move(value)); return *this;}
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline DelegationSet& AddNameServers(const Aws::String& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline DelegationSet& AddNameServers(Aws::String&& value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(std::move(value)); return *this; }
/**
* <p>A complex type that contains a list of the authoritative name servers for a
* hosted zone or for a reusable delegation set.</p>
*/
inline DelegationSet& AddNameServers(const char* value) { m_nameServersHasBeenSet = true; m_nameServers.push_back(value); return *this; }
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
Aws::Vector<Aws::String> m_nameServers;
bool m_nameServersHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,86 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>This action deletes a health check.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteHealthCheckRequest : public Route53Request
{
public:
DeleteHealthCheckRequest();
// 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 "DeleteHealthCheck"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline DeleteHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline DeleteHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
/**
* <p>The ID of the health check that you want to delete.</p>
*/
inline DeleteHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
private:
Aws::String m_healthCheckId;
bool m_healthCheckIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>An empty element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheckResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteHealthCheckResult
{
public:
DeleteHealthCheckResult();
DeleteHealthCheckResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteHealthCheckResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,86 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to delete a hosted zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteHostedZoneRequest : public Route53Request
{
public:
DeleteHostedZoneRequest();
// 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 "DeleteHostedZone"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline DeleteHostedZoneRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline DeleteHostedZoneRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone you want to delete.</p>
*/
inline DeleteHostedZoneRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a <code>DeleteHostedZone</code>
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZoneResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteHostedZoneResult
{
public:
DeleteHostedZoneResult();
DeleteHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains the ID, the status, and the date and time of a
* request to delete a hosted zone.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that contains the ID, the status, and the date and time of a
* request to delete a hosted zone.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that contains the ID, the status, and the date and time of a
* request to delete a hosted zone.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that contains the ID, the status, and the date and time of a
* request to delete a hosted zone.</p>
*/
inline DeleteHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that contains the ID, the status, and the date and time of a
* request to delete a hosted zone.</p>
*/
inline DeleteHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
private:
ChangeInfo m_changeInfo;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
*/
class AWS_ROUTE53_API DeleteQueryLoggingConfigRequest : public Route53Request
{
public:
DeleteQueryLoggingConfigRequest();
// 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 "DeleteQueryLoggingConfig"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline DeleteQueryLoggingConfigRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline DeleteQueryLoggingConfigRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the configuration that you want to delete. </p>
*/
inline DeleteQueryLoggingConfigRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
class AWS_ROUTE53_API DeleteQueryLoggingConfigResult
{
public:
DeleteQueryLoggingConfigResult();
DeleteQueryLoggingConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteQueryLoggingConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,86 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to delete a reusable delegation set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteReusableDelegationSetRequest : public Route53Request
{
public:
DeleteReusableDelegationSetRequest();
// 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 "DeleteReusableDelegationSet"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline DeleteReusableDelegationSetRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline DeleteReusableDelegationSetRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the reusable delegation set that you want to delete.</p>
*/
inline DeleteReusableDelegationSetRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>An empty element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSetResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteReusableDelegationSetResult
{
public:
DeleteReusableDelegationSetResult();
DeleteReusableDelegationSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteReusableDelegationSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,111 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to delete a specified traffic policy instance.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteTrafficPolicyInstanceRequest : public Route53Request
{
public:
DeleteTrafficPolicyInstanceRequest();
// 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 "DeleteTrafficPolicyInstance"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline DeleteTrafficPolicyInstanceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline DeleteTrafficPolicyInstanceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy instance that you want to delete. </p>
* <p>When you delete a traffic policy instance, Amazon Route 53 also
* deletes all of the resource record sets that were created when you created the
* traffic policy instance.</p>
*/
inline DeleteTrafficPolicyInstanceRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>An empty element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstanceResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteTrafficPolicyInstanceResult
{
public:
DeleteTrafficPolicyInstanceResult();
DeleteTrafficPolicyInstanceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteTrafficPolicyInstanceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,111 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to delete a specified traffic policy version.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteTrafficPolicyRequest : public Route53Request
{
public:
DeleteTrafficPolicyRequest();
// 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 "DeleteTrafficPolicy"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline DeleteTrafficPolicyRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline DeleteTrafficPolicyRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy that you want to delete.</p>
*/
inline DeleteTrafficPolicyRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The version number of the traffic policy that you want to delete.</p>
*/
inline int GetVersion() const{ return m_version; }
/**
* <p>The version number of the traffic policy that you want to delete.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version number of the traffic policy that you want to delete.</p>
*/
inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version number of the traffic policy that you want to delete.</p>
*/
inline DeleteTrafficPolicyRequest& WithVersion(int value) { SetVersion(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
int m_version;
bool m_versionHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>An empty element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteTrafficPolicyResult
{
public:
DeleteTrafficPolicyResult();
DeleteTrafficPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteTrafficPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,152 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to remove
* authorization to associate a VPC that was created by one AWS account with a
* hosted zone that was created with a different AWS account. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteVPCAssociationAuthorizationRequest : public Route53Request
{
public:
DeleteVPCAssociationAuthorizationRequest();
// 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 "DeleteVPCAssociationAuthorization"; }
Aws::String SerializePayload() const override;
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, the ID
* of the hosted zone.</p>
*/
inline DeleteVPCAssociationAuthorizationRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline DeleteVPCAssociationAuthorizationRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>When removing authorization to associate a VPC that was created by one AWS
* account with a hosted zone that was created with a different AWS account, a
* complex type that includes the ID and region of the VPC.</p>
*/
inline DeleteVPCAssociationAuthorizationRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
VPC m_vPC;
bool m_vPCHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>Empty response for the request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorizationResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DeleteVPCAssociationAuthorizationResult
{
public:
DeleteVPCAssociationAuthorizationResult();
DeleteVPCAssociationAuthorizationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DeleteVPCAssociationAuthorizationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>For the metric that the CloudWatch alarm is associated with, a complex type
* that contains information about one dimension.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/Dimension">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API Dimension
{
public:
Dimension();
Dimension(const Aws::Utils::Xml::XmlNode& xmlNode);
Dimension& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline Dimension& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline Dimension& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the name of one
* dimension.</p>
*/
inline Dimension& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline Dimension& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline Dimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>For the metric that the CloudWatch alarm is associated with, the value of one
* dimension.</p>
*/
inline Dimension& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,180 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the VPC that you want to
* disassociate from a specified private hosted zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DisassociateVPCFromHostedZoneRequest : public Route53Request
{
public:
DisassociateVPCFromHostedZoneRequest();
// 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 "DisassociateVPCFromHostedZone"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the private hosted zone that you want to disassociate a VPC
* from.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline const VPC& GetVPC() const{ return m_vPC; }
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline bool VPCHasBeenSet() const { return m_vPCHasBeenSet; }
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline void SetVPC(const VPC& value) { m_vPCHasBeenSet = true; m_vPC = value; }
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline void SetVPC(VPC&& value) { m_vPCHasBeenSet = true; m_vPC = std::move(value); }
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithVPC(const VPC& value) { SetVPC(value); return *this;}
/**
* <p>A complex type that contains information about the VPC that you're
* disassociating from the specified hosted zone.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithVPC(VPC&& value) { SetVPC(std::move(value)); return *this;}
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline const Aws::String& GetComment() const{ return m_comment; }
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
/**
* <p> <i>Optional:</i> A comment about the disassociation request.</p>
*/
inline DisassociateVPCFromHostedZoneRequest& WithComment(const char* value) { SetComment(value); return *this;}
private:
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
VPC m_vPC;
bool m_vPCHasBeenSet;
Aws::String m_comment;
bool m_commentHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the disassociate
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZoneResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API DisassociateVPCFromHostedZoneResult
{
public:
DisassociateVPCFromHostedZoneResult();
DisassociateVPCFromHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
DisassociateVPCFromHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that describes the changes made to the specified private
* hosted zone.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that describes the changes made to the specified private
* hosted zone.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that describes the changes made to the specified private
* hosted zone.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that describes the changes made to the specified private
* hosted zone.</p>
*/
inline DisassociateVPCFromHostedZoneResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that describes the changes made to the specified private
* hosted zone.</p>
*/
inline DisassociateVPCFromHostedZoneResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
private:
ChangeInfo m_changeInfo;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,305 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about a geographic
* location.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocation">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GeoLocation
{
public:
GeoLocation();
GeoLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
GeoLocation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline const Aws::String& GetContinentCode() const{ return m_continentCode; }
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline GeoLocation& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline GeoLocation& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
/**
* <p>The two-letter code for the continent.</p> <p>Amazon Route 53 supports the
* following continent codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li>
* <p> <b>AN</b>: Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p>
* <b>EU</b>: Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p>
* <b>NA</b>: North America</p> </li> <li> <p> <b>SA</b>: South America</p> </li>
* </ul> <p>Constraint: Specifying <code>ContinentCode</code> with either
* <code>CountryCode</code> or <code>SubdivisionCode</code> returns an
* <code>InvalidInput</code> error.</p>
*/
inline GeoLocation& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GeoLocation& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GeoLocation& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a country.</p>
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GeoLocation& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GeoLocation& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GeoLocation& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
/**
* <p>For geolocation resource record sets, the two-letter code for a state of the
* United States. Route 53 doesn't support any other values for
* <code>SubdivisionCode</code>. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GeoLocation& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
private:
Aws::String m_continentCode;
bool m_continentCodeHasBeenSet;
Aws::String m_countryCode;
bool m_countryCodeHasBeenSet;
Aws::String m_subdivisionCode;
bool m_subdivisionCodeHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,326 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified <code>geolocation</code> code.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GeoLocationDetails">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GeoLocationDetails
{
public:
GeoLocationDetails();
GeoLocationDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
GeoLocationDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The two-letter code for the continent.</p>
*/
inline const Aws::String& GetContinentCode() const{ return m_continentCode; }
/**
* <p>The two-letter code for the continent.</p>
*/
inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
/**
* <p>The two-letter code for the continent.</p>
*/
inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
/**
* <p>The two-letter code for the continent.</p>
*/
inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
/**
* <p>The two-letter code for the continent.</p>
*/
inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
/**
* <p>The two-letter code for the continent.</p>
*/
inline GeoLocationDetails& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
/**
* <p>The two-letter code for the continent.</p>
*/
inline GeoLocationDetails& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
/**
* <p>The two-letter code for the continent.</p>
*/
inline GeoLocationDetails& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
/**
* <p>The full name of the continent.</p>
*/
inline const Aws::String& GetContinentName() const{ return m_continentName; }
/**
* <p>The full name of the continent.</p>
*/
inline bool ContinentNameHasBeenSet() const { return m_continentNameHasBeenSet; }
/**
* <p>The full name of the continent.</p>
*/
inline void SetContinentName(const Aws::String& value) { m_continentNameHasBeenSet = true; m_continentName = value; }
/**
* <p>The full name of the continent.</p>
*/
inline void SetContinentName(Aws::String&& value) { m_continentNameHasBeenSet = true; m_continentName = std::move(value); }
/**
* <p>The full name of the continent.</p>
*/
inline void SetContinentName(const char* value) { m_continentNameHasBeenSet = true; m_continentName.assign(value); }
/**
* <p>The full name of the continent.</p>
*/
inline GeoLocationDetails& WithContinentName(const Aws::String& value) { SetContinentName(value); return *this;}
/**
* <p>The full name of the continent.</p>
*/
inline GeoLocationDetails& WithContinentName(Aws::String&& value) { SetContinentName(std::move(value)); return *this;}
/**
* <p>The full name of the continent.</p>
*/
inline GeoLocationDetails& WithContinentName(const char* value) { SetContinentName(value); return *this;}
/**
* <p>The two-letter code for the country.</p>
*/
inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
/**
* <p>The two-letter code for the country.</p>
*/
inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
/**
* <p>The two-letter code for the country.</p>
*/
inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
/**
* <p>The two-letter code for the country.</p>
*/
inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
/**
* <p>The two-letter code for the country.</p>
*/
inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
/**
* <p>The two-letter code for the country.</p>
*/
inline GeoLocationDetails& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
/**
* <p>The two-letter code for the country.</p>
*/
inline GeoLocationDetails& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
/**
* <p>The two-letter code for the country.</p>
*/
inline GeoLocationDetails& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
/**
* <p>The name of the country.</p>
*/
inline const Aws::String& GetCountryName() const{ return m_countryName; }
/**
* <p>The name of the country.</p>
*/
inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; }
/**
* <p>The name of the country.</p>
*/
inline void SetCountryName(const Aws::String& value) { m_countryNameHasBeenSet = true; m_countryName = value; }
/**
* <p>The name of the country.</p>
*/
inline void SetCountryName(Aws::String&& value) { m_countryNameHasBeenSet = true; m_countryName = std::move(value); }
/**
* <p>The name of the country.</p>
*/
inline void SetCountryName(const char* value) { m_countryNameHasBeenSet = true; m_countryName.assign(value); }
/**
* <p>The name of the country.</p>
*/
inline GeoLocationDetails& WithCountryName(const Aws::String& value) { SetCountryName(value); return *this;}
/**
* <p>The name of the country.</p>
*/
inline GeoLocationDetails& WithCountryName(Aws::String&& value) { SetCountryName(std::move(value)); return *this;}
/**
* <p>The name of the country.</p>
*/
inline GeoLocationDetails& WithCountryName(const char* value) { SetCountryName(value); return *this;}
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
/**
* <p>The code for the subdivision. Route 53 currently supports only states in the
* United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline const Aws::String& GetSubdivisionName() const{ return m_subdivisionName; }
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline bool SubdivisionNameHasBeenSet() const { return m_subdivisionNameHasBeenSet; }
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline void SetSubdivisionName(const Aws::String& value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName = value; }
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline void SetSubdivisionName(Aws::String&& value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName = std::move(value); }
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline void SetSubdivisionName(const char* value) { m_subdivisionNameHasBeenSet = true; m_subdivisionName.assign(value); }
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionName(const Aws::String& value) { SetSubdivisionName(value); return *this;}
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionName(Aws::String&& value) { SetSubdivisionName(std::move(value)); return *this;}
/**
* <p>The full name of the subdivision. Route 53 currently supports only states in
* the United States.</p>
*/
inline GeoLocationDetails& WithSubdivisionName(const char* value) { SetSubdivisionName(value); return *this;}
private:
Aws::String m_continentCode;
bool m_continentCodeHasBeenSet;
Aws::String m_continentName;
bool m_continentNameHasBeenSet;
Aws::String m_countryCode;
bool m_countryCodeHasBeenSet;
Aws::String m_countryName;
bool m_countryNameHasBeenSet;
Aws::String m_subdivisionCode;
bool m_subdivisionCodeHasBeenSet;
Aws::String m_subdivisionName;
bool m_subdivisionNameHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/route53/model/AccountLimitType.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to create a hosted
* zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetAccountLimitRequest : public Route53Request
{
public:
GetAccountLimitRequest();
// 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 "GetAccountLimit"; }
Aws::String SerializePayload() const override;
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline const AccountLimitType& GetType() const{ return m_type; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline void SetType(const AccountLimitType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline void SetType(AccountLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline GetAccountLimitRequest& WithType(const AccountLimitType& value) { SetType(value); return *this;}
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_HEALTH_CHECKS_BY_OWNER</b>: The maximum number of health checks
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_HOSTED_ZONES_BY_OWNER</b>: The maximum number of hosted zones that you
* can create using the current account.</p> </li> <li> <p>
* <b>MAX_REUSABLE_DELEGATION_SETS_BY_OWNER</b>: The maximum number of reusable
* delegation sets that you can create using the current account.</p> </li> <li>
* <p> <b>MAX_TRAFFIC_POLICIES_BY_OWNER</b>: The maximum number of traffic policies
* that you can create using the current account.</p> </li> <li> <p>
* <b>MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER</b>: The maximum number of traffic
* policy instances that you can create using the current account. (Traffic policy
* instances are referred to as traffic flow policy records in the Amazon Route 53
* console.)</p> </li> </ul>
*/
inline GetAccountLimitRequest& WithType(AccountLimitType&& value) { SetType(std::move(value)); return *this;}
private:
AccountLimitType m_type;
bool m_typeHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,118 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/AccountLimit.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the requested limit. </p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetAccountLimitResult
{
public:
GetAccountLimitResult();
GetAccountLimitResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetAccountLimitResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the value of <code>Type</code> in
* the request, the value of <code>Limit</code> is the maximum number of health
* checks that you can create using the current account.</p>
*/
inline const AccountLimit& GetLimit() const{ return m_limit; }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the value of <code>Type</code> in
* the request, the value of <code>Limit</code> is the maximum number of health
* checks that you can create using the current account.</p>
*/
inline void SetLimit(const AccountLimit& value) { m_limit = value; }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the value of <code>Type</code> in
* the request, the value of <code>Limit</code> is the maximum number of health
* checks that you can create using the current account.</p>
*/
inline void SetLimit(AccountLimit&& value) { m_limit = std::move(value); }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the value of <code>Type</code> in
* the request, the value of <code>Limit</code> is the maximum number of health
* checks that you can create using the current account.</p>
*/
inline GetAccountLimitResult& WithLimit(const AccountLimit& value) { SetLimit(value); return *this;}
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the value of <code>Type</code> in
* the request, the value of <code>Limit</code> is the maximum number of health
* checks that you can create using the current account.</p>
*/
inline GetAccountLimitResult& WithLimit(AccountLimit&& value) { SetLimit(std::move(value)); return *this;}
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the
* value of <code>Type</code> in the request, the value of <code>Count</code> is
* the current number of health checks that you have created using the current
* account.</p>
*/
inline long long GetCount() const{ return m_count; }
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the
* value of <code>Type</code> in the request, the value of <code>Count</code> is
* the current number of health checks that you have created using the current
* account.</p>
*/
inline void SetCount(long long value) { m_count = value; }
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_HEALTH_CHECKS_BY_OWNER</code> for the
* value of <code>Type</code> in the request, the value of <code>Count</code> is
* the current number of health checks that you have created using the current
* account.</p>
*/
inline GetAccountLimitResult& WithCount(long long value) { SetCount(value); return *this;}
private:
AccountLimit m_limit;
long long m_count;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,102 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>The input for a GetChange request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetChangeRequest : public Route53Request
{
public:
GetChangeRequest();
// 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 "GetChange"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline GetChangeRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline GetChangeRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the change batch request. The value that you specify here is the
* value that <code>ChangeResourceRecordSets</code> returned in the <code>Id</code>
* element when you submitted the request.</p>
*/
inline GetChangeRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ChangeInfo.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the <code>ChangeInfo</code>
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChangeResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetChangeResult
{
public:
GetChangeResult();
GetChangeResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetChangeResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains information about the specified change
* batch.</p>
*/
inline const ChangeInfo& GetChangeInfo() const{ return m_changeInfo; }
/**
* <p>A complex type that contains information about the specified change
* batch.</p>
*/
inline void SetChangeInfo(const ChangeInfo& value) { m_changeInfo = value; }
/**
* <p>A complex type that contains information about the specified change
* batch.</p>
*/
inline void SetChangeInfo(ChangeInfo&& value) { m_changeInfo = std::move(value); }
/**
* <p>A complex type that contains information about the specified change
* batch.</p>
*/
inline GetChangeResult& WithChangeInfo(const ChangeInfo& value) { SetChangeInfo(value); return *this;}
/**
* <p>A complex type that contains information about the specified change
* batch.</p>
*/
inline GetChangeResult& WithChangeInfo(ChangeInfo&& value) { SetChangeInfo(std::move(value)); return *this;}
private:
ChangeInfo m_changeInfo;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,39 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>Empty request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetCheckerIpRangesRequest : public Route53Request
{
public:
GetCheckerIpRangesRequest();
// 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 "GetCheckerIpRanges"; }
Aws::String SerializePayload() const override;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the <code>CheckerIpRanges</code>
* element.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRangesResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetCheckerIpRangesResult
{
public:
GetCheckerIpRangesResult();
GetCheckerIpRangesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetCheckerIpRangesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline const Aws::Vector<Aws::String>& GetCheckerIpRanges() const{ return m_checkerIpRanges; }
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline void SetCheckerIpRanges(const Aws::Vector<Aws::String>& value) { m_checkerIpRanges = value; }
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline void SetCheckerIpRanges(Aws::Vector<Aws::String>&& value) { m_checkerIpRanges = std::move(value); }
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline GetCheckerIpRangesResult& WithCheckerIpRanges(const Aws::Vector<Aws::String>& value) { SetCheckerIpRanges(value); return *this;}
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline GetCheckerIpRangesResult& WithCheckerIpRanges(Aws::Vector<Aws::String>&& value) { SetCheckerIpRanges(std::move(value)); return *this;}
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline GetCheckerIpRangesResult& AddCheckerIpRanges(const Aws::String& value) { m_checkerIpRanges.push_back(value); return *this; }
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline GetCheckerIpRangesResult& AddCheckerIpRanges(Aws::String&& value) { m_checkerIpRanges.push_back(std::move(value)); return *this; }
/**
* <p>A complex type that contains sorted list of IP ranges in CIDR format for
* Amazon Route 53 health checkers.</p>
*/
inline GetCheckerIpRangesResult& AddCheckerIpRanges(const char* value) { m_checkerIpRanges.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_checkerIpRanges;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,278 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace Route53
{
namespace Model
{
/**
* <p>A request for information about whether a specified geographic location is
* supported for Amazon Route 53 geolocation resource record sets.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetGeoLocationRequest : public Route53Request
{
public:
GetGeoLocationRequest();
// 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 "GetGeoLocation"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline const Aws::String& GetContinentCode() const{ return m_continentCode; }
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline bool ContinentCodeHasBeenSet() const { return m_continentCodeHasBeenSet; }
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline void SetContinentCode(const Aws::String& value) { m_continentCodeHasBeenSet = true; m_continentCode = value; }
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline void SetContinentCode(Aws::String&& value) { m_continentCodeHasBeenSet = true; m_continentCode = std::move(value); }
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline void SetContinentCode(const char* value) { m_continentCodeHasBeenSet = true; m_continentCode.assign(value); }
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline GetGeoLocationRequest& WithContinentCode(const Aws::String& value) { SetContinentCode(value); return *this;}
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline GetGeoLocationRequest& WithContinentCode(Aws::String&& value) { SetContinentCode(std::move(value)); return *this;}
/**
* <p>For geolocation resource record sets, a two-letter abbreviation that
* identifies a continent. Amazon Route 53 supports the following continent
* codes:</p> <ul> <li> <p> <b>AF</b>: Africa</p> </li> <li> <p> <b>AN</b>:
* Antarctica</p> </li> <li> <p> <b>AS</b>: Asia</p> </li> <li> <p> <b>EU</b>:
* Europe</p> </li> <li> <p> <b>OC</b>: Oceania</p> </li> <li> <p> <b>NA</b>: North
* America</p> </li> <li> <p> <b>SA</b>: South America</p> </li> </ul>
*/
inline GetGeoLocationRequest& WithContinentCode(const char* value) { SetContinentCode(value); return *this;}
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GetGeoLocationRequest& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GetGeoLocationRequest& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
/**
* <p>Amazon Route 53 uses the two-letter country codes that are specified in <a
* href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO standard 3166-1
* alpha-2</a>.</p>
*/
inline GetGeoLocationRequest& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline const Aws::String& GetSubdivisionCode() const{ return m_subdivisionCode; }
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline bool SubdivisionCodeHasBeenSet() const { return m_subdivisionCodeHasBeenSet; }
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(const Aws::String& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = value; }
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(Aws::String&& value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode = std::move(value); }
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline void SetSubdivisionCode(const char* value) { m_subdivisionCodeHasBeenSet = true; m_subdivisionCode.assign(value); }
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GetGeoLocationRequest& WithSubdivisionCode(const Aws::String& value) { SetSubdivisionCode(value); return *this;}
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GetGeoLocationRequest& WithSubdivisionCode(Aws::String&& value) { SetSubdivisionCode(std::move(value)); return *this;}
/**
* <p>For <code>SubdivisionCode</code>, Amazon Route 53 supports only states of the
* United States. For a list of state abbreviations, see <a
* href="https://pe.usps.com/text/pub28/28apb.htm">Appendix B: TwoLetter State and
* Possession Abbreviations</a> on the United States Postal Service website. </p>
* <p>If you specify <code>subdivisioncode</code>, you must also specify
* <code>US</code> for <code>CountryCode</code>. </p>
*/
inline GetGeoLocationRequest& WithSubdivisionCode(const char* value) { SetSubdivisionCode(value); return *this;}
private:
Aws::String m_continentCode;
bool m_continentCodeHasBeenSet;
Aws::String m_countryCode;
bool m_countryCodeHasBeenSet;
Aws::String m_subdivisionCode;
bool m_subdivisionCodeHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/GeoLocationDetails.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the specified
* geolocation code.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocationResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetGeoLocationResult
{
public:
GetGeoLocationResult();
GetGeoLocationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetGeoLocationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified geolocation code.</p>
*/
inline const GeoLocationDetails& GetGeoLocationDetails() const{ return m_geoLocationDetails; }
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified geolocation code.</p>
*/
inline void SetGeoLocationDetails(const GeoLocationDetails& value) { m_geoLocationDetails = value; }
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified geolocation code.</p>
*/
inline void SetGeoLocationDetails(GeoLocationDetails&& value) { m_geoLocationDetails = std::move(value); }
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified geolocation code.</p>
*/
inline GetGeoLocationResult& WithGeoLocationDetails(const GeoLocationDetails& value) { SetGeoLocationDetails(value); return *this;}
/**
* <p>A complex type that contains the codes and full continent, country, and
* subdivision names for the specified geolocation code.</p>
*/
inline GetGeoLocationResult& WithGeoLocationDetails(GeoLocationDetails&& value) { SetGeoLocationDetails(std::move(value)); return *this;}
private:
GeoLocationDetails m_geoLocationDetails;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,40 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request for the number of health checks that are associated with the
* current AWS account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckCountRequest : public Route53Request
{
public:
GetHealthCheckCountRequest();
// 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 "GetHealthCheckCount"; }
Aws::String SerializePayload() const override;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,61 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a
* <code>GetHealthCheckCount</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckCountResult
{
public:
GetHealthCheckCountResult();
GetHealthCheckCountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHealthCheckCountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The number of health checks associated with the current AWS account.</p>
*/
inline long long GetHealthCheckCount() const{ return m_healthCheckCount; }
/**
* <p>The number of health checks associated with the current AWS account.</p>
*/
inline void SetHealthCheckCount(long long value) { m_healthCheckCount = value; }
/**
* <p>The number of health checks associated with the current AWS account.</p>
*/
inline GetHealthCheckCountResult& WithHealthCheckCount(long long value) { SetHealthCheckCount(value); return *this;}
private:
long long m_healthCheckCount;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request for the reason that a health check failed most
* recently.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckLastFailureReasonRequest : public Route53Request
{
public:
GetHealthCheckLastFailureReasonRequest();
// 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 "GetHealthCheckLastFailureReason"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline GetHealthCheckLastFailureReasonRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline GetHealthCheckLastFailureReasonRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
/**
* <p>The ID for the health check for which you want the last failure reason. When
* you created the health check, <code>CreateHealthCheck</code> returned the ID in
* the response, in the <code>HealthCheckId</code> element.</p> <p>If you
* want to get the last failure reason for a calculated health check, you must use
* the Amazon Route 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckLastFailureReason</code> for a calculated health check.</p>
*
*/
inline GetHealthCheckLastFailureReasonRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
private:
Aws::String m_healthCheckId;
bool m_healthCheckIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/HealthCheckObservation.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a
* <code>GetHealthCheckLastFailureReason</code> request.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReasonResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckLastFailureReasonResult
{
public:
GetHealthCheckLastFailureReasonResult();
GetHealthCheckLastFailureReasonResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHealthCheckLastFailureReasonResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline const Aws::Vector<HealthCheckObservation>& GetHealthCheckObservations() const{ return m_healthCheckObservations; }
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline void SetHealthCheckObservations(const Aws::Vector<HealthCheckObservation>& value) { m_healthCheckObservations = value; }
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline void SetHealthCheckObservations(Aws::Vector<HealthCheckObservation>&& value) { m_healthCheckObservations = std::move(value); }
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline GetHealthCheckLastFailureReasonResult& WithHealthCheckObservations(const Aws::Vector<HealthCheckObservation>& value) { SetHealthCheckObservations(value); return *this;}
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline GetHealthCheckLastFailureReasonResult& WithHealthCheckObservations(Aws::Vector<HealthCheckObservation>&& value) { SetHealthCheckObservations(std::move(value)); return *this;}
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline GetHealthCheckLastFailureReasonResult& AddHealthCheckObservations(const HealthCheckObservation& value) { m_healthCheckObservations.push_back(value); return *this; }
/**
* <p>A list that contains one <code>Observation</code> element for each Amazon
* Route 53 health checker that is reporting a last failure reason. </p>
*/
inline GetHealthCheckLastFailureReasonResult& AddHealthCheckObservations(HealthCheckObservation&& value) { m_healthCheckObservations.push_back(std::move(value)); return *this; }
private:
Aws::Vector<HealthCheckObservation> m_healthCheckObservations;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,111 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to get information about a specified health check. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckRequest : public Route53Request
{
public:
GetHealthCheckRequest();
// 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 "GetHealthCheck"; }
Aws::String SerializePayload() const override;
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline GetHealthCheckRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline GetHealthCheckRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
/**
* <p>The identifier that Amazon Route 53 assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters
* long.</p>
*/
inline GetHealthCheckRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
private:
Aws::String m_healthCheckId;
bool m_healthCheckIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HealthCheck.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a <code>GetHealthCheck</code>
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckResult
{
public:
GetHealthCheckResult();
GetHealthCheckResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHealthCheckResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p>
*/
inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; }
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p>
*/
inline void SetHealthCheck(const HealthCheck& value) { m_healthCheck = value; }
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p>
*/
inline void SetHealthCheck(HealthCheck&& value) { m_healthCheck = std::move(value); }
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p>
*/
inline GetHealthCheckResult& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;}
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p>
*/
inline GetHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;}
private:
HealthCheck m_healthCheck;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,134 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to get the status for a health check.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckStatusRequest : public Route53Request
{
public:
GetHealthCheckStatusRequest();
// 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 "GetHealthCheckStatus"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline const Aws::String& GetHealthCheckId() const{ return m_healthCheckId; }
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline void SetHealthCheckId(const Aws::String& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = value; }
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline void SetHealthCheckId(Aws::String&& value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId = std::move(value); }
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline void SetHealthCheckId(const char* value) { m_healthCheckIdHasBeenSet = true; m_healthCheckId.assign(value); }
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline GetHealthCheckStatusRequest& WithHealthCheckId(const Aws::String& value) { SetHealthCheckId(value); return *this;}
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline GetHealthCheckStatusRequest& WithHealthCheckId(Aws::String&& value) { SetHealthCheckId(std::move(value)); return *this;}
/**
* <p>The ID for the health check that you want the current status for. When you
* created the health check, <code>CreateHealthCheck</code> returned the ID in the
* response, in the <code>HealthCheckId</code> element.</p> <p>If you want
* to check the status of a calculated health check, you must use the Amazon Route
* 53 console or the CloudWatch console. You can't use
* <code>GetHealthCheckStatus</code> to get the status of a calculated health
* check.</p>
*/
inline GetHealthCheckStatusRequest& WithHealthCheckId(const char* value) { SetHealthCheckId(value); return *this;}
private:
Aws::String m_healthCheckId;
bool m_healthCheckIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/HealthCheckObservation.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a <code>GetHealthCheck</code>
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatusResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHealthCheckStatusResult
{
public:
GetHealthCheckStatusResult();
GetHealthCheckStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHealthCheckStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline const Aws::Vector<HealthCheckObservation>& GetHealthCheckObservations() const{ return m_healthCheckObservations; }
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline void SetHealthCheckObservations(const Aws::Vector<HealthCheckObservation>& value) { m_healthCheckObservations = value; }
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline void SetHealthCheckObservations(Aws::Vector<HealthCheckObservation>&& value) { m_healthCheckObservations = std::move(value); }
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline GetHealthCheckStatusResult& WithHealthCheckObservations(const Aws::Vector<HealthCheckObservation>& value) { SetHealthCheckObservations(value); return *this;}
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline GetHealthCheckStatusResult& WithHealthCheckObservations(Aws::Vector<HealthCheckObservation>&& value) { SetHealthCheckObservations(std::move(value)); return *this;}
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline GetHealthCheckStatusResult& AddHealthCheckObservations(const HealthCheckObservation& value) { m_healthCheckObservations.push_back(value); return *this; }
/**
* <p>A list that contains one <code>HealthCheckObservation</code> element for each
* Amazon Route 53 health checker that is reporting a status about the health check
* endpoint.</p>
*/
inline GetHealthCheckStatusResult& AddHealthCheckObservations(HealthCheckObservation&& value) { m_healthCheckObservations.push_back(std::move(value)); return *this; }
private:
Aws::Vector<HealthCheckObservation> m_healthCheckObservations;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,40 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to retrieve a count of all the hosted zones that are associated
* with the current AWS account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneCountRequest : public Route53Request
{
public:
GetHostedZoneCountRequest();
// 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 "GetHostedZoneCount"; }
Aws::String SerializePayload() const override;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,64 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to a
* <code>GetHostedZoneCount</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneCountResult
{
public:
GetHostedZoneCountResult();
GetHostedZoneCountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHostedZoneCountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The total number of public and private hosted zones that are associated with
* the current AWS account.</p>
*/
inline long long GetHostedZoneCount() const{ return m_hostedZoneCount; }
/**
* <p>The total number of public and private hosted zones that are associated with
* the current AWS account.</p>
*/
inline void SetHostedZoneCount(long long value) { m_hostedZoneCount = value; }
/**
* <p>The total number of public and private hosted zones that are associated with
* the current AWS account.</p>
*/
inline GetHostedZoneCountResult& WithHostedZoneCount(long long value) { SetHostedZoneCount(value); return *this;}
private:
long long m_hostedZoneCount;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/route53/model/HostedZoneLimitType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to create a hosted
* zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneLimitRequest : public Route53Request
{
public:
GetHostedZoneLimitRequest();
// 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 "GetHostedZoneLimit"; }
Aws::String SerializePayload() const override;
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline const HostedZoneLimitType& GetType() const{ return m_type; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline void SetType(const HostedZoneLimitType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline void SetType(HostedZoneLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline GetHostedZoneLimitRequest& WithType(const HostedZoneLimitType& value) { SetType(value); return *this;}
/**
* <p>The limit that you want to get. Valid values include the following:</p> <ul>
* <li> <p> <b>MAX_RRSETS_BY_ZONE</b>: The maximum number of records that you can
* create in the specified hosted zone.</p> </li> <li> <p>
* <b>MAX_VPCS_ASSOCIATED_BY_ZONE</b>: The maximum number of Amazon VPCs that you
* can associate with the specified private hosted zone.</p> </li> </ul>
*/
inline GetHostedZoneLimitRequest& WithType(HostedZoneLimitType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline GetHostedZoneLimitRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline GetHostedZoneLimitRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you want to get a limit for.</p>
*/
inline GetHostedZoneLimitRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
private:
HostedZoneLimitType m_type;
bool m_typeHasBeenSet;
Aws::String m_hostedZoneId;
bool m_hostedZoneIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HostedZoneLimit.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the requested limit. </p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneLimitResult
{
public:
GetHostedZoneLimitResult();
GetHostedZoneLimitResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHostedZoneLimitResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
* request, the value of <code>Limit</code> is the maximum number of records that
* you can create in the specified hosted zone.</p>
*/
inline const HostedZoneLimit& GetLimit() const{ return m_limit; }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
* request, the value of <code>Limit</code> is the maximum number of records that
* you can create in the specified hosted zone.</p>
*/
inline void SetLimit(const HostedZoneLimit& value) { m_limit = value; }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
* request, the value of <code>Limit</code> is the maximum number of records that
* you can create in the specified hosted zone.</p>
*/
inline void SetLimit(HostedZoneLimit&& value) { m_limit = std::move(value); }
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
* request, the value of <code>Limit</code> is the maximum number of records that
* you can create in the specified hosted zone.</p>
*/
inline GetHostedZoneLimitResult& WithLimit(const HostedZoneLimit& value) { SetLimit(value); return *this;}
/**
* <p>The current setting for the specified limit. For example, if you specified
* <code>MAX_RRSETS_BY_ZONE</code> for the value of <code>Type</code> in the
* request, the value of <code>Limit</code> is the maximum number of records that
* you can create in the specified hosted zone.</p>
*/
inline GetHostedZoneLimitResult& WithLimit(HostedZoneLimit&& value) { SetLimit(std::move(value)); return *this;}
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of
* <code>Type</code> in the request, the value of <code>Count</code> is the current
* number of records that you have created in the specified hosted zone.</p>
*/
inline long long GetCount() const{ return m_count; }
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of
* <code>Type</code> in the request, the value of <code>Count</code> is the current
* number of records that you have created in the specified hosted zone.</p>
*/
inline void SetCount(long long value) { m_count = value; }
/**
* <p>The current number of entities that you have created of the specified type.
* For example, if you specified <code>MAX_RRSETS_BY_ZONE</code> for the value of
* <code>Type</code> in the request, the value of <code>Count</code> is the current
* number of records that you have created in the specified hosted zone.</p>
*/
inline GetHostedZoneLimitResult& WithCount(long long value) { SetCount(value); return *this;}
private:
HostedZoneLimit m_limit;
long long m_count;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,87 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to get information about a specified hosted zone. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneRequest : public Route53Request
{
public:
GetHostedZoneRequest();
// 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 "GetHostedZone"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline GetHostedZoneRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline GetHostedZoneRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the hosted zone that you want to get information about.</p>
*/
inline GetHostedZoneRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HostedZone.h>
#include <aws/route53/model/DelegationSet.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/route53/model/VPC.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contain the response to a <code>GetHostedZone</code>
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetHostedZoneResult
{
public:
GetHostedZoneResult();
GetHostedZoneResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetHostedZoneResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains general information about the specified hosted
* zone.</p>
*/
inline const HostedZone& GetHostedZone() const{ return m_hostedZone; }
/**
* <p>A complex type that contains general information about the specified hosted
* zone.</p>
*/
inline void SetHostedZone(const HostedZone& value) { m_hostedZone = value; }
/**
* <p>A complex type that contains general information about the specified hosted
* zone.</p>
*/
inline void SetHostedZone(HostedZone&& value) { m_hostedZone = std::move(value); }
/**
* <p>A complex type that contains general information about the specified hosted
* zone.</p>
*/
inline GetHostedZoneResult& WithHostedZone(const HostedZone& value) { SetHostedZone(value); return *this;}
/**
* <p>A complex type that contains general information about the specified hosted
* zone.</p>
*/
inline GetHostedZoneResult& WithHostedZone(HostedZone&& value) { SetHostedZone(std::move(value)); return *this;}
/**
* <p>A complex type that lists the Amazon Route 53 name servers for the specified
* hosted zone.</p>
*/
inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
/**
* <p>A complex type that lists the Amazon Route 53 name servers for the specified
* hosted zone.</p>
*/
inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
/**
* <p>A complex type that lists the Amazon Route 53 name servers for the specified
* hosted zone.</p>
*/
inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
/**
* <p>A complex type that lists the Amazon Route 53 name servers for the specified
* hosted zone.</p>
*/
inline GetHostedZoneResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
/**
* <p>A complex type that lists the Amazon Route 53 name servers for the specified
* hosted zone.</p>
*/
inline GetHostedZoneResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline const Aws::Vector<VPC>& GetVPCs() const{ return m_vPCs; }
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline void SetVPCs(const Aws::Vector<VPC>& value) { m_vPCs = value; }
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline void SetVPCs(Aws::Vector<VPC>&& value) { m_vPCs = std::move(value); }
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline GetHostedZoneResult& WithVPCs(const Aws::Vector<VPC>& value) { SetVPCs(value); return *this;}
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline GetHostedZoneResult& WithVPCs(Aws::Vector<VPC>&& value) { SetVPCs(std::move(value)); return *this;}
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline GetHostedZoneResult& AddVPCs(const VPC& value) { m_vPCs.push_back(value); return *this; }
/**
* <p>A complex type that contains information about the VPCs that are associated
* with the specified hosted zone.</p>
*/
inline GetHostedZoneResult& AddVPCs(VPC&& value) { m_vPCs.push_back(std::move(value)); return *this; }
private:
HostedZone m_hostedZone;
DelegationSet m_delegationSet;
Aws::Vector<VPC> m_vPCs;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
*/
class AWS_ROUTE53_API GetQueryLoggingConfigRequest : public Route53Request
{
public:
GetQueryLoggingConfigRequest();
// 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 "GetQueryLoggingConfig"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline GetQueryLoggingConfigRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline GetQueryLoggingConfigRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the configuration for DNS query logging that you want to get
* information about.</p>
*/
inline GetQueryLoggingConfigRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,82 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/QueryLoggingConfig.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
class AWS_ROUTE53_API GetQueryLoggingConfigResult
{
public:
GetQueryLoggingConfigResult();
GetQueryLoggingConfigResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetQueryLoggingConfigResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains information about the query logging
* configuration that you specified in a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html">GetQueryLoggingConfig</a>
* request.</p>
*/
inline const QueryLoggingConfig& GetQueryLoggingConfig() const{ return m_queryLoggingConfig; }
/**
* <p>A complex type that contains information about the query logging
* configuration that you specified in a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html">GetQueryLoggingConfig</a>
* request.</p>
*/
inline void SetQueryLoggingConfig(const QueryLoggingConfig& value) { m_queryLoggingConfig = value; }
/**
* <p>A complex type that contains information about the query logging
* configuration that you specified in a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html">GetQueryLoggingConfig</a>
* request.</p>
*/
inline void SetQueryLoggingConfig(QueryLoggingConfig&& value) { m_queryLoggingConfig = std::move(value); }
/**
* <p>A complex type that contains information about the query logging
* configuration that you specified in a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html">GetQueryLoggingConfig</a>
* request.</p>
*/
inline GetQueryLoggingConfigResult& WithQueryLoggingConfig(const QueryLoggingConfig& value) { SetQueryLoggingConfig(value); return *this;}
/**
* <p>A complex type that contains information about the query logging
* configuration that you specified in a <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetQueryLoggingConfig.html">GetQueryLoggingConfig</a>
* request.</p>
*/
inline GetQueryLoggingConfigResult& WithQueryLoggingConfig(QueryLoggingConfig&& value) { SetQueryLoggingConfig(std::move(value)); return *this;}
private:
QueryLoggingConfig m_queryLoggingConfig;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,134 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/route53/model/ReusableDelegationSetLimitType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the request to create a hosted
* zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetReusableDelegationSetLimitRequest : public Route53Request
{
public:
GetReusableDelegationSetLimitRequest();
// 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 "GetReusableDelegationSetLimit"; }
Aws::String SerializePayload() const override;
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline const ReusableDelegationSetLimitType& GetType() const{ return m_type; }
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline void SetType(const ReusableDelegationSetLimitType& value) { m_typeHasBeenSet = true; m_type = value; }
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline void SetType(ReusableDelegationSetLimitType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline GetReusableDelegationSetLimitRequest& WithType(const ReusableDelegationSetLimitType& value) { SetType(value); return *this;}
/**
* <p>Specify <code>MAX_ZONES_BY_REUSABLE_DELEGATION_SET</code> to get the maximum
* number of hosted zones that you can associate with the specified reusable
* delegation set.</p>
*/
inline GetReusableDelegationSetLimitRequest& WithType(ReusableDelegationSetLimitType&& value) { SetType(std::move(value)); return *this;}
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline const Aws::String& GetDelegationSetId() const{ return m_delegationSetId; }
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline bool DelegationSetIdHasBeenSet() const { return m_delegationSetIdHasBeenSet; }
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline void SetDelegationSetId(const Aws::String& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = value; }
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline void SetDelegationSetId(Aws::String&& value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId = std::move(value); }
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline void SetDelegationSetId(const char* value) { m_delegationSetIdHasBeenSet = true; m_delegationSetId.assign(value); }
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(const Aws::String& value) { SetDelegationSetId(value); return *this;}
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(Aws::String&& value) { SetDelegationSetId(std::move(value)); return *this;}
/**
* <p>The ID of the delegation set that you want to get the limit for.</p>
*/
inline GetReusableDelegationSetLimitRequest& WithDelegationSetId(const char* value) { SetDelegationSetId(value); return *this;}
private:
ReusableDelegationSetLimitType m_type;
bool m_typeHasBeenSet;
Aws::String m_delegationSetId;
bool m_delegationSetIdHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,99 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/ReusableDelegationSetLimit.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the requested limit. </p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetReusableDelegationSetLimitResult
{
public:
GetReusableDelegationSetLimitResult();
GetReusableDelegationSetLimitResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetReusableDelegationSetLimitResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The current setting for the limit on hosted zones that you can associate with
* the specified reusable delegation set.</p>
*/
inline const ReusableDelegationSetLimit& GetLimit() const{ return m_limit; }
/**
* <p>The current setting for the limit on hosted zones that you can associate with
* the specified reusable delegation set.</p>
*/
inline void SetLimit(const ReusableDelegationSetLimit& value) { m_limit = value; }
/**
* <p>The current setting for the limit on hosted zones that you can associate with
* the specified reusable delegation set.</p>
*/
inline void SetLimit(ReusableDelegationSetLimit&& value) { m_limit = std::move(value); }
/**
* <p>The current setting for the limit on hosted zones that you can associate with
* the specified reusable delegation set.</p>
*/
inline GetReusableDelegationSetLimitResult& WithLimit(const ReusableDelegationSetLimit& value) { SetLimit(value); return *this;}
/**
* <p>The current setting for the limit on hosted zones that you can associate with
* the specified reusable delegation set.</p>
*/
inline GetReusableDelegationSetLimitResult& WithLimit(ReusableDelegationSetLimit&& value) { SetLimit(std::move(value)); return *this;}
/**
* <p>The current number of hosted zones that you can associate with the specified
* reusable delegation set.</p>
*/
inline long long GetCount() const{ return m_count; }
/**
* <p>The current number of hosted zones that you can associate with the specified
* reusable delegation set.</p>
*/
inline void SetCount(long long value) { m_count = value; }
/**
* <p>The current number of hosted zones that you can associate with the specified
* reusable delegation set.</p>
*/
inline GetReusableDelegationSetLimitResult& WithCount(long long value) { SetCount(value); return *this;}
private:
ReusableDelegationSetLimit m_limit;
long long m_count;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>A request to get information about a specified reusable delegation
* set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetReusableDelegationSetRequest : public Route53Request
{
public:
GetReusableDelegationSetRequest();
// 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 "GetReusableDelegationSet"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline GetReusableDelegationSetRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline GetReusableDelegationSetRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the reusable delegation set that you want to get a list of name
* servers for.</p>
*/
inline GetReusableDelegationSetRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/route53/model/DelegationSet.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response to the
* <code>GetReusableDelegationSet</code> request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetReusableDelegationSetResult
{
public:
GetReusableDelegationSetResult();
GetReusableDelegationSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetReusableDelegationSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains information about the reusable delegation
* set.</p>
*/
inline const DelegationSet& GetDelegationSet() const{ return m_delegationSet; }
/**
* <p>A complex type that contains information about the reusable delegation
* set.</p>
*/
inline void SetDelegationSet(const DelegationSet& value) { m_delegationSet = value; }
/**
* <p>A complex type that contains information about the reusable delegation
* set.</p>
*/
inline void SetDelegationSet(DelegationSet&& value) { m_delegationSet = std::move(value); }
/**
* <p>A complex type that contains information about the reusable delegation
* set.</p>
*/
inline GetReusableDelegationSetResult& WithDelegationSet(const DelegationSet& value) { SetDelegationSet(value); return *this;}
/**
* <p>A complex type that contains information about the reusable delegation
* set.</p>
*/
inline GetReusableDelegationSetResult& WithDelegationSet(DelegationSet&& value) { SetDelegationSet(std::move(value)); return *this;}
private:
DelegationSet m_delegationSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,40 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>Request to get the number of traffic policy instances that are associated
* with the current AWS account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyInstanceCountRequest : public Route53Request
{
public:
GetTrafficPolicyInstanceCountRequest();
// 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 "GetTrafficPolicyInstanceCount"; }
Aws::String SerializePayload() const override;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,65 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the resource record sets that
* Amazon Route 53 created based on a specified traffic policy.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCountResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyInstanceCountResult
{
public:
GetTrafficPolicyInstanceCountResult();
GetTrafficPolicyInstanceCountResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetTrafficPolicyInstanceCountResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>The number of traffic policy instances that are associated with the current
* AWS account.</p>
*/
inline int GetTrafficPolicyInstanceCount() const{ return m_trafficPolicyInstanceCount; }
/**
* <p>The number of traffic policy instances that are associated with the current
* AWS account.</p>
*/
inline void SetTrafficPolicyInstanceCount(int value) { m_trafficPolicyInstanceCount = value; }
/**
* <p>The number of traffic policy instances that are associated with the current
* AWS account.</p>
*/
inline GetTrafficPolicyInstanceCountResult& WithTrafficPolicyInstanceCount(int value) { SetTrafficPolicyInstanceCount(value); return *this;}
private:
int m_trafficPolicyInstanceCount;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>Gets information about a specified traffic policy instance.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyInstanceRequest : public Route53Request
{
public:
GetTrafficPolicyInstanceRequest();
// 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 "GetTrafficPolicyInstance"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline GetTrafficPolicyInstanceRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline GetTrafficPolicyInstanceRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy instance that you want to get information
* about.</p>
*/
inline GetTrafficPolicyInstanceRequest& WithId(const char* value) { SetId(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,74 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/TrafficPolicyInstance.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about the resource record sets that
* Amazon Route 53 created based on a specified traffic policy.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyInstanceResult
{
public:
GetTrafficPolicyInstanceResult();
GetTrafficPolicyInstanceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetTrafficPolicyInstanceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains settings for the traffic policy instance.</p>
*/
inline const TrafficPolicyInstance& GetTrafficPolicyInstance() const{ return m_trafficPolicyInstance; }
/**
* <p>A complex type that contains settings for the traffic policy instance.</p>
*/
inline void SetTrafficPolicyInstance(const TrafficPolicyInstance& value) { m_trafficPolicyInstance = value; }
/**
* <p>A complex type that contains settings for the traffic policy instance.</p>
*/
inline void SetTrafficPolicyInstance(TrafficPolicyInstance&& value) { m_trafficPolicyInstance = std::move(value); }
/**
* <p>A complex type that contains settings for the traffic policy instance.</p>
*/
inline GetTrafficPolicyInstanceResult& WithTrafficPolicyInstance(const TrafficPolicyInstance& value) { SetTrafficPolicyInstance(value); return *this;}
/**
* <p>A complex type that contains settings for the traffic policy instance.</p>
*/
inline GetTrafficPolicyInstanceResult& WithTrafficPolicyInstance(TrafficPolicyInstance&& value) { SetTrafficPolicyInstance(std::move(value)); return *this;}
private:
TrafficPolicyInstance m_trafficPolicyInstance;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/Route53Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Route53
{
namespace Model
{
/**
* <p>Gets information about a specific traffic policy version.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyRequest">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyRequest : public Route53Request
{
public:
GetTrafficPolicyRequest();
// 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 "GetTrafficPolicy"; }
Aws::String SerializePayload() const override;
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline GetTrafficPolicyRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline GetTrafficPolicyRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID of the traffic policy that you want to get information about.</p>
*/
inline GetTrafficPolicyRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The version number of the traffic policy that you want to get information
* about.</p>
*/
inline int GetVersion() const{ return m_version; }
/**
* <p>The version number of the traffic policy that you want to get information
* about.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version number of the traffic policy that you want to get information
* about.</p>
*/
inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version number of the traffic policy that you want to get information
* about.</p>
*/
inline GetTrafficPolicyRequest& WithVersion(int value) { SetVersion(value); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
int m_version;
bool m_versionHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,73 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/TrafficPolicy.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the response information for the
* request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyResponse">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API GetTrafficPolicyResult
{
public:
GetTrafficPolicyResult();
GetTrafficPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
GetTrafficPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
/**
* <p>A complex type that contains settings for the specified traffic policy.</p>
*/
inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; }
/**
* <p>A complex type that contains settings for the specified traffic policy.</p>
*/
inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; }
/**
* <p>A complex type that contains settings for the specified traffic policy.</p>
*/
inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); }
/**
* <p>A complex type that contains settings for the specified traffic policy.</p>
*/
inline GetTrafficPolicyResult& WithTrafficPolicy(const TrafficPolicy& value) { SetTrafficPolicy(value); return *this;}
/**
* <p>A complex type that contains settings for the specified traffic policy.</p>
*/
inline GetTrafficPolicyResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;}
private:
TrafficPolicy m_trafficPolicy;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,312 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/LinkedService.h>
#include <aws/route53/model/HealthCheckConfig.h>
#include <aws/route53/model/CloudWatchAlarmConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains information about one health check that is
* associated with the current AWS account.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheck">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API HealthCheck
{
public:
HealthCheck();
HealthCheck(const Aws::Utils::Xml::XmlNode& xmlNode);
HealthCheck& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline HealthCheck& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline HealthCheck& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The identifier that Amazon Route 53assigned to the health check when you
* created it. When you add or update a resource record set, you use this value to
* specify which health check to use. The value can be up to 64 characters long.
* </p>
*/
inline HealthCheck& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline HealthCheck& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline HealthCheck& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>A unique string that you specified when you created the health check.</p>
*/
inline HealthCheck& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline const LinkedService& GetLinkedService() const{ return m_linkedService; }
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline bool LinkedServiceHasBeenSet() const { return m_linkedServiceHasBeenSet; }
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline void SetLinkedService(const LinkedService& value) { m_linkedServiceHasBeenSet = true; m_linkedService = value; }
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline void SetLinkedService(LinkedService&& value) { m_linkedServiceHasBeenSet = true; m_linkedService = std::move(value); }
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline HealthCheck& WithLinkedService(const LinkedService& value) { SetLinkedService(value); return *this;}
/**
* <p>If the health check was created by another service, the service that created
* the health check. When a health check is created by another service, you can't
* edit or delete it using Amazon Route 53. </p>
*/
inline HealthCheck& WithLinkedService(LinkedService&& value) { SetLinkedService(std::move(value)); return *this;}
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline HealthCheck& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;}
/**
* <p>A complex type that contains detailed information about one health check.</p>
*/
inline HealthCheck& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
/**
* <p>The version of the health check. You can optionally pass this value in a call
* to <code>UpdateHealthCheck</code> to prevent overwriting another change to the
* health check.</p>
*/
inline long long GetHealthCheckVersion() const{ return m_healthCheckVersion; }
/**
* <p>The version of the health check. You can optionally pass this value in a call
* to <code>UpdateHealthCheck</code> to prevent overwriting another change to the
* health check.</p>
*/
inline bool HealthCheckVersionHasBeenSet() const { return m_healthCheckVersionHasBeenSet; }
/**
* <p>The version of the health check. You can optionally pass this value in a call
* to <code>UpdateHealthCheck</code> to prevent overwriting another change to the
* health check.</p>
*/
inline void SetHealthCheckVersion(long long value) { m_healthCheckVersionHasBeenSet = true; m_healthCheckVersion = value; }
/**
* <p>The version of the health check. You can optionally pass this value in a call
* to <code>UpdateHealthCheck</code> to prevent overwriting another change to the
* health check.</p>
*/
inline HealthCheck& WithHealthCheckVersion(long long value) { SetHealthCheckVersion(value); return *this;}
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline const CloudWatchAlarmConfiguration& GetCloudWatchAlarmConfiguration() const{ return m_cloudWatchAlarmConfiguration; }
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline bool CloudWatchAlarmConfigurationHasBeenSet() const { return m_cloudWatchAlarmConfigurationHasBeenSet; }
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline void SetCloudWatchAlarmConfiguration(const CloudWatchAlarmConfiguration& value) { m_cloudWatchAlarmConfigurationHasBeenSet = true; m_cloudWatchAlarmConfiguration = value; }
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline void SetCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration&& value) { m_cloudWatchAlarmConfigurationHasBeenSet = true; m_cloudWatchAlarmConfiguration = std::move(value); }
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline HealthCheck& WithCloudWatchAlarmConfiguration(const CloudWatchAlarmConfiguration& value) { SetCloudWatchAlarmConfiguration(value); return *this;}
/**
* <p>A complex type that contains information about the CloudWatch alarm that
* Amazon Route 53 is monitoring for this health check.</p>
*/
inline HealthCheck& WithCloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration&& value) { SetCloudWatchAlarmConfiguration(std::move(value)); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
LinkedService m_linkedService;
bool m_linkedServiceHasBeenSet;
HealthCheckConfig m_healthCheckConfig;
bool m_healthCheckConfigHasBeenSet;
long long m_healthCheckVersion;
bool m_healthCheckVersionHasBeenSet;
CloudWatchAlarmConfiguration m_cloudWatchAlarmConfiguration;
bool m_cloudWatchAlarmConfigurationHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/route53/model/HealthCheckRegion.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/StatusReport.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HealthCheckObservation">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API HealthCheckObservation
{
public:
HealthCheckObservation();
HealthCheckObservation(const Aws::Utils::Xml::XmlNode& xmlNode);
HealthCheckObservation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline const HealthCheckRegion& GetRegion() const{ return m_region; }
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline void SetRegion(const HealthCheckRegion& value) { m_regionHasBeenSet = true; m_region = value; }
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline void SetRegion(HealthCheckRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline HealthCheckObservation& WithRegion(const HealthCheckRegion& value) { SetRegion(value); return *this;}
/**
* <p>The region of the Amazon Route 53 health checker that provided the status in
* <code>StatusReport</code>.</p>
*/
inline HealthCheckObservation& WithRegion(HealthCheckRegion&& value) { SetRegion(std::move(value)); return *this;}
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline const Aws::String& GetIPAddress() const{ return m_iPAddress; }
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline bool IPAddressHasBeenSet() const { return m_iPAddressHasBeenSet; }
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline void SetIPAddress(const Aws::String& value) { m_iPAddressHasBeenSet = true; m_iPAddress = value; }
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline void SetIPAddress(Aws::String&& value) { m_iPAddressHasBeenSet = true; m_iPAddress = std::move(value); }
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline void SetIPAddress(const char* value) { m_iPAddressHasBeenSet = true; m_iPAddress.assign(value); }
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline HealthCheckObservation& WithIPAddress(const Aws::String& value) { SetIPAddress(value); return *this;}
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline HealthCheckObservation& WithIPAddress(Aws::String&& value) { SetIPAddress(std::move(value)); return *this;}
/**
* <p>The IP address of the Amazon Route 53 health checker that provided the
* failure reason in <code>StatusReport</code>.</p>
*/
inline HealthCheckObservation& WithIPAddress(const char* value) { SetIPAddress(value); return *this;}
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline const StatusReport& GetStatusReport() const{ return m_statusReport; }
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline bool StatusReportHasBeenSet() const { return m_statusReportHasBeenSet; }
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline void SetStatusReport(const StatusReport& value) { m_statusReportHasBeenSet = true; m_statusReport = value; }
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline void SetStatusReport(StatusReport&& value) { m_statusReportHasBeenSet = true; m_statusReport = std::move(value); }
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline HealthCheckObservation& WithStatusReport(const StatusReport& value) { SetStatusReport(value); return *this;}
/**
* <p>A complex type that contains the last failure reason as reported by one
* Amazon Route 53 health checker and the time of the failed health check.</p>
*/
inline HealthCheckObservation& WithStatusReport(StatusReport&& value) { SetStatusReport(std::move(value)); return *this;}
private:
HealthCheckRegion m_region;
bool m_regionHasBeenSet;
Aws::String m_iPAddress;
bool m_iPAddressHasBeenSet;
StatusReport m_statusReport;
bool m_statusReportHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class HealthCheckRegion
{
NOT_SET,
us_east_1,
us_west_1,
us_west_2,
eu_west_1,
ap_southeast_1,
ap_southeast_2,
ap_northeast_1,
sa_east_1
};
namespace HealthCheckRegionMapper
{
AWS_ROUTE53_API HealthCheckRegion GetHealthCheckRegionForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForHealthCheckRegion(HealthCheckRegion value);
} // namespace HealthCheckRegionMapper
} // namespace Model
} // namespace Route53
} // 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/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace Route53
{
namespace Model
{
enum class HealthCheckType
{
NOT_SET,
HTTP,
HTTPS,
HTTP_STR_MATCH,
HTTPS_STR_MATCH,
TCP,
CALCULATED,
CLOUDWATCH_METRIC
};
namespace HealthCheckTypeMapper
{
AWS_ROUTE53_API HealthCheckType GetHealthCheckTypeForName(const Aws::String& name);
AWS_ROUTE53_API Aws::String GetNameForHealthCheckType(HealthCheckType value);
} // namespace HealthCheckTypeMapper
} // namespace Model
} // namespace Route53
} // namespace Aws

View File

@@ -0,0 +1,363 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53/Route53_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/route53/model/HostedZoneConfig.h>
#include <aws/route53/model/LinkedService.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Route53
{
namespace Model
{
/**
* <p>A complex type that contains general information about the hosted
* zone.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZone">AWS
* API Reference</a></p>
*/
class AWS_ROUTE53_API HostedZone
{
public:
HostedZone();
HostedZone(const Aws::Utils::Xml::XmlNode& xmlNode);
HostedZone& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline HostedZone& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline HostedZone& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>The ID that Amazon Route 53 assigned to the hosted zone when you created
* it.</p>
*/
inline HostedZone& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline HostedZone& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline HostedZone& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the domain. For public hosted zones, this is the name that you
* have registered with your DNS registrar.</p> <p>For information about how to
* specify characters other than <code>a-z</code>, <code>0-9</code>, and
* <code>-</code> (hyphen) and how to specify internationalized domain names, see
* <a
* href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHostedZone.html">CreateHostedZone</a>.</p>
*/
inline HostedZone& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline HostedZone& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline HostedZone& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
/**
* <p>The value that you specified for <code>CallerReference</code> when you
* created the hosted zone.</p>
*/
inline HostedZone& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline const HostedZoneConfig& GetConfig() const{ return m_config; }
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline void SetConfig(const HostedZoneConfig& value) { m_configHasBeenSet = true; m_config = value; }
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline void SetConfig(HostedZoneConfig&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline HostedZone& WithConfig(const HostedZoneConfig& value) { SetConfig(value); return *this;}
/**
* <p>A complex type that includes the <code>Comment</code> and
* <code>PrivateZone</code> elements. If you omitted the
* <code>HostedZoneConfig</code> and <code>Comment</code> elements from the
* request, the <code>Config</code> and <code>Comment</code> elements don't appear
* in the response.</p>
*/
inline HostedZone& WithConfig(HostedZoneConfig&& value) { SetConfig(std::move(value)); return *this;}
/**
* <p>The number of resource record sets in the hosted zone.</p>
*/
inline long long GetResourceRecordSetCount() const{ return m_resourceRecordSetCount; }
/**
* <p>The number of resource record sets in the hosted zone.</p>
*/
inline bool ResourceRecordSetCountHasBeenSet() const { return m_resourceRecordSetCountHasBeenSet; }
/**
* <p>The number of resource record sets in the hosted zone.</p>
*/
inline void SetResourceRecordSetCount(long long value) { m_resourceRecordSetCountHasBeenSet = true; m_resourceRecordSetCount = value; }
/**
* <p>The number of resource record sets in the hosted zone.</p>
*/
inline HostedZone& WithResourceRecordSetCount(long long value) { SetResourceRecordSetCount(value); return *this;}
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline const LinkedService& GetLinkedService() const{ return m_linkedService; }
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline bool LinkedServiceHasBeenSet() const { return m_linkedServiceHasBeenSet; }
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline void SetLinkedService(const LinkedService& value) { m_linkedServiceHasBeenSet = true; m_linkedService = value; }
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline void SetLinkedService(LinkedService&& value) { m_linkedServiceHasBeenSet = true; m_linkedService = std::move(value); }
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline HostedZone& WithLinkedService(const LinkedService& value) { SetLinkedService(value); return *this;}
/**
* <p>If the hosted zone was created by another service, the service that created
* the hosted zone. When a hosted zone is created by another service, you can't
* edit or delete it using Route 53. </p>
*/
inline HostedZone& WithLinkedService(LinkedService&& value) { SetLinkedService(std::move(value)); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_callerReference;
bool m_callerReferenceHasBeenSet;
HostedZoneConfig m_config;
bool m_configHasBeenSet;
long long m_resourceRecordSetCount;
bool m_resourceRecordSetCountHasBeenSet;
LinkedService m_linkedService;
bool m_linkedServiceHasBeenSet;
};
} // namespace Model
} // namespace Route53
} // namespace Aws

Some files were not shown because too many files have changed in this diff Show More