7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/DynamoDBRequest.h>
11#include <aws/dynamodb/DynamoDB_EXPORTS.h>
12#include <aws/dynamodb/model/AttributeValue.h>
13#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
49 template <
typename TableNameT = Aws::String>
51 m_tableNameHasBeenSet =
true;
52 m_tableName = std::forward<TableNameT>(value);
54 template <
typename TableNameT = Aws::String>
68 template <
typename IndexNameT = Aws::String>
70 m_indexNameHasBeenSet =
true;
71 m_indexName = std::forward<IndexNameT>(value);
73 template <
typename IndexNameT = Aws::String>
85 m_returnConsumedCapacityHasBeenSet =
true;
86 m_returnConsumedCapacity = value;
101 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
103 m_expressionAttributeNamesHasBeenSet =
true;
104 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
106 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
111 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
113 m_expressionAttributeNamesHasBeenSet =
true;
114 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
115 std::forward<ExpressionAttributeNamesValueT>(value));
127 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
129 m_expressionAttributeValuesHasBeenSet =
true;
130 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
132 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
137 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
139 m_expressionAttributeValuesHasBeenSet =
true;
140 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
141 std::forward<ExpressionAttributeValuesValueT>(value));
155 template <
typename ProjectionExpressionT = Aws::String>
157 m_projectionExpressionHasBeenSet =
true;
158 m_projectionExpression = std::forward<ProjectionExpressionT>(value);
160 template <
typename ProjectionExpressionT = Aws::String>
176 template <
typename SearchVectorT = Aws::Vector<AttributeValue>>
178 m_searchVectorHasBeenSet =
true;
179 m_searchVector = std::forward<SearchVectorT>(value);
181 template <
typename SearchVectorT = Aws::Vector<AttributeValue>>
186 template <
typename SearchVectorT = AttributeValue>
188 m_searchVectorHasBeenSet =
true;
189 m_searchVector.emplace_back(std::forward<SearchVectorT>(value));
206 template <
typename SearchConditionExpressionT = Aws::String>
208 m_searchConditionExpressionHasBeenSet =
true;
209 m_searchConditionExpression = std::forward<SearchConditionExpressionT>(value);
211 template <
typename SearchConditionExpressionT = Aws::String>
225 m_topKHasBeenSet =
true;
251 bool m_tableNameHasBeenSet =
false;
252 bool m_indexNameHasBeenSet =
false;
253 bool m_returnConsumedCapacityHasBeenSet =
false;
254 bool m_expressionAttributeNamesHasBeenSet =
false;
255 bool m_expressionAttributeValuesHasBeenSet =
false;
256 bool m_projectionExpressionHasBeenSet =
false;
257 bool m_searchVectorHasBeenSet =
false;
258 bool m_searchConditionExpressionHasBeenSet =
false;
259 bool m_topKHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
SearchVectorsRequest & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity value)
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
AWS_DYNAMODB_API SearchVectorsRequest()=default
bool ReturnConsumedCapacityHasBeenSet() const
SearchVectorsRequest & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
ReturnConsumedCapacity GetReturnConsumedCapacity() const
SearchVectorsRequest & WithSearchConditionExpression(SearchConditionExpressionT &&value)
const Aws::Vector< AttributeValue > & GetSearchVector() const
bool SearchConditionExpressionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTableName(TableNameT &&value)
void SetProjectionExpression(ProjectionExpressionT &&value)
SearchVectorsRequest & WithSearchVector(SearchVectorT &&value)
SearchVectorsRequest & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
const Aws::String & GetProjectionExpression() const
const Aws::String & GetIndexName() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
bool IndexNameHasBeenSet() const
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
SearchVectorsRequest & WithIndexName(IndexNameT &&value)
void SetSearchConditionExpression(SearchConditionExpressionT &&value)
bool ExpressionAttributeValuesHasBeenSet() const
const Aws::String & GetTableName() const
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
SearchVectorsRequest & WithTableName(TableNameT &&value)
const Aws::String & GetSearchConditionExpression() const
void SetIndexName(IndexNameT &&value)
SearchVectorsRequest & WithProjectionExpression(ProjectionExpressionT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
bool ProjectionExpressionHasBeenSet() const
bool TopKHasBeenSet() const
SearchVectorsRequest & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetSearchVector(SearchVectorT &&value)
SearchVectorsRequest & AddSearchVector(SearchVectorT &&value)
bool SearchVectorHasBeenSet() const
SearchVectorsRequest & WithTopK(int value)
SearchVectorsRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity value)
bool ExpressionAttributeNamesHasBeenSet() const
bool TableNameHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector