7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra-ranking/KendraRankingRequest.h>
10#include <aws/kendra-ranking/KendraRanking_EXPORTS.h>
11#include <aws/kendra-ranking/model/Document.h>
16namespace KendraRanking {
43 template <
typename RescoreExecutionPlanIdT = Aws::String>
45 m_rescoreExecutionPlanIdHasBeenSet =
true;
46 m_rescoreExecutionPlanId = std::forward<RescoreExecutionPlanIdT>(value);
48 template <
typename RescoreExecutionPlanIdT = Aws::String>
61 template <
typename SearchQueryT = Aws::String>
63 m_searchQueryHasBeenSet =
true;
64 m_searchQuery = std::forward<SearchQueryT>(value);
66 template <
typename SearchQueryT = Aws::String>
80 template <
typename DocumentsT = Aws::Vector<Document>>
82 m_documentsHasBeenSet =
true;
83 m_documents = std::forward<DocumentsT>(value);
85 template <
typename DocumentsT = Aws::Vector<Document>>
90 template <
typename DocumentsT = Document>
92 m_documentsHasBeenSet =
true;
93 m_documents.emplace_back(std::forward<DocumentsT>(value));
103 bool m_rescoreExecutionPlanIdHasBeenSet =
false;
104 bool m_searchQueryHasBeenSet =
false;
105 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