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/DsnAction.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/email/model/ExtensionField.h>
66 inline void SetFinalRecipient(
const char* value) { m_finalRecipientHasBeenSet =
true; m_finalRecipient.assign(value); }
81 inline void SetAction(
DsnAction&& value) { m_actionHasBeenSet =
true; m_action = std::move(value); }
97 inline void SetRemoteMta(
const char* value) { m_remoteMtaHasBeenSet =
true; m_remoteMta.assign(value); }
112 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
128 inline void SetDiagnosticCode(
const char* value) { m_diagnosticCodeHasBeenSet =
true; m_diagnosticCode.assign(value); }
163 bool m_finalRecipientHasBeenSet =
false;
166 bool m_actionHasBeenSet =
false;
169 bool m_remoteMtaHasBeenSet =
false;
172 bool m_statusHasBeenSet =
false;
175 bool m_diagnosticCodeHasBeenSet =
false;
178 bool m_lastAttemptDateHasBeenSet =
false;
181 bool m_extensionFieldsHasBeenSet =
false;
bool ExtensionFieldsHasBeenSet() const
void SetDiagnosticCode(Aws::String &&value)
RecipientDsnFields & WithLastAttemptDate(const Aws::Utils::DateTime &value)
RecipientDsnFields & AddExtensionFields(const ExtensionField &value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetRemoteMta() const
AWS_SES_API RecipientDsnFields(const Aws::Utils::Xml::XmlNode &xmlNode)
RecipientDsnFields & WithFinalRecipient(Aws::String &&value)
void SetFinalRecipient(Aws::String &&value)
AWS_SES_API RecipientDsnFields & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetLastAttemptDate() const
void SetAction(DsnAction &&value)
RecipientDsnFields & WithStatus(const Aws::String &value)
RecipientDsnFields & WithStatus(Aws::String &&value)
RecipientDsnFields & WithStatus(const char *value)
RecipientDsnFields & WithRemoteMta(const Aws::String &value)
RecipientDsnFields & WithAction(DsnAction &&value)
void SetExtensionFields(Aws::Vector< ExtensionField > &&value)
RecipientDsnFields & WithLastAttemptDate(Aws::Utils::DateTime &&value)
RecipientDsnFields & WithRemoteMta(const char *value)
const DsnAction & GetAction() const
AWS_SES_API RecipientDsnFields()
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetRemoteMta(const Aws::String &value)
void SetRemoteMta(Aws::String &&value)
void SetLastAttemptDate(Aws::Utils::DateTime &&value)
RecipientDsnFields & WithFinalRecipient(const Aws::String &value)
const Aws::String & GetDiagnosticCode() const
void SetAction(const DsnAction &value)
bool ActionHasBeenSet() const
void SetDiagnosticCode(const Aws::String &value)
bool LastAttemptDateHasBeenSet() const
RecipientDsnFields & WithRemoteMta(Aws::String &&value)
RecipientDsnFields & WithAction(const DsnAction &value)
void SetStatus(const Aws::String &value)
RecipientDsnFields & WithExtensionFields(const Aws::Vector< ExtensionField > &value)
void SetFinalRecipient(const Aws::String &value)
RecipientDsnFields & AddExtensionFields(ExtensionField &&value)
void SetLastAttemptDate(const Aws::Utils::DateTime &value)
bool RemoteMtaHasBeenSet() const
void SetDiagnosticCode(const char *value)
RecipientDsnFields & WithFinalRecipient(const char *value)
void SetRemoteMta(const char *value)
const Aws::String & GetStatus() const
const Aws::String & GetFinalRecipient() const
void SetExtensionFields(const Aws::Vector< ExtensionField > &value)
RecipientDsnFields & WithDiagnosticCode(const Aws::String &value)
bool DiagnosticCodeHasBeenSet() const
void SetStatus(const char *value)
bool StatusHasBeenSet() const
void SetFinalRecipient(const char *value)
const Aws::Vector< ExtensionField > & GetExtensionFields() const
void SetStatus(Aws::String &&value)
bool FinalRecipientHasBeenSet() const
RecipientDsnFields & WithDiagnosticCode(const char *value)
RecipientDsnFields & WithExtensionFields(Aws::Vector< ExtensionField > &&value)
RecipientDsnFields & WithDiagnosticCode(Aws::String &&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