7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ConnectWisdomService
48 inline void SetDocument(
Document&& value) { m_documentHasBeenSet =
true; m_document = std::move(value); }
59 inline void SetRelevanceScore(
double value) { m_relevanceScoreHasBeenSet =
true; m_relevanceScore = value; }
71 inline void SetResultId(
const char* value) { m_resultIdHasBeenSet =
true; m_resultId.assign(value); }
79 bool m_documentHasBeenSet =
false;
81 double m_relevanceScore;
82 bool m_relevanceScoreHasBeenSet =
false;
85 bool m_resultIdHasBeenSet =
false;
const Document & GetDocument() const
ResultData & WithResultId(const char *value)
void SetResultId(const char *value)
double GetRelevanceScore() const
ResultData & WithDocument(const Document &value)
const Aws::String & GetResultId() const
void SetDocument(Document &&value)
AWS_CONNECTWISDOMSERVICE_API ResultData()
ResultData & WithRelevanceScore(double value)
void SetRelevanceScore(double value)
ResultData & WithDocument(Document &&value)
bool ResultIdHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API ResultData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDocument(const Document &value)
void SetResultId(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API ResultData(Aws::Utils::Json::JsonView jsonValue)
ResultData & WithResultId(Aws::String &&value)
ResultData & WithResultId(const Aws::String &value)
bool DocumentHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RelevanceScoreHasBeenSet() const
void SetResultId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue