7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/translate/Translate_EXPORTS.h>
31 AWS_TRANSLATE_API
Document(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_TRANSLATE_API
Document&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_TRANSLATE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename ContentT = Aws::Utils::CryptoBuffer>
46 m_contentHasBeenSet =
true;
47 m_content = std::forward<ContentT>(value);
49 template <
typename ContentT = Aws::Utils::CryptoBuffer>
69 template <
typename ContentTypeT = Aws::String>
71 m_contentTypeHasBeenSet =
true;
72 m_contentType = std::forward<ContentTypeT>(value);
74 template <
typename ContentTypeT = Aws::String>
84 bool m_contentHasBeenSet =
false;
85 bool m_contentTypeHasBeenSet =
false;
Document & WithContentType(ContentTypeT &&value)
AWS_TRANSLATE_API Document(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Document & WithContent(ContentT &&value)
AWS_TRANSLATE_API Document & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
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
AWS_TRANSLATE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetContent(ContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String