7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetHtml(
const char* value) { m_htmlHasBeenSet =
true; m_html.assign(value); }
60 inline void SetMessageMalformed(
bool value) { m_messageMalformedHasBeenSet =
true; m_messageMalformed = value; }
72 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
80 bool m_htmlHasBeenSet =
false;
82 bool m_messageMalformed;
83 bool m_messageMalformedHasBeenSet =
false;
86 bool m_textHasBeenSet =
false;
bool GetMessageMalformed() const
bool TextHasBeenSet() const
void SetHtml(Aws::String &&value)
void SetText(const char *value)
MessageBody & WithText(const char *value)
void SetMessageMalformed(bool value)
void SetHtml(const char *value)
AWS_MAILMANAGER_API MessageBody(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API MessageBody & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageBody & WithText(const Aws::String &value)
void SetText(const Aws::String &value)
MessageBody & WithText(Aws::String &&value)
MessageBody & WithHtml(const char *value)
void SetHtml(const Aws::String &value)
bool MessageMalformedHasBeenSet() const
AWS_MAILMANAGER_API MessageBody()
const Aws::String & GetText() const
void SetText(Aws::String &&value)
MessageBody & WithHtml(Aws::String &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool HtmlHasBeenSet() const
MessageBody & WithMessageMalformed(bool value)
MessageBody & WithHtml(const Aws::String &value)
const Aws::String & GetHtml() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue