/* * 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 { /// /// An object that shows the status of the Deliverability dashboard. /// public partial class GetDeliverabilityDashboardOptionsResponse : AmazonWebServiceResponse { private DeliverabilityDashboardAccountStatus _accountStatus; private List _activeSubscribedDomains = new List(); private bool? _dashboardEnabled; private List _pendingExpirationSubscribedDomains = new List(); private DateTime? _subscriptionExpiryDate; /// /// Gets and sets the property AccountStatus. /// /// The current status of your Deliverability dashboard subscription. If this value is /// PENDING_EXPIRATION, your subscription is scheduled to expire at the end /// of the current calendar month. /// /// public DeliverabilityDashboardAccountStatus AccountStatus { get { return this._accountStatus; } set { this._accountStatus = value; } } // Check to see if AccountStatus property is set internal bool IsSetAccountStatus() { return this._accountStatus != null; } /// /// Gets and sets the property ActiveSubscribedDomains. /// /// An array of objects, one for each verified domain that you use to send email and currently /// has an active Deliverability dashboard subscription that isn’t scheduled to expire /// at the end of the current calendar month. /// /// public List ActiveSubscribedDomains { get { return this._activeSubscribedDomains; } set { this._activeSubscribedDomains = value; } } // Check to see if ActiveSubscribedDomains property is set internal bool IsSetActiveSubscribedDomains() { return this._activeSubscribedDomains != null && this._activeSubscribedDomains.Count > 0; } /// /// Gets and sets the property DashboardEnabled. /// /// Specifies whether the Deliverability dashboard is enabled. If this value is true, /// the dashboard is enabled. /// /// [AWSProperty(Required=true)] public bool DashboardEnabled { get { return this._dashboardEnabled.GetValueOrDefault(); } set { this._dashboardEnabled = value; } } // Check to see if DashboardEnabled property is set internal bool IsSetDashboardEnabled() { return this._dashboardEnabled.HasValue; } /// /// Gets and sets the property PendingExpirationSubscribedDomains. /// /// An array of objects, one for each verified domain that you use to send email and currently /// has an active Deliverability dashboard subscription that's scheduled to expire at /// the end of the current calendar month. /// /// public List PendingExpirationSubscribedDomains { get { return this._pendingExpirationSubscribedDomains; } set { this._pendingExpirationSubscribedDomains = value; } } // Check to see if PendingExpirationSubscribedDomains property is set internal bool IsSetPendingExpirationSubscribedDomains() { return this._pendingExpirationSubscribedDomains != null && this._pendingExpirationSubscribedDomains.Count > 0; } /// /// Gets and sets the property SubscriptionExpiryDate. /// /// The date when your current subscription to the Deliverability dashboard is scheduled /// to expire, if your subscription is scheduled to expire at the end of the current calendar /// month. This value is null if you have an active subscription that isn’t due to expire /// at the end of the month. /// /// public DateTime SubscriptionExpiryDate { get { return this._subscriptionExpiryDate.GetValueOrDefault(); } set { this._subscriptionExpiryDate = value; } } // Check to see if SubscriptionExpiryDate property is set internal bool IsSetSubscriptionExpiryDate() { return this._subscriptionExpiryDate.HasValue; } } }