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>
60 template<
typename TopicArnT = Aws::String>
61 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
62 template<
typename TopicArnT = Aws::String>
73 template<
typename SmtpReplyCodeT = Aws::String>
74 void SetSmtpReplyCode(SmtpReplyCodeT&& value) { m_smtpReplyCodeHasBeenSet =
true; m_smtpReplyCode = std::forward<SmtpReplyCodeT>(value); }
75 template<
typename SmtpReplyCodeT = Aws::String>
86 template<
typename StatusCodeT = Aws::String>
87 void SetStatusCode(StatusCodeT&& value) { m_statusCodeHasBeenSet =
true; m_statusCode = std::forward<StatusCodeT>(value); }
88 template<
typename StatusCodeT = Aws::String>
98 template<
typename MessageT = Aws::String>
99 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
100 template<
typename MessageT = Aws::String>
111 template<
typename SenderT = Aws::String>
112 void SetSender(SenderT&& value) { m_senderHasBeenSet =
true; m_sender = std::forward<SenderT>(value); }
113 template<
typename SenderT = Aws::String>
119 bool m_topicArnHasBeenSet =
false;
122 bool m_smtpReplyCodeHasBeenSet =
false;
125 bool m_statusCodeHasBeenSet =
false;
128 bool m_messageHasBeenSet =
false;
131 bool m_senderHasBeenSet =
false;
BounceAction & WithSender(SenderT &&value)
const Aws::String & GetSender() const
bool StatusCodeHasBeenSet() const
const Aws::String & GetStatusCode() const
const Aws::String & GetTopicArn() const
BounceAction & WithStatusCode(StatusCodeT &&value)
bool TopicArnHasBeenSet() const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API BounceAction()=default
BounceAction & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
void SetSender(SenderT &&value)
AWS_SES_API BounceAction(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MessageHasBeenSet() const
void SetSmtpReplyCode(SmtpReplyCodeT &&value)
bool SenderHasBeenSet() const
BounceAction & WithTopicArn(TopicArnT &&value)
const Aws::String & GetSmtpReplyCode() const
AWS_SES_API BounceAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatusCode(StatusCodeT &&value)
BounceAction & WithSmtpReplyCode(SmtpReplyCodeT &&value)
bool SmtpReplyCodeHasBeenSet() const
void SetTopicArn(TopicArnT &&value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream