7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/DocumentContentType.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
33 AWS_CONTEXT_API
InputDocument(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
63 m_contentTypeHasBeenSet =
true;
64 m_contentType = value;
79 template <
typename ContentT = Aws::Utils::CryptoBuffer>
81 m_contentHasBeenSet =
true;
82 m_content = std::forward<ContentT>(value);
84 template <
typename ContentT = Aws::Utils::CryptoBuffer>
96 bool m_nameHasBeenSet =
false;
97 bool m_contentTypeHasBeenSet =
false;
98 bool m_contentHasBeenSet =
false;
const Aws::Utils::CryptoBuffer & GetContent() const
bool NameHasBeenSet() const
AWS_CONTEXT_API InputDocument & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ContentHasBeenSet() const
InputDocument & WithContent(ContentT &&value)
AWS_CONTEXT_API InputDocument(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InputDocument & WithContentType(DocumentContentType value)
void SetName(NameT &&value)
AWS_CONTEXT_API InputDocument()=default
bool ContentTypeHasBeenSet() const
void SetContent(ContentT &&value)
InputDocument & WithName(NameT &&value)
DocumentContentType GetContentType() const
void SetContentType(DocumentContentType value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String