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/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint-email/model/DomainDeliverabilityTrackingOption.h>
11#include <utility>
12
13namespace Aws
14{
15namespace PinpointEmail
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_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
46
47
49
54 inline bool GetDashboardEnabled() const{ return m_dashboardEnabled; }
55 inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; }
56 inline void SetDashboardEnabled(bool value) { m_dashboardEnabledHasBeenSet = true; m_dashboardEnabled = value; }
59
61
65 inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetSubscribedDomains() const{ return m_subscribedDomains; }
66 inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; }
67 inline void SetSubscribedDomains(const Aws::Vector<DomainDeliverabilityTrackingOption>& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = value; }
68 inline void SetSubscribedDomains(Aws::Vector<DomainDeliverabilityTrackingOption>&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::move(value); }
71 inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(const DomainDeliverabilityTrackingOption& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(value); return *this; }
72 inline PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(DomainDeliverabilityTrackingOption&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.push_back(std::move(value)); return *this; }
74 private:
75
76 bool m_dashboardEnabled;
77 bool m_dashboardEnabledHasBeenSet = false;
78
80 bool m_subscribedDomainsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace PinpointEmail
85} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetSubscribedDomains() const
void SetSubscribedDomains(Aws::Vector< DomainDeliverabilityTrackingOption > &&value)
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(const DomainDeliverabilityTrackingOption &value)
void SetSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(const Aws::Vector< DomainDeliverabilityTrackingOption > &value)
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(DomainDeliverabilityTrackingOption &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector