7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/DataSummary.h>
9#include <aws/qconnect/model/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/QueryResultType.h>
62 inline void SetDocument(
Document&& value) { m_documentHasBeenSet =
true; m_document = std::move(value); }
73 inline void SetRelevanceScore(
double value) { m_relevanceScoreHasBeenSet =
true; m_relevanceScore = value; }
85 inline void SetResultId(
const char* value) { m_resultIdHasBeenSet =
true; m_resultId.assign(value); }
105 bool m_dataHasBeenSet =
false;
108 bool m_documentHasBeenSet =
false;
110 double m_relevanceScore;
111 bool m_relevanceScoreHasBeenSet =
false;
114 bool m_resultIdHasBeenSet =
false;
117 bool m_typeHasBeenSet =
false;
double GetRelevanceScore() const
void SetType(const QueryResultType &value)
ResultData & WithType(const QueryResultType &value)
const Document & GetDocument() const
bool DocumentHasBeenSet() const
AWS_QCONNECT_API ResultData(Aws::Utils::Json::JsonView jsonValue)
void SetData(const DataSummary &value)
ResultData & WithResultId(Aws::String &&value)
const Aws::String & GetResultId() const
void SetType(QueryResultType &&value)
ResultData & WithData(const DataSummary &value)
ResultData & WithDocument(Document &&value)
const DataSummary & GetData() const
ResultData & WithResultId(const char *value)
bool TypeHasBeenSet() const
bool DataHasBeenSet() const
void SetResultId(const char *value)
const QueryResultType & GetType() const
AWS_QCONNECT_API ResultData()
ResultData & WithResultId(const Aws::String &value)
ResultData & WithData(DataSummary &&value)
void SetData(DataSummary &&value)
ResultData & WithType(QueryResultType &&value)
bool RelevanceScoreHasBeenSet() const
void SetResultId(Aws::String &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocument(Document &&value)
bool ResultIdHasBeenSet() const
ResultData & WithDocument(const Document &value)
void SetRelevanceScore(double value)
void SetResultId(const Aws::String &value)
void SetDocument(const Document &value)
AWS_QCONNECT_API ResultData & operator=(Aws::Utils::Json::JsonView jsonValue)
ResultData & WithRelevanceScore(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue