/* * 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 pinpoint-email-2018-07-26.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.PinpointEmail.Model { /// /// Container for the parameters to the PutEmailIdentityDkimAttributes operation. /// Used to enable or disable DKIM authentication for an email identity. /// public partial class PutEmailIdentityDkimAttributesRequest : AmazonPinpointEmailRequest { private string _emailIdentity; private bool? _signingEnabled; /// /// Gets and sets the property EmailIdentity. /// /// The email identity that you want to change the DKIM settings for. /// /// [AWSProperty(Required=true)] public string EmailIdentity { get { return this._emailIdentity; } set { this._emailIdentity = value; } } // Check to see if EmailIdentity property is set internal bool IsSetEmailIdentity() { return this._emailIdentity != null; } /// /// Gets and sets the property SigningEnabled. /// /// Sets the DKIM signing configuration for the identity. /// /// /// /// When you set this value true, then the messages that Amazon Pinpoint /// sends from the identity are DKIM-signed. When you set this value to false, /// then the messages that Amazon Pinpoint sends from the identity aren't DKIM-signed. /// /// public bool SigningEnabled { get { return this._signingEnabled.GetValueOrDefault(); } set { this._signingEnabled = value; } } // Check to see if SigningEnabled property is set internal bool IsSetSigningEnabled() { return this._signingEnabled.HasValue; } } }