7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/ContentReference.h>
9#include <aws/wisdom/model/DocumentText.h>
20namespace ConnectWisdomService {
30 AWS_CONNECTWISDOMSERVICE_API
Document() =
default;
41 template <
typename ContentReferenceT = ContentReference>
43 m_contentReferenceHasBeenSet =
true;
44 m_contentReference = std::forward<ContentReferenceT>(value);
46 template <
typename ContentReferenceT = ContentReference>
59 template <
typename ExcerptT = DocumentText>
61 m_excerptHasBeenSet =
true;
62 m_excerpt = std::forward<ExcerptT>(value);
64 template <
typename ExcerptT = DocumentText>
77 template <
typename TitleT = DocumentText>
79 m_titleHasBeenSet =
true;
80 m_title = std::forward<TitleT>(value);
82 template <
typename TitleT = DocumentText>
84 SetTitle(std::forward<TitleT>(value));
94 bool m_contentReferenceHasBeenSet =
false;
95 bool m_excerptHasBeenSet =
false;
96 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