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

An object that contains information about the Deliverability dashboard * subscription for a verified domain that you use to send email and currently has * an active Deliverability dashboard subscription. If a Deliverability dashboard * subscription is active for a domain, you gain access to reputation, inbox * placement, and other metrics for the domain.

See Also:

AWS * API Reference

*/ class DomainDeliverabilityTrackingOption { public: AWS_SESV2_API DomainDeliverabilityTrackingOption(); AWS_SESV2_API DomainDeliverabilityTrackingOption(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API DomainDeliverabilityTrackingOption& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline DomainDeliverabilityTrackingOption& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline DomainDeliverabilityTrackingOption& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

A verified domain that’s associated with your Amazon Web Services account and * currently has an active Deliverability dashboard subscription.

*/ inline DomainDeliverabilityTrackingOption& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline const Aws::Utils::DateTime& GetSubscriptionStartDate() const{ return m_subscriptionStartDate; } /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline bool SubscriptionStartDateHasBeenSet() const { return m_subscriptionStartDateHasBeenSet; } /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline void SetSubscriptionStartDate(const Aws::Utils::DateTime& value) { m_subscriptionStartDateHasBeenSet = true; m_subscriptionStartDate = value; } /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline void SetSubscriptionStartDate(Aws::Utils::DateTime&& value) { m_subscriptionStartDateHasBeenSet = true; m_subscriptionStartDate = std::move(value); } /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline DomainDeliverabilityTrackingOption& WithSubscriptionStartDate(const Aws::Utils::DateTime& value) { SetSubscriptionStartDate(value); return *this;} /** *

The date when you enabled the Deliverability dashboard for the domain.

*/ inline DomainDeliverabilityTrackingOption& WithSubscriptionStartDate(Aws::Utils::DateTime&& value) { SetSubscriptionStartDate(std::move(value)); return *this;} /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline const InboxPlacementTrackingOption& GetInboxPlacementTrackingOption() const{ return m_inboxPlacementTrackingOption; } /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline bool InboxPlacementTrackingOptionHasBeenSet() const { return m_inboxPlacementTrackingOptionHasBeenSet; } /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline void SetInboxPlacementTrackingOption(const InboxPlacementTrackingOption& value) { m_inboxPlacementTrackingOptionHasBeenSet = true; m_inboxPlacementTrackingOption = value; } /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline void SetInboxPlacementTrackingOption(InboxPlacementTrackingOption&& value) { m_inboxPlacementTrackingOptionHasBeenSet = true; m_inboxPlacementTrackingOption = std::move(value); } /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline DomainDeliverabilityTrackingOption& WithInboxPlacementTrackingOption(const InboxPlacementTrackingOption& value) { SetInboxPlacementTrackingOption(value); return *this;} /** *

An object that contains information about the inbox placement data settings * for the domain.

*/ inline DomainDeliverabilityTrackingOption& WithInboxPlacementTrackingOption(InboxPlacementTrackingOption&& value) { SetInboxPlacementTrackingOption(std::move(value)); return *this;} private: Aws::String m_domain; bool m_domainHasBeenSet = false; Aws::Utils::DateTime m_subscriptionStartDate; bool m_subscriptionStartDateHasBeenSet = false; InboxPlacementTrackingOption m_inboxPlacementTrackingOption; bool m_inboxPlacementTrackingOptionHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws