/** * 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 DescribeCustomDomainsResult { public: AWS_APPRUNNER_API DescribeCustomDomainsResult(); AWS_APPRUNNER_API DescribeCustomDomainsResult(const Aws::AmazonWebServiceResult& result); AWS_APPRUNNER_API DescribeCustomDomainsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The App Runner subdomain of the App Runner service. The associated custom * domain names are mapped to this target name.

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

The App Runner subdomain of the App Runner service. The associated custom * domain names are 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 associated custom * domain names are 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 associated custom * domain names are 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 associated custom * domain names are mapped to this target name.

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

The App Runner subdomain of the App Runner service. The associated custom * domain names are mapped to this target name.

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

The App Runner subdomain of the App Runner service. The associated custom * domain names are mapped to this target name.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

The Amazon Resource Name (ARN) of the App Runner service whose associated * custom domain names you want to describe.

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

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

*/ inline const Aws::Vector& GetCustomDomains() const{ return m_customDomains; } /** *

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

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

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

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

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

*/ inline DescribeCustomDomainsResult& WithCustomDomains(const Aws::Vector& value) { SetCustomDomains(value); return *this;} /** *

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

*/ inline DescribeCustomDomainsResult& WithCustomDomains(Aws::Vector&& value) { SetCustomDomains(std::move(value)); return *this;} /** *

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

*/ inline DescribeCustomDomainsResult& AddCustomDomains(const CustomDomain& value) { m_customDomains.push_back(value); return *this; } /** *

A list of descriptions of custom domain names that are associated with the * service. In a paginated request, the request returns up to * MaxResults records per call.

*/ inline DescribeCustomDomainsResult& AddCustomDomains(CustomDomain&& value) { m_customDomains.push_back(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 DescribeCustomDomainsResult& WithVpcDNSTargets(const Aws::Vector& value) { SetVpcDNSTargets(value); return *this;} /** *

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

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

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

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

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

*/ inline DescribeCustomDomainsResult& AddVpcDNSTargets(VpcDNSTarget&& value) { m_vpcDNSTargets.push_back(std::move(value)); return *this; } /** *

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

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

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

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

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

*/ inline DescribeCustomDomainsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

*/ inline DescribeCustomDomainsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token that you can pass in a subsequent request to get the next result * page. It's returned in a paginated request.

*/ inline DescribeCustomDomainsResult& WithNextToken(const char* value) { SetNextToken(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 DescribeCustomDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCustomDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCustomDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_dNSTarget; Aws::String m_serviceArn; Aws::Vector m_customDomains; Aws::Vector m_vpcDNSTargets; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace AppRunner } // namespace Aws