AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutDeliverabilityDashboardOptionRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/DomainDeliverabilityTrackingOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SESV2
16{
17namespace Model
18{
19
35 {
36 public:
38
39 // Service request name is the Operation name which will send this request out,
40 // each operation should has unique request name, so that we can get operation's name from this request.
41 // Note: this is not true for response, multiple operations may have the same response name,
42 // so we can not get operation's name from response.
43 inline virtual const char* GetServiceRequestName() const override { return "PutDeliverabilityDashboardOption"; }
44
45 AWS_SESV2_API Aws::String SerializePayload() const override;
46
47
49
53 inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; }
54 inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; }
55 inline void SetDashboardEnabled(bool value) { m_dashboardEnabledHasBeenSet = true; m_dashboardEnabled = value; }
58
60
64 inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetSubscribedDomains() const{ return m_subscribedDomains; }
65 inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; }
66 inline void SetSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = value; }
67 inline void SetSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::move(value); }
70 inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(value); return *this; }
71 inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(std::move(value)); return *this; }
73 private:
74
75 bool m_dashboardEnabled;
76 bool m_dashboardEnabledHasBeenSet = false;
77
79 bool m_subscribedDomainsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SESV2
84} // namespace Aws
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(const DomainDeliverabilityTrackingOption &value)
void SetSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetSubscribedDomains() const
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(DomainDeliverabilityTrackingOption &&value)
void SetSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
PutDeliverabilityDashboardOptionRequest & WithDashboardEnabled(bool value)
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector