/*
* 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 PutAccountDetails operation.
/// Update your Amazon SES account details.
///
public partial class PutAccountDetailsRequest : AmazonSimpleEmailServiceV2Request
{
private List _additionalContactEmailAddresses = new List();
private ContactLanguage _contactLanguage;
private MailType _mailType;
private bool? _productionAccessEnabled;
private string _useCaseDescription;
private string _websiteURL;
///
/// Gets and sets the property AdditionalContactEmailAddresses.
///
/// Additional email addresses that you would like to be notified regarding Amazon SES
/// matters.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=4)]
public List AdditionalContactEmailAddresses
{
get { return this._additionalContactEmailAddresses; }
set { this._additionalContactEmailAddresses = value; }
}
// Check to see if AdditionalContactEmailAddresses property is set
internal bool IsSetAdditionalContactEmailAddresses()
{
return this._additionalContactEmailAddresses != null && this._additionalContactEmailAddresses.Count > 0;
}
///
/// Gets and sets the property ContactLanguage.
///
/// The language you would prefer to be contacted with.
///
///
public ContactLanguage ContactLanguage
{
get { return this._contactLanguage; }
set { this._contactLanguage = value; }
}
// Check to see if ContactLanguage property is set
internal bool IsSetContactLanguage()
{
return this._contactLanguage != null;
}
///
/// Gets and sets the property MailType.
///
/// The type of email your account will send.
///
///
[AWSProperty(Required=true)]
public MailType MailType
{
get { return this._mailType; }
set { this._mailType = value; }
}
// Check to see if MailType property is set
internal bool IsSetMailType()
{
return this._mailType != null;
}
///
/// Gets and sets the property ProductionAccessEnabled.
///
/// Indicates whether or not your account should have production access in the current
/// Amazon Web Services Region.
///
///
///
/// If the value is false
, then your account is in the sandbox. When
/// your account is in the sandbox, you can only send email to verified identities. Additionally,
/// the maximum number of emails you can send in a 24-hour period (your sending quota)
/// is 200, and the maximum number of emails you can send per second (your maximum sending
/// rate) is 1.
///
///
///
/// If the value is true
, then your account has production access. When your
/// account has production access, you can send email to any address. The sending quota
/// and maximum sending rate for your account vary based on your specific use case.
///
///
public bool ProductionAccessEnabled
{
get { return this._productionAccessEnabled.GetValueOrDefault(); }
set { this._productionAccessEnabled = value; }
}
// Check to see if ProductionAccessEnabled property is set
internal bool IsSetProductionAccessEnabled()
{
return this._productionAccessEnabled.HasValue;
}
///
/// Gets and sets the property UseCaseDescription.
///
/// A description of the types of email that you plan to send.
///
///
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=5000)]
public string UseCaseDescription
{
get { return this._useCaseDescription; }
set { this._useCaseDescription = value; }
}
// Check to see if UseCaseDescription property is set
internal bool IsSetUseCaseDescription()
{
return this._useCaseDescription != null;
}
///
/// Gets and sets the property WebsiteURL.
///
/// The URL of your website. This information helps us better understand the type of content
/// that you plan to send.
///
///
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=1000)]
public string WebsiteURL
{
get { return this._websiteURL; }
set { this._websiteURL = value; }
}
// Check to see if WebsiteURL property is set
internal bool IsSetWebsiteURL()
{
return this._websiteURL != null;
}
}
}