AWS SDK for C++  1.8.74
AWS SDK for C++
Public Member Functions | List of all members
Aws::kendra::Model::QueryRequest Class Reference

#include <QueryRequest.h>

+ Inheritance diagram for Aws::kendra::Model::QueryRequest:

Public Member Functions

 QueryRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetIndexId () const
 
bool IndexIdHasBeenSet () const
 
void SetIndexId (const Aws::String &value)
 
void SetIndexId (Aws::String &&value)
 
void SetIndexId (const char *value)
 
QueryRequestWithIndexId (const Aws::String &value)
 
QueryRequestWithIndexId (Aws::String &&value)
 
QueryRequestWithIndexId (const char *value)
 
const Aws::StringGetQueryText () const
 
bool QueryTextHasBeenSet () const
 
void SetQueryText (const Aws::String &value)
 
void SetQueryText (Aws::String &&value)
 
void SetQueryText (const char *value)
 
QueryRequestWithQueryText (const Aws::String &value)
 
QueryRequestWithQueryText (Aws::String &&value)
 
QueryRequestWithQueryText (const char *value)
 
const AttributeFilterGetAttributeFilter () const
 
bool AttributeFilterHasBeenSet () const
 
void SetAttributeFilter (const AttributeFilter &value)
 
void SetAttributeFilter (AttributeFilter &&value)
 
QueryRequestWithAttributeFilter (const AttributeFilter &value)
 
QueryRequestWithAttributeFilter (AttributeFilter &&value)
 
const Aws::Vector< Facet > & GetFacets () const
 
bool FacetsHasBeenSet () const
 
void SetFacets (const Aws::Vector< Facet > &value)
 
void SetFacets (Aws::Vector< Facet > &&value)
 
QueryRequestWithFacets (const Aws::Vector< Facet > &value)
 
QueryRequestWithFacets (Aws::Vector< Facet > &&value)
 
QueryRequestAddFacets (const Facet &value)
 
QueryRequestAddFacets (Facet &&value)
 
const Aws::Vector< Aws::String > & GetRequestedDocumentAttributes () const
 
bool RequestedDocumentAttributesHasBeenSet () const
 
void SetRequestedDocumentAttributes (const Aws::Vector< Aws::String > &value)
 
void SetRequestedDocumentAttributes (Aws::Vector< Aws::String > &&value)
 
QueryRequestWithRequestedDocumentAttributes (const Aws::Vector< Aws::String > &value)
 
QueryRequestWithRequestedDocumentAttributes (Aws::Vector< Aws::String > &&value)
 
QueryRequestAddRequestedDocumentAttributes (const Aws::String &value)
 
QueryRequestAddRequestedDocumentAttributes (Aws::String &&value)
 
QueryRequestAddRequestedDocumentAttributes (const char *value)
 
const QueryResultTypeGetQueryResultTypeFilter () const
 
bool QueryResultTypeFilterHasBeenSet () const
 
void SetQueryResultTypeFilter (const QueryResultType &value)
 
void SetQueryResultTypeFilter (QueryResultType &&value)
 
QueryRequestWithQueryResultTypeFilter (const QueryResultType &value)
 
QueryRequestWithQueryResultTypeFilter (QueryResultType &&value)
 
int GetPageNumber () const
 
bool PageNumberHasBeenSet () const
 
void SetPageNumber (int value)
 
QueryRequestWithPageNumber (int value)
 
int GetPageSize () const
 
bool PageSizeHasBeenSet () const
 
void SetPageSize (int value)
 
QueryRequestWithPageSize (int value)
 
const SortingConfigurationGetSortingConfiguration () const
 
bool SortingConfigurationHasBeenSet () const
 
void SetSortingConfiguration (const SortingConfiguration &value)
 
void SetSortingConfiguration (SortingConfiguration &&value)
 
QueryRequestWithSortingConfiguration (const SortingConfiguration &value)
 
QueryRequestWithSortingConfiguration (SortingConfiguration &&value)
 
- Public Member Functions inherited from Aws::kendra::KendraRequest
virtual ~KendraRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 26 of file QueryRequest.h.

Constructor & Destructor Documentation

◆ QueryRequest()

Aws::kendra::Model::QueryRequest::QueryRequest ( )

Member Function Documentation

◆ AddFacets() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::AddFacets ( const Facet value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 240 of file QueryRequest.h.

◆ AddFacets() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::AddFacets ( Facet &&  value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 247 of file QueryRequest.h.

◆ AddRequestedDocumentAttributes() [1/3]

QueryRequest& Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes ( const Aws::String value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 297 of file QueryRequest.h.

◆ AddRequestedDocumentAttributes() [2/3]

QueryRequest& Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes ( Aws::String &&  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 304 of file QueryRequest.h.

◆ AddRequestedDocumentAttributes() [3/3]

QueryRequest& Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes ( const char *  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 311 of file QueryRequest.h.

◆ AttributeFilterHasBeenSet()

bool Aws::kendra::Model::QueryRequest::AttributeFilterHasBeenSet ( ) const
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 150 of file QueryRequest.h.

◆ FacetsHasBeenSet()

bool Aws::kendra::Model::QueryRequest::FacetsHasBeenSet ( ) const
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 205 of file QueryRequest.h.

◆ GetAttributeFilter()

const AttributeFilter& Aws::kendra::Model::QueryRequest::GetAttributeFilter ( ) const
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 140 of file QueryRequest.h.

◆ GetFacets()

const Aws::Vector<Facet>& Aws::kendra::Model::QueryRequest::GetFacets ( ) const
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 198 of file QueryRequest.h.

◆ GetIndexId()

const Aws::String& Aws::kendra::Model::QueryRequest::GetIndexId ( ) const
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 46 of file QueryRequest.h.

◆ GetPageNumber()

int Aws::kendra::Model::QueryRequest::GetPageNumber ( ) const
inline

Query results are returned in pages the size of the PageSize parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.

Definition at line 356 of file QueryRequest.h.

◆ GetPageSize()

int Aws::kendra::Model::QueryRequest::GetPageSize ( ) const
inline

Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.

Definition at line 385 of file QueryRequest.h.

◆ GetQueryResultTypeFilter()

const QueryResultType& Aws::kendra::Model::QueryRequest::GetQueryResultTypeFilter ( ) const
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 318 of file QueryRequest.h.

◆ GetQueryText()

const Aws::String& Aws::kendra::Model::QueryRequest::GetQueryText ( ) const
inline

The text to search for.

Definition at line 94 of file QueryRequest.h.

◆ GetRequestedDocumentAttributes()

const Aws::Vector<Aws::String>& Aws::kendra::Model::QueryRequest::GetRequestedDocumentAttributes ( ) const
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 255 of file QueryRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::kendra::Model::QueryRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::kendra::KendraRequest.

◆ GetServiceRequestName()

virtual const char* Aws::kendra::Model::QueryRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file QueryRequest.h.

◆ GetSortingConfiguration()

const SortingConfiguration& Aws::kendra::Model::QueryRequest::GetSortingConfiguration ( ) const
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 417 of file QueryRequest.h.

◆ IndexIdHasBeenSet()

bool Aws::kendra::Model::QueryRequest::IndexIdHasBeenSet ( ) const
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 52 of file QueryRequest.h.

◆ PageNumberHasBeenSet()

bool Aws::kendra::Model::QueryRequest::PageNumberHasBeenSet ( ) const
inline

Query results are returned in pages the size of the PageSize parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.

Definition at line 363 of file QueryRequest.h.

◆ PageSizeHasBeenSet()

bool Aws::kendra::Model::QueryRequest::PageSizeHasBeenSet ( ) const
inline

Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.

Definition at line 392 of file QueryRequest.h.

◆ QueryResultTypeFilterHasBeenSet()

bool Aws::kendra::Model::QueryRequest::QueryResultTypeFilterHasBeenSet ( ) const
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 324 of file QueryRequest.h.

◆ QueryTextHasBeenSet()

bool Aws::kendra::Model::QueryRequest::QueryTextHasBeenSet ( ) const
inline

The text to search for.

Definition at line 99 of file QueryRequest.h.

◆ RequestedDocumentAttributesHasBeenSet()

bool Aws::kendra::Model::QueryRequest::RequestedDocumentAttributesHasBeenSet ( ) const
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 262 of file QueryRequest.h.

◆ SerializePayload()

Aws::String Aws::kendra::Model::QueryRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttributeFilter() [1/2]

void Aws::kendra::Model::QueryRequest::SetAttributeFilter ( const AttributeFilter value)
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 160 of file QueryRequest.h.

◆ SetAttributeFilter() [2/2]

void Aws::kendra::Model::QueryRequest::SetAttributeFilter ( AttributeFilter &&  value)
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 170 of file QueryRequest.h.

◆ SetFacets() [1/2]

void Aws::kendra::Model::QueryRequest::SetFacets ( const Aws::Vector< Facet > &  value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 212 of file QueryRequest.h.

◆ SetFacets() [2/2]

void Aws::kendra::Model::QueryRequest::SetFacets ( Aws::Vector< Facet > &&  value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 219 of file QueryRequest.h.

◆ SetIndexId() [1/3]

void Aws::kendra::Model::QueryRequest::SetIndexId ( const Aws::String value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 58 of file QueryRequest.h.

◆ SetIndexId() [2/3]

void Aws::kendra::Model::QueryRequest::SetIndexId ( Aws::String &&  value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 64 of file QueryRequest.h.

◆ SetIndexId() [3/3]

void Aws::kendra::Model::QueryRequest::SetIndexId ( const char *  value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 70 of file QueryRequest.h.

◆ SetPageNumber()

void Aws::kendra::Model::QueryRequest::SetPageNumber ( int  value)
inline

Query results are returned in pages the size of the PageSize parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.

Definition at line 370 of file QueryRequest.h.

◆ SetPageSize()

void Aws::kendra::Model::QueryRequest::SetPageSize ( int  value)
inline

Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.

Definition at line 399 of file QueryRequest.h.

◆ SetQueryResultTypeFilter() [1/2]

void Aws::kendra::Model::QueryRequest::SetQueryResultTypeFilter ( const QueryResultType value)
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 330 of file QueryRequest.h.

◆ SetQueryResultTypeFilter() [2/2]

void Aws::kendra::Model::QueryRequest::SetQueryResultTypeFilter ( QueryResultType &&  value)
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 336 of file QueryRequest.h.

◆ SetQueryText() [1/3]

void Aws::kendra::Model::QueryRequest::SetQueryText ( const Aws::String value)
inline

The text to search for.

Definition at line 104 of file QueryRequest.h.

◆ SetQueryText() [2/3]

void Aws::kendra::Model::QueryRequest::SetQueryText ( Aws::String &&  value)
inline

The text to search for.

Definition at line 109 of file QueryRequest.h.

◆ SetQueryText() [3/3]

void Aws::kendra::Model::QueryRequest::SetQueryText ( const char *  value)
inline

The text to search for.

Definition at line 114 of file QueryRequest.h.

◆ SetRequestedDocumentAttributes() [1/2]

void Aws::kendra::Model::QueryRequest::SetRequestedDocumentAttributes ( const Aws::Vector< Aws::String > &  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 269 of file QueryRequest.h.

◆ SetRequestedDocumentAttributes() [2/2]

void Aws::kendra::Model::QueryRequest::SetRequestedDocumentAttributes ( Aws::Vector< Aws::String > &&  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 276 of file QueryRequest.h.

◆ SetSortingConfiguration() [1/2]

void Aws::kendra::Model::QueryRequest::SetSortingConfiguration ( const SortingConfiguration value)
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 437 of file QueryRequest.h.

◆ SetSortingConfiguration() [2/2]

void Aws::kendra::Model::QueryRequest::SetSortingConfiguration ( SortingConfiguration &&  value)
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 447 of file QueryRequest.h.

◆ SortingConfigurationHasBeenSet()

bool Aws::kendra::Model::QueryRequest::SortingConfigurationHasBeenSet ( ) const
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 427 of file QueryRequest.h.

◆ WithAttributeFilter() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithAttributeFilter ( const AttributeFilter value)
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 180 of file QueryRequest.h.

◆ WithAttributeFilter() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithAttributeFilter ( AttributeFilter &&  value)
inline

Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters, NotFilter, and OrAllFilters parameters contain a list of other filters.

The AttributeFilter parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.

Definition at line 190 of file QueryRequest.h.

◆ WithFacets() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithFacets ( const Aws::Vector< Facet > &  value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 226 of file QueryRequest.h.

◆ WithFacets() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithFacets ( Aws::Vector< Facet > &&  value)
inline

An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.

Definition at line 233 of file QueryRequest.h.

◆ WithIndexId() [1/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithIndexId ( const Aws::String value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 76 of file QueryRequest.h.

◆ WithIndexId() [2/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithIndexId ( Aws::String &&  value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 82 of file QueryRequest.h.

◆ WithIndexId() [3/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithIndexId ( const char *  value)
inline

The unique identifier of the index to search. The identifier is returned in the response from the operation.

Definition at line 88 of file QueryRequest.h.

◆ WithPageNumber()

QueryRequest& Aws::kendra::Model::QueryRequest::WithPageNumber ( int  value)
inline

Query results are returned in pages the size of the PageSize parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.

Definition at line 377 of file QueryRequest.h.

◆ WithPageSize()

QueryRequest& Aws::kendra::Model::QueryRequest::WithPageSize ( int  value)
inline

Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.

Definition at line 406 of file QueryRequest.h.

◆ WithQueryResultTypeFilter() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithQueryResultTypeFilter ( const QueryResultType value)
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 342 of file QueryRequest.h.

◆ WithQueryResultTypeFilter() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithQueryResultTypeFilter ( QueryResultType &&  value)
inline

Sets the type of query. Only results for the specified query type are returned.

Definition at line 348 of file QueryRequest.h.

◆ WithQueryText() [1/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithQueryText ( const Aws::String value)
inline

The text to search for.

Definition at line 119 of file QueryRequest.h.

◆ WithQueryText() [2/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithQueryText ( Aws::String &&  value)
inline

The text to search for.

Definition at line 124 of file QueryRequest.h.

◆ WithQueryText() [3/3]

QueryRequest& Aws::kendra::Model::QueryRequest::WithQueryText ( const char *  value)
inline

The text to search for.

Definition at line 129 of file QueryRequest.h.

◆ WithRequestedDocumentAttributes() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithRequestedDocumentAttributes ( const Aws::Vector< Aws::String > &  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 283 of file QueryRequest.h.

◆ WithRequestedDocumentAttributes() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithRequestedDocumentAttributes ( Aws::Vector< Aws::String > &&  value)
inline

An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.

Definition at line 290 of file QueryRequest.h.

◆ WithSortingConfiguration() [1/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithSortingConfiguration ( const SortingConfiguration value)
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 457 of file QueryRequest.h.

◆ WithSortingConfiguration() [2/2]

QueryRequest& Aws::kendra::Model::QueryRequest::WithSortingConfiguration ( SortingConfiguration &&  value)
inline

Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.

If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.

Definition at line 467 of file QueryRequest.h.


The documentation for this class was generated from the following file: