/** * 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 SESV2 { namespace Model { /** *

Enable or disable the Deliverability dashboard. When you enable the * Deliverability dashboard, you gain access to reputation, deliverability, and * other metrics for the domains that you use to send email using Amazon SES API * v2. You also gain the ability to perform predictive inbox placement tests.

*

When you use the Deliverability dashboard, you pay a monthly subscription * charge, in addition to any other fees that you accrue by using Amazon SES and * other Amazon Web Services services. For more information about the features and * cost of a Deliverability dashboard subscription, see Amazon Pinpoint * Pricing.

See Also:

AWS * API Reference

*/ class PutDeliverabilityDashboardOptionRequest : public SESV2Request { public: AWS_SESV2_API PutDeliverabilityDashboardOptionRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutDeliverabilityDashboardOption"; } AWS_SESV2_API Aws::String SerializePayload() const override; /** *

Specifies whether to enable the Deliverability dashboard. To enable the * dashboard, set this value to true.

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

Specifies whether to enable the Deliverability dashboard. To enable the * dashboard, set this value to true.

*/ inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; } /** *

Specifies whether to enable the Deliverability dashboard. To enable the * dashboard, set this value to true.

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

Specifies whether to enable the Deliverability dashboard. To enable the * dashboard, set this value to true.

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

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline const Aws::Vector& GetSubscribedDomains() const{ return m_subscribedDomains; } /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; } /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline void SetSubscribedDomains(const Aws::Vector& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = value; } /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline void SetSubscribedDomains(Aws::Vector&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::move(value); } /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(const Aws::Vector& value) { SetSubscribedDomains(value); return *this;} /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(Aws::Vector&& value) { SetSubscribedDomains(std::move(value)); return *this;} /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(value); return *this; } /** *

An array of objects, one for each verified domain that you use to send email * and enabled the Deliverability dashboard for.

*/ inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(std::move(value)); return *this; } private: bool m_dashboardEnabled; bool m_dashboardEnabledHasBeenSet = false; Aws::Vector m_subscribedDomains; bool m_subscribedDomainsHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws