7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/DocumentAttribute.h>
11#include <aws/qbusiness/model/ScoreAttributes.h>
44 template <
typename ContentT = Aws::String>
46 m_contentHasBeenSet =
true;
47 m_content = std::forward<ContentT>(value);
49 template <
typename ContentT = Aws::String>
62 template <
typename DocumentIdT = Aws::String>
64 m_documentIdHasBeenSet =
true;
65 m_documentId = std::forward<DocumentIdT>(value);
67 template <
typename DocumentIdT = Aws::String>
80 template <
typename DocumentTitleT = Aws::String>
82 m_documentTitleHasBeenSet =
true;
83 m_documentTitle = std::forward<DocumentTitleT>(value);
85 template <
typename DocumentTitleT = Aws::String>
98 template <
typename DocumentUriT = Aws::String>
100 m_documentUriHasBeenSet =
true;
101 m_documentUri = std::forward<DocumentUriT>(value);
103 template <
typename DocumentUriT = Aws::String>
116 template <
typename DocumentAttributesT = Aws::Vector<DocumentAttribute>>
118 m_documentAttributesHasBeenSet =
true;
119 m_documentAttributes = std::forward<DocumentAttributesT>(value);
121 template <
typename DocumentAttributesT = Aws::Vector<DocumentAttribute>>
126 template <
typename DocumentAttributesT = DocumentAttribute>
128 m_documentAttributesHasBeenSet =
true;
129 m_documentAttributes.emplace_back(std::forward<DocumentAttributesT>(value));
140 template <
typename ScoreAttributesT = ScoreAttributes>
142 m_scoreAttributesHasBeenSet =
true;
143 m_scoreAttributes = std::forward<ScoreAttributesT>(value);
145 template <
typename ScoreAttributesT = ScoreAttributes>
163 bool m_contentHasBeenSet =
false;
164 bool m_documentIdHasBeenSet =
false;
165 bool m_documentTitleHasBeenSet =
false;
166 bool m_documentUriHasBeenSet =
false;
167 bool m_documentAttributesHasBeenSet =
false;
168 bool m_scoreAttributesHasBeenSet =
false;
RelevantContent & WithDocumentTitle(DocumentTitleT &&value)
bool ScoreAttributesHasBeenSet() const
const Aws::String & GetContent() const
bool DocumentUriHasBeenSet() const
AWS_QBUSINESS_API RelevantContent()=default
void SetContent(ContentT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API RelevantContent(Aws::Utils::Json::JsonView jsonValue)
RelevantContent & WithContent(ContentT &&value)
bool DocumentIdHasBeenSet() const
RelevantContent & WithDocumentAttributes(DocumentAttributesT &&value)
void SetDocumentAttributes(DocumentAttributesT &&value)
const Aws::String & GetDocumentId() const
const ScoreAttributes & GetScoreAttributes() const
const Aws::String & GetDocumentUri() const
RelevantContent & WithScoreAttributes(ScoreAttributesT &&value)
const Aws::Vector< DocumentAttribute > & GetDocumentAttributes() const
const Aws::String & GetDocumentTitle() const
void SetDocumentUri(DocumentUriT &&value)
void SetDocumentTitle(DocumentTitleT &&value)
void SetScoreAttributes(ScoreAttributesT &&value)
RelevantContent & AddDocumentAttributes(DocumentAttributesT &&value)
AWS_QBUSINESS_API RelevantContent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentTitleHasBeenSet() const
void SetDocumentId(DocumentIdT &&value)
RelevantContent & WithDocumentId(DocumentIdT &&value)
bool DocumentAttributesHasBeenSet() const
bool ContentHasBeenSet() const
RelevantContent & WithDocumentUri(DocumentUriT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue