AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
PutDeliverabilityDashboardOptionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/pinpoint-email/PinpointEmailRequest.h>
9#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
10#include <aws/pinpoint-email/model/DomainDeliverabilityTrackingOption.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PinpointEmail {
16namespace Model {
17
33 public:
34 AWS_PINPOINTEMAIL_API PutDeliverabilityDashboardOptionRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "PutDeliverabilityDashboardOption"; }
41
42 AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override;
43
45
50 inline bool GetDashboardEnabled() const { return m_dashboardEnabled; }
51 inline bool DashboardEnabledHasBeenSet() const { return m_dashboardEnabledHasBeenSet; }
52 inline void SetDashboardEnabled(bool value) {
53 m_dashboardEnabledHasBeenSet = true;
54 m_dashboardEnabled = value;
55 }
58 return *this;
59 }
61
63
67 inline const Aws::Vector<DomainDeliverabilityTrackingOption>& GetSubscribedDomains() const { return m_subscribedDomains; }
68 inline bool SubscribedDomainsHasBeenSet() const { return m_subscribedDomainsHasBeenSet; }
69 template <typename SubscribedDomainsT = Aws::Vector<DomainDeliverabilityTrackingOption>>
70 void SetSubscribedDomains(SubscribedDomainsT&& value) {
71 m_subscribedDomainsHasBeenSet = true;
72 m_subscribedDomains = std::forward<SubscribedDomainsT>(value);
73 }
74 template <typename SubscribedDomainsT = Aws::Vector<DomainDeliverabilityTrackingOption>>
76 SetSubscribedDomains(std::forward<SubscribedDomainsT>(value));
77 return *this;
78 }
79 template <typename SubscribedDomainsT = DomainDeliverabilityTrackingOption>
81 m_subscribedDomainsHasBeenSet = true;
82 m_subscribedDomains.emplace_back(std::forward<SubscribedDomainsT>(value));
83 return *this;
84 }
86 private:
87 bool m_dashboardEnabled{false};
88 bool m_dashboardEnabledHasBeenSet = false;
89
91 bool m_subscribedDomainsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace PinpointEmail
96} // namespace Aws
AWS_PINPOINTEMAIL_API Aws::String SerializePayload() const override
const Aws::Vector< DomainDeliverabilityTrackingOption > & GetSubscribedDomains() const
PutDeliverabilityDashboardOptionRequest & AddSubscribedDomains(SubscribedDomainsT &&value)
PutDeliverabilityDashboardOptionRequest & WithSubscribedDomains(SubscribedDomainsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector