AWS SDK for C++
1.8.183
AWS SDK for C++
|
#include <SortingConfiguration.h>
Public Member Functions | |
SortingConfiguration () | |
SortingConfiguration (Aws::Utils::Json::JsonView jsonValue) | |
SortingConfiguration & | operator= (Aws::Utils::Json::JsonView jsonValue) |
Aws::Utils::Json::JsonValue | Jsonize () const |
const Aws::String & | GetDocumentAttributeKey () const |
bool | DocumentAttributeKeyHasBeenSet () const |
void | SetDocumentAttributeKey (const Aws::String &value) |
void | SetDocumentAttributeKey (Aws::String &&value) |
void | SetDocumentAttributeKey (const char *value) |
SortingConfiguration & | WithDocumentAttributeKey (const Aws::String &value) |
SortingConfiguration & | WithDocumentAttributeKey (Aws::String &&value) |
SortingConfiguration & | WithDocumentAttributeKey (const char *value) |
const SortOrder & | GetSortOrder () const |
bool | SortOrderHasBeenSet () const |
void | SetSortOrder (const SortOrder &value) |
void | SetSortOrder (SortOrder &&value) |
SortingConfiguration & | WithSortOrder (const SortOrder &value) |
SortingConfiguration & | WithSortOrder (SortOrder &&value) |
Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the Sortable
flag set to true
, otherwise Amazon Kendra returns an exception.
You can sort attributes of the following types.
Date value
Long value
String value
You can't sort attributes of the following type.
String list value
Definition at line 39 of file SortingConfiguration.h.
Aws::kendra::Model::SortingConfiguration::SortingConfiguration | ( | ) |
Aws::kendra::Model::SortingConfiguration::SortingConfiguration | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 64 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 55 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 126 of file SortingConfiguration.h.
Aws::Utils::Json::JsonValue Aws::kendra::Model::SortingConfiguration::Jsonize | ( | ) | const |
SortingConfiguration& Aws::kendra::Model::SortingConfiguration::operator= | ( | Aws::Utils::Json::JsonView | jsonValue | ) |
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 82 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 73 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 91 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 140 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 147 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 133 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 109 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 100 of file SortingConfiguration.h.
|
inline |
The name of the document attribute used to sort the response. You can use any field that has the Sortable
flag set to true.
You can also sort by any of the following built-in attributes:
_category
_created_at
_last_updated_at
_version
_view_count
Definition at line 118 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 154 of file SortingConfiguration.h.
|
inline |
The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.
Definition at line 161 of file SortingConfiguration.h.