7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/ContentReference.h>
9#include <aws/wisdom/model/DocumentText.h>
22namespace ConnectWisdomService
35 AWS_CONNECTWISDOMSERVICE_API
Document() =
default;
47 template<
typename ContentReferenceT = ContentReference>
48 void SetContentReference(ContentReferenceT&& value) { m_contentReferenceHasBeenSet =
true; m_contentReference = std::forward<ContentReferenceT>(value); }
49 template<
typename ContentReferenceT = ContentReference>
59 template<
typename ExcerptT = DocumentText>
60 void SetExcerpt(ExcerptT&& value) { m_excerptHasBeenSet =
true; m_excerpt = std::forward<ExcerptT>(value); }
61 template<
typename ExcerptT = DocumentText>
71 template<
typename TitleT = DocumentText>
72 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
73 template<
typename TitleT = DocumentText>
79 bool m_contentReferenceHasBeenSet =
false;
82 bool m_excerptHasBeenSet =
false;
85 bool m_titleHasBeenSet =
false;
bool ExcerptHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentText & GetTitle() const
void SetExcerpt(ExcerptT &&value)
AWS_CONNECTWISDOMSERVICE_API Document(Aws::Utils::Json::JsonView jsonValue)
bool TitleHasBeenSet() const
const DocumentText & GetExcerpt() const
const ContentReference & GetContentReference() const
void SetTitle(TitleT &&value)
AWS_CONNECTWISDOMSERVICE_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentReference(ContentReferenceT &&value)
bool ContentReferenceHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API Document()=default
Document & WithExcerpt(ExcerptT &&value)
Document & WithTitle(TitleT &&value)
Document & WithContentReference(ContentReferenceT &&value)
Aws::Utils::Json::JsonValue JsonValue