/* * Copyright 2010-2014 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 email-2010-12-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SimpleEmail.Model { /// /// Represents the DKIM attributes of a verified email address or a domain. /// public partial class IdentityDkimAttributes { private bool? _dkimEnabled; private List _dkimTokens = new List(); private VerificationStatus _dkimVerificationStatus; /// /// Gets and sets the property DkimEnabled. /// /// Is true if DKIM signing is enabled for email sent from the identity. It's false otherwise. /// The default value is true. /// /// [AWSProperty(Required=true)] public bool DkimEnabled { get { return this._dkimEnabled.GetValueOrDefault(); } set { this._dkimEnabled = value; } } // Check to see if DkimEnabled property is set internal bool IsSetDkimEnabled() { return this._dkimEnabled.HasValue; } /// /// Gets and sets the property DkimTokens. /// /// A set of character strings that represent the domain's identity. Using these tokens, /// you need to create DNS CNAME records that point to DKIM public keys that are hosted /// by Amazon SES. Amazon Web Services eventually detects that you've updated your DNS /// records. This detection process might take up to 72 hours. After successful detection, /// Amazon SES is able to DKIM-sign email originating from that domain. (This only applies /// to domain identities, not email address identities.) /// /// /// /// For more information about creating DNS records using DKIM tokens, see the Amazon /// SES Developer Guide. /// /// public List DkimTokens { get { return this._dkimTokens; } set { this._dkimTokens = value; } } // Check to see if DkimTokens property is set internal bool IsSetDkimTokens() { return this._dkimTokens != null && this._dkimTokens.Count > 0; } /// /// Gets and sets the property DkimVerificationStatus. /// /// Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) /// published in the domain name's DNS. (This only applies to domain identities, not email /// address identities.) /// /// [AWSProperty(Required=true)] public VerificationStatus DkimVerificationStatus { get { return this._dkimVerificationStatus; } set { this._dkimVerificationStatus = value; } } // Check to see if DkimVerificationStatus property is set internal bool IsSetDkimVerificationStatus() { return this._dkimVerificationStatus != null; } } }