7#include <aws/translate/Translate_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename ContentT = Aws::Utils::CryptoBuffer>
51 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
52 template<
typename ContentT = Aws::Utils::CryptoBuffer>
69 template<
typename ContentTypeT = Aws::String>
70 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
71 template<
typename ContentTypeT = Aws::String>
77 bool m_contentHasBeenSet =
false;
80 bool m_contentTypeHasBeenSet =
false;
AWS_TRANSLATE_API Aws::Utils::Json::JsonValue Jsonize() const
Document & WithContentType(ContentTypeT &&value)
Document & WithContent(ContentT &&value)
AWS_TRANSLATE_API Document(Aws::Utils::Json::JsonView jsonValue)
void SetContentType(ContentTypeT &&value)
AWS_TRANSLATE_API Document()=default
bool ContentTypeHasBeenSet() const
const Aws::Utils::CryptoBuffer & GetContent() const
const Aws::String & GetContentType() const
bool ContentHasBeenSet() const
void SetContent(ContentT &&value)
AWS_TRANSLATE_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue