7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/model/Attachment.h>
10#include <aws/sesv2/model/Body.h>
11#include <aws/sesv2/model/Content.h>
12#include <aws/sesv2/model/MessageHeader.h>
48 template <
typename SubjectT = Content>
50 m_subjectHasBeenSet =
true;
51 m_subject = std::forward<SubjectT>(value);
53 template <
typename SubjectT = Content>
67 template <
typename BodyT = Body>
69 m_bodyHasBeenSet =
true;
70 m_body = std::forward<BodyT>(value);
72 template <
typename BodyT = Body>
74 SetBody(std::forward<BodyT>(value));
85 template <
typename HeadersT = Aws::Vector<MessageHeader>>
87 m_headersHasBeenSet =
true;
88 m_headers = std::forward<HeadersT>(value);
90 template <
typename HeadersT = Aws::Vector<MessageHeader>>
95 template <
typename HeadersT = MessageHeader>
97 m_headersHasBeenSet =
true;
98 m_headers.emplace_back(std::forward<HeadersT>(value));
110 template <
typename AttachmentsT = Aws::Vector<Attachment>>
112 m_attachmentsHasBeenSet =
true;
113 m_attachments = std::forward<AttachmentsT>(value);
115 template <
typename AttachmentsT = Aws::Vector<Attachment>>
120 template <
typename AttachmentsT = Attachment>
122 m_attachmentsHasBeenSet =
true;
123 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
135 bool m_subjectHasBeenSet =
false;
136 bool m_bodyHasBeenSet =
false;
137 bool m_headersHasBeenSet =
false;
138 bool m_attachmentsHasBeenSet =
false;
Message & AddAttachments(AttachmentsT &&value)
AWS_SESV2_API Message()=default
bool BodyHasBeenSet() const
const Content & GetSubject() const
void SetHeaders(HeadersT &&value)
bool HeadersHasBeenSet() const
Message & WithSubject(SubjectT &&value)
AWS_SESV2_API Message(Aws::Utils::Json::JsonView jsonValue)
bool SubjectHasBeenSet() const
void SetSubject(SubjectT &&value)
const Aws::Vector< MessageHeader > & GetHeaders() const
void SetAttachments(AttachmentsT &&value)
Message & WithHeaders(HeadersT &&value)
bool AttachmentsHasBeenSet() const
Message & WithAttachments(AttachmentsT &&value)
Message & AddHeaders(HeadersT &&value)
AWS_SESV2_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Attachment > & GetAttachments() const
Message & WithBody(BodyT &&value)
const Body & GetBody() const
void SetBody(BodyT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue