AWS SDK for C++  1.8.128
AWS SDK for C++
IdentityNotificationAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
50  inline const Aws::String& GetBounceTopic() const{ return m_bounceTopic; }
51 
56  inline bool BounceTopicHasBeenSet() const { return m_bounceTopicHasBeenSet; }
57 
62  inline void SetBounceTopic(const Aws::String& value) { m_bounceTopicHasBeenSet = true; m_bounceTopic = value; }
63 
68  inline void SetBounceTopic(Aws::String&& value) { m_bounceTopicHasBeenSet = true; m_bounceTopic = std::move(value); }
69 
74  inline void SetBounceTopic(const char* value) { m_bounceTopicHasBeenSet = true; m_bounceTopic.assign(value); }
75 
80  inline IdentityNotificationAttributes& WithBounceTopic(const Aws::String& value) { SetBounceTopic(value); return *this;}
81 
86  inline IdentityNotificationAttributes& WithBounceTopic(Aws::String&& value) { SetBounceTopic(std::move(value)); return *this;}
87 
92  inline IdentityNotificationAttributes& WithBounceTopic(const char* value) { SetBounceTopic(value); return *this;}
93 
94 
99  inline const Aws::String& GetComplaintTopic() const{ return m_complaintTopic; }
100 
105  inline bool ComplaintTopicHasBeenSet() const { return m_complaintTopicHasBeenSet; }
106 
111  inline void SetComplaintTopic(const Aws::String& value) { m_complaintTopicHasBeenSet = true; m_complaintTopic = value; }
112 
117  inline void SetComplaintTopic(Aws::String&& value) { m_complaintTopicHasBeenSet = true; m_complaintTopic = std::move(value); }
118 
123  inline void SetComplaintTopic(const char* value) { m_complaintTopicHasBeenSet = true; m_complaintTopic.assign(value); }
124 
129  inline IdentityNotificationAttributes& WithComplaintTopic(const Aws::String& value) { SetComplaintTopic(value); return *this;}
130 
135  inline IdentityNotificationAttributes& WithComplaintTopic(Aws::String&& value) { SetComplaintTopic(std::move(value)); return *this;}
136 
141  inline IdentityNotificationAttributes& WithComplaintTopic(const char* value) { SetComplaintTopic(value); return *this;}
142 
143 
148  inline const Aws::String& GetDeliveryTopic() const{ return m_deliveryTopic; }
149 
154  inline bool DeliveryTopicHasBeenSet() const { return m_deliveryTopicHasBeenSet; }
155 
160  inline void SetDeliveryTopic(const Aws::String& value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic = value; }
161 
166  inline void SetDeliveryTopic(Aws::String&& value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic = std::move(value); }
167 
172  inline void SetDeliveryTopic(const char* value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic.assign(value); }
173 
178  inline IdentityNotificationAttributes& WithDeliveryTopic(const Aws::String& value) { SetDeliveryTopic(value); return *this;}
179 
184  inline IdentityNotificationAttributes& WithDeliveryTopic(Aws::String&& value) { SetDeliveryTopic(std::move(value)); return *this;}
185 
190  inline IdentityNotificationAttributes& WithDeliveryTopic(const char* value) { SetDeliveryTopic(value); return *this;}
191 
192 
200  inline bool GetForwardingEnabled() const{ return m_forwardingEnabled; }
201 
209  inline bool ForwardingEnabledHasBeenSet() const { return m_forwardingEnabledHasBeenSet; }
210 
218  inline void SetForwardingEnabled(bool value) { m_forwardingEnabledHasBeenSet = true; m_forwardingEnabled = value; }
219 
227  inline IdentityNotificationAttributes& WithForwardingEnabled(bool value) { SetForwardingEnabled(value); return *this;}
228 
229 
237  inline bool GetHeadersInBounceNotificationsEnabled() const{ return m_headersInBounceNotificationsEnabled; }
238 
246  inline bool HeadersInBounceNotificationsEnabledHasBeenSet() const { return m_headersInBounceNotificationsEnabledHasBeenSet; }
247 
255  inline void SetHeadersInBounceNotificationsEnabled(bool value) { m_headersInBounceNotificationsEnabledHasBeenSet = true; m_headersInBounceNotificationsEnabled = value; }
256 
264  inline IdentityNotificationAttributes& WithHeadersInBounceNotificationsEnabled(bool value) { SetHeadersInBounceNotificationsEnabled(value); return *this;}
265 
266 
274  inline bool GetHeadersInComplaintNotificationsEnabled() const{ return m_headersInComplaintNotificationsEnabled; }
275 
283  inline bool HeadersInComplaintNotificationsEnabledHasBeenSet() const { return m_headersInComplaintNotificationsEnabledHasBeenSet; }
284 
292  inline void SetHeadersInComplaintNotificationsEnabled(bool value) { m_headersInComplaintNotificationsEnabledHasBeenSet = true; m_headersInComplaintNotificationsEnabled = value; }
293 
301  inline IdentityNotificationAttributes& WithHeadersInComplaintNotificationsEnabled(bool value) { SetHeadersInComplaintNotificationsEnabled(value); return *this;}
302 
303 
311  inline bool GetHeadersInDeliveryNotificationsEnabled() const{ return m_headersInDeliveryNotificationsEnabled; }
312 
320  inline bool HeadersInDeliveryNotificationsEnabledHasBeenSet() const { return m_headersInDeliveryNotificationsEnabledHasBeenSet; }
321 
329  inline void SetHeadersInDeliveryNotificationsEnabled(bool value) { m_headersInDeliveryNotificationsEnabledHasBeenSet = true; m_headersInDeliveryNotificationsEnabled = value; }
330 
338  inline IdentityNotificationAttributes& WithHeadersInDeliveryNotificationsEnabled(bool value) { SetHeadersInDeliveryNotificationsEnabled(value); return *this;}
339 
340  private:
341 
342  Aws::String m_bounceTopic;
343  bool m_bounceTopicHasBeenSet;
344 
345  Aws::String m_complaintTopic;
346  bool m_complaintTopicHasBeenSet;
347 
348  Aws::String m_deliveryTopic;
349  bool m_deliveryTopicHasBeenSet;
350 
351  bool m_forwardingEnabled;
352  bool m_forwardingEnabledHasBeenSet;
353 
354  bool m_headersInBounceNotificationsEnabled;
355  bool m_headersInBounceNotificationsEnabledHasBeenSet;
356 
357  bool m_headersInComplaintNotificationsEnabled;
358  bool m_headersInComplaintNotificationsEnabledHasBeenSet;
359 
360  bool m_headersInDeliveryNotificationsEnabled;
361  bool m_headersInDeliveryNotificationsEnabledHasBeenSet;
362  };
363 
364 } // namespace Model
365 } // namespace SES
366 } // namespace Aws
Aws::SES::Model::IdentityNotificationAttributes::WithBounceTopic
IdentityNotificationAttributes & WithBounceTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:86
Aws::SES::Model::IdentityNotificationAttributes::WithForwardingEnabled
IdentityNotificationAttributes & WithForwardingEnabled(bool value)
Definition: IdentityNotificationAttributes.h:227
Aws::SES::Model::IdentityNotificationAttributes::SetComplaintTopic
void SetComplaintTopic(const char *value)
Definition: IdentityNotificationAttributes.h:123
Aws::SES::Model::IdentityNotificationAttributes::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::IdentityNotificationAttributes::GetHeadersInBounceNotificationsEnabled
bool GetHeadersInBounceNotificationsEnabled() const
Definition: IdentityNotificationAttributes.h:237
Aws::SES::Model::IdentityNotificationAttributes::SetBounceTopic
void SetBounceTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:62
Aws::SES::Model::IdentityNotificationAttributes::WithComplaintTopic
IdentityNotificationAttributes & WithComplaintTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:135
Aws::SES::Model::IdentityNotificationAttributes::WithComplaintTopic
IdentityNotificationAttributes & WithComplaintTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:129
Aws::SES::Model::IdentityNotificationAttributes::ComplaintTopicHasBeenSet
bool ComplaintTopicHasBeenSet() const
Definition: IdentityNotificationAttributes.h:105
Aws::SES::Model::IdentityNotificationAttributes::BounceTopicHasBeenSet
bool BounceTopicHasBeenSet() const
Definition: IdentityNotificationAttributes.h:56
Aws::SES::Model::IdentityNotificationAttributes::GetHeadersInDeliveryNotificationsEnabled
bool GetHeadersInDeliveryNotificationsEnabled() const
Definition: IdentityNotificationAttributes.h:311
Aws::SES::Model::IdentityNotificationAttributes::SetBounceTopic
void SetBounceTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:68
Aws::SES::Model::IdentityNotificationAttributes::GetComplaintTopic
const Aws::String & GetComplaintTopic() const
Definition: IdentityNotificationAttributes.h:99
Aws::SES::Model::IdentityNotificationAttributes::SetComplaintTopic
void SetComplaintTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:117
Aws::SES::Model::IdentityNotificationAttributes::WithHeadersInComplaintNotificationsEnabled
IdentityNotificationAttributes & WithHeadersInComplaintNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:301
Aws::SES::Model::IdentityNotificationAttributes::SetComplaintTopic
void SetComplaintTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:111
AWSStreamFwd.h
Aws::SES::Model::IdentityNotificationAttributes::SetHeadersInBounceNotificationsEnabled
void SetHeadersInBounceNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:255
Aws::SES::Model::IdentityNotificationAttributes::IdentityNotificationAttributes
IdentityNotificationAttributes()
Aws::SES::Model::IdentityNotificationAttributes::GetHeadersInComplaintNotificationsEnabled
bool GetHeadersInComplaintNotificationsEnabled() const
Definition: IdentityNotificationAttributes.h:274
Aws::SES::Model::IdentityNotificationAttributes
Definition: IdentityNotificationAttributes.h:36
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::IdentityNotificationAttributes::SetHeadersInComplaintNotificationsEnabled
void SetHeadersInComplaintNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:292
Aws::SES::Model::IdentityNotificationAttributes::SetDeliveryTopic
void SetDeliveryTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:160
Aws::SES::Model::IdentityNotificationAttributes::WithComplaintTopic
IdentityNotificationAttributes & WithComplaintTopic(const char *value)
Definition: IdentityNotificationAttributes.h:141
Aws::SES::Model::IdentityNotificationAttributes::GetForwardingEnabled
bool GetForwardingEnabled() const
Definition: IdentityNotificationAttributes.h:200
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::IdentityNotificationAttributes::WithHeadersInDeliveryNotificationsEnabled
IdentityNotificationAttributes & WithHeadersInDeliveryNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:338
Aws::SES::Model::IdentityNotificationAttributes::SetForwardingEnabled
void SetForwardingEnabled(bool value)
Definition: IdentityNotificationAttributes.h:218
Aws::SES::Model::IdentityNotificationAttributes::HeadersInDeliveryNotificationsEnabledHasBeenSet
bool HeadersInDeliveryNotificationsEnabledHasBeenSet() const
Definition: IdentityNotificationAttributes.h:320
Aws::SES::Model::IdentityNotificationAttributes::SetHeadersInDeliveryNotificationsEnabled
void SetHeadersInDeliveryNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:329
Aws::SES::Model::IdentityNotificationAttributes::WithHeadersInBounceNotificationsEnabled
IdentityNotificationAttributes & WithHeadersInBounceNotificationsEnabled(bool value)
Definition: IdentityNotificationAttributes.h:264
Aws::SES::Model::IdentityNotificationAttributes::HeadersInComplaintNotificationsEnabledHasBeenSet
bool HeadersInComplaintNotificationsEnabledHasBeenSet() const
Definition: IdentityNotificationAttributes.h:283
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::IdentityNotificationAttributes::WithDeliveryTopic
IdentityNotificationAttributes & WithDeliveryTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:178
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::IdentityNotificationAttributes::SetBounceTopic
void SetBounceTopic(const char *value)
Definition: IdentityNotificationAttributes.h:74
Aws::SES::Model::IdentityNotificationAttributes::ForwardingEnabledHasBeenSet
bool ForwardingEnabledHasBeenSet() const
Definition: IdentityNotificationAttributes.h:209
Aws::SES::Model::IdentityNotificationAttributes::SetDeliveryTopic
void SetDeliveryTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:166
Aws::SES::Model::IdentityNotificationAttributes::SetDeliveryTopic
void SetDeliveryTopic(const char *value)
Definition: IdentityNotificationAttributes.h:172
Aws::SES::Model::IdentityNotificationAttributes::operator=
IdentityNotificationAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityNotificationAttributes::WithDeliveryTopic
IdentityNotificationAttributes & WithDeliveryTopic(Aws::String &&value)
Definition: IdentityNotificationAttributes.h:184
Aws::SES::Model::IdentityNotificationAttributes::HeadersInBounceNotificationsEnabledHasBeenSet
bool HeadersInBounceNotificationsEnabledHasBeenSet() const
Definition: IdentityNotificationAttributes.h:246
Aws::SES::Model::IdentityNotificationAttributes::IdentityNotificationAttributes
IdentityNotificationAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::IdentityNotificationAttributes::WithBounceTopic
IdentityNotificationAttributes & WithBounceTopic(const char *value)
Definition: IdentityNotificationAttributes.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::IdentityNotificationAttributes::GetDeliveryTopic
const Aws::String & GetDeliveryTopic() const
Definition: IdentityNotificationAttributes.h:148
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::IdentityNotificationAttributes::WithDeliveryTopic
IdentityNotificationAttributes & WithDeliveryTopic(const char *value)
Definition: IdentityNotificationAttributes.h:190
Aws::SES::Model::IdentityNotificationAttributes::GetBounceTopic
const Aws::String & GetBounceTopic() const
Definition: IdentityNotificationAttributes.h:50
Aws::SES::Model::IdentityNotificationAttributes::DeliveryTopicHasBeenSet
bool DeliveryTopicHasBeenSet() const
Definition: IdentityNotificationAttributes.h:154
Aws::SES::Model::IdentityNotificationAttributes::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::IdentityNotificationAttributes::WithBounceTopic
IdentityNotificationAttributes & WithBounceTopic(const Aws::String &value)
Definition: IdentityNotificationAttributes.h:80