AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
37 AWS_PINPOINTEMAIL_API PutDeliverabilityDashboardOptionRequest() = default;
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 template<typename SubscribedDomainsT = Aws::Vector<DomainDeliverabilityTrackingOption>>
68 void SetSubscribedDomains(SubscribedDomainsT&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains = std::forward<SubscribedDomainsT>(value); }
69 template<typename SubscribedDomainsT = Aws::Vector<DomainDeliverabilityTrackingOption>>
70 PutDeliverabilityDashboardOptionRequest& WithSubscribedDomains(SubscribedDomainsT&& value) { SetSubscribedDomains(std::forward<SubscribedDomainsT>(value)); return *this;}
71 template<typename SubscribedDomainsT = DomainDeliverabilityTrackingOption>
72 PutDeliverabilityDashboardOptionRequest& AddSubscribedDomains(SubscribedDomainsT&& value) { m_subscribedDomainsHasBeenSet = true; m_subscribedDomains.emplace_back(std::forward<SubscribedDomainsT>(value)); return *this; }
74 private:
75
76 bool m_dashboardEnabled{false};
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
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