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
47 template<
typename RescoreExecutionPlanIdT = Aws::String>
48 void SetRescoreExecutionPlanId(RescoreExecutionPlanIdT&& value) { m_rescoreExecutionPlanIdHasBeenSet =
true; m_rescoreExecutionPlanId = std::forward<RescoreExecutionPlanIdT>(value); }
49 template<
typename RescoreExecutionPlanIdT = Aws::String>
59 template<
typename SearchQueryT = Aws::String>
60 void SetSearchQuery(SearchQueryT&& value) { m_searchQueryHasBeenSet =
true; m_searchQuery = std::forward<SearchQueryT>(value); }
61 template<
typename SearchQueryT = Aws::String>
72 template<
typename DocumentsT = Aws::Vector<Document>>
73 void SetDocuments(DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents = std::forward<DocumentsT>(value); }
74 template<
typename DocumentsT = Aws::Vector<Document>>
76 template<
typename DocumentsT = Document>
77 RescoreRequest&
AddDocuments(DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents.emplace_back(std::forward<DocumentsT>(value));
return *
this; }
82 bool m_rescoreExecutionPlanIdHasBeenSet =
false;
85 bool m_searchQueryHasBeenSet =
false;
88 bool m_documentsHasBeenSet =
false;
void SetDocuments(DocumentsT &&value)
const Aws::Vector< Document > & GetDocuments() const
RescoreRequest & WithRescoreExecutionPlanId(RescoreExecutionPlanIdT &&value)
AWS_KENDRARANKING_API RescoreRequest()=default
const Aws::String & GetRescoreExecutionPlanId() const
RescoreRequest & AddDocuments(DocumentsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KENDRARANKING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSearchQuery(SearchQueryT &&value)
bool RescoreExecutionPlanIdHasBeenSet() const
const Aws::String & GetSearchQuery() const
void SetRescoreExecutionPlanId(RescoreExecutionPlanIdT &&value)
RescoreRequest & WithSearchQuery(SearchQueryT &&value)
RescoreRequest & WithDocuments(DocumentsT &&value)
bool SearchQueryHasBeenSet() const
bool DocumentsHasBeenSet() const
AWS_KENDRARANKING_API Aws::String SerializePayload() const override
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