7#include <aws/kendra-ranking/KendraRanking_EXPORTS.h>
8#include <aws/kendra-ranking/KendraRankingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra-ranking/model/Document.h>
16namespace KendraRanking
49 inline void SetRescoreExecutionPlanId(
const char* value) { m_rescoreExecutionPlanIdHasBeenSet =
true; m_rescoreExecutionPlanId.assign(value); }
63 inline void SetSearchQuery(
const char* value) { m_searchQueryHasBeenSet =
true; m_searchQuery.assign(value); }
86 bool m_rescoreExecutionPlanIdHasBeenSet =
false;
89 bool m_searchQueryHasBeenSet =
false;
92 bool m_documentsHasBeenSet =
false;
RescoreRequest & AddDocuments(Document &&value)
const Aws::Vector< Document > & GetDocuments() const
RescoreRequest & WithSearchQuery(Aws::String &&value)
RescoreRequest & WithSearchQuery(const Aws::String &value)
const Aws::String & GetRescoreExecutionPlanId() const
RescoreRequest & AddDocuments(const Document &value)
RescoreRequest & WithRescoreExecutionPlanId(const Aws::String &value)
RescoreRequest & WithRescoreExecutionPlanId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_KENDRARANKING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDocuments(Aws::Vector< Document > &&value)
void SetSearchQuery(Aws::String &&value)
void SetRescoreExecutionPlanId(Aws::String &&value)
bool RescoreExecutionPlanIdHasBeenSet() const
const Aws::String & GetSearchQuery() const
RescoreRequest & WithDocuments(Aws::Vector< Document > &&value)
AWS_KENDRARANKING_API RescoreRequest()
bool SearchQueryHasBeenSet() const
void SetDocuments(const Aws::Vector< Document > &value)
void SetRescoreExecutionPlanId(const Aws::String &value)
RescoreRequest & WithDocuments(const Aws::Vector< Document > &value)
RescoreRequest & WithSearchQuery(const char *value)
void SetSearchQuery(const char *value)
bool DocumentsHasBeenSet() const
RescoreRequest & WithRescoreExecutionPlanId(const char *value)
AWS_KENDRARANKING_API Aws::String SerializePayload() const override
void SetRescoreExecutionPlanId(const char *value)
void SetSearchQuery(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector