/*
* 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 sesv2-2019-09-27.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.SimpleEmailV2.Model
{
///
/// Container for the parameters to the PutEmailIdentityDkimAttributes operation.
/// Used to enable or disable DKIM authentication for an email identity.
///
public partial class PutEmailIdentityDkimAttributesRequest : AmazonSimpleEmailServiceV2Request
{
private string _emailIdentity;
private bool? _signingEnabled;
///
/// Gets and sets the property EmailIdentity.
///
/// The email identity.
///
///
[AWSProperty(Required=true, Min=1)]
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 are sent from the
/// identity are signed using DKIM. If you set this value to false
, your
/// messages are sent without DKIM signing.
///
///
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;
}
}
}