7#include <aws/kendra-ranking/KendraRanking_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace KendraRanking
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
81 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
95 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
115 inline Document&
AddTokenizedTitle(
const char* value) { m_tokenizedTitleHasBeenSet =
true; m_tokenizedTitle.push_back(value);
return *
this; }
132 inline Document&
AddTokenizedBody(
const char* value) { m_tokenizedBodyHasBeenSet =
true; m_tokenizedBody.push_back(value);
return *
this; }
143 inline void SetOriginalScore(
double value) { m_originalScoreHasBeenSet =
true; m_originalScore = value; }
149 bool m_idHasBeenSet =
false;
152 bool m_groupIdHasBeenSet =
false;
155 bool m_titleHasBeenSet =
false;
158 bool m_bodyHasBeenSet =
false;
161 bool m_tokenizedTitleHasBeenSet =
false;
164 bool m_tokenizedBodyHasBeenSet =
false;
166 double m_originalScore;
167 bool m_originalScoreHasBeenSet =
false;
Document & WithBody(const char *value)
const Aws::String & GetBody() const
bool OriginalScoreHasBeenSet() const
void SetId(Aws::String &&value)
void SetBody(Aws::String &&value)
Document & AddTokenizedTitle(const Aws::String &value)
void SetTokenizedBody(Aws::Vector< Aws::String > &&value)
bool GroupIdHasBeenSet() const
const Aws::String & GetId() const
AWS_KENDRARANKING_API Document()
void SetGroupId(const char *value)
Document & AddTokenizedTitle(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTokenizedTitle() const
Document & WithOriginalScore(double value)
void SetOriginalScore(double value)
Document & WithId(const Aws::String &value)
Document & WithBody(const Aws::String &value)
void SetId(const char *value)
Document & WithGroupId(const Aws::String &value)
double GetOriginalScore() const
Document & WithTokenizedBody(Aws::Vector< Aws::String > &&value)
bool IdHasBeenSet() const
Document & WithTokenizedTitle(Aws::Vector< Aws::String > &&value)
Document & WithId(Aws::String &&value)
Document & AddTokenizedTitle(const char *value)
Document & AddTokenizedBody(const char *value)
const Aws::String & GetTitle() const
void SetTokenizedBody(const Aws::Vector< Aws::String > &value)
bool TitleHasBeenSet() const
const Aws::Vector< Aws::String > & GetTokenizedBody() const
Document & AddTokenizedBody(const Aws::String &value)
Document & WithTokenizedBody(const Aws::Vector< Aws::String > &value)
bool BodyHasBeenSet() const
void SetGroupId(const Aws::String &value)
const Aws::String & GetGroupId() const
void SetBody(const char *value)
void SetGroupId(Aws::String &&value)
void SetBody(const Aws::String &value)
AWS_KENDRARANKING_API Document(Aws::Utils::Json::JsonView jsonValue)
Document & WithTitle(Aws::String &&value)
void SetId(const Aws::String &value)
Document & WithGroupId(Aws::String &&value)
Document & WithTitle(const Aws::String &value)
bool TokenizedTitleHasBeenSet() const
Document & WithId(const char *value)
void SetTitle(const char *value)
Document & WithTokenizedTitle(const Aws::Vector< Aws::String > &value)
void SetTokenizedTitle(const Aws::Vector< Aws::String > &value)
bool TokenizedBodyHasBeenSet() const
AWS_KENDRARANKING_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRARANKING_API Aws::Utils::Json::JsonValue Jsonize() const
Document & WithGroupId(const char *value)
Document & WithBody(Aws::String &&value)
Document & AddTokenizedBody(Aws::String &&value)
void SetTitle(Aws::String &&value)
void SetTitle(const Aws::String &value)
Document & WithTitle(const char *value)
void SetTokenizedTitle(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue