/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SESV2 { namespace Model { /** *

An object that shows the status of the Deliverability * dashboard.

See Also:

AWS * API Reference

*/ class GetDeliverabilityDashboardOptionsResult { public: AWS_SESV2_API GetDeliverabilityDashboardOptionsResult(); AWS_SESV2_API GetDeliverabilityDashboardOptionsResult(const Aws::AmazonWebServiceResult& result); AWS_SESV2_API GetDeliverabilityDashboardOptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Specifies whether the Deliverability dashboard is enabled. If this value is * true, the dashboard is enabled.

*/ inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; } /** *

Specifies whether the Deliverability dashboard is enabled. If this value is * true, the dashboard is enabled.

*/ inline void SetDashboardEnabled(bool value) { m_dashboardEnabled = value; } /** *

Specifies whether the Deliverability dashboard is enabled. If this value is * true, the dashboard is enabled.

*/ inline GetDeliverabilityDashboardOptionsResult& WithDashboardEnabled(bool value) { SetDashboardEnabled(value); return *this;} /** *

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.

*/ inline const Aws::Utils::DateTime& GetSubscriptionExpiryDate() const{ return m_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.

*/ inline void SetSubscriptionExpiryDate(const Aws::Utils::DateTime& value) { m_subscriptionExpiryDate = value; } /** *

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.

*/ inline void SetSubscriptionExpiryDate(Aws::Utils::DateTime&& value) { m_subscriptionExpiryDate = std::move(value); } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithSubscriptionExpiryDate(const Aws::Utils::DateTime& value) { SetSubscriptionExpiryDate(value); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithSubscriptionExpiryDate(Aws::Utils::DateTime&& value) { SetSubscriptionExpiryDate(std::move(value)); return *this;} /** *

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.

*/ inline const DeliverabilityDashboardAccountStatus& GetAccountStatus() const{ return m_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.

*/ inline void SetAccountStatus(const DeliverabilityDashboardAccountStatus& value) { m_accountStatus = value; } /** *

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.

*/ inline void SetAccountStatus(DeliverabilityDashboardAccountStatus&& value) { m_accountStatus = std::move(value); } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithAccountStatus(const DeliverabilityDashboardAccountStatus& value) { SetAccountStatus(value); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithAccountStatus(DeliverabilityDashboardAccountStatus&& value) { SetAccountStatus(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::Vector& GetActiveSubscribedDomains() const{ return m_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.

*/ inline void SetActiveSubscribedDomains(const Aws::Vector& value) { m_activeSubscribedDomains = value; } /** *

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.

*/ inline void SetActiveSubscribedDomains(Aws::Vector&& value) { m_activeSubscribedDomains = std::move(value); } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithActiveSubscribedDomains(const Aws::Vector& value) { SetActiveSubscribedDomains(value); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithActiveSubscribedDomains(Aws::Vector&& value) { SetActiveSubscribedDomains(std::move(value)); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& AddActiveSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_activeSubscribedDomains.push_back(value); return *this; } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& AddActiveSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_activeSubscribedDomains.push_back(std::move(value)); return *this; } /** *

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.

*/ inline const Aws::Vector& GetPendingExpirationSubscribedDomains() const{ return m_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.

*/ inline void SetPendingExpirationSubscribedDomains(const Aws::Vector& value) { m_pendingExpirationSubscribedDomains = value; } /** *

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.

*/ inline void SetPendingExpirationSubscribedDomains(Aws::Vector&& value) { m_pendingExpirationSubscribedDomains = std::move(value); } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithPendingExpirationSubscribedDomains(const Aws::Vector& value) { SetPendingExpirationSubscribedDomains(value); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& WithPendingExpirationSubscribedDomains(Aws::Vector&& value) { SetPendingExpirationSubscribedDomains(std::move(value)); return *this;} /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& AddPendingExpirationSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_pendingExpirationSubscribedDomains.push_back(value); return *this; } /** *

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.

*/ inline GetDeliverabilityDashboardOptionsResult& AddPendingExpirationSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_pendingExpirationSubscribedDomains.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDeliverabilityDashboardOptionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeliverabilityDashboardOptionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeliverabilityDashboardOptionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_dashboardEnabled; Aws::Utils::DateTime m_subscriptionExpiryDate; DeliverabilityDashboardAccountStatus m_accountStatus; Aws::Vector m_activeSubscribedDomains; Aws::Vector m_pendingExpirationSubscribedDomains; Aws::String m_requestId; }; } // namespace Model } // namespace SESV2 } // namespace Aws