7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
19namespace MailManager {
40 template <
typename TextT = Aws::String>
42 m_textHasBeenSet =
true;
43 m_text = std::forward<TextT>(value);
45 template <
typename TextT = Aws::String>
47 SetText(std::forward<TextT>(value));
58 template <
typename HtmlT = Aws::String>
60 m_htmlHasBeenSet =
true;
61 m_html = std::forward<HtmlT>(value);
63 template <
typename HtmlT = Aws::String>
65 SetHtml(std::forward<HtmlT>(value));
77 m_messageMalformedHasBeenSet =
true;
78 m_messageMalformed = value;
90 bool m_messageMalformed{
false};
91 bool m_textHasBeenSet =
false;
92 bool m_htmlHasBeenSet =
false;
93 bool m_messageMalformedHasBeenSet =
false;
bool GetMessageMalformed() const
bool TextHasBeenSet() const
void SetMessageMalformed(bool value)
AWS_MAILMANAGER_API MessageBody(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API MessageBody & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageMalformedHasBeenSet() const
MessageBody & WithHtml(HtmlT &&value)
AWS_MAILMANAGER_API MessageBody()=default
const Aws::String & GetText() const
void SetHtml(HtmlT &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetText(TextT &&value)
bool HtmlHasBeenSet() const
MessageBody & WithMessageMalformed(bool value)
MessageBody & WithText(TextT &&value)
const Aws::String & GetHtml() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue