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

858 lines
39 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/apigateway/model/EndpointConfiguration.h>
#include <aws/apigateway/model/DomainNameStatus.h>
#include <aws/apigateway/model/SecurityPolicy.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace APIGateway
{
namespace Model
{
/**
* <p>Represents a custom domain name as a user-friendly host name of an API
* (<a>RestApi</a>).</p> <div class="Remarks"> <p>When you deploy an API, API
* Gateway creates a default host name for the API. This default API host name is
* of the <code>{restapi-id}.execute-api.{region}.amazonaws.com</code> format. With
* the default host name, you can access the API's root resource with the URL of
* <code>https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/</code>.
* When you set up a custom domain name of <code>apis.example.com</code> for this
* API, you can then access the same resource using the URL of the
* <code>https://apis.examples.com/myApi</code>, where <code>myApi</code> is the
* base path mapping (<a>BasePathMapping</a>) of your API under the custom domain
* name. </p> </div> <div class="seeAlso"> <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html">Set
* a Custom Host Name for an API</a> </div><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/DomainName">AWS
* API Reference</a></p>
*/
class AWS_APIGATEWAY_API UpdateDomainNameResult
{
public:
UpdateDomainNameResult();
UpdateDomainNameResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateDomainNameResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline void SetDomainName(const char* value) { m_domainName.assign(value); }
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline UpdateDomainNameResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline UpdateDomainNameResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The custom domain name as an API host name, for example,
* <code>my-api.example.com</code>.</p>
*/
inline UpdateDomainNameResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline void SetCertificateName(const Aws::String& value) { m_certificateName = value; }
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline void SetCertificateName(Aws::String&& value) { m_certificateName = std::move(value); }
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline void SetCertificateName(const char* value) { m_certificateName.assign(value); }
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline UpdateDomainNameResult& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline UpdateDomainNameResult& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
/**
* <p>The name of the certificate that will be used by edge-optimized endpoint for
* this domain name.</p>
*/
inline UpdateDomainNameResult& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline UpdateDomainNameResult& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline UpdateDomainNameResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used by
* edge-optimized endpoint for this domain name. AWS Certificate Manager is the
* only supported source.</p>
*/
inline UpdateDomainNameResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
/**
* <p>The timestamp when the certificate that was used by edge-optimized endpoint
* for this domain name was uploaded.</p>
*/
inline const Aws::Utils::DateTime& GetCertificateUploadDate() const{ return m_certificateUploadDate; }
/**
* <p>The timestamp when the certificate that was used by edge-optimized endpoint
* for this domain name was uploaded.</p>
*/
inline void SetCertificateUploadDate(const Aws::Utils::DateTime& value) { m_certificateUploadDate = value; }
/**
* <p>The timestamp when the certificate that was used by edge-optimized endpoint
* for this domain name was uploaded.</p>
*/
inline void SetCertificateUploadDate(Aws::Utils::DateTime&& value) { m_certificateUploadDate = std::move(value); }
/**
* <p>The timestamp when the certificate that was used by edge-optimized endpoint
* for this domain name was uploaded.</p>
*/
inline UpdateDomainNameResult& WithCertificateUploadDate(const Aws::Utils::DateTime& value) { SetCertificateUploadDate(value); return *this;}
/**
* <p>The timestamp when the certificate that was used by edge-optimized endpoint
* for this domain name was uploaded.</p>
*/
inline UpdateDomainNameResult& WithCertificateUploadDate(Aws::Utils::DateTime&& value) { SetCertificateUploadDate(std::move(value)); return *this;}
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline const Aws::String& GetRegionalDomainName() const{ return m_regionalDomainName; }
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline void SetRegionalDomainName(const Aws::String& value) { m_regionalDomainName = value; }
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline void SetRegionalDomainName(Aws::String&& value) { m_regionalDomainName = std::move(value); }
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline void SetRegionalDomainName(const char* value) { m_regionalDomainName.assign(value); }
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline UpdateDomainNameResult& WithRegionalDomainName(const Aws::String& value) { SetRegionalDomainName(value); return *this;}
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline UpdateDomainNameResult& WithRegionalDomainName(Aws::String&& value) { SetRegionalDomainName(std::move(value)); return *this;}
/**
* <p>The domain name associated with the regional endpoint for this custom domain
* name. You set up this association by adding a DNS record that points the custom
* domain name to this regional domain name. The regional domain name is returned
* by API Gateway when you create a regional endpoint.</p>
*/
inline UpdateDomainNameResult& WithRegionalDomainName(const char* value) { SetRegionalDomainName(value); return *this;}
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline const Aws::String& GetRegionalHostedZoneId() const{ return m_regionalHostedZoneId; }
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetRegionalHostedZoneId(const Aws::String& value) { m_regionalHostedZoneId = value; }
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetRegionalHostedZoneId(Aws::String&& value) { m_regionalHostedZoneId = std::move(value); }
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetRegionalHostedZoneId(const char* value) { m_regionalHostedZoneId.assign(value); }
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithRegionalHostedZoneId(const Aws::String& value) { SetRegionalHostedZoneId(value); return *this;}
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithRegionalHostedZoneId(Aws::String&& value) { SetRegionalHostedZoneId(std::move(value)); return *this;}
/**
* <p>The region-specific Amazon Route 53 Hosted Zone ID of the regional endpoint.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithRegionalHostedZoneId(const char* value) { SetRegionalHostedZoneId(value); return *this;}
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline const Aws::String& GetRegionalCertificateName() const{ return m_regionalCertificateName; }
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline void SetRegionalCertificateName(const Aws::String& value) { m_regionalCertificateName = value; }
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline void SetRegionalCertificateName(Aws::String&& value) { m_regionalCertificateName = std::move(value); }
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline void SetRegionalCertificateName(const char* value) { m_regionalCertificateName.assign(value); }
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateName(const Aws::String& value) { SetRegionalCertificateName(value); return *this;}
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateName(Aws::String&& value) { SetRegionalCertificateName(std::move(value)); return *this;}
/**
* <p>The name of the certificate that will be used for validating the regional
* domain name.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateName(const char* value) { SetRegionalCertificateName(value); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline const Aws::String& GetRegionalCertificateArn() const{ return m_regionalCertificateArn; }
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline void SetRegionalCertificateArn(const Aws::String& value) { m_regionalCertificateArn = value; }
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline void SetRegionalCertificateArn(Aws::String&& value) { m_regionalCertificateArn = std::move(value); }
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline void SetRegionalCertificateArn(const char* value) { m_regionalCertificateArn.assign(value); }
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateArn(const Aws::String& value) { SetRegionalCertificateArn(value); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateArn(Aws::String&& value) { SetRegionalCertificateArn(std::move(value)); return *this;}
/**
* <p>The reference to an AWS-managed certificate that will be used for validating
* the regional domain name. AWS Certificate Manager is the only supported
* source.</p>
*/
inline UpdateDomainNameResult& WithRegionalCertificateArn(const char* value) { SetRegionalCertificateArn(value); return *this;}
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline const Aws::String& GetDistributionDomainName() const{ return m_distributionDomainName; }
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline void SetDistributionDomainName(const Aws::String& value) { m_distributionDomainName = value; }
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline void SetDistributionDomainName(Aws::String&& value) { m_distributionDomainName = std::move(value); }
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline void SetDistributionDomainName(const char* value) { m_distributionDomainName.assign(value); }
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline UpdateDomainNameResult& WithDistributionDomainName(const Aws::String& value) { SetDistributionDomainName(value); return *this;}
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline UpdateDomainNameResult& WithDistributionDomainName(Aws::String&& value) { SetDistributionDomainName(std::move(value)); return *this;}
/**
* <p>The domain name of the Amazon CloudFront distribution associated with this
* custom domain name for an edge-optimized endpoint. You set up this association
* when adding a DNS record pointing the custom domain name to this distribution
* name. For more information about CloudFront distributions, see the <a
* href="https://aws.amazon.com/documentation/cloudfront/" target="_blank">Amazon
* CloudFront documentation</a>.</p>
*/
inline UpdateDomainNameResult& WithDistributionDomainName(const char* value) { SetDistributionDomainName(value); return *this;}
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline const Aws::String& GetDistributionHostedZoneId() const{ return m_distributionHostedZoneId; }
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetDistributionHostedZoneId(const Aws::String& value) { m_distributionHostedZoneId = value; }
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetDistributionHostedZoneId(Aws::String&& value) { m_distributionHostedZoneId = std::move(value); }
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline void SetDistributionHostedZoneId(const char* value) { m_distributionHostedZoneId.assign(value); }
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithDistributionHostedZoneId(const Aws::String& value) { SetDistributionHostedZoneId(value); return *this;}
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithDistributionHostedZoneId(Aws::String&& value) { SetDistributionHostedZoneId(std::move(value)); return *this;}
/**
* <p>The region-agnostic Amazon Route 53 Hosted Zone ID of the edge-optimized
* endpoint. The valid value is <code>Z2FDTNDATAQYW2</code> for all the regions.
* For more information, see <a
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-regional-api-custom-domain-create.html">Set
* up a Regional Custom Domain Name</a> and <a
* href="https://docs.aws.amazon.com/general/latest/gr/rande.html#apigateway_region">AWS
* Regions and Endpoints for API Gateway</a>. </p>
*/
inline UpdateDomainNameResult& WithDistributionHostedZoneId(const char* value) { SetDistributionHostedZoneId(value); return *this;}
/**
* <p>The endpoint configuration of this <a>DomainName</a> showing the endpoint
* types of the domain name. </p>
*/
inline const EndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; }
/**
* <p>The endpoint configuration of this <a>DomainName</a> showing the endpoint
* types of the domain name. </p>
*/
inline void SetEndpointConfiguration(const EndpointConfiguration& value) { m_endpointConfiguration = value; }
/**
* <p>The endpoint configuration of this <a>DomainName</a> showing the endpoint
* types of the domain name. </p>
*/
inline void SetEndpointConfiguration(EndpointConfiguration&& value) { m_endpointConfiguration = std::move(value); }
/**
* <p>The endpoint configuration of this <a>DomainName</a> showing the endpoint
* types of the domain name. </p>
*/
inline UpdateDomainNameResult& WithEndpointConfiguration(const EndpointConfiguration& value) { SetEndpointConfiguration(value); return *this;}
/**
* <p>The endpoint configuration of this <a>DomainName</a> showing the endpoint
* types of the domain name. </p>
*/
inline UpdateDomainNameResult& WithEndpointConfiguration(EndpointConfiguration&& value) { SetEndpointConfiguration(std::move(value)); return *this;}
/**
* <p>The status of the <a>DomainName</a> migration. The valid values are
* <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is
* <code>UPDATING</code>, the domain cannot be modified further until the existing
* operation is complete. If it is <code>AVAILABLE</code>, the domain can be
* updated.</p>
*/
inline const DomainNameStatus& GetDomainNameStatus() const{ return m_domainNameStatus; }
/**
* <p>The status of the <a>DomainName</a> migration. The valid values are
* <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is
* <code>UPDATING</code>, the domain cannot be modified further until the existing
* operation is complete. If it is <code>AVAILABLE</code>, the domain can be
* updated.</p>
*/
inline void SetDomainNameStatus(const DomainNameStatus& value) { m_domainNameStatus = value; }
/**
* <p>The status of the <a>DomainName</a> migration. The valid values are
* <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is
* <code>UPDATING</code>, the domain cannot be modified further until the existing
* operation is complete. If it is <code>AVAILABLE</code>, the domain can be
* updated.</p>
*/
inline void SetDomainNameStatus(DomainNameStatus&& value) { m_domainNameStatus = std::move(value); }
/**
* <p>The status of the <a>DomainName</a> migration. The valid values are
* <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is
* <code>UPDATING</code>, the domain cannot be modified further until the existing
* operation is complete. If it is <code>AVAILABLE</code>, the domain can be
* updated.</p>
*/
inline UpdateDomainNameResult& WithDomainNameStatus(const DomainNameStatus& value) { SetDomainNameStatus(value); return *this;}
/**
* <p>The status of the <a>DomainName</a> migration. The valid values are
* <code>AVAILABLE</code> and <code>UPDATING</code>. If the status is
* <code>UPDATING</code>, the domain cannot be modified further until the existing
* operation is complete. If it is <code>AVAILABLE</code>, the domain can be
* updated.</p>
*/
inline UpdateDomainNameResult& WithDomainNameStatus(DomainNameStatus&& value) { SetDomainNameStatus(std::move(value)); return *this;}
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline const Aws::String& GetDomainNameStatusMessage() const{ return m_domainNameStatusMessage; }
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline void SetDomainNameStatusMessage(const Aws::String& value) { m_domainNameStatusMessage = value; }
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline void SetDomainNameStatusMessage(Aws::String&& value) { m_domainNameStatusMessage = std::move(value); }
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline void SetDomainNameStatusMessage(const char* value) { m_domainNameStatusMessage.assign(value); }
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline UpdateDomainNameResult& WithDomainNameStatusMessage(const Aws::String& value) { SetDomainNameStatusMessage(value); return *this;}
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline UpdateDomainNameResult& WithDomainNameStatusMessage(Aws::String&& value) { SetDomainNameStatusMessage(std::move(value)); return *this;}
/**
* <p>An optional text message containing detailed information about status of the
* <a>DomainName</a> migration.</p>
*/
inline UpdateDomainNameResult& WithDomainNameStatusMessage(const char* value) { SetDomainNameStatusMessage(value); return *this;}
/**
* <p>The Transport Layer Security (TLS) version + cipher suite for this
* <a>DomainName</a>. The valid values are <code>TLS_1_0</code> and
* <code>TLS_1_2</code>.</p>
*/
inline const SecurityPolicy& GetSecurityPolicy() const{ return m_securityPolicy; }
/**
* <p>The Transport Layer Security (TLS) version + cipher suite for this
* <a>DomainName</a>. The valid values are <code>TLS_1_0</code> and
* <code>TLS_1_2</code>.</p>
*/
inline void SetSecurityPolicy(const SecurityPolicy& value) { m_securityPolicy = value; }
/**
* <p>The Transport Layer Security (TLS) version + cipher suite for this
* <a>DomainName</a>. The valid values are <code>TLS_1_0</code> and
* <code>TLS_1_2</code>.</p>
*/
inline void SetSecurityPolicy(SecurityPolicy&& value) { m_securityPolicy = std::move(value); }
/**
* <p>The Transport Layer Security (TLS) version + cipher suite for this
* <a>DomainName</a>. The valid values are <code>TLS_1_0</code> and
* <code>TLS_1_2</code>.</p>
*/
inline UpdateDomainNameResult& WithSecurityPolicy(const SecurityPolicy& value) { SetSecurityPolicy(value); return *this;}
/**
* <p>The Transport Layer Security (TLS) version + cipher suite for this
* <a>DomainName</a>. The valid values are <code>TLS_1_0</code> and
* <code>TLS_1_2</code>.</p>
*/
inline UpdateDomainNameResult& WithSecurityPolicy(SecurityPolicy&& value) { SetSecurityPolicy(std::move(value)); return *this;}
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>The collection of tags. Each tag element is associated with a given
* resource.</p>
*/
inline UpdateDomainNameResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
private:
Aws::String m_domainName;
Aws::String m_certificateName;
Aws::String m_certificateArn;
Aws::Utils::DateTime m_certificateUploadDate;
Aws::String m_regionalDomainName;
Aws::String m_regionalHostedZoneId;
Aws::String m_regionalCertificateName;
Aws::String m_regionalCertificateArn;
Aws::String m_distributionDomainName;
Aws::String m_distributionHostedZoneId;
EndpointConfiguration m_endpointConfiguration;
DomainNameStatus m_domainNameStatus;
Aws::String m_domainNameStatusMessage;
SecurityPolicy m_securityPolicy;
Aws::Map<Aws::String, Aws::String> m_tags;
};
} // namespace Model
} // namespace APIGateway
} // namespace Aws