7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/pinpoint-email/model/Content.h>
9#include <aws/pinpoint-email/model/Body.h>
22namespace PinpointEmail
52 inline void SetSubject(
const Content& value) { m_subjectHasBeenSet =
true; m_subject = value; }
53 inline void SetSubject(
Content&& value) { m_subjectHasBeenSet =
true; m_subject = std::move(value); }
65 inline void SetBody(
const Body& value) { m_bodyHasBeenSet =
true; m_body = value; }
66 inline void SetBody(
Body&& value) { m_bodyHasBeenSet =
true; m_body = std::move(value); }
73 bool m_subjectHasBeenSet =
false;
76 bool m_bodyHasBeenSet =
false;
bool BodyHasBeenSet() const
Message & WithSubject(const Content &value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINTEMAIL_API Message()
void SetSubject(Content &&value)
Message & WithBody(const Body &value)
const Body & GetBody() const
void SetSubject(const Content &value)
const Content & GetSubject() const
Message & WithBody(Body &&value)
bool SubjectHasBeenSet() const
void SetBody(Body &&value)
void SetBody(const Body &value)
AWS_PINPOINTEMAIL_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Message(Aws::Utils::Json::JsonView jsonValue)
Message & WithSubject(Content &&value)
Aws::Utils::Json::JsonValue JsonValue