/*
* 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
{
///
/// A list of details about the email-sending capabilities of your Amazon SES account
/// in the current Amazon Web Services Region.
///
public partial class GetAccountResponse : AmazonWebServiceResponse
{
private bool? _dedicatedIpAutoWarmupEnabled;
private AccountDetails _details;
private string _enforcementStatus;
private bool? _productionAccessEnabled;
private bool? _sendingEnabled;
private SendQuota _sendQuota;
private SuppressionAttributes _suppressionAttributes;
private VdmAttributes _vdmAttributes;
///
/// Gets and sets the property DedicatedIpAutoWarmupEnabled.
///
/// Indicates whether or not the automatic warm-up feature is enabled for dedicated IP
/// addresses that are associated with your account.
///
///
public bool DedicatedIpAutoWarmupEnabled
{
get { return this._dedicatedIpAutoWarmupEnabled.GetValueOrDefault(); }
set { this._dedicatedIpAutoWarmupEnabled = value; }
}
// Check to see if DedicatedIpAutoWarmupEnabled property is set
internal bool IsSetDedicatedIpAutoWarmupEnabled()
{
return this._dedicatedIpAutoWarmupEnabled.HasValue;
}
///
/// Gets and sets the property Details.
///
/// An object that defines your account details.
///
///
public AccountDetails Details
{
get { return this._details; }
set { this._details = value; }
}
// Check to see if Details property is set
internal bool IsSetDetails()
{
return this._details != null;
}
///
/// Gets and sets the property EnforcementStatus.
///
/// The reputation status of your Amazon SES account. The status can be one of the following:
///
/// -
///
///
HEALTHY
– There are no reputation-related issues that currently impact
/// your account.
///
/// -
///
///
PROBATION
– We've identified potential issues with your Amazon SES account.
/// We're placing your account under review while you work on correcting these issues.
///
/// -
///
///
SHUTDOWN
– Your account's ability to send email is currently paused
/// because of an issue with the email sent from your account. When you correct the issue,
/// you can contact us and request that your account's ability to send email is resumed.
///
///
///
public string EnforcementStatus
{
get { return this._enforcementStatus; }
set { this._enforcementStatus = value; }
}
// Check to see if EnforcementStatus property is set
internal bool IsSetEnforcementStatus()
{
return this._enforcementStatus != null;
}
///
/// Gets and sets the property ProductionAccessEnabled.
///
/// Indicates whether or not your account has 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 SendingEnabled.
///
/// Indicates whether or not email sending is enabled for your Amazon SES account in the
/// current Amazon Web Services Region.
///
///
public bool SendingEnabled
{
get { return this._sendingEnabled.GetValueOrDefault(); }
set { this._sendingEnabled = value; }
}
// Check to see if SendingEnabled property is set
internal bool IsSetSendingEnabled()
{
return this._sendingEnabled.HasValue;
}
///
/// Gets and sets the property SendQuota.
///
/// An object that contains information about the per-day and per-second sending limits
/// for your Amazon SES account in the current Amazon Web Services Region.
///
///
public SendQuota SendQuota
{
get { return this._sendQuota; }
set { this._sendQuota = value; }
}
// Check to see if SendQuota property is set
internal bool IsSetSendQuota()
{
return this._sendQuota != null;
}
///
/// Gets and sets the property SuppressionAttributes.
///
/// An object that contains information about the email address suppression preferences
/// for your account in the current Amazon Web Services Region.
///
///
public SuppressionAttributes SuppressionAttributes
{
get { return this._suppressionAttributes; }
set { this._suppressionAttributes = value; }
}
// Check to see if SuppressionAttributes property is set
internal bool IsSetSuppressionAttributes()
{
return this._suppressionAttributes != null;
}
///
/// Gets and sets the property VdmAttributes.
///
/// The VDM attributes that apply to your Amazon SES account.
///
///
public VdmAttributes VdmAttributes
{
get { return this._vdmAttributes; }
set { this._vdmAttributes = value; }
}
// Check to see if VdmAttributes property is set
internal bool IsSetVdmAttributes()
{
return this._vdmAttributes != null;
}
}
}