AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IdentityNotificationAttributes.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_SES_API IdentityNotificationAttributes() = default;
41
42 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetBounceTopic() const { return m_bounceTopic; }
52 inline bool BounceTopicHasBeenSet() const { return m_bounceTopicHasBeenSet; }
53 template<typename BounceTopicT = Aws::String>
54 void SetBounceTopic(BounceTopicT&& value) { m_bounceTopicHasBeenSet = true; m_bounceTopic = std::forward<BounceTopicT>(value); }
55 template<typename BounceTopicT = Aws::String>
56 IdentityNotificationAttributes& WithBounceTopic(BounceTopicT&& value) { SetBounceTopic(std::forward<BounceTopicT>(value)); return *this;}
58
60
64 inline const Aws::String& GetComplaintTopic() const { return m_complaintTopic; }
65 inline bool ComplaintTopicHasBeenSet() const { return m_complaintTopicHasBeenSet; }
66 template<typename ComplaintTopicT = Aws::String>
67 void SetComplaintTopic(ComplaintTopicT&& value) { m_complaintTopicHasBeenSet = true; m_complaintTopic = std::forward<ComplaintTopicT>(value); }
68 template<typename ComplaintTopicT = Aws::String>
69 IdentityNotificationAttributes& WithComplaintTopic(ComplaintTopicT&& value) { SetComplaintTopic(std::forward<ComplaintTopicT>(value)); return *this;}
71
73
77 inline const Aws::String& GetDeliveryTopic() const { return m_deliveryTopic; }
78 inline bool DeliveryTopicHasBeenSet() const { return m_deliveryTopicHasBeenSet; }
79 template<typename DeliveryTopicT = Aws::String>
80 void SetDeliveryTopic(DeliveryTopicT&& value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic = std::forward<DeliveryTopicT>(value); }
81 template<typename DeliveryTopicT = Aws::String>
82 IdentityNotificationAttributes& WithDeliveryTopic(DeliveryTopicT&& value) { SetDeliveryTopic(std::forward<DeliveryTopicT>(value)); return *this;}
84
86
93 inline bool GetForwardingEnabled() const { return m_forwardingEnabled; }
94 inline bool ForwardingEnabledHasBeenSet() const { return m_forwardingEnabledHasBeenSet; }
95 inline void SetForwardingEnabled(bool value) { m_forwardingEnabledHasBeenSet = true; m_forwardingEnabled = value; }
98
100
107 inline bool GetHeadersInBounceNotificationsEnabled() const { return m_headersInBounceNotificationsEnabled; }
108 inline bool HeadersInBounceNotificationsEnabledHasBeenSet() const { return m_headersInBounceNotificationsEnabledHasBeenSet; }
109 inline void SetHeadersInBounceNotificationsEnabled(bool value) { m_headersInBounceNotificationsEnabledHasBeenSet = true; m_headersInBounceNotificationsEnabled = value; }
112
114
121 inline bool GetHeadersInComplaintNotificationsEnabled() const { return m_headersInComplaintNotificationsEnabled; }
122 inline bool HeadersInComplaintNotificationsEnabledHasBeenSet() const { return m_headersInComplaintNotificationsEnabledHasBeenSet; }
123 inline void SetHeadersInComplaintNotificationsEnabled(bool value) { m_headersInComplaintNotificationsEnabledHasBeenSet = true; m_headersInComplaintNotificationsEnabled = value; }
126
128
135 inline bool GetHeadersInDeliveryNotificationsEnabled() const { return m_headersInDeliveryNotificationsEnabled; }
136 inline bool HeadersInDeliveryNotificationsEnabledHasBeenSet() const { return m_headersInDeliveryNotificationsEnabledHasBeenSet; }
137 inline void SetHeadersInDeliveryNotificationsEnabled(bool value) { m_headersInDeliveryNotificationsEnabledHasBeenSet = true; m_headersInDeliveryNotificationsEnabled = value; }
140 private:
141
142 Aws::String m_bounceTopic;
143 bool m_bounceTopicHasBeenSet = false;
144
145 Aws::String m_complaintTopic;
146 bool m_complaintTopicHasBeenSet = false;
147
148 Aws::String m_deliveryTopic;
149 bool m_deliveryTopicHasBeenSet = false;
150
151 bool m_forwardingEnabled{false};
152 bool m_forwardingEnabledHasBeenSet = false;
153
154 bool m_headersInBounceNotificationsEnabled{false};
155 bool m_headersInBounceNotificationsEnabledHasBeenSet = false;
156
157 bool m_headersInComplaintNotificationsEnabled{false};
158 bool m_headersInComplaintNotificationsEnabledHasBeenSet = false;
159
160 bool m_headersInDeliveryNotificationsEnabled{false};
161 bool m_headersInDeliveryNotificationsEnabledHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SES
166} // namespace Aws
IdentityNotificationAttributes & WithDeliveryTopic(DeliveryTopicT &&value)
IdentityNotificationAttributes & WithHeadersInComplaintNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithBounceTopic(BounceTopicT &&value)
AWS_SES_API IdentityNotificationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API IdentityNotificationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityNotificationAttributes & WithHeadersInBounceNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithForwardingEnabled(bool value)
IdentityNotificationAttributes & WithHeadersInDeliveryNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithComplaintTopic(ComplaintTopicT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream