/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRunner.Model { /// /// This is the response object from the DescribeCustomDomains operation. /// public partial class DescribeCustomDomainsResponse : AmazonWebServiceResponse { private List _customDomains = new List(); private string _dnsTarget; private string _nextToken; private string _serviceArn; private List _vpcDNSTargets = new List(); /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true)] public List CustomDomains { get { return this._customDomains; } set { this._customDomains = value; } } // Check to see if CustomDomains property is set internal bool IsSetCustomDomains() { return this._customDomains != null && this._customDomains.Count > 0; } /// /// Gets and sets the property DNSTarget. /// /// The App Runner subdomain of the App Runner service. The associated custom domain names /// are mapped to this target name. /// /// [AWSProperty(Required=true, Min=0, Max=51200)] public string DNSTarget { get { return this._dnsTarget; } set { this._dnsTarget = value; } } // Check to see if DNSTarget property is set internal bool IsSetDNSTarget() { return this._dnsTarget != null; } /// /// Gets and sets the property NextToken. /// /// The token that you can pass in a subsequent request to get the next result page. It's /// returned in a paginated request. /// /// [AWSProperty(Min=0, Max=51200)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property ServiceArn. /// /// The Amazon Resource Name (ARN) of the App Runner service whose associated custom domain /// names you want to describe. /// /// [AWSProperty(Required=true, Min=1, Max=1011)] public string ServiceArn { get { return this._serviceArn; } set { this._serviceArn = value; } } // Check to see if ServiceArn property is set internal bool IsSetServiceArn() { return this._serviceArn != null; } /// /// Gets and sets the property VpcDNSTargets. /// /// DNS Target records for the custom domains of this Amazon VPC. /// /// [AWSProperty(Required=true)] public List VpcDNSTargets { get { return this._vpcDNSTargets; } set { this._vpcDNSTargets = value; } } // Check to see if VpcDNSTargets property is set internal bool IsSetVpcDNSTargets() { return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0; } } }