/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApiGatewayV2 { namespace Model { class UpdateDomainNameResult { public: AWS_APIGATEWAYV2_API UpdateDomainNameResult(); AWS_APIGATEWAYV2_API UpdateDomainNameResult(const Aws::AmazonWebServiceResult& result); AWS_APIGATEWAYV2_API UpdateDomainNameResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The API mapping selection expression.

*/ inline const Aws::String& GetApiMappingSelectionExpression() const{ return m_apiMappingSelectionExpression; } /** *

The API mapping selection expression.

*/ inline void SetApiMappingSelectionExpression(const Aws::String& value) { m_apiMappingSelectionExpression = value; } /** *

The API mapping selection expression.

*/ inline void SetApiMappingSelectionExpression(Aws::String&& value) { m_apiMappingSelectionExpression = std::move(value); } /** *

The API mapping selection expression.

*/ inline void SetApiMappingSelectionExpression(const char* value) { m_apiMappingSelectionExpression.assign(value); } /** *

The API mapping selection expression.

*/ inline UpdateDomainNameResult& WithApiMappingSelectionExpression(const Aws::String& value) { SetApiMappingSelectionExpression(value); return *this;} /** *

The API mapping selection expression.

*/ inline UpdateDomainNameResult& WithApiMappingSelectionExpression(Aws::String&& value) { SetApiMappingSelectionExpression(std::move(value)); return *this;} /** *

The API mapping selection expression.

*/ inline UpdateDomainNameResult& 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 void SetDomainName(const Aws::String& value) { m_domainName = value; } /** *

The name of the DomainName resource.

*/ inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); } /** *

The name of the DomainName resource.

*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *

The name of the DomainName resource.

*/ inline UpdateDomainNameResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The name of the DomainName resource.

*/ inline UpdateDomainNameResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The name of the DomainName resource.

*/ inline UpdateDomainNameResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The domain name configurations.

*/ inline const Aws::Vector& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; } /** *

The domain name configurations.

*/ inline void SetDomainNameConfigurations(const Aws::Vector& value) { m_domainNameConfigurations = value; } /** *

The domain name configurations.

*/ inline void SetDomainNameConfigurations(Aws::Vector&& value) { m_domainNameConfigurations = std::move(value); } /** *

The domain name configurations.

*/ inline UpdateDomainNameResult& WithDomainNameConfigurations(const Aws::Vector& value) { SetDomainNameConfigurations(value); return *this;} /** *

The domain name configurations.

*/ inline UpdateDomainNameResult& WithDomainNameConfigurations(Aws::Vector&& value) { SetDomainNameConfigurations(std::move(value)); return *this;} /** *

The domain name configurations.

*/ inline UpdateDomainNameResult& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurations.push_back(value); return *this; } /** *

The domain name configurations.

*/ inline UpdateDomainNameResult& AddDomainNameConfigurations(DomainNameConfiguration&& value) { 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 void SetMutualTlsAuthentication(const MutualTlsAuthentication& value) { m_mutualTlsAuthentication = value; } /** *

The mutual TLS authentication configuration for a custom domain name.

*/ inline void SetMutualTlsAuthentication(MutualTlsAuthentication&& value) { m_mutualTlsAuthentication = std::move(value); } /** *

The mutual TLS authentication configuration for a custom domain name.

*/ inline UpdateDomainNameResult& WithMutualTlsAuthentication(const MutualTlsAuthentication& value) { SetMutualTlsAuthentication(value); return *this;} /** *

The mutual TLS authentication configuration for a custom domain name.

*/ inline UpdateDomainNameResult& WithMutualTlsAuthentication(MutualTlsAuthentication&& value) { SetMutualTlsAuthentication(std::move(value)); return *this;} /** *

The collection of tags associated with a domain name.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The collection of tags associated with a domain name.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The collection of tags associated with a domain name.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The collection of tags associated with a domain name.

*/ inline UpdateDomainNameResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateDomainNameResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDomainNameResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDomainNameResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_apiMappingSelectionExpression; Aws::String m_domainName; Aws::Vector m_domainNameConfigurations; MutualTlsAuthentication m_mutualTlsAuthentication; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws