7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename TextT = Aws::String>
47 void SetText(TextT&& value) { m_textHasBeenSet =
true; m_text = std::forward<TextT>(value); }
48 template<
typename TextT = Aws::String>
58 template<
typename HtmlT = Aws::String>
59 void SetHtml(HtmlT&& value) { m_htmlHasBeenSet =
true; m_html = std::forward<HtmlT>(value); }
60 template<
typename HtmlT = Aws::String>
70 inline void SetMessageMalformed(
bool value) { m_messageMalformedHasBeenSet =
true; m_messageMalformed = value; }
76 bool m_textHasBeenSet =
false;
79 bool m_htmlHasBeenSet =
false;
81 bool m_messageMalformed{
false};
82 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