AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
IdentityNotificationAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace SES {
20namespace Model {
21
32 public:
33 AWS_SES_API IdentityNotificationAttributes() = default;
36
37 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
45 inline const Aws::String& GetBounceTopic() const { return m_bounceTopic; }
46 inline bool BounceTopicHasBeenSet() const { return m_bounceTopicHasBeenSet; }
47 template <typename BounceTopicT = Aws::String>
48 void SetBounceTopic(BounceTopicT&& value) {
49 m_bounceTopicHasBeenSet = true;
50 m_bounceTopic = std::forward<BounceTopicT>(value);
51 }
52 template <typename BounceTopicT = Aws::String>
54 SetBounceTopic(std::forward<BounceTopicT>(value));
55 return *this;
56 }
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) {
68 m_complaintTopicHasBeenSet = true;
69 m_complaintTopic = std::forward<ComplaintTopicT>(value);
70 }
71 template <typename ComplaintTopicT = Aws::String>
73 SetComplaintTopic(std::forward<ComplaintTopicT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetDeliveryTopic() const { return m_deliveryTopic; }
84 inline bool DeliveryTopicHasBeenSet() const { return m_deliveryTopicHasBeenSet; }
85 template <typename DeliveryTopicT = Aws::String>
86 void SetDeliveryTopic(DeliveryTopicT&& value) {
87 m_deliveryTopicHasBeenSet = true;
88 m_deliveryTopic = std::forward<DeliveryTopicT>(value);
89 }
90 template <typename DeliveryTopicT = Aws::String>
92 SetDeliveryTopic(std::forward<DeliveryTopicT>(value));
93 return *this;
94 }
96
98
105 inline bool GetForwardingEnabled() const { return m_forwardingEnabled; }
106 inline bool ForwardingEnabledHasBeenSet() const { return m_forwardingEnabledHasBeenSet; }
107 inline void SetForwardingEnabled(bool value) {
108 m_forwardingEnabledHasBeenSet = true;
109 m_forwardingEnabled = value;
110 }
113 return *this;
114 }
116
118
125 inline bool GetHeadersInBounceNotificationsEnabled() const { return m_headersInBounceNotificationsEnabled; }
126 inline bool HeadersInBounceNotificationsEnabledHasBeenSet() const { return m_headersInBounceNotificationsEnabledHasBeenSet; }
128 m_headersInBounceNotificationsEnabledHasBeenSet = true;
129 m_headersInBounceNotificationsEnabled = value;
130 }
133 return *this;
134 }
136
138
145 inline bool GetHeadersInComplaintNotificationsEnabled() const { return m_headersInComplaintNotificationsEnabled; }
146 inline bool HeadersInComplaintNotificationsEnabledHasBeenSet() const { return m_headersInComplaintNotificationsEnabledHasBeenSet; }
148 m_headersInComplaintNotificationsEnabledHasBeenSet = true;
149 m_headersInComplaintNotificationsEnabled = value;
150 }
153 return *this;
154 }
156
158
165 inline bool GetHeadersInDeliveryNotificationsEnabled() const { return m_headersInDeliveryNotificationsEnabled; }
166 inline bool HeadersInDeliveryNotificationsEnabledHasBeenSet() const { return m_headersInDeliveryNotificationsEnabledHasBeenSet; }
168 m_headersInDeliveryNotificationsEnabledHasBeenSet = true;
169 m_headersInDeliveryNotificationsEnabled = value;
170 }
173 return *this;
174 }
176 private:
177 Aws::String m_bounceTopic;
178
179 Aws::String m_complaintTopic;
180
181 Aws::String m_deliveryTopic;
182
183 bool m_forwardingEnabled{false};
184
185 bool m_headersInBounceNotificationsEnabled{false};
186
187 bool m_headersInComplaintNotificationsEnabled{false};
188
189 bool m_headersInDeliveryNotificationsEnabled{false};
190 bool m_bounceTopicHasBeenSet = false;
191 bool m_complaintTopicHasBeenSet = false;
192 bool m_deliveryTopicHasBeenSet = false;
193 bool m_forwardingEnabledHasBeenSet = false;
194 bool m_headersInBounceNotificationsEnabledHasBeenSet = false;
195 bool m_headersInComplaintNotificationsEnabledHasBeenSet = false;
196 bool m_headersInDeliveryNotificationsEnabledHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace SES
201} // 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