7#include <aws/kendra-ranking/KendraRanking_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace KendraRanking
49 inline void SetDocumentId(
const char* value) { m_documentIdHasBeenSet =
true; m_documentId.assign(value); }
60 inline double GetScore()
const{
return m_score; }
62 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
68 bool m_documentIdHasBeenSet =
false;
71 bool m_scoreHasBeenSet =
false;
const Aws::String & GetDocumentId() const
AWS_KENDRARANKING_API RescoreResultItem()
RescoreResultItem & WithDocumentId(const char *value)
void SetScore(double value)
bool ScoreHasBeenSet() const
void SetDocumentId(const char *value)
void SetDocumentId(const Aws::String &value)
RescoreResultItem & WithDocumentId(Aws::String &&value)
AWS_KENDRARANKING_API RescoreResultItem & operator=(Aws::Utils::Json::JsonView jsonValue)
RescoreResultItem & WithScore(double value)
bool DocumentIdHasBeenSet() const
AWS_KENDRARANKING_API RescoreResultItem(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRARANKING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDocumentId(Aws::String &&value)
RescoreResultItem & WithDocumentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue