7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/email/SES_EXPORTS.h>
11#include <aws/email/model/ReceiptAction.h>
12#include <aws/email/model/TlsPolicy.h>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
76 m_enabledHasBeenSet =
true;
95 m_tlsPolicyHasBeenSet =
true;
112 template <
typename RecipientsT = Aws::Vector<Aws::String>>
114 m_recipientsHasBeenSet =
true;
115 m_recipients = std::forward<RecipientsT>(value);
117 template <
typename RecipientsT = Aws::Vector<Aws::String>>
122 template <
typename RecipientsT = Aws::String>
124 m_recipientsHasBeenSet =
true;
125 m_recipients.emplace_back(std::forward<RecipientsT>(value));
137 template <
typename ActionsT = Aws::Vector<ReceiptAction>>
139 m_actionsHasBeenSet =
true;
140 m_actions = std::forward<ActionsT>(value);
142 template <
typename ActionsT = Aws::Vector<ReceiptAction>>
147 template <
typename ActionsT = ReceiptAction>
149 m_actionsHasBeenSet =
true;
150 m_actions.emplace_back(std::forward<ActionsT>(value));
163 m_scanEnabledHasBeenSet =
true;
164 m_scanEnabled = value;
174 bool m_enabled{
false};
182 bool m_scanEnabled{
false};
183 bool m_nameHasBeenSet =
false;
184 bool m_enabledHasBeenSet =
false;
185 bool m_tlsPolicyHasBeenSet =
false;
186 bool m_recipientsHasBeenSet =
false;
187 bool m_actionsHasBeenSet =
false;
188 bool m_scanEnabledHasBeenSet =
false;
void SetName(NameT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API ReceiptRule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ActionsHasBeenSet() const
TlsPolicy GetTlsPolicy() const
const Aws::Vector< ReceiptAction > & GetActions() const
ReceiptRule & AddRecipients(RecipientsT &&value)
ReceiptRule & WithName(NameT &&value)
bool NameHasBeenSet() const
bool RecipientsHasBeenSet() const
ReceiptRule & WithScanEnabled(bool value)
bool GetScanEnabled() const
bool EnabledHasBeenSet() const
const Aws::String & GetName() const
void SetActions(ActionsT &&value)
AWS_SES_API ReceiptRule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTlsPolicy(TlsPolicy value)
bool TlsPolicyHasBeenSet() const
const Aws::Vector< Aws::String > & GetRecipients() const
void SetEnabled(bool value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ScanEnabledHasBeenSet() const
ReceiptRule & WithRecipients(RecipientsT &&value)
void SetRecipients(RecipientsT &&value)
ReceiptRule & WithTlsPolicy(TlsPolicy value)
void SetScanEnabled(bool value)
ReceiptRule & WithEnabled(bool value)
ReceiptRule & AddActions(ActionsT &&value)
AWS_SES_API ReceiptRule()=default
ReceiptRule & WithActions(ActionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream