7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/Select.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/dynamodb/model/ConditionalOperator.h>
14#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
15#include <aws/dynamodb/model/Condition.h>
16#include <aws/dynamodb/model/AttributeValue.h>
57 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
74 inline void SetIndexName(
const char* value) { m_indexNameHasBeenSet =
true; m_indexName.assign(value); }
123 inline void SetSelect(
const Select& value) { m_selectHasBeenSet =
true; m_select = value; }
124 inline void SetSelect(
Select&& value) { m_selectHasBeenSet =
true; m_select = std::move(value); }
163 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
178 inline void SetConsistentRead(
bool value) { m_consistentReadHasBeenSet =
true; m_consistentRead = value; }
256 inline void SetScanIndexForward(
bool value) { m_scanIndexForwardHasBeenSet =
true; m_scanIndexForward = value; }
306 inline void SetProjectionExpression(
const char* value) { m_projectionExpressionHasBeenSet =
true; m_projectionExpression.assign(value); }
329 inline void SetFilterExpression(
const char* value) { m_filterExpressionHasBeenSet =
true; m_filterExpression.assign(value); }
396 inline void SetKeyConditionExpression(
const char* value) { m_keyConditionExpressionHasBeenSet =
true; m_keyConditionExpression.assign(value); }
475 bool m_tableNameHasBeenSet =
false;
478 bool m_indexNameHasBeenSet =
false;
481 bool m_selectHasBeenSet =
false;
484 bool m_attributesToGetHasBeenSet =
false;
487 bool m_limitHasBeenSet =
false;
489 bool m_consistentRead;
490 bool m_consistentReadHasBeenSet =
false;
493 bool m_keyConditionsHasBeenSet =
false;
496 bool m_queryFilterHasBeenSet =
false;
499 bool m_conditionalOperatorHasBeenSet =
false;
501 bool m_scanIndexForward;
502 bool m_scanIndexForwardHasBeenSet =
false;
505 bool m_exclusiveStartKeyHasBeenSet =
false;
508 bool m_returnConsumedCapacityHasBeenSet =
false;
511 bool m_projectionExpressionHasBeenSet =
false;
514 bool m_filterExpressionHasBeenSet =
false;
517 bool m_keyConditionExpressionHasBeenSet =
false;
520 bool m_expressionAttributeNamesHasBeenSet =
false;
523 bool m_expressionAttributeValuesHasBeenSet =
false;
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
void SetIndexName(const char *value)
QueryRequest & WithLimit(int value)
const ConditionalOperator & GetConditionalOperator() const
QueryRequest & WithFilterExpression(const Aws::String &value)
const Aws::String & GetKeyConditionExpression() const
bool GetScanIndexForward() const
void SetExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & WithSelect(const Select &value)
bool KeyConditionExpressionHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
QueryRequest & AddQueryFilter(Aws::String &&key, const Condition &value)
QueryRequest & WithScanIndexForward(bool value)
QueryRequest & AddKeyConditions(const char *key, const Condition &value)
QueryRequest & AddKeyConditions(Aws::String &&key, Condition &&value)
void SetExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
QueryRequest & WithProjectionExpression(const Aws::String &value)
QueryRequest & WithExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & WithKeyConditionExpression(const Aws::String &value)
QueryRequest & WithQueryFilter(Aws::Map< Aws::String, Condition > &&value)
bool TableNameHasBeenSet() const
QueryRequest & WithAttributesToGet(const Aws::Vector< Aws::String > &value)
bool GetConsistentRead() const
void SetConsistentRead(bool value)
void SetScanIndexForward(bool value)
QueryRequest & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
void SetKeyConditions(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & WithTableName(Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
bool QueryFilterHasBeenSet() const
bool ExpressionAttributeValuesHasBeenSet() const
void SetTableName(Aws::String &&value)
QueryRequest & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
QueryRequest & AddExpressionAttributeNames(const char *key, const char *value)
void SetSelect(const Select &value)
QueryRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
QueryRequest & WithAttributesToGet(Aws::Vector< Aws::String > &&value)
void SetKeyConditionExpression(const Aws::String &value)
void SetKeyConditions(Aws::Map< Aws::String, Condition > &&value)
QueryRequest & AddExclusiveStartKey(Aws::String &&key, const AttributeValue &value)
void SetKeyConditionExpression(Aws::String &&value)
QueryRequest & WithKeyConditionExpression(const char *value)
QueryRequest & WithProjectionExpression(const char *value)
QueryRequest & AddAttributesToGet(Aws::String &&value)
void SetSelect(Select &&value)
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
void SetQueryFilter(Aws::Map< Aws::String, Condition > &&value)
void SetQueryFilter(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & WithConditionalOperator(const ConditionalOperator &value)
QueryRequest & WithKeyConditions(Aws::Map< Aws::String, Condition > &&value)
QueryRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
const Select & GetSelect() const
QueryRequest & WithQueryFilter(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & WithConditionalOperator(ConditionalOperator &&value)
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
QueryRequest & AddExclusiveStartKey(const char *key, AttributeValue &&value)
QueryRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
virtual const char * GetServiceRequestName() const override
QueryRequest & WithIndexName(const char *value)
QueryRequest & WithExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
bool LimitHasBeenSet() const
QueryRequest & WithFilterExpression(const char *value)
QueryRequest & AddKeyConditions(const Aws::String &key, const Condition &value)
void SetProjectionExpression(const char *value)
QueryRequest & WithIndexName(const Aws::String &value)
void SetKeyConditionExpression(const char *value)
void SetConditionalOperator(ConditionalOperator &&value)
void SetConditionalOperator(const ConditionalOperator &value)
bool ConditionalOperatorHasBeenSet() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetFilterExpression(const char *value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
QueryRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
bool FilterExpressionHasBeenSet() const
QueryRequest & WithIndexName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, const char *value)
void SetFilterExpression(const Aws::String &value)
QueryRequest & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
bool ProjectionExpressionHasBeenSet() const
void SetTableName(const char *value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
QueryRequest & WithConsistentRead(bool value)
bool ConsistentReadHasBeenSet() const
AWS_DYNAMODB_API QueryRequest()
QueryRequest & AddAttributesToGet(const char *value)
void SetProjectionExpression(const Aws::String &value)
QueryRequest & AddAttributesToGet(const Aws::String &value)
void SetIndexName(const Aws::String &value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
void SetTableName(const Aws::String &value)
QueryRequest & AddKeyConditions(const char *key, Condition &&value)
QueryRequest & WithTableName(const char *value)
QueryRequest & WithSelect(Select &&value)
QueryRequest & AddExclusiveStartKey(Aws::String &&key, AttributeValue &&value)
bool SelectHasBeenSet() const
QueryRequest & WithKeyConditionExpression(Aws::String &&value)
bool ScanIndexForwardHasBeenSet() const
void SetAttributesToGet(const Aws::Vector< Aws::String > &value)
QueryRequest & AddQueryFilter(const Aws::String &key, Condition &&value)
QueryRequest & AddKeyConditions(const Aws::String &key, Condition &&value)
bool AttributesToGetHasBeenSet() const
bool ExclusiveStartKeyHasBeenSet() const
const Aws::String & GetProjectionExpression() const
QueryRequest & AddQueryFilter(Aws::String &&key, Condition &&value)
void SetProjectionExpression(Aws::String &&value)
const Aws::Vector< Aws::String > & GetAttributesToGet() const
const Aws::String & GetFilterExpression() const
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
void SetIndexName(Aws::String &&value)
QueryRequest & AddExclusiveStartKey(const Aws::String &key, const AttributeValue &value)
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
QueryRequest & WithKeyConditions(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
QueryRequest & AddQueryFilter(const char *key, const Condition &value)
const Aws::Map< Aws::String, Condition > & GetKeyConditions() const
const Aws::String & GetIndexName() const
QueryRequest & AddKeyConditions(Aws::String &&key, const Condition &value)
const Aws::String & GetTableName() const
void SetFilterExpression(Aws::String &&value)
QueryRequest & AddQueryFilter(const char *key, Condition &&value)
bool ReturnConsumedCapacityHasBeenSet() const
bool ExpressionAttributeNamesHasBeenSet() const
const Aws::Map< Aws::String, Condition > & GetQueryFilter() const
QueryRequest & AddExpressionAttributeNames(const char *key, Aws::String &&value)
bool KeyConditionsHasBeenSet() const
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
QueryRequest & AddExclusiveStartKey(const char *key, const AttributeValue &value)
QueryRequest & WithFilterExpression(Aws::String &&value)
bool IndexNameHasBeenSet() const
void SetAttributesToGet(Aws::Vector< Aws::String > &&value)
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
QueryRequest & WithTableName(const Aws::String &value)
QueryRequest & AddExclusiveStartKey(const Aws::String &key, AttributeValue &&value)
QueryRequest & AddQueryFilter(const Aws::String &key, const Condition &value)
QueryRequest & WithProjectionExpression(Aws::String &&value)
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