7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/Envelope.h>
22namespace MailManager {
33 AWS_MAILMANAGER_API
Row() =
default;
44 template <
typename ArchivedMessageIdT = Aws::String>
46 m_archivedMessageIdHasBeenSet =
true;
47 m_archivedMessageId = std::forward<ArchivedMessageIdT>(value);
49 template <
typename ArchivedMessageIdT = Aws::String>
62 template <
typename ReceivedTimestampT = Aws::Utils::DateTime>
64 m_receivedTimestampHasBeenSet =
true;
65 m_receivedTimestamp = std::forward<ReceivedTimestampT>(value);
67 template <
typename ReceivedTimestampT = Aws::Utils::DateTime>
80 template <
typename DateT = Aws::String>
82 m_dateHasBeenSet =
true;
83 m_date = std::forward<DateT>(value);
85 template <
typename DateT = Aws::String>
87 SetDate(std::forward<DateT>(value));
98 template <
typename ToT = Aws::String>
100 m_toHasBeenSet =
true;
101 m_to = std::forward<ToT>(value);
103 template <
typename ToT = Aws::String>
105 SetTo(std::forward<ToT>(value));
116 template <
typename FromT = Aws::String>
118 m_fromHasBeenSet =
true;
119 m_from = std::forward<FromT>(value);
121 template <
typename FromT = Aws::String>
123 SetFrom(std::forward<FromT>(value));
134 template <
typename CcT = Aws::String>
136 m_ccHasBeenSet =
true;
137 m_cc = std::forward<CcT>(value);
139 template <
typename CcT = Aws::String>
141 SetCc(std::forward<CcT>(value));
152 template <
typename SubjectT = Aws::String>
154 m_subjectHasBeenSet =
true;
155 m_subject = std::forward<SubjectT>(value);
157 template <
typename SubjectT = Aws::String>
170 template <
typename MessageIdT = Aws::String>
172 m_messageIdHasBeenSet =
true;
173 m_messageId = std::forward<MessageIdT>(value);
175 template <
typename MessageIdT = Aws::String>
189 m_hasAttachmentsHasBeenSet =
true;
190 m_hasAttachments = value;
204 template <
typename ReceivedHeadersT = Aws::Vector<Aws::String>>
206 m_receivedHeadersHasBeenSet =
true;
207 m_receivedHeaders = std::forward<ReceivedHeadersT>(value);
209 template <
typename ReceivedHeadersT = Aws::Vector<Aws::String>>
214 template <
typename ReceivedHeadersT = Aws::String>
216 m_receivedHeadersHasBeenSet =
true;
217 m_receivedHeaders.emplace_back(std::forward<ReceivedHeadersT>(value));
228 template <
typename InReplyToT = Aws::String>
230 m_inReplyToHasBeenSet =
true;
231 m_inReplyTo = std::forward<InReplyToT>(value);
233 template <
typename InReplyToT = Aws::String>
246 template <
typename XMailerT = Aws::String>
248 m_xMailerHasBeenSet =
true;
249 m_xMailer = std::forward<XMailerT>(value);
251 template <
typename XMailerT = Aws::String>
264 template <
typename XOriginalMailerT = Aws::String>
266 m_xOriginalMailerHasBeenSet =
true;
267 m_xOriginalMailer = std::forward<XOriginalMailerT>(value);
269 template <
typename XOriginalMailerT = Aws::String>
282 template <
typename XPriorityT = Aws::String>
284 m_xPriorityHasBeenSet =
true;
285 m_xPriority = std::forward<XPriorityT>(value);
287 template <
typename XPriorityT = Aws::String>
300 template <
typename IngressPo
intIdT = Aws::String>
302 m_ingressPointIdHasBeenSet =
true;
303 m_ingressPointId = std::forward<IngressPointIdT>(value);
305 template <
typename IngressPo
intIdT = Aws::String>
318 template <
typename SenderHostnameT = Aws::String>
320 m_senderHostnameHasBeenSet =
true;
321 m_senderHostname = std::forward<SenderHostnameT>(value);
323 template <
typename SenderHostnameT = Aws::String>
339 template <
typename SenderIpAddressT = Aws::String>
341 m_senderIpAddressHasBeenSet =
true;
342 m_senderIpAddress = std::forward<SenderIpAddressT>(value);
344 template <
typename SenderIpAddressT = Aws::String>
357 template <
typename EnvelopeT = Envelope>
359 m_envelopeHasBeenSet =
true;
360 m_envelope = std::forward<EnvelopeT>(value);
362 template <
typename EnvelopeT = Envelope>
376 template <
typename SourceArnT = Aws::String>
378 m_sourceArnHasBeenSet =
true;
379 m_sourceArn = std::forward<SourceArnT>(value);
381 template <
typename SourceArnT = Aws::String>
404 bool m_hasAttachments{
false};
425 bool m_archivedMessageIdHasBeenSet =
false;
426 bool m_receivedTimestampHasBeenSet =
false;
427 bool m_dateHasBeenSet =
false;
428 bool m_toHasBeenSet =
false;
429 bool m_fromHasBeenSet =
false;
430 bool m_ccHasBeenSet =
false;
431 bool m_subjectHasBeenSet =
false;
432 bool m_messageIdHasBeenSet =
false;
433 bool m_hasAttachmentsHasBeenSet =
false;
434 bool m_receivedHeadersHasBeenSet =
false;
435 bool m_inReplyToHasBeenSet =
false;
436 bool m_xMailerHasBeenSet =
false;
437 bool m_xOriginalMailerHasBeenSet =
false;
438 bool m_xPriorityHasBeenSet =
false;
439 bool m_ingressPointIdHasBeenSet =
false;
440 bool m_senderHostnameHasBeenSet =
false;
441 bool m_senderIpAddressHasBeenSet =
false;
442 bool m_envelopeHasBeenSet =
false;
443 bool m_sourceArnHasBeenSet =
false;
void SetIngressPointId(IngressPointIdT &&value)
void SetFrom(FromT &&value)
Row & WithFrom(FromT &&value)
const Aws::String & GetMessageId() const
void SetReceivedHeaders(ReceivedHeadersT &&value)
Row & WithCc(CcT &&value)
Row & WithInReplyTo(InReplyToT &&value)
void SetEnvelope(EnvelopeT &&value)
void SetReceivedTimestamp(ReceivedTimestampT &&value)
const Aws::String & GetTo() const
const Aws::String & GetSubject() const
void SetInReplyTo(InReplyToT &&value)
void SetMessageId(MessageIdT &&value)
Row & WithIngressPointId(IngressPointIdT &&value)
bool MessageIdHasBeenSet() const
Row & WithTo(ToT &&value)
const Aws::String & GetSourceArn() const
void SetSubject(SubjectT &&value)
void SetXOriginalMailer(XOriginalMailerT &&value)
const Aws::String & GetIngressPointId() const
bool EnvelopeHasBeenSet() const
bool CcHasBeenSet() const
bool HasAttachmentsHasBeenSet() const
Row & WithArchivedMessageId(ArchivedMessageIdT &&value)
bool XMailerHasBeenSet() const
Row & WithSubject(SubjectT &&value)
Row & WithDate(DateT &&value)
bool SenderHostnameHasBeenSet() const
const Aws::Vector< Aws::String > & GetReceivedHeaders() const
const Aws::Utils::DateTime & GetReceivedTimestamp() const
Row & WithXOriginalMailer(XOriginalMailerT &&value)
bool ArchivedMessageIdHasBeenSet() const
void SetXPriority(XPriorityT &&value)
bool XOriginalMailerHasBeenSet() const
AWS_MAILMANAGER_API Row(Aws::Utils::Json::JsonView jsonValue)
bool FromHasBeenSet() const
const Aws::String & GetXOriginalMailer() const
bool ReceivedTimestampHasBeenSet() const
const Envelope & GetEnvelope() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInReplyTo() const
const Aws::String & GetCc() const
AWS_MAILMANAGER_API Row()=default
Row & WithSenderHostname(SenderHostnameT &&value)
Row & WithMessageId(MessageIdT &&value)
void SetXMailer(XMailerT &&value)
void SetDate(DateT &&value)
const Aws::String & GetXPriority() const
Row & WithHasAttachments(bool value)
bool SubjectHasBeenSet() const
bool SenderIpAddressHasBeenSet() const
const Aws::String & GetSenderHostname() const
bool InReplyToHasBeenSet() const
const Aws::String & GetDate() const
bool XPriorityHasBeenSet() const
void SetSourceArn(SourceArnT &&value)
Row & WithXPriority(XPriorityT &&value)
void SetArchivedMessageId(ArchivedMessageIdT &&value)
void SetSenderIpAddress(SenderIpAddressT &&value)
const Aws::String & GetSenderIpAddress() const
bool SourceArnHasBeenSet() const
Row & WithSourceArn(SourceArnT &&value)
bool GetHasAttachments() const
bool DateHasBeenSet() const
bool ReceivedHeadersHasBeenSet() const
const Aws::String & GetXMailer() const
bool IngressPointIdHasBeenSet() const
Row & WithSenderIpAddress(SenderIpAddressT &&value)
void SetHasAttachments(bool value)
Row & WithXMailer(XMailerT &&value)
Row & AddReceivedHeaders(ReceivedHeadersT &&value)
const Aws::String & GetArchivedMessageId() const
const Aws::String & GetFrom() const
Row & WithReceivedTimestamp(ReceivedTimestampT &&value)
bool ToHasBeenSet() const
Row & WithReceivedHeaders(ReceivedHeadersT &&value)
AWS_MAILMANAGER_API Row & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSenderHostname(SenderHostnameT &&value)
Row & WithEnvelope(EnvelopeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue