AWS SDK for C++  0.12.9
AWS SDK for C++
QueryRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
26 
27 namespace Aws
28 {
29 namespace DynamoDB
30 {
31 namespace Model
32 {
33 
38  {
39  public:
40  QueryRequest();
41  Aws::String SerializePayload() const override;
42 
43  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
44 
48  inline const Aws::String& GetTableName() const{ return m_tableName; }
49 
53  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
54 
58  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
59 
63  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
64 
68  inline QueryRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
69 
73  inline QueryRequest& WithTableName(Aws::String&& value) { SetTableName(value); return *this;}
74 
78  inline QueryRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
79 
85  inline const Aws::String& GetIndexName() const{ return m_indexName; }
86 
92  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
93 
99  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
100 
106  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
107 
113  inline QueryRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
114 
120  inline QueryRequest& WithIndexName(Aws::String&& value) { SetIndexName(value); return *this;}
121 
127  inline QueryRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
128 
166  inline const Select& GetSelect() const{ return m_select; }
167 
205  inline void SetSelect(const Select& value) { m_selectHasBeenSet = true; m_select = value; }
206 
244  inline void SetSelect(Select&& value) { m_selectHasBeenSet = true; m_select = value; }
245 
283  inline QueryRequest& WithSelect(const Select& value) { SetSelect(value); return *this;}
284 
322  inline QueryRequest& WithSelect(Select&& value) { SetSelect(value); return *this;}
323 
349  inline const Aws::Vector<Aws::String>& GetAttributesToGet() const{ return m_attributesToGet; }
350 
376  inline void SetAttributesToGet(const Aws::Vector<Aws::String>& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = value; }
377 
403  inline void SetAttributesToGet(Aws::Vector<Aws::String>&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = value; }
404 
430  inline QueryRequest& WithAttributesToGet(const Aws::Vector<Aws::String>& value) { SetAttributesToGet(value); return *this;}
431 
457  inline QueryRequest& WithAttributesToGet(Aws::Vector<Aws::String>&& value) { SetAttributesToGet(value); return *this;}
458 
484  inline QueryRequest& AddAttributesToGet(const Aws::String& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
485 
511  inline QueryRequest& AddAttributesToGet(Aws::String&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
512 
538  inline QueryRequest& AddAttributesToGet(const char* value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
539 
553  inline long GetLimit() const{ return m_limit; }
554 
568  inline void SetLimit(long value) { m_limitHasBeenSet = true; m_limit = value; }
569 
583  inline QueryRequest& WithLimit(long value) { SetLimit(value); return *this;}
584 
593  inline bool GetConsistentRead() const{ return m_consistentRead; }
594 
603  inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
604 
613  inline QueryRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
614 
697  inline const Aws::Map<Aws::String, Condition>& GetKeyConditions() const{ return m_keyConditions; }
698 
781  inline void SetKeyConditions(const Aws::Map<Aws::String, Condition>& value) { m_keyConditionsHasBeenSet = true; m_keyConditions = value; }
782 
865  inline void SetKeyConditions(Aws::Map<Aws::String, Condition>&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions = value; }
866 
949  inline QueryRequest& WithKeyConditions(const Aws::Map<Aws::String, Condition>& value) { SetKeyConditions(value); return *this;}
950 
1033  inline QueryRequest& WithKeyConditions(Aws::Map<Aws::String, Condition>&& value) { SetKeyConditions(value); return *this;}
1034 
1117  inline QueryRequest& AddKeyConditions(const Aws::String& key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1118 
1201  inline QueryRequest& AddKeyConditions(Aws::String&& key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1202 
1285  inline QueryRequest& AddKeyConditions(const Aws::String& key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1286 
1369  inline QueryRequest& AddKeyConditions(Aws::String&& key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1370 
1453  inline QueryRequest& AddKeyConditions(const char* key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1454 
1537  inline QueryRequest& AddKeyConditions(const char* key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions[key] = value; return *this; }
1538 
1577  inline const Aws::Map<Aws::String, Condition>& GetQueryFilter() const{ return m_queryFilter; }
1578 
1617  inline void SetQueryFilter(const Aws::Map<Aws::String, Condition>& value) { m_queryFilterHasBeenSet = true; m_queryFilter = value; }
1618 
1657  inline void SetQueryFilter(Aws::Map<Aws::String, Condition>&& value) { m_queryFilterHasBeenSet = true; m_queryFilter = value; }
1658 
1697  inline QueryRequest& WithQueryFilter(const Aws::Map<Aws::String, Condition>& value) { SetQueryFilter(value); return *this;}
1698 
1737  inline QueryRequest& WithQueryFilter(Aws::Map<Aws::String, Condition>&& value) { SetQueryFilter(value); return *this;}
1738 
1777  inline QueryRequest& AddQueryFilter(const Aws::String& key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1778 
1817  inline QueryRequest& AddQueryFilter(Aws::String&& key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1818 
1857  inline QueryRequest& AddQueryFilter(const Aws::String& key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1858 
1897  inline QueryRequest& AddQueryFilter(Aws::String&& key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1898 
1937  inline QueryRequest& AddQueryFilter(const char* key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1938 
1977  inline QueryRequest& AddQueryFilter(const char* key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter[key] = value; return *this; }
1978 
1993  inline const ConditionalOperator& GetConditionalOperator() const{ return m_conditionalOperator; }
1994 
2009  inline void SetConditionalOperator(const ConditionalOperator& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = value; }
2010 
2025  inline void SetConditionalOperator(ConditionalOperator&& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = value; }
2026 
2041  inline QueryRequest& WithConditionalOperator(const ConditionalOperator& value) { SetConditionalOperator(value); return *this;}
2042 
2057  inline QueryRequest& WithConditionalOperator(ConditionalOperator&& value) { SetConditionalOperator(value); return *this;}
2058 
2073  inline bool GetScanIndexForward() const{ return m_scanIndexForward; }
2074 
2089  inline void SetScanIndexForward(bool value) { m_scanIndexForwardHasBeenSet = true; m_scanIndexForward = value; }
2090 
2105  inline QueryRequest& WithScanIndexForward(bool value) { SetScanIndexForward(value); return *this;}
2106 
2113  inline const Aws::Map<Aws::String, AttributeValue>& GetExclusiveStartKey() const{ return m_exclusiveStartKey; }
2114 
2121  inline void SetExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = value; }
2122 
2129  inline void SetExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = value; }
2130 
2137  inline QueryRequest& WithExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { SetExclusiveStartKey(value); return *this;}
2138 
2145  inline QueryRequest& WithExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { SetExclusiveStartKey(value); return *this;}
2146 
2153  inline QueryRequest& AddExclusiveStartKey(const Aws::String& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2154 
2161  inline QueryRequest& AddExclusiveStartKey(Aws::String&& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2162 
2169  inline QueryRequest& AddExclusiveStartKey(const Aws::String& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2170 
2177  inline QueryRequest& AddExclusiveStartKey(Aws::String&& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2178 
2185  inline QueryRequest& AddExclusiveStartKey(const char* key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2186 
2193  inline QueryRequest& AddExclusiveStartKey(const char* key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey[key] = value; return *this; }
2194 
2195 
2196  inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
2197 
2198 
2199  inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
2200 
2201 
2202  inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
2203 
2204 
2205  inline QueryRequest& WithReturnConsumedCapacity(const ReturnConsumedCapacity& value) { SetReturnConsumedCapacity(value); return *this;}
2206 
2207 
2208  inline QueryRequest& WithReturnConsumedCapacity(ReturnConsumedCapacity&& value) { SetReturnConsumedCapacity(value); return *this;}
2209 
2222  inline const Aws::String& GetProjectionExpression() const{ return m_projectionExpression; }
2223 
2236  inline void SetProjectionExpression(const Aws::String& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = value; }
2237 
2250  inline void SetProjectionExpression(Aws::String&& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = value; }
2251 
2264  inline void SetProjectionExpression(const char* value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression.assign(value); }
2265 
2278  inline QueryRequest& WithProjectionExpression(const Aws::String& value) { SetProjectionExpression(value); return *this;}
2279 
2292  inline QueryRequest& WithProjectionExpression(Aws::String&& value) { SetProjectionExpression(value); return *this;}
2293 
2306  inline QueryRequest& WithProjectionExpression(const char* value) { SetProjectionExpression(value); return *this;}
2307 
2320  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
2321 
2334  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
2335 
2348  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
2349 
2362  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
2363 
2376  inline QueryRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
2377 
2390  inline QueryRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(value); return *this;}
2391 
2404  inline QueryRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
2405 
2461  inline const Aws::String& GetKeyConditionExpression() const{ return m_keyConditionExpression; }
2462 
2518  inline void SetKeyConditionExpression(const Aws::String& value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression = value; }
2519 
2575  inline void SetKeyConditionExpression(Aws::String&& value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression = value; }
2576 
2632  inline void SetKeyConditionExpression(const char* value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression.assign(value); }
2633 
2689  inline QueryRequest& WithKeyConditionExpression(const Aws::String& value) { SetKeyConditionExpression(value); return *this;}
2690 
2746  inline QueryRequest& WithKeyConditionExpression(Aws::String&& value) { SetKeyConditionExpression(value); return *this;}
2747 
2803  inline QueryRequest& WithKeyConditionExpression(const char* value) { SetKeyConditionExpression(value); return *this;}
2804 
2829  inline const Aws::Map<Aws::String, Aws::String>& GetExpressionAttributeNames() const{ return m_expressionAttributeNames; }
2830 
2855  inline void SetExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = value; }
2856 
2881  inline void SetExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = value; }
2882 
2907  inline QueryRequest& WithExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { SetExpressionAttributeNames(value); return *this;}
2908 
2933  inline QueryRequest& WithExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { SetExpressionAttributeNames(value); return *this;}
2934 
2959  inline QueryRequest& AddExpressionAttributeNames(const Aws::String& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
2960 
2985  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
2986 
3011  inline QueryRequest& AddExpressionAttributeNames(const Aws::String& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
3012 
3037  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
3038 
3063  inline QueryRequest& AddExpressionAttributeNames(const char* key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
3064 
3089  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
3090 
3115  inline QueryRequest& AddExpressionAttributeNames(const char* key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames[key] = value; return *this; }
3116 
3132  inline const Aws::Map<Aws::String, AttributeValue>& GetExpressionAttributeValues() const{ return m_expressionAttributeValues; }
3133 
3149  inline void SetExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = value; }
3150 
3166  inline void SetExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = value; }
3167 
3183  inline QueryRequest& WithExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { SetExpressionAttributeValues(value); return *this;}
3184 
3200  inline QueryRequest& WithExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { SetExpressionAttributeValues(value); return *this;}
3201 
3217  inline QueryRequest& AddExpressionAttributeValues(const Aws::String& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3218 
3234  inline QueryRequest& AddExpressionAttributeValues(Aws::String&& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3235 
3251  inline QueryRequest& AddExpressionAttributeValues(const Aws::String& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3252 
3268  inline QueryRequest& AddExpressionAttributeValues(Aws::String&& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3269 
3285  inline QueryRequest& AddExpressionAttributeValues(const char* key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3286 
3302  inline QueryRequest& AddExpressionAttributeValues(const char* key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues[key] = value; return *this; }
3303 
3304  private:
3305  Aws::String m_tableName;
3306  bool m_tableNameHasBeenSet;
3307  Aws::String m_indexName;
3308  bool m_indexNameHasBeenSet;
3309  Select m_select;
3310  bool m_selectHasBeenSet;
3311  Aws::Vector<Aws::String> m_attributesToGet;
3312  bool m_attributesToGetHasBeenSet;
3313  long m_limit;
3314  bool m_limitHasBeenSet;
3315  bool m_consistentRead;
3316  bool m_consistentReadHasBeenSet;
3317  Aws::Map<Aws::String, Condition> m_keyConditions;
3318  bool m_keyConditionsHasBeenSet;
3319  Aws::Map<Aws::String, Condition> m_queryFilter;
3320  bool m_queryFilterHasBeenSet;
3321  ConditionalOperator m_conditionalOperator;
3322  bool m_conditionalOperatorHasBeenSet;
3323  bool m_scanIndexForward;
3324  bool m_scanIndexForwardHasBeenSet;
3325  Aws::Map<Aws::String, AttributeValue> m_exclusiveStartKey;
3326  bool m_exclusiveStartKeyHasBeenSet;
3327  ReturnConsumedCapacity m_returnConsumedCapacity;
3328  bool m_returnConsumedCapacityHasBeenSet;
3329  Aws::String m_projectionExpression;
3330  bool m_projectionExpressionHasBeenSet;
3331  Aws::String m_filterExpression;
3332  bool m_filterExpressionHasBeenSet;
3333  Aws::String m_keyConditionExpression;
3334  bool m_keyConditionExpressionHasBeenSet;
3335  Aws::Map<Aws::String, Aws::String> m_expressionAttributeNames;
3336  bool m_expressionAttributeNamesHasBeenSet;
3337  Aws::Map<Aws::String, AttributeValue> m_expressionAttributeValues;
3338  bool m_expressionAttributeValuesHasBeenSet;
3339  };
3340 
3341 } // namespace Model
3342 } // namespace DynamoDB
3343 } // namespace Aws
QueryRequest & WithProjectionExpression(const Aws::String &value)
QueryRequest & WithExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
void SetConditionalOperator(ConditionalOperator &&value)
QueryRequest & AddExclusiveStartKey(Aws::String &&key, AttributeValue &&value)
const Aws::String & GetFilterExpression() const
const Aws::String & GetKeyConditionExpression() const
void SetIndexName(Aws::String &&value)
Definition: QueryRequest.h:99
QueryRequest & WithFilterExpression(const Aws::String &value)
QueryRequest & WithKeyConditionExpression(const char *value)
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
QueryRequest & AddQueryFilter(const Aws::String &key, const Condition &value)
QueryRequest & WithIndexName(Aws::String &&value)
Definition: QueryRequest.h:120
QueryRequest & AddQueryFilter(const char *key, Condition &&value)
QueryRequest & WithTableName(Aws::String &&value)
Definition: QueryRequest.h:73
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
QueryRequest & AddKeyConditions(const char *key, const Condition &value)
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
QueryRequest & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
const Aws::String & GetTableName() const
Definition: QueryRequest.h:48
QueryRequest & WithSelect(const Select &value)
Definition: QueryRequest.h:283
QueryRequest & WithSelect(Select &&value)
Definition: QueryRequest.h:322
void SetKeyConditionExpression(Aws::String &&value)
QueryRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & AddExclusiveStartKey(const Aws::String &key, AttributeValue &&value)
void SetQueryFilter(Aws::Map< Aws::String, Condition > &&value)
void SetConditionalOperator(const ConditionalOperator &value)
QueryRequest & AddExclusiveStartKey(const char *key, AttributeValue &&value)
QueryRequest & WithScanIndexForward(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetFilterExpression(Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
const Select & GetSelect() const
Definition: QueryRequest.h:166
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
void SetKeyConditionExpression(const char *value)
QueryRequest & WithKeyConditionExpression(const Aws::String &value)
QueryRequest & AddAttributesToGet(Aws::String &&value)
Definition: QueryRequest.h:511
QueryRequest & AddAttributesToGet(const char *value)
Definition: QueryRequest.h:538
QueryRequest & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
const Aws::Vector< Aws::String > & GetAttributesToGet() const
Definition: QueryRequest.h:349
void SetFilterExpression(const char *value)
void SetSelect(Select &&value)
Definition: QueryRequest.h:244
void SetFilterExpression(const Aws::String &value)
#define AWS_DYNAMODB_API
void SetTableName(Aws::String &&value)
Definition: QueryRequest.h:58
QueryRequest & WithLimit(long value)
Definition: QueryRequest.h:583
void SetKeyConditions(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:781
QueryRequest & WithKeyConditions(Aws::Map< Aws::String, Condition > &&value)
QueryRequest & WithConsistentRead(bool value)
Definition: QueryRequest.h:613
QueryRequest & WithProjectionExpression(Aws::String &&value)
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
const ConditionalOperator & GetConditionalOperator() const
QueryRequest & AddQueryFilter(Aws::String &&key, Condition &&value)
QueryRequest & WithKeyConditionExpression(Aws::String &&value)
QueryRequest & WithQueryFilter(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & WithIndexName(const char *value)
Definition: QueryRequest.h:127
QueryRequest & AddKeyConditions(const Aws::String &key, const Condition &value)
void SetExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
QueryRequest & AddKeyConditions(const Aws::String &key, Condition &&value)
void SetQueryFilter(const Aws::Map< Aws::String, Condition > &value)
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
QueryRequest & AddKeyConditions(Aws::String &&key, Condition &&value)
QueryRequest & WithAttributesToGet(Aws::Vector< Aws::String > &&value)
Definition: QueryRequest.h:457
QueryRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
QueryRequest & AddQueryFilter(const char *key, const Condition &value)
QueryRequest & AddExclusiveStartKey(const Aws::String &key, const AttributeValue &value)
QueryRequest & AddExpressionAttributeNames(const char *key, const char *value)
QueryRequest & WithTableName(const Aws::String &value)
Definition: QueryRequest.h:68
QueryRequest & WithTableName(const char *value)
Definition: QueryRequest.h:78
QueryRequest & WithFilterExpression(const char *value)
void SetProjectionExpression(const Aws::String &value)
QueryRequest & AddKeyConditions(const char *key, Condition &&value)
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html ...
QueryRequest & AddExclusiveStartKey(const char *key, const AttributeValue &value)
QueryRequest & WithConditionalOperator(const ConditionalOperator &value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, const char *value)
void SetKeyConditionExpression(const Aws::String &value)
void SetProjectionExpression(const char *value)
void SetExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
void SetAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:376
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
QueryRequest & AddExclusiveStartKey(Aws::String &&key, const AttributeValue &value)
QueryRequest & AddExpressionAttributeNames(const char *key, Aws::String &&value)
QueryRequest & WithFilterExpression(Aws::String &&value)
void SetProjectionExpression(Aws::String &&value)
void SetAttributesToGet(Aws::Vector< Aws::String > &&value)
Definition: QueryRequest.h:403
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
void SetIndexName(const char *value)
Definition: QueryRequest.h:106
const Aws::Map< Aws::String, Condition > & GetQueryFilter() const
QueryRequest & WithExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
QueryRequest & WithAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:430
void SetSelect(const Select &value)
Definition: QueryRequest.h:205
QueryRequest & WithConditionalOperator(ConditionalOperator &&value)
QueryRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
void SetIndexName(const Aws::String &value)
Definition: QueryRequest.h:92
QueryRequest & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
QueryRequest & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
QueryRequest & WithProjectionExpression(const char *value)
QueryRequest & AddKeyConditions(Aws::String &&key, const Condition &value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
QueryRequest & AddAttributesToGet(const Aws::String &value)
Definition: QueryRequest.h:484
QueryRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
QueryRequest & WithQueryFilter(Aws::Map< Aws::String, Condition > &&value)
QueryRequest & WithIndexName(const Aws::String &value)
Definition: QueryRequest.h:113
void SetTableName(const char *value)
Definition: QueryRequest.h:63
QueryRequest & AddQueryFilter(const Aws::String &key, Condition &&value)
const Aws::Map< Aws::String, Condition > & GetKeyConditions() const
Definition: QueryRequest.h:697
const Aws::String & GetIndexName() const
Definition: QueryRequest.h:85
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
QueryRequest & AddQueryFilter(Aws::String &&key, const Condition &value)
QueryRequest & WithKeyConditions(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:949
void SetTableName(const Aws::String &value)
Definition: QueryRequest.h:53
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
const Aws::String & GetProjectionExpression() const
JSON (JavaScript Object Notation).
void SetKeyConditions(Aws::Map< Aws::String, Condition > &&value)
Definition: QueryRequest.h:865