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/Condition.h>
14#include <aws/dynamodb/model/ConditionalOperator.h>
15#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
16#include <aws/dynamodb/model/Select.h>
56 template <
typename TableNameT = Aws::String>
58 m_tableNameHasBeenSet =
true;
59 m_tableName = std::forward<TableNameT>(value);
61 template <
typename TableNameT = Aws::String>
77 template <
typename IndexNameT = Aws::String>
79 m_indexNameHasBeenSet =
true;
80 m_indexName = std::forward<IndexNameT>(value);
82 template <
typename IndexNameT = Aws::String>
133 m_selectHasBeenSet =
true;
151 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
153 m_attributesToGetHasBeenSet =
true;
154 m_attributesToGet = std::forward<AttributesToGetT>(value);
156 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
161 template <
typename AttributesToGetT = Aws::String>
163 m_attributesToGetHasBeenSet =
true;
164 m_attributesToGet.emplace_back(std::forward<AttributesToGetT>(value));
186 m_limitHasBeenSet =
true;
207 m_consistentReadHasBeenSet =
true;
208 m_consistentRead = value;
225 template <
typename KeyConditionsT = Aws::Map<Aws::String, Condition>>
227 m_keyConditionsHasBeenSet =
true;
228 m_keyConditions = std::forward<KeyConditionsT>(value);
230 template <
typename KeyConditionsT = Aws::Map<Aws::String, Condition>>
235 template <
typename KeyConditionsKeyT = Aws::String,
typename KeyConditionsValueT = Condition>
237 m_keyConditionsHasBeenSet =
true;
238 m_keyConditions.emplace(std::forward<KeyConditionsKeyT>(key), std::forward<KeyConditionsValueT>(value));
252 template <
typename QueryFilterT = Aws::Map<Aws::String, Condition>>
254 m_queryFilterHasBeenSet =
true;
255 m_queryFilter = std::forward<QueryFilterT>(value);
257 template <
typename QueryFilterT = Aws::Map<Aws::String, Condition>>
262 template <
typename QueryFilterKeyT = Aws::String,
typename QueryFilterValueT = Condition>
264 m_queryFilterHasBeenSet =
true;
265 m_queryFilter.emplace(std::forward<QueryFilterKeyT>(key), std::forward<QueryFilterValueT>(value));
280 m_conditionalOperatorHasBeenSet =
true;
281 m_conditionalOperator = value;
307 m_scanIndexForwardHasBeenSet =
true;
308 m_scanIndexForward = value;
325 template <
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
327 m_exclusiveStartKeyHasBeenSet =
true;
328 m_exclusiveStartKey = std::forward<ExclusiveStartKeyT>(value);
330 template <
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
335 template <
typename ExclusiveStartKeyKeyT = Aws::String,
typename ExclusiveStartKeyValueT = AttributeValue>
337 m_exclusiveStartKeyHasBeenSet =
true;
338 m_exclusiveStartKey.emplace(std::forward<ExclusiveStartKeyKeyT>(key), std::forward<ExclusiveStartKeyValueT>(value));
348 m_returnConsumedCapacityHasBeenSet =
true;
349 m_returnConsumedCapacity = value;
370 template <
typename ProjectionExpressionT = Aws::String>
372 m_projectionExpressionHasBeenSet =
true;
373 m_projectionExpression = std::forward<ProjectionExpressionT>(value);
375 template <
typename ProjectionExpressionT = Aws::String>
397 template <
typename FilterExpressionT = Aws::String>
399 m_filterExpressionHasBeenSet =
true;
400 m_filterExpression = std::forward<FilterExpressionT>(value);
402 template <
typename FilterExpressionT = Aws::String>
468 template <
typename KeyConditionExpressionT = Aws::String>
470 m_keyConditionExpressionHasBeenSet =
true;
471 m_keyConditionExpression = std::forward<KeyConditionExpressionT>(value);
473 template <
typename KeyConditionExpressionT = Aws::String>
508 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
510 m_expressionAttributeNamesHasBeenSet =
true;
511 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
513 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
518 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
520 m_expressionAttributeNamesHasBeenSet =
true;
521 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
522 std::forward<ExpressionAttributeNamesValueT>(value));
545 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
547 m_expressionAttributeValuesHasBeenSet =
true;
548 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
550 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
555 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
557 m_expressionAttributeValuesHasBeenSet =
true;
558 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
559 std::forward<ExpressionAttributeValuesValueT>(value));
574 bool m_consistentRead{
false};
582 bool m_scanIndexForward{
false};
597 bool m_tableNameHasBeenSet =
false;
598 bool m_indexNameHasBeenSet =
false;
599 bool m_selectHasBeenSet =
false;
600 bool m_attributesToGetHasBeenSet =
false;
601 bool m_limitHasBeenSet =
false;
602 bool m_consistentReadHasBeenSet =
false;
603 bool m_keyConditionsHasBeenSet =
false;
604 bool m_queryFilterHasBeenSet =
false;
605 bool m_conditionalOperatorHasBeenSet =
false;
606 bool m_scanIndexForwardHasBeenSet =
false;
607 bool m_exclusiveStartKeyHasBeenSet =
false;
608 bool m_returnConsumedCapacityHasBeenSet =
false;
609 bool m_projectionExpressionHasBeenSet =
false;
610 bool m_filterExpressionHasBeenSet =
false;
611 bool m_keyConditionExpressionHasBeenSet =
false;
612 bool m_expressionAttributeNamesHasBeenSet =
false;
613 bool m_expressionAttributeValuesHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
void SetKeyConditionExpression(KeyConditionExpressionT &&value)
ConditionalOperator GetConditionalOperator() const
QueryRequest & WithLimit(int value)
const Aws::String & GetKeyConditionExpression() const
bool GetScanIndexForward() const
bool KeyConditionExpressionHasBeenSet() const
QueryRequest & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
QueryRequest & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
QueryRequest & WithFilterExpression(FilterExpressionT &&value)
QueryRequest & WithScanIndexForward(bool value)
void SetAttributesToGet(AttributesToGetT &&value)
bool TableNameHasBeenSet() const
bool GetConsistentRead() const
void SetConsistentRead(bool value)
QueryRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity value)
void SetScanIndexForward(bool value)
QueryRequest & WithExclusiveStartKey(ExclusiveStartKeyT &&value)
void SetConditionalOperator(ConditionalOperator value)
void SetTableName(TableNameT &&value)
void SetQueryFilter(QueryFilterT &&value)
bool QueryFilterHasBeenSet() const
QueryRequest & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
bool ExpressionAttributeValuesHasBeenSet() const
QueryRequest & WithQueryFilter(QueryFilterT &&value)
void SetKeyConditions(KeyConditionsT &&value)
void SetExclusiveStartKey(ExclusiveStartKeyT &&value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity value)
QueryRequest & AddAttributesToGet(AttributesToGetT &&value)
QueryRequest & AddQueryFilter(QueryFilterKeyT &&key, QueryFilterValueT &&value)
QueryRequest & WithAttributesToGet(AttributesToGetT &&value)
QueryRequest & WithSelect(Select value)
virtual const char * GetServiceRequestName() const override
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
bool LimitHasBeenSet() const
QueryRequest & WithProjectionExpression(ProjectionExpressionT &&value)
QueryRequest & WithTableName(TableNameT &&value)
QueryRequest & WithKeyConditionExpression(KeyConditionExpressionT &&value)
QueryRequest & AddKeyConditions(KeyConditionsKeyT &&key, KeyConditionsValueT &&value)
bool ConditionalOperatorHasBeenSet() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetIndexName(IndexNameT &&value)
bool FilterExpressionHasBeenSet() const
QueryRequest & AddExclusiveStartKey(ExclusiveStartKeyKeyT &&key, ExclusiveStartKeyValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
bool ProjectionExpressionHasBeenSet() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
QueryRequest & WithConsistentRead(bool value)
QueryRequest & WithKeyConditions(KeyConditionsT &&value)
bool ConsistentReadHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
bool SelectHasBeenSet() const
bool ScanIndexForwardHasBeenSet() const
bool AttributesToGetHasBeenSet() const
bool ExclusiveStartKeyHasBeenSet() const
const Aws::String & GetProjectionExpression() const
QueryRequest & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
const Aws::Vector< Aws::String > & GetAttributesToGet() const
const Aws::String & GetFilterExpression() const
QueryRequest & WithConditionalOperator(ConditionalOperator value)
ReturnConsumedCapacity GetReturnConsumedCapacity() const
void SetSelect(Select value)
QueryRequest & WithIndexName(IndexNameT &&value)
const Aws::Map< Aws::String, Condition > & GetKeyConditions() const
const Aws::String & GetIndexName() const
const Aws::String & GetTableName() const
bool ReturnConsumedCapacityHasBeenSet() const
bool ExpressionAttributeNamesHasBeenSet() const
const Aws::Map< Aws::String, Condition > & GetQueryFilter() const
void SetProjectionExpression(ProjectionExpressionT &&value)
bool KeyConditionsHasBeenSet() const
bool IndexNameHasBeenSet() const
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
void SetFilterExpression(FilterExpressionT &&value)
AWS_DYNAMODB_API QueryRequest()=default
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