/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to create a new domain name.See Also:
AWS
* API Reference
The name of the DomainName resource.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the DomainName resource.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the DomainName resource.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the DomainName resource.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the DomainName resource.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the DomainName resource.
*/ inline CreateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the DomainName resource.
*/ inline CreateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the DomainName resource.
*/ inline CreateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline const Aws::String& GetCertificateName() const{ return m_certificateName; } /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; } /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; } /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); } /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); } /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;} /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;} /** *The user-friendly name of the certificate that will be used by edge-optimized * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;} /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline const Aws::String& GetCertificateBody() const{ return m_certificateBody; } /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline bool CertificateBodyHasBeenSet() const { return m_certificateBodyHasBeenSet; } /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline void SetCertificateBody(const Aws::String& value) { m_certificateBodyHasBeenSet = true; m_certificateBody = value; } /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline void SetCertificateBody(Aws::String&& value) { m_certificateBodyHasBeenSet = true; m_certificateBody = std::move(value); } /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline void SetCertificateBody(const char* value) { m_certificateBodyHasBeenSet = true; m_certificateBody.assign(value); } /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline CreateDomainNameRequest& WithCertificateBody(const Aws::String& value) { SetCertificateBody(value); return *this;} /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline CreateDomainNameRequest& WithCertificateBody(Aws::String&& value) { SetCertificateBody(std::move(value)); return *this;} /** *[Deprecated] The body of the server certificate that will be used by * edge-optimized endpoint for this domain name provided by your certificate * authority.
*/ inline CreateDomainNameRequest& WithCertificateBody(const char* value) { SetCertificateBody(value); return *this;} /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline const Aws::String& GetCertificatePrivateKey() const{ return m_certificatePrivateKey; } /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline bool CertificatePrivateKeyHasBeenSet() const { return m_certificatePrivateKeyHasBeenSet; } /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline void SetCertificatePrivateKey(const Aws::String& value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey = value; } /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline void SetCertificatePrivateKey(Aws::String&& value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey = std::move(value); } /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline void SetCertificatePrivateKey(const char* value) { m_certificatePrivateKeyHasBeenSet = true; m_certificatePrivateKey.assign(value); } /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline CreateDomainNameRequest& WithCertificatePrivateKey(const Aws::String& value) { SetCertificatePrivateKey(value); return *this;} /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline CreateDomainNameRequest& WithCertificatePrivateKey(Aws::String&& value) { SetCertificatePrivateKey(std::move(value)); return *this;} /** *[Deprecated] Your edge-optimized endpoint's domain name certificate's private * key.
*/ inline CreateDomainNameRequest& WithCertificatePrivateKey(const char* value) { SetCertificatePrivateKey(value); return *this;} /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; } /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline bool CertificateChainHasBeenSet() const { return m_certificateChainHasBeenSet; } /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline void SetCertificateChain(const Aws::String& value) { m_certificateChainHasBeenSet = true; m_certificateChain = value; } /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline void SetCertificateChain(Aws::String&& value) { m_certificateChainHasBeenSet = true; m_certificateChain = std::move(value); } /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline void SetCertificateChain(const char* value) { m_certificateChainHasBeenSet = true; m_certificateChain.assign(value); } /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline CreateDomainNameRequest& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;} /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline CreateDomainNameRequest& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;} /** *[Deprecated] The intermediate certificates and optionally the root * certificate, one after the other without any blank lines, used by an * edge-optimized endpoint for this domain name. If you include the root * certificate, your certificate chain must start with intermediate certificates * and end with the root certificate. Use the intermediate certificates that were * provided by your certificate authority. Do not include any intermediaries that * are not in the chain of trust path.
*/ inline CreateDomainNameRequest& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;} /** *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.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *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.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *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.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *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.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *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.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *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.
*/ inline CreateDomainNameRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *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.
*/ inline CreateDomainNameRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *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.
*/ inline CreateDomainNameRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline const Aws::String& GetRegionalCertificateName() const{ return m_regionalCertificateName; } /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline bool RegionalCertificateNameHasBeenSet() const { return m_regionalCertificateNameHasBeenSet; } /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline void SetRegionalCertificateName(const Aws::String& value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName = value; } /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline void SetRegionalCertificateName(Aws::String&& value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName = std::move(value); } /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline void SetRegionalCertificateName(const char* value) { m_regionalCertificateNameHasBeenSet = true; m_regionalCertificateName.assign(value); } /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithRegionalCertificateName(const Aws::String& value) { SetRegionalCertificateName(value); return *this;} /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithRegionalCertificateName(Aws::String&& value) { SetRegionalCertificateName(std::move(value)); return *this;} /** *The user-friendly name of the certificate that will be used by regional * endpoint for this domain name.
*/ inline CreateDomainNameRequest& WithRegionalCertificateName(const char* value) { SetRegionalCertificateName(value); return *this;} /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline const Aws::String& GetRegionalCertificateArn() const{ return m_regionalCertificateArn; } /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline bool RegionalCertificateArnHasBeenSet() const { return m_regionalCertificateArnHasBeenSet; } /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline void SetRegionalCertificateArn(const Aws::String& value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn = value; } /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline void SetRegionalCertificateArn(Aws::String&& value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn = std::move(value); } /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline void SetRegionalCertificateArn(const char* value) { m_regionalCertificateArnHasBeenSet = true; m_regionalCertificateArn.assign(value); } /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline CreateDomainNameRequest& WithRegionalCertificateArn(const Aws::String& value) { SetRegionalCertificateArn(value); return *this;} /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline CreateDomainNameRequest& WithRegionalCertificateArn(Aws::String&& value) { SetRegionalCertificateArn(std::move(value)); return *this;} /** *The reference to an AWS-managed certificate that will be used by regional * endpoint for this domain name. AWS Certificate Manager is the only supported * source.
*/ inline CreateDomainNameRequest& WithRegionalCertificateArn(const char* value) { SetRegionalCertificateArn(value); return *this;} /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline const EndpointConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; } /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline bool EndpointConfigurationHasBeenSet() const { return m_endpointConfigurationHasBeenSet; } /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline void SetEndpointConfiguration(const EndpointConfiguration& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = value; } /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline void SetEndpointConfiguration(EndpointConfiguration&& value) { m_endpointConfigurationHasBeenSet = true; m_endpointConfiguration = std::move(value); } /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline CreateDomainNameRequest& WithEndpointConfiguration(const EndpointConfiguration& value) { SetEndpointConfiguration(value); return *this;} /** *The endpoint configuration of this DomainName showing the endpoint types of * the domain name.
*/ inline CreateDomainNameRequest& WithEndpointConfiguration(EndpointConfiguration&& value) { SetEndpointConfiguration(std::move(value)); return *this;} /** *The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The
* tag key can be up to 128 characters and must not start with aws:
.
* The tag value can be up to 256 characters.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The Transport Layer Security (TLS) version + cipher suite for this
* DomainName. The valid values are TLS_1_0
and
* TLS_1_2
.
The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline const Aws::String& GetOwnershipVerificationCertificateArn() const{ return m_ownershipVerificationCertificateArn; } /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline bool OwnershipVerificationCertificateArnHasBeenSet() const { return m_ownershipVerificationCertificateArnHasBeenSet; } /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline void SetOwnershipVerificationCertificateArn(const Aws::String& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = value; } /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline void SetOwnershipVerificationCertificateArn(Aws::String&& value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn = std::move(value); } /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline void SetOwnershipVerificationCertificateArn(const char* value) { m_ownershipVerificationCertificateArnHasBeenSet = true; m_ownershipVerificationCertificateArn.assign(value); } /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline CreateDomainNameRequest& WithOwnershipVerificationCertificateArn(const Aws::String& value) { SetOwnershipVerificationCertificateArn(value); return *this;} /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline CreateDomainNameRequest& WithOwnershipVerificationCertificateArn(Aws::String&& value) { SetOwnershipVerificationCertificateArn(std::move(value)); return *this;} /** *The ARN of the public certificate issued by ACM to validate ownership of your * custom domain. Only required when configuring mutual TLS and using an ACM * imported or private CA certificate ARN as the regionalCertificateArn.
*/ inline CreateDomainNameRequest& WithOwnershipVerificationCertificateArn(const char* value) { SetOwnershipVerificationCertificateArn(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_certificateName; bool m_certificateNameHasBeenSet = false; Aws::String m_certificateBody; bool m_certificateBodyHasBeenSet = false; Aws::String m_certificatePrivateKey; bool m_certificatePrivateKeyHasBeenSet = false; Aws::String m_certificateChain; bool m_certificateChainHasBeenSet = false; Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_regionalCertificateName; bool m_regionalCertificateNameHasBeenSet = false; Aws::String m_regionalCertificateArn; bool m_regionalCertificateArnHasBeenSet = false; EndpointConfiguration m_endpointConfiguration; bool m_endpointConfigurationHasBeenSet = false; Aws::Map