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 <aws/email/model/TlsPolicy.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/email/model/ReceiptAction.h>
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
110 inline ReceiptRule&
AddRecipients(
const char* value) { m_recipientsHasBeenSet =
true; m_recipients.push_back(value);
return *
this; }
135 inline void SetScanEnabled(
bool value) { m_scanEnabledHasBeenSet =
true; m_scanEnabled = value; }
141 bool m_nameHasBeenSet =
false;
144 bool m_enabledHasBeenSet =
false;
147 bool m_tlsPolicyHasBeenSet =
false;
150 bool m_recipientsHasBeenSet =
false;
153 bool m_actionsHasBeenSet =
false;
156 bool m_scanEnabledHasBeenSet =
false;
void SetName(Aws::String &&value)
ReceiptRule & AddRecipients(const Aws::String &value)
ReceiptRule & WithName(const char *value)
ReceiptRule & WithTlsPolicy(const TlsPolicy &value)
ReceiptRule & AddActions(ReceiptAction &&value)
void SetRecipients(Aws::Vector< Aws::String > &&value)
ReceiptRule & AddRecipients(const char *value)
AWS_SES_API ReceiptRule()
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
ReceiptRule & WithName(const Aws::String &value)
ReceiptRule & WithActions(Aws::Vector< ReceiptAction > &&value)
ReceiptRule & AddRecipients(Aws::String &&value)
void SetTlsPolicy(TlsPolicy &&value)
const Aws::Vector< ReceiptAction > & GetActions() const
ReceiptRule & WithRecipients(const Aws::Vector< Aws::String > &value)
void SetTlsPolicy(const TlsPolicy &value)
bool NameHasBeenSet() const
ReceiptRule & WithName(Aws::String &&value)
bool RecipientsHasBeenSet() const
ReceiptRule & WithScanEnabled(bool value)
ReceiptRule & WithActions(const Aws::Vector< ReceiptAction > &value)
const TlsPolicy & GetTlsPolicy() const
ReceiptRule & WithRecipients(Aws::Vector< Aws::String > &&value)
bool GetScanEnabled() const
ReceiptRule & AddActions(const ReceiptAction &value)
bool EnabledHasBeenSet() const
const Aws::String & GetName() const
ReceiptRule & WithTlsPolicy(TlsPolicy &&value)
void SetName(const Aws::String &value)
AWS_SES_API ReceiptRule(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRecipients(const Aws::Vector< Aws::String > &value)
bool TlsPolicyHasBeenSet() const
const Aws::Vector< Aws::String > & GetRecipients() const
void SetName(const char *value)
void SetEnabled(bool value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ScanEnabledHasBeenSet() const
void SetActions(const Aws::Vector< ReceiptAction > &value)
void SetScanEnabled(bool value)
ReceiptRule & WithEnabled(bool value)
void SetActions(Aws::Vector< ReceiptAction > &&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