7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EmailHeaderType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename SubjectT = Aws::String>
44 m_subjectHasBeenSet =
true;
45 m_subject = std::forward<SubjectT>(value);
47 template <
typename SubjectT = Aws::String>
60 template <
typename BodyT = Aws::String>
62 m_bodyHasBeenSet =
true;
63 m_body = std::forward<BodyT>(value);
65 template <
typename BodyT = Aws::String>
67 SetBody(std::forward<BodyT>(value));
79 template <
typename ContentTypeT = Aws::String>
81 m_contentTypeHasBeenSet =
true;
82 m_contentType = std::forward<ContentTypeT>(value);
84 template <
typename ContentTypeT = Aws::String>
97 template <
typename HeadersT = Aws::Map<EmailHeaderType, Aws::String>>
99 m_headersHasBeenSet =
true;
100 m_headers = std::forward<HeadersT>(value);
102 template <
typename HeadersT = Aws::Map<EmailHeaderType, Aws::String>>
108 m_headersHasBeenSet =
true;
109 m_headers.emplace(key, value);
121 bool m_subjectHasBeenSet =
false;
122 bool m_bodyHasBeenSet =
false;
123 bool m_contentTypeHasBeenSet =
false;
124 bool m_headersHasBeenSet =
false;
const Aws::String & GetSubject() const
void SetSubject(SubjectT &&value)
bool SubjectHasBeenSet() const
void SetHeaders(HeadersT &&value)
bool BodyHasBeenSet() const
InboundRawMessage & WithHeaders(HeadersT &&value)
InboundRawMessage & WithBody(BodyT &&value)
AWS_CONNECT_API InboundRawMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(ContentTypeT &&value)
AWS_CONNECT_API InboundRawMessage(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBody() const
InboundRawMessage & AddHeaders(EmailHeaderType key, Aws::String value)
InboundRawMessage & WithSubject(SubjectT &&value)
const Aws::Map< EmailHeaderType, Aws::String > & GetHeaders() const
void SetBody(BodyT &&value)
bool HeadersHasBeenSet() const
InboundRawMessage & WithContentType(ContentTypeT &&value)
const Aws::String & GetContentType() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContentTypeHasBeenSet() const
AWS_CONNECT_API InboundRawMessage()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue