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

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

*/ inline const Aws::String& GetDNSTarget() const{ return m_dNSTarget; } /** *

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

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

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

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

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

*/ inline void SetDNSTarget(const char* value) { m_dNSTarget.assign(value); } /** *

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

*/ inline DisassociateCustomDomainResult& WithDNSTarget(const Aws::String& value) { SetDNSTarget(value); return *this;} /** *

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

*/ inline DisassociateCustomDomainResult& WithDNSTarget(Aws::String&& value) { SetDNSTarget(std::move(value)); return *this;} /** *

The App Runner subdomain of the App Runner service. The disassociated custom * domain name was mapped to this target name.

*/ inline DisassociateCustomDomainResult& WithDNSTarget(const char* value) { SetDNSTarget(value); return *this;} /** *

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

*/ inline const Aws::String& GetServiceArn() const{ return m_serviceArn; } /** *

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

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

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

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

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

*/ inline void SetServiceArn(const char* value) { m_serviceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

*/ inline DisassociateCustomDomainResult& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

*/ inline DisassociateCustomDomainResult& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the App Runner service that a custom domain * name is disassociated from.

*/ inline DisassociateCustomDomainResult& WithServiceArn(const char* value) { SetServiceArn(value); return *this;} /** *

A description of the domain name that's being disassociated.

*/ inline const CustomDomain& GetCustomDomain() const{ return m_customDomain; } /** *

A description of the domain name that's being disassociated.

*/ inline void SetCustomDomain(const CustomDomain& value) { m_customDomain = value; } /** *

A description of the domain name that's being disassociated.

*/ inline void SetCustomDomain(CustomDomain&& value) { m_customDomain = std::move(value); } /** *

A description of the domain name that's being disassociated.

*/ inline DisassociateCustomDomainResult& WithCustomDomain(const CustomDomain& value) { SetCustomDomain(value); return *this;} /** *

A description of the domain name that's being disassociated.

*/ inline DisassociateCustomDomainResult& WithCustomDomain(CustomDomain&& value) { SetCustomDomain(std::move(value)); return *this;} /** *

DNS Target records for the custom domains of this Amazon VPC.

*/ inline const Aws::Vector& GetVpcDNSTargets() const{ return m_vpcDNSTargets; } /** *

DNS Target records for the custom domains of this Amazon VPC.

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

DNS Target records for the custom domains of this Amazon VPC.

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

DNS Target records for the custom domains of this Amazon VPC.

*/ inline DisassociateCustomDomainResult& WithVpcDNSTargets(const Aws::Vector& value) { SetVpcDNSTargets(value); return *this;} /** *

DNS Target records for the custom domains of this Amazon VPC.

*/ inline DisassociateCustomDomainResult& WithVpcDNSTargets(Aws::Vector&& value) { SetVpcDNSTargets(std::move(value)); return *this;} /** *

DNS Target records for the custom domains of this Amazon VPC.

*/ inline DisassociateCustomDomainResult& AddVpcDNSTargets(const VpcDNSTarget& value) { m_vpcDNSTargets.push_back(value); return *this; } /** *

DNS Target records for the custom domains of this Amazon VPC.

*/ inline DisassociateCustomDomainResult& AddVpcDNSTargets(VpcDNSTarget&& value) { m_vpcDNSTargets.push_back(std::move(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 DisassociateCustomDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DisassociateCustomDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DisassociateCustomDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_dNSTarget; Aws::String m_serviceArn; CustomDomain m_customDomain; Aws::Vector m_vpcDNSTargets; Aws::String m_requestId; }; } // namespace Model } // namespace AppRunner } // namespace Aws