/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a domain name.See Also:
AWS
* API Reference
The API mapping selection expression.
*/ inline const Aws::String& GetApiMappingSelectionExpression() const{ return m_apiMappingSelectionExpression; } /** *The API mapping selection expression.
*/ inline bool ApiMappingSelectionExpressionHasBeenSet() const { return m_apiMappingSelectionExpressionHasBeenSet; } /** *The API mapping selection expression.
*/ inline void SetApiMappingSelectionExpression(const Aws::String& value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression = value; } /** *The API mapping selection expression.
*/ inline void SetApiMappingSelectionExpression(Aws::String&& value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression = std::move(value); } /** *The API mapping selection expression.
*/ inline void SetApiMappingSelectionExpression(const char* value) { m_apiMappingSelectionExpressionHasBeenSet = true; m_apiMappingSelectionExpression.assign(value); } /** *The API mapping selection expression.
*/ inline DomainName& WithApiMappingSelectionExpression(const Aws::String& value) { SetApiMappingSelectionExpression(value); return *this;} /** *The API mapping selection expression.
*/ inline DomainName& WithApiMappingSelectionExpression(Aws::String&& value) { SetApiMappingSelectionExpression(std::move(value)); return *this;} /** *The API mapping selection expression.
*/ inline DomainName& WithApiMappingSelectionExpression(const char* value) { SetApiMappingSelectionExpression(value); return *this;} /** *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 DomainName& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the DomainName resource.
*/ inline DomainName& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the DomainName resource.
*/ inline DomainName& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The domain name configurations.
*/ inline const Aws::VectorThe domain name configurations.
*/ inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; } /** *The domain name configurations.
*/ inline void SetDomainNameConfigurations(const Aws::VectorThe domain name configurations.
*/ inline void SetDomainNameConfigurations(Aws::VectorThe domain name configurations.
*/ inline DomainName& WithDomainNameConfigurations(const Aws::VectorThe domain name configurations.
*/ inline DomainName& WithDomainNameConfigurations(Aws::VectorThe domain name configurations.
*/ inline DomainName& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; } /** *The domain name configurations.
*/ inline DomainName& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline const MutualTlsAuthentication& GetMutualTlsAuthentication() const{ return m_mutualTlsAuthentication; } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline bool MutualTlsAuthenticationHasBeenSet() const { return m_mutualTlsAuthenticationHasBeenSet; } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline void SetMutualTlsAuthentication(const MutualTlsAuthentication& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline void SetMutualTlsAuthentication(MutualTlsAuthentication&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline DomainName& WithMutualTlsAuthentication(const MutualTlsAuthentication& value) { SetMutualTlsAuthentication(value); return *this;} /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline DomainName& WithMutualTlsAuthentication(MutualTlsAuthentication&& value) { SetMutualTlsAuthentication(std::move(value)); return *this;} /** *The collection of tags associated with a domain name.
*/ inline const Aws::MapThe collection of tags associated with a domain name.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The collection of tags associated with a domain name.
*/ inline void SetTags(const Aws::MapThe collection of tags associated with a domain name.
*/ inline void SetTags(Aws::MapThe collection of tags associated with a domain name.
*/ inline DomainName& WithTags(const Aws::MapThe collection of tags associated with a domain name.
*/ inline DomainName& WithTags(Aws::MapThe collection of tags associated with a domain name.
*/ inline DomainName& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The collection of tags associated with a domain name.
*/ inline DomainName& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_apiMappingSelectionExpression; bool m_apiMappingSelectionExpressionHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::Vector