7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/model/ScoreAttributes.h>
11#include <aws/qbusiness/model/DocumentAttribute.h>
50 template<
typename ContentT = Aws::String>
51 void SetContent(
ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
52 template<
typename ContentT = Aws::String>
62 template<
typename DocumentIdT = Aws::String>
64 template<
typename DocumentIdT = Aws::String>
74 template<
typename DocumentTitleT = Aws::String>
76 template<
typename DocumentTitleT = Aws::String>
86 template<
typename DocumentUriT = Aws::String>
88 template<
typename DocumentUriT = Aws::String>
98 template<
typename DocumentAttributesT = Aws::Vector<DocumentAttribute>>
100 template<
typename DocumentAttributesT = Aws::Vector<DocumentAttribute>>
102 template<
typename DocumentAttributesT = DocumentAttribute>
112 template<
typename ScoreAttributesT = ScoreAttributes>
114 template<
typename ScoreAttributesT = ScoreAttributes>
120 bool m_contentHasBeenSet =
false;
123 bool m_documentIdHasBeenSet =
false;
126 bool m_documentTitleHasBeenSet =
false;
129 bool m_documentUriHasBeenSet =
false;
132 bool m_documentAttributesHasBeenSet =
false;
135 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