7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ContentReference.h>
9#include <aws/qconnect/model/DocumentText.h>
41 template <
typename ContentReferenceT = ContentReference>
43 m_contentReferenceHasBeenSet =
true;
44 m_contentReference = std::forward<ContentReferenceT>(value);
46 template <
typename ContentReferenceT = ContentReference>
59 template <
typename TitleT = DocumentText>
61 m_titleHasBeenSet =
true;
62 m_title = std::forward<TitleT>(value);
64 template <
typename TitleT = DocumentText>
66 SetTitle(std::forward<TitleT>(value));
77 template <
typename ExcerptT = DocumentText>
79 m_excerptHasBeenSet =
true;
80 m_excerpt = std::forward<ExcerptT>(value);
82 template <
typename ExcerptT = DocumentText>
94 bool m_contentReferenceHasBeenSet =
false;
95 bool m_titleHasBeenSet =
false;
96 bool m_excerptHasBeenSet =
false;
AWS_QCONNECT_API Document(Aws::Utils::Json::JsonView jsonValue)
Document & WithExcerpt(ExcerptT &&value)
bool ExcerptHasBeenSet() const
void SetExcerpt(ExcerptT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentText & GetExcerpt() const
bool TitleHasBeenSet() const
const ContentReference & GetContentReference() const
Document & WithTitle(TitleT &&value)
bool ContentReferenceHasBeenSet() const
void SetTitle(TitleT &&value)
Document & WithContentReference(ContentReferenceT &&value)
const DocumentText & GetTitle() const
void SetContentReference(ContentReferenceT &&value)
AWS_QCONNECT_API Document()=default
AWS_QCONNECT_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue