7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
19namespace MailManager {
30 AWS_MAILMANAGER_API
MessageBody(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool MessageMalformedHasBeenSet() const
MessageBody & WithHtml(HtmlT &&value)
AWS_MAILMANAGER_API MessageBody()=default
const Aws::String & GetText() const
void SetHtml(HtmlT &&value)
void SetText(TextT &&value)
bool HtmlHasBeenSet() const
MessageBody & WithMessageMalformed(bool value)
AWS_MAILMANAGER_API MessageBody(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
MessageBody & WithText(TextT &&value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetHtml() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String