/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppRunner { namespace Model { /** *

DNS Target record for a custom domain of this Amazon VPC.

See * Also:

AWS * API Reference

*/ class VpcDNSTarget { public: AWS_APPRUNNER_API VpcDNSTarget(); AWS_APPRUNNER_API VpcDNSTarget(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API VpcDNSTarget& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline const Aws::String& GetVpcIngressConnectionArn() const{ return m_vpcIngressConnectionArn; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline void SetVpcIngressConnectionArn(const Aws::String& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = value; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline void SetVpcIngressConnectionArn(Aws::String&& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline void SetVpcIngressConnectionArn(const char* value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline VpcDNSTarget& WithVpcIngressConnectionArn(const Aws::String& value) { SetVpcIngressConnectionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline VpcDNSTarget& WithVpcIngressConnectionArn(Aws::String&& value) { SetVpcIngressConnectionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection that is * associated with your service.

*/ inline VpcDNSTarget& WithVpcIngressConnectionArn(const char* value) { SetVpcIngressConnectionArn(value); return *this;} /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline VpcDNSTarget& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline VpcDNSTarget& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The ID of the Amazon VPC that is associated with the custom domain name of * the target DNS.

*/ inline VpcDNSTarget& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The domain name of your target DNS that is associated with the Amazon * VPC.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The domain name of your target DNS that is associated with the Amazon * VPC.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The domain name of your target DNS that is associated with the Amazon * VPC.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The domain name of your target DNS that is associated with the Amazon * VPC.

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

The domain name of your target DNS that is associated with the Amazon * VPC.

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

The domain name of your target DNS that is associated with the Amazon * VPC.

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

The domain name of your target DNS that is associated with the Amazon * VPC.

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

The domain name of your target DNS that is associated with the Amazon * VPC.

*/ inline VpcDNSTarget& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_vpcIngressConnectionArn; bool m_vpcIngressConnectionArnHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws