7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ContentReference.h>
9#include <aws/qconnect/model/DocumentText.h>
47 template<
typename ContentReferenceT = ContentReference>
49 template<
typename ContentReferenceT = ContentReference>
59 template<
typename TitleT = DocumentText>
60 void SetTitle(
TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
61 template<
typename TitleT = DocumentText>
71 template<
typename ExcerptT = DocumentText>
72 void SetExcerpt(
ExcerptT&& value) { m_excerptHasBeenSet =
true; m_excerpt = std::forward<ExcerptT>(value); }
73 template<
typename ExcerptT = DocumentText>
79 bool m_contentReferenceHasBeenSet =
false;
82 bool m_titleHasBeenSet =
false;
85 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