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>
64 template<
typename FinalRecipientT = Aws::String>
65 void SetFinalRecipient(FinalRecipientT&& value) { m_finalRecipientHasBeenSet =
true; m_finalRecipient = std::forward<FinalRecipientT>(value); }
66 template<
typename FinalRecipientT = Aws::String>
91 template<
typename RemoteMtaT = Aws::String>
92 void SetRemoteMta(RemoteMtaT&& value) { m_remoteMtaHasBeenSet =
true; m_remoteMta = std::forward<RemoteMtaT>(value); }
93 template<
typename RemoteMtaT = Aws::String>
104 template<
typename StatusT = Aws::String>
105 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
106 template<
typename StatusT = Aws::String>
118 template<
typename DiagnosticCodeT = Aws::String>
119 void SetDiagnosticCode(DiagnosticCodeT&& value) { m_diagnosticCodeHasBeenSet =
true; m_diagnosticCode = std::forward<DiagnosticCodeT>(value); }
120 template<
typename DiagnosticCodeT = Aws::String>
131 template<
typename LastAttemptDateT = Aws::Utils::DateTime>
132 void SetLastAttemptDate(LastAttemptDateT&& value) { m_lastAttemptDateHasBeenSet =
true; m_lastAttemptDate = std::forward<LastAttemptDateT>(value); }
133 template<
typename LastAttemptDateT = Aws::Utils::DateTime>
143 template<
typename ExtensionFieldsT = Aws::Vector<ExtensionField>>
144 void SetExtensionFields(ExtensionFieldsT&& value) { m_extensionFieldsHasBeenSet =
true; m_extensionFields = std::forward<ExtensionFieldsT>(value); }
145 template<
typename ExtensionFieldsT = Aws::Vector<ExtensionField>>
147 template<
typename ExtensionFieldsT = ExtensionField>
153 bool m_finalRecipientHasBeenSet =
false;
156 bool m_actionHasBeenSet =
false;
159 bool m_remoteMtaHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
165 bool m_diagnosticCodeHasBeenSet =
false;
168 bool m_lastAttemptDateHasBeenSet =
false;
171 bool m_extensionFieldsHasBeenSet =
false;
bool ExtensionFieldsHasBeenSet() const
RecipientDsnFields & WithAction(DsnAction value)
void SetLastAttemptDate(LastAttemptDateT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetRemoteMta() const
RecipientDsnFields & WithLastAttemptDate(LastAttemptDateT &&value)
AWS_SES_API RecipientDsnFields(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExtensionFields(ExtensionFieldsT &&value)
AWS_SES_API RecipientDsnFields & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetLastAttemptDate() const
RecipientDsnFields & WithRemoteMta(RemoteMtaT &&value)
RecipientDsnFields & WithStatus(StatusT &&value)
RecipientDsnFields & AddExtensionFields(ExtensionFieldsT &&value)
void SetRemoteMta(RemoteMtaT &&value)
DsnAction GetAction() const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RecipientDsnFields & WithFinalRecipient(FinalRecipientT &&value)
const Aws::String & GetDiagnosticCode() const
void SetDiagnosticCode(DiagnosticCodeT &&value)
RecipientDsnFields & WithDiagnosticCode(DiagnosticCodeT &&value)
bool ActionHasBeenSet() const
bool LastAttemptDateHasBeenSet() const
void SetAction(DsnAction value)
bool RemoteMtaHasBeenSet() const
const Aws::String & GetStatus() const
const Aws::String & GetFinalRecipient() const
bool DiagnosticCodeHasBeenSet() const
bool StatusHasBeenSet() const
AWS_SES_API RecipientDsnFields()=default
RecipientDsnFields & WithExtensionFields(ExtensionFieldsT &&value)
const Aws::Vector< ExtensionField > & GetExtensionFields() const
bool FinalRecipientHasBeenSet() const
void SetFinalRecipient(FinalRecipientT &&value)
void SetStatus(StatusT &&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