/* * 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 { /// /// A list of details about the email-sending capabilities of your Amazon Pinpoint account /// in the current AWS Region. /// public partial class GetAccountResponse : AmazonWebServiceResponse { private bool? _dedicatedIpAutoWarmupEnabled; private string _enforcementStatus; private bool? _productionAccessEnabled; private bool? _sendingEnabled; private SendQuota _sendQuota; /// /// 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 EnforcementStatus. /// /// The reputation status of your Amazon Pinpoint account. The status can be one of the /// following: /// /// /// 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 AWS 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 Pinpoint account /// in the current AWS 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 Pinpoint account in the current AWS 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; } } }