/* * 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 lightsail-2016-11-28.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.Lightsail.Model { /// /// Describes the domain name system (DNS) records that you must add to the DNS of your /// registered domain to validate ownership for an Amazon Lightsail SSL/TLS certificate. /// public partial class DomainValidationRecord { private DnsRecordCreationState _dnsRecordCreationState; private string _domainName; private ResourceRecord _resourceRecord; private CertificateDomainValidationStatus _validationStatus; /// /// Gets and sets the property DnsRecordCreationState. /// /// An object that describes the state of the canonical name (CNAME) records that are /// automatically added by Lightsail to the DNS of the domain to validate domain ownership. /// /// public DnsRecordCreationState DnsRecordCreationState { get { return this._dnsRecordCreationState; } set { this._dnsRecordCreationState = value; } } // Check to see if DnsRecordCreationState property is set internal bool IsSetDnsRecordCreationState() { return this._dnsRecordCreationState != null; } /// /// Gets and sets the property DomainName. /// /// The domain name of the certificate validation record. For example, example.com /// or www.example.com. /// /// public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } /// /// Gets and sets the property ResourceRecord. /// /// An object that describes the DNS records to add to your domain's DNS to validate it /// for the certificate. /// /// public ResourceRecord ResourceRecord { get { return this._resourceRecord; } set { this._resourceRecord = value; } } // Check to see if ResourceRecord property is set internal bool IsSetResourceRecord() { return this._resourceRecord != null; } /// /// Gets and sets the property ValidationStatus. /// /// The validation status of the record. /// /// public CertificateDomainValidationStatus ValidationStatus { get { return this._validationStatus; } set { this._validationStatus = value; } } // Check to see if ValidationStatus property is set internal bool IsSetValidationStatus() { return this._validationStatus != null; } } }