AWS SDK for C++  1.9.153
AWS SDK for C++
PutDeliverabilityDashboardOptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SESV2
16 {
17 namespace 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::String SerializePayload() const override;
46 
47 
52  inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; }
53 
58  inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; }
59 
64  inline void SetDashboardEnabled(bool value) { m_dashboardEnabledHasBeenSet = true; m_dashboardEnabled = value; }
65 
70  inline PutDeliverabilityDashboardOptionRequest& WithDashboardEnabled(bool value) { SetDashboardEnabled(value); return *this;}
71 
72 
77  inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetSubscribedDomains() const{ return m_subscribedDomains; }
78 
83  inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; }
84 
89  inline void SetSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = value; }
90 
95  inline void SetSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::move(value); }
96 
102 
107  inline PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { SetSubscribedDomains(std::move(value)); return *this;}
108 
113  inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(value); return *this; }
114 
119  inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(std::move(value)); return *this; }
120 
121  private:
122 
123  bool m_dashboardEnabled;
124  bool m_dashboardEnabledHasBeenSet;
125 
127  bool m_subscribedDomainsHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SESV2
132 } // namespace Aws
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::AddSubscribedDomains
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(DomainDeliverabilityTrackingOption &&value)
Definition: PutDeliverabilityDashboardOptionRequest.h:119
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::DashboardEnabledHasBeenSet
bool DashboardEnabledHasBeenSet() const
Definition: PutDeliverabilityDashboardOptionRequest.h:58
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::PutDeliverabilityDashboardOptionRequest
PutDeliverabilityDashboardOptionRequest()
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::GetDashboardEnabled
bool GetDashboardEnabled() const
Definition: PutDeliverabilityDashboardOptionRequest.h:52
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::SetSubscribedDomains
void SetSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
Definition: PutDeliverabilityDashboardOptionRequest.h:95
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::WithDashboardEnabled
PutDeliverabilityDashboardOptionRequest & WithDashboardEnabled(bool value)
Definition: PutDeliverabilityDashboardOptionRequest.h:70
Aws::SESV2::Model::DomainDeliverabilityTrackingOption
Definition: DomainDeliverabilityTrackingOption.h:38
DomainDeliverabilityTrackingOption.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest
Definition: PutDeliverabilityDashboardOptionRequest.h:35
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::WithSubscribedDomains
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
Definition: PutDeliverabilityDashboardOptionRequest.h:101
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::GetSubscribedDomains
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetSubscribedDomains() const
Definition: PutDeliverabilityDashboardOptionRequest.h:77
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::WithSubscribedDomains
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
Definition: PutDeliverabilityDashboardOptionRequest.h:107
SESV2_EXPORTS.h
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::SetDashboardEnabled
void SetDashboardEnabled(bool value)
Definition: PutDeliverabilityDashboardOptionRequest.h:64
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutDeliverabilityDashboardOptionRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::AddSubscribedDomains
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(const DomainDeliverabilityTrackingOption &value)
Definition: PutDeliverabilityDashboardOptionRequest.h:113
SESV2Request.h
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::SetSubscribedDomains
void SetSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
Definition: PutDeliverabilityDashboardOptionRequest.h:89
Aws::SESV2::Model::PutDeliverabilityDashboardOptionRequest::SubscribedDomainsHasBeenSet
bool SubscribedDomainsHasBeenSet() const
Definition: PutDeliverabilityDashboardOptionRequest.h:83