This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sesv2/include/aws/sesv2/model/PutDeliverabilityDashboardOptionRequest.h

133 lines
5.8 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sesv2/SESV2_EXPORTS.h>
#include <aws/sesv2/SESV2Request.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/sesv2/model/DomainDeliverabilityTrackingOption.h>
#include <utility>
namespace Aws
{
namespace SESV2
{
namespace Model
{
/**
* <p>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.</p>
* <p>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 AWS services. For more information about the features and cost of a
* Deliverability dashboard subscription, see <a
* href="http://aws.amazon.com/pinpoint/pricing/">Amazon Pinpoint
* Pricing</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDeliverabilityDashboardOptionRequest">AWS
* API Reference</a></p>
*/
class AWS_SESV2_API PutDeliverabilityDashboardOptionRequest : public SESV2Request
{
public:
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::String SerializePayload() const override;
/**
* <p>Specifies whether to enable the Deliverability dashboard. To enable the
* dashboard, set this value to <code>true</code>.</p>
*/
inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; }
/**
* <p>Specifies whether to enable the Deliverability dashboard. To enable the
* dashboard, set this value to <code>true</code>.</p>
*/
inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; }
/**
* <p>Specifies whether to enable the Deliverability dashboard. To enable the
* dashboard, set this value to <code>true</code>.</p>
*/
inline void SetDashboardEnabled(bool value) { m_dashboardEnabledHasBeenSet = true; m_dashboardEnabled = value; }
/**
* <p>Specifies whether to enable the Deliverability dashboard. To enable the
* dashboard, set this value to <code>true</code>.</p>
*/
inline PutDeliverabilityDashboardOptionRequest& WithDashboardEnabled(bool value) { SetDashboardEnabled(value); return *this;}
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetSubscribedDomains() const{ return m_subscribedDomains; }
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; }
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline void SetSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = value; }
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline void SetSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::move(value); }
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { SetSubscribedDomains(value); return *this;}
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { SetSubscribedDomains(std::move(value)); return *this;}
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(value); return *this; }
/**
* <p>An array of objects, one for each verified domain that you use to send email
* and enabled the Deliverability dashboard for.</p>
*/
inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(std::move(value)); return *this; }
private:
bool m_dashboardEnabled;
bool m_dashboardEnabledHasBeenSet;
Aws::Vector<DomainDeliverabilityTrackingOption> m_subscribedDomains;
bool m_subscribedDomainsHasBeenSet;
};
} // namespace Model
} // namespace SESV2
} // namespace Aws