/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Creates a new DomainName resource to represent a domain name.See
* Also:
AWS
* API Reference
The domain name.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The domain name.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The domain name.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The domain name.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The domain name.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The domain name.
*/ inline CreateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The domain name.
*/ inline CreateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The domain name.
*/ inline CreateDomainNameRequest& 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 CreateDomainNameRequest& WithDomainNameConfigurations(const Aws::VectorThe domain name configurations.
*/ inline CreateDomainNameRequest& WithDomainNameConfigurations(Aws::VectorThe domain name configurations.
*/ inline CreateDomainNameRequest& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; } /** *The domain name configurations.
*/ inline CreateDomainNameRequest& 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 MutualTlsAuthenticationInput& 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 MutualTlsAuthenticationInput& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = value; } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline void SetMutualTlsAuthentication(MutualTlsAuthenticationInput&& value) { m_mutualTlsAuthenticationHasBeenSet = true; m_mutualTlsAuthentication = std::move(value); } /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline CreateDomainNameRequest& WithMutualTlsAuthentication(const MutualTlsAuthenticationInput& value) { SetMutualTlsAuthentication(value); return *this;} /** *The mutual TLS authentication configuration for a custom domain name.
*/ inline CreateDomainNameRequest& WithMutualTlsAuthentication(MutualTlsAuthenticationInput&& 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 CreateDomainNameRequest& WithTags(const Aws::MapThe collection of tags associated with a domain name.
*/ inline CreateDomainNameRequest& WithTags(Aws::MapThe collection of tags associated with a domain name.
*/ inline CreateDomainNameRequest& 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 CreateDomainNameRequest& 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 CreateDomainNameRequest& 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 CreateDomainNameRequest& 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 CreateDomainNameRequest& 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 CreateDomainNameRequest& 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 CreateDomainNameRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::Vector