AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBounceTopic(const Aws::String& value) { m_bounceTopicHasBeenSet = true; m_bounceTopic = value; }
54 inline void SetBounceTopic(Aws::String&& value) { m_bounceTopicHasBeenSet = true; m_bounceTopic = std::move(value); }
55 inline void SetBounceTopic(const char* value) { m_bounceTopicHasBeenSet = true; m_bounceTopic.assign(value); }
56 inline IdentityNotificationAttributes& WithBounceTopic(const Aws::String& value) { SetBounceTopic(value); return *this;}
57 inline IdentityNotificationAttributes& WithBounceTopic(Aws::String&& value) { SetBounceTopic(std::move(value)); return *this;}
58 inline IdentityNotificationAttributes& WithBounceTopic(const char* value) { SetBounceTopic(value); return *this;}
60
62
66 inline const Aws::String& GetComplaintTopic() const{ return m_complaintTopic; }
67 inline bool ComplaintTopicHasBeenSet() const { return m_complaintTopicHasBeenSet; }
68 inline void SetComplaintTopic(const Aws::String& value) { m_complaintTopicHasBeenSet = true; m_complaintTopic = value; }
69 inline void SetComplaintTopic(Aws::String&& value) { m_complaintTopicHasBeenSet = true; m_complaintTopic = std::move(value); }
70 inline void SetComplaintTopic(const char* value) { m_complaintTopicHasBeenSet = true; m_complaintTopic.assign(value); }
72 inline IdentityNotificationAttributes& WithComplaintTopic(Aws::String&& value) { SetComplaintTopic(std::move(value)); return *this;}
73 inline IdentityNotificationAttributes& WithComplaintTopic(const char* value) { SetComplaintTopic(value); return *this;}
75
77
81 inline const Aws::String& GetDeliveryTopic() const{ return m_deliveryTopic; }
82 inline bool DeliveryTopicHasBeenSet() const { return m_deliveryTopicHasBeenSet; }
83 inline void SetDeliveryTopic(const Aws::String& value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic = value; }
84 inline void SetDeliveryTopic(Aws::String&& value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic = std::move(value); }
85 inline void SetDeliveryTopic(const char* value) { m_deliveryTopicHasBeenSet = true; m_deliveryTopic.assign(value); }
87 inline IdentityNotificationAttributes& WithDeliveryTopic(Aws::String&& value) { SetDeliveryTopic(std::move(value)); return *this;}
88 inline IdentityNotificationAttributes& WithDeliveryTopic(const char* value) { SetDeliveryTopic(value); return *this;}
90
92
99 inline bool GetForwardingEnabled() const{ return m_forwardingEnabled; }
100 inline bool ForwardingEnabledHasBeenSet() const { return m_forwardingEnabledHasBeenSet; }
101 inline void SetForwardingEnabled(bool value) { m_forwardingEnabledHasBeenSet = true; m_forwardingEnabled = value; }
104
106
113 inline bool GetHeadersInBounceNotificationsEnabled() const{ return m_headersInBounceNotificationsEnabled; }
114 inline bool HeadersInBounceNotificationsEnabledHasBeenSet() const { return m_headersInBounceNotificationsEnabledHasBeenSet; }
115 inline void SetHeadersInBounceNotificationsEnabled(bool value) { m_headersInBounceNotificationsEnabledHasBeenSet = true; m_headersInBounceNotificationsEnabled = value; }
118
120
127 inline bool GetHeadersInComplaintNotificationsEnabled() const{ return m_headersInComplaintNotificationsEnabled; }
128 inline bool HeadersInComplaintNotificationsEnabledHasBeenSet() const { return m_headersInComplaintNotificationsEnabledHasBeenSet; }
129 inline void SetHeadersInComplaintNotificationsEnabled(bool value) { m_headersInComplaintNotificationsEnabledHasBeenSet = true; m_headersInComplaintNotificationsEnabled = value; }
132
134
141 inline bool GetHeadersInDeliveryNotificationsEnabled() const{ return m_headersInDeliveryNotificationsEnabled; }
142 inline bool HeadersInDeliveryNotificationsEnabledHasBeenSet() const { return m_headersInDeliveryNotificationsEnabledHasBeenSet; }
143 inline void SetHeadersInDeliveryNotificationsEnabled(bool value) { m_headersInDeliveryNotificationsEnabledHasBeenSet = true; m_headersInDeliveryNotificationsEnabled = value; }
146 private:
147
148 Aws::String m_bounceTopic;
149 bool m_bounceTopicHasBeenSet = false;
150
151 Aws::String m_complaintTopic;
152 bool m_complaintTopicHasBeenSet = false;
153
154 Aws::String m_deliveryTopic;
155 bool m_deliveryTopicHasBeenSet = false;
156
157 bool m_forwardingEnabled;
158 bool m_forwardingEnabledHasBeenSet = false;
159
160 bool m_headersInBounceNotificationsEnabled;
161 bool m_headersInBounceNotificationsEnabledHasBeenSet = false;
162
163 bool m_headersInComplaintNotificationsEnabled;
164 bool m_headersInComplaintNotificationsEnabledHasBeenSet = false;
165
166 bool m_headersInDeliveryNotificationsEnabled;
167 bool m_headersInDeliveryNotificationsEnabledHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SES
172} // namespace Aws
IdentityNotificationAttributes & WithComplaintTopic(const char *value)
IdentityNotificationAttributes & WithDeliveryTopic(const char *value)
IdentityNotificationAttributes & WithHeadersInComplaintNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithBounceTopic(const Aws::String &value)
IdentityNotificationAttributes & WithDeliveryTopic(const Aws::String &value)
IdentityNotificationAttributes & WithBounceTopic(const char *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 & WithBounceTopic(Aws::String &&value)
IdentityNotificationAttributes & WithHeadersInBounceNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithComplaintTopic(const Aws::String &value)
IdentityNotificationAttributes & WithForwardingEnabled(bool value)
IdentityNotificationAttributes & WithHeadersInDeliveryNotificationsEnabled(bool value)
IdentityNotificationAttributes & WithDeliveryTopic(Aws::String &&value)
IdentityNotificationAttributes & WithComplaintTopic(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream