AWS SDK for C++  1.8.71
AWS SDK for C++
QueryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace DynamoDB
22 {
23 namespace Model
24 {
25 
33  {
34  public:
35  QueryRequest();
36 
37  // Service request name is the Operation name which will send this request out,
38  // each operation should has unique request name, so that we can get operation's name from this request.
39  // Note: this is not true for response, multiple operations may have the same response name,
40  // so we can not get operation's name from response.
41  inline virtual const char* GetServiceRequestName() const override { return "Query"; }
42 
43  Aws::String SerializePayload() const override;
44 
45  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
46 
47 
51  inline const Aws::String& GetTableName() const{ return m_tableName; }
52 
56  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
57 
61  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
62 
66  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
67 
71  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
72 
76  inline QueryRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
77 
81  inline QueryRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
82 
86  inline QueryRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
87 
88 
95  inline const Aws::String& GetIndexName() const{ return m_indexName; }
96 
103  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
104 
111  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
112 
119  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
120 
127  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
128 
135  inline QueryRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
136 
143  inline QueryRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
144 
151  inline QueryRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
152 
153 
191  inline const Select& GetSelect() const{ return m_select; }
192 
230  inline bool SelectHasBeenSet() const { return m_selectHasBeenSet; }
231 
269  inline void SetSelect(const Select& value) { m_selectHasBeenSet = true; m_select = value; }
270 
308  inline void SetSelect(Select&& value) { m_selectHasBeenSet = true; m_select = std::move(value); }
309 
347  inline QueryRequest& WithSelect(const Select& value) { SetSelect(value); return *this;}
348 
386  inline QueryRequest& WithSelect(Select&& value) { SetSelect(std::move(value)); return *this;}
387 
388 
395  inline const Aws::Vector<Aws::String>& GetAttributesToGet() const{ return m_attributesToGet; }
396 
403  inline bool AttributesToGetHasBeenSet() const { return m_attributesToGetHasBeenSet; }
404 
411  inline void SetAttributesToGet(const Aws::Vector<Aws::String>& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = value; }
412 
419  inline void SetAttributesToGet(Aws::Vector<Aws::String>&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = std::move(value); }
420 
427  inline QueryRequest& WithAttributesToGet(const Aws::Vector<Aws::String>& value) { SetAttributesToGet(value); return *this;}
428 
435  inline QueryRequest& WithAttributesToGet(Aws::Vector<Aws::String>&& value) { SetAttributesToGet(std::move(value)); return *this;}
436 
443  inline QueryRequest& AddAttributesToGet(const Aws::String& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
444 
451  inline QueryRequest& AddAttributesToGet(Aws::String&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(std::move(value)); return *this; }
452 
459  inline QueryRequest& AddAttributesToGet(const char* value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
460 
461 
475  inline int GetLimit() const{ return m_limit; }
476 
490  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
491 
505  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
506 
520  inline QueryRequest& WithLimit(int value) { SetLimit(value); return *this;}
521 
522 
531  inline bool GetConsistentRead() const{ return m_consistentRead; }
532 
541  inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; }
542 
551  inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
552 
561  inline QueryRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
562 
563 
570  inline const Aws::Map<Aws::String, Condition>& GetKeyConditions() const{ return m_keyConditions; }
571 
578  inline bool KeyConditionsHasBeenSet() const { return m_keyConditionsHasBeenSet; }
579 
586  inline void SetKeyConditions(const Aws::Map<Aws::String, Condition>& value) { m_keyConditionsHasBeenSet = true; m_keyConditions = value; }
587 
594  inline void SetKeyConditions(Aws::Map<Aws::String, Condition>&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions = std::move(value); }
595 
602  inline QueryRequest& WithKeyConditions(const Aws::Map<Aws::String, Condition>& value) { SetKeyConditions(value); return *this;}
603 
610  inline QueryRequest& WithKeyConditions(Aws::Map<Aws::String, Condition>&& value) { SetKeyConditions(std::move(value)); return *this;}
611 
618  inline QueryRequest& AddKeyConditions(const Aws::String& key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(key, value); return *this; }
619 
626  inline QueryRequest& AddKeyConditions(Aws::String&& key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(std::move(key), value); return *this; }
627 
634  inline QueryRequest& AddKeyConditions(const Aws::String& key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(key, std::move(value)); return *this; }
635 
642  inline QueryRequest& AddKeyConditions(Aws::String&& key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(std::move(key), std::move(value)); return *this; }
643 
650  inline QueryRequest& AddKeyConditions(const char* key, Condition&& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(key, std::move(value)); return *this; }
651 
658  inline QueryRequest& AddKeyConditions(const char* key, const Condition& value) { m_keyConditionsHasBeenSet = true; m_keyConditions.emplace(key, value); return *this; }
659 
660 
667  inline const Aws::Map<Aws::String, Condition>& GetQueryFilter() const{ return m_queryFilter; }
668 
675  inline bool QueryFilterHasBeenSet() const { return m_queryFilterHasBeenSet; }
676 
683  inline void SetQueryFilter(const Aws::Map<Aws::String, Condition>& value) { m_queryFilterHasBeenSet = true; m_queryFilter = value; }
684 
691  inline void SetQueryFilter(Aws::Map<Aws::String, Condition>&& value) { m_queryFilterHasBeenSet = true; m_queryFilter = std::move(value); }
692 
699  inline QueryRequest& WithQueryFilter(const Aws::Map<Aws::String, Condition>& value) { SetQueryFilter(value); return *this;}
700 
707  inline QueryRequest& WithQueryFilter(Aws::Map<Aws::String, Condition>&& value) { SetQueryFilter(std::move(value)); return *this;}
708 
715  inline QueryRequest& AddQueryFilter(const Aws::String& key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(key, value); return *this; }
716 
723  inline QueryRequest& AddQueryFilter(Aws::String&& key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(std::move(key), value); return *this; }
724 
731  inline QueryRequest& AddQueryFilter(const Aws::String& key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(key, std::move(value)); return *this; }
732 
739  inline QueryRequest& AddQueryFilter(Aws::String&& key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(std::move(key), std::move(value)); return *this; }
740 
747  inline QueryRequest& AddQueryFilter(const char* key, Condition&& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(key, std::move(value)); return *this; }
748 
755  inline QueryRequest& AddQueryFilter(const char* key, const Condition& value) { m_queryFilterHasBeenSet = true; m_queryFilter.emplace(key, value); return *this; }
756 
757 
764  inline const ConditionalOperator& GetConditionalOperator() const{ return m_conditionalOperator; }
765 
772  inline bool ConditionalOperatorHasBeenSet() const { return m_conditionalOperatorHasBeenSet; }
773 
780  inline void SetConditionalOperator(const ConditionalOperator& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = value; }
781 
788  inline void SetConditionalOperator(ConditionalOperator&& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = std::move(value); }
789 
796  inline QueryRequest& WithConditionalOperator(const ConditionalOperator& value) { SetConditionalOperator(value); return *this;}
797 
804  inline QueryRequest& WithConditionalOperator(ConditionalOperator&& value) { SetConditionalOperator(std::move(value)); return *this;}
805 
806 
821  inline bool GetScanIndexForward() const{ return m_scanIndexForward; }
822 
837  inline bool ScanIndexForwardHasBeenSet() const { return m_scanIndexForwardHasBeenSet; }
838 
853  inline void SetScanIndexForward(bool value) { m_scanIndexForwardHasBeenSet = true; m_scanIndexForward = value; }
854 
869  inline QueryRequest& WithScanIndexForward(bool value) { SetScanIndexForward(value); return *this;}
870 
871 
878  inline const Aws::Map<Aws::String, AttributeValue>& GetExclusiveStartKey() const{ return m_exclusiveStartKey; }
879 
886  inline bool ExclusiveStartKeyHasBeenSet() const { return m_exclusiveStartKeyHasBeenSet; }
887 
894  inline void SetExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = value; }
895 
902  inline void SetExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = std::move(value); }
903 
910  inline QueryRequest& WithExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { SetExclusiveStartKey(value); return *this;}
911 
918  inline QueryRequest& WithExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { SetExclusiveStartKey(std::move(value)); return *this;}
919 
926  inline QueryRequest& AddExclusiveStartKey(const Aws::String& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, value); return *this; }
927 
934  inline QueryRequest& AddExclusiveStartKey(Aws::String&& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(std::move(key), value); return *this; }
935 
942  inline QueryRequest& AddExclusiveStartKey(const Aws::String& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, std::move(value)); return *this; }
943 
950  inline QueryRequest& AddExclusiveStartKey(Aws::String&& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(std::move(key), std::move(value)); return *this; }
951 
958  inline QueryRequest& AddExclusiveStartKey(const char* key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, std::move(value)); return *this; }
959 
966  inline QueryRequest& AddExclusiveStartKey(const char* key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, value); return *this; }
967 
968 
969 
970  inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
971 
972 
973  inline bool ReturnConsumedCapacityHasBeenSet() const { return m_returnConsumedCapacityHasBeenSet; }
974 
975 
976  inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
977 
978 
979  inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = std::move(value); }
980 
981 
982  inline QueryRequest& WithReturnConsumedCapacity(const ReturnConsumedCapacity& value) { SetReturnConsumedCapacity(value); return *this;}
983 
984 
985  inline QueryRequest& WithReturnConsumedCapacity(ReturnConsumedCapacity&& value) { SetReturnConsumedCapacity(std::move(value)); return *this;}
986 
987 
998  inline const Aws::String& GetProjectionExpression() const{ return m_projectionExpression; }
999 
1010  inline bool ProjectionExpressionHasBeenSet() const { return m_projectionExpressionHasBeenSet; }
1011 
1022  inline void SetProjectionExpression(const Aws::String& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = value; }
1023 
1034  inline void SetProjectionExpression(Aws::String&& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = std::move(value); }
1035 
1046  inline void SetProjectionExpression(const char* value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression.assign(value); }
1047 
1058  inline QueryRequest& WithProjectionExpression(const Aws::String& value) { SetProjectionExpression(value); return *this;}
1059 
1070  inline QueryRequest& WithProjectionExpression(Aws::String&& value) { SetProjectionExpression(std::move(value)); return *this;}
1071 
1082  inline QueryRequest& WithProjectionExpression(const char* value) { SetProjectionExpression(value); return *this;}
1083 
1084 
1097  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
1098 
1111  inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
1112 
1125  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
1126 
1139  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
1140 
1153  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
1154 
1167  inline QueryRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
1168 
1181  inline QueryRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
1182 
1195  inline QueryRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
1196 
1197 
1254  inline const Aws::String& GetKeyConditionExpression() const{ return m_keyConditionExpression; }
1255 
1312  inline bool KeyConditionExpressionHasBeenSet() const { return m_keyConditionExpressionHasBeenSet; }
1313 
1370  inline void SetKeyConditionExpression(const Aws::String& value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression = value; }
1371 
1428  inline void SetKeyConditionExpression(Aws::String&& value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression = std::move(value); }
1429 
1486  inline void SetKeyConditionExpression(const char* value) { m_keyConditionExpressionHasBeenSet = true; m_keyConditionExpression.assign(value); }
1487 
1544  inline QueryRequest& WithKeyConditionExpression(const Aws::String& value) { SetKeyConditionExpression(value); return *this;}
1545 
1602  inline QueryRequest& WithKeyConditionExpression(Aws::String&& value) { SetKeyConditionExpression(std::move(value)); return *this;}
1603 
1660  inline QueryRequest& WithKeyConditionExpression(const char* value) { SetKeyConditionExpression(value); return *this;}
1661 
1662 
1688  inline const Aws::Map<Aws::String, Aws::String>& GetExpressionAttributeNames() const{ return m_expressionAttributeNames; }
1689 
1715  inline bool ExpressionAttributeNamesHasBeenSet() const { return m_expressionAttributeNamesHasBeenSet; }
1716 
1742  inline void SetExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = value; }
1743 
1769  inline void SetExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = std::move(value); }
1770 
1796  inline QueryRequest& WithExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { SetExpressionAttributeNames(value); return *this;}
1797 
1823  inline QueryRequest& WithExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { SetExpressionAttributeNames(std::move(value)); return *this;}
1824 
1850  inline QueryRequest& AddExpressionAttributeNames(const Aws::String& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
1851 
1877  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
1878 
1904  inline QueryRequest& AddExpressionAttributeNames(const Aws::String& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
1905 
1931  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), std::move(value)); return *this; }
1932 
1958  inline QueryRequest& AddExpressionAttributeNames(const char* key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
1959 
1985  inline QueryRequest& AddExpressionAttributeNames(Aws::String&& key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
1986 
2012  inline QueryRequest& AddExpressionAttributeNames(const char* key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
2013 
2014 
2030  inline const Aws::Map<Aws::String, AttributeValue>& GetExpressionAttributeValues() const{ return m_expressionAttributeValues; }
2031 
2047  inline bool ExpressionAttributeValuesHasBeenSet() const { return m_expressionAttributeValuesHasBeenSet; }
2048 
2064  inline void SetExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = value; }
2065 
2081  inline void SetExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = std::move(value); }
2082 
2098  inline QueryRequest& WithExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { SetExpressionAttributeValues(value); return *this;}
2099 
2115  inline QueryRequest& WithExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { SetExpressionAttributeValues(std::move(value)); return *this;}
2116 
2132  inline QueryRequest& AddExpressionAttributeValues(const Aws::String& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
2133 
2149  inline QueryRequest& AddExpressionAttributeValues(Aws::String&& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), value); return *this; }
2150 
2166  inline QueryRequest& AddExpressionAttributeValues(const Aws::String& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
2167 
2183  inline QueryRequest& AddExpressionAttributeValues(Aws::String&& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), std::move(value)); return *this; }
2184 
2200  inline QueryRequest& AddExpressionAttributeValues(const char* key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
2201 
2217  inline QueryRequest& AddExpressionAttributeValues(const char* key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
2218 
2219  private:
2220 
2221  Aws::String m_tableName;
2222  bool m_tableNameHasBeenSet;
2223 
2224  Aws::String m_indexName;
2225  bool m_indexNameHasBeenSet;
2226 
2227  Select m_select;
2228  bool m_selectHasBeenSet;
2229 
2230  Aws::Vector<Aws::String> m_attributesToGet;
2231  bool m_attributesToGetHasBeenSet;
2232 
2233  int m_limit;
2234  bool m_limitHasBeenSet;
2235 
2236  bool m_consistentRead;
2237  bool m_consistentReadHasBeenSet;
2238 
2239  Aws::Map<Aws::String, Condition> m_keyConditions;
2240  bool m_keyConditionsHasBeenSet;
2241 
2242  Aws::Map<Aws::String, Condition> m_queryFilter;
2243  bool m_queryFilterHasBeenSet;
2244 
2245  ConditionalOperator m_conditionalOperator;
2246  bool m_conditionalOperatorHasBeenSet;
2247 
2248  bool m_scanIndexForward;
2249  bool m_scanIndexForwardHasBeenSet;
2250 
2251  Aws::Map<Aws::String, AttributeValue> m_exclusiveStartKey;
2252  bool m_exclusiveStartKeyHasBeenSet;
2253 
2254  ReturnConsumedCapacity m_returnConsumedCapacity;
2255  bool m_returnConsumedCapacityHasBeenSet;
2256 
2257  Aws::String m_projectionExpression;
2258  bool m_projectionExpressionHasBeenSet;
2259 
2260  Aws::String m_filterExpression;
2261  bool m_filterExpressionHasBeenSet;
2262 
2263  Aws::String m_keyConditionExpression;
2264  bool m_keyConditionExpressionHasBeenSet;
2265 
2266  Aws::Map<Aws::String, Aws::String> m_expressionAttributeNames;
2267  bool m_expressionAttributeNamesHasBeenSet;
2268 
2269  Aws::Map<Aws::String, AttributeValue> m_expressionAttributeValues;
2270  bool m_expressionAttributeValuesHasBeenSet;
2271  };
2272 
2273 } // namespace Model
2274 } // namespace DynamoDB
2275 } // namespace Aws
QueryRequest & WithProjectionExpression(const Aws::String &value)
QueryRequest & WithExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
Definition: QueryRequest.h:918
void SetConditionalOperator(ConditionalOperator &&value)
Definition: QueryRequest.h:788
QueryRequest & AddExclusiveStartKey(Aws::String &&key, AttributeValue &&value)
Definition: QueryRequest.h:950
void SetIndexName(Aws::String &&value)
Definition: QueryRequest.h:119
QueryRequest & WithFilterExpression(const Aws::String &value)
QueryRequest & WithKeyConditionExpression(const char *value)
QueryRequest & AddQueryFilter(const Aws::String &key, const Condition &value)
Definition: QueryRequest.h:715
QueryRequest & WithIndexName(Aws::String &&value)
Definition: QueryRequest.h:143
const Aws::Vector< Aws::String > & GetAttributesToGet() const
Definition: QueryRequest.h:395
QueryRequest & AddQueryFilter(const char *key, Condition &&value)
Definition: QueryRequest.h:747
QueryRequest & WithTableName(Aws::String &&value)
Definition: QueryRequest.h:81
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
Definition: QueryRequest.h:979
const Aws::Map< Aws::String, Condition > & GetKeyConditions() const
Definition: QueryRequest.h:570
QueryRequest & AddKeyConditions(const char *key, const Condition &value)
Definition: QueryRequest.h:658
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
QueryRequest & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
QueryRequest & WithSelect(const Select &value)
Definition: QueryRequest.h:347
QueryRequest & WithSelect(Select &&value)
Definition: QueryRequest.h:386
void SetKeyConditionExpression(Aws::String &&value)
QueryRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & AddExclusiveStartKey(const Aws::String &key, AttributeValue &&value)
Definition: QueryRequest.h:942
void SetQueryFilter(Aws::Map< Aws::String, Condition > &&value)
Definition: QueryRequest.h:691
void SetConditionalOperator(const ConditionalOperator &value)
Definition: QueryRequest.h:780
QueryRequest & AddExclusiveStartKey(const char *key, AttributeValue &&value)
Definition: QueryRequest.h:958
QueryRequest & WithScanIndexForward(bool value)
Definition: QueryRequest.h:869
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
void SetFilterExpression(Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
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:451
QueryRequest & AddAttributesToGet(const char *value)
Definition: QueryRequest.h:459
const Aws::String & GetIndexName() const
Definition: QueryRequest.h:95
QueryRequest & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
void SetFilterExpression(const char *value)
const Aws::String & GetProjectionExpression() const
Definition: QueryRequest.h:998
void SetSelect(Select &&value)
Definition: QueryRequest.h:308
void SetFilterExpression(const Aws::String &value)
#define AWS_DYNAMODB_API
void SetTableName(Aws::String &&value)
Definition: QueryRequest.h:66
void SetKeyConditions(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:586
const Aws::Map< Aws::String, Condition > & GetQueryFilter() const
Definition: QueryRequest.h:667
QueryRequest & WithKeyConditions(Aws::Map< Aws::String, Condition > &&value)
Definition: QueryRequest.h:610
QueryRequest & WithConsistentRead(bool value)
Definition: QueryRequest.h:561
QueryRequest & WithProjectionExpression(Aws::String &&value)
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
QueryRequest & AddQueryFilter(Aws::String &&key, Condition &&value)
Definition: QueryRequest.h:739
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
Definition: QueryRequest.h:878
QueryRequest & WithKeyConditionExpression(Aws::String &&value)
QueryRequest & WithQueryFilter(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:699
QueryRequest & WithIndexName(const char *value)
Definition: QueryRequest.h:151
QueryRequest & AddKeyConditions(const Aws::String &key, const Condition &value)
Definition: QueryRequest.h:618
void SetExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: QueryRequest.h:894
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
Definition: QueryRequest.h:970
QueryRequest & AddKeyConditions(const Aws::String &key, Condition &&value)
Definition: QueryRequest.h:634
void SetQueryFilter(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:683
virtual const char * GetServiceRequestName() const override
Definition: QueryRequest.h:41
bool ExpressionAttributeValuesHasBeenSet() const
QueryRequest & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
QueryRequest & AddKeyConditions(Aws::String &&key, Condition &&value)
Definition: QueryRequest.h:642
QueryRequest & WithAttributesToGet(Aws::Vector< Aws::String > &&value)
Definition: QueryRequest.h:435
QueryRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
Definition: QueryRequest.h:982
QueryRequest & AddQueryFilter(const char *key, const Condition &value)
Definition: QueryRequest.h:755
QueryRequest & AddExclusiveStartKey(const Aws::String &key, const AttributeValue &value)
Definition: QueryRequest.h:926
QueryRequest & WithLimit(int value)
Definition: QueryRequest.h:520
QueryRequest & AddExpressionAttributeNames(const char *key, const char *value)
const ConditionalOperator & GetConditionalOperator() const
Definition: QueryRequest.h:764
QueryRequest & WithTableName(const Aws::String &value)
Definition: QueryRequest.h:76
QueryRequest & WithTableName(const char *value)
Definition: QueryRequest.h:86
QueryRequest & WithFilterExpression(const char *value)
void SetProjectionExpression(const Aws::String &value)
QueryRequest & AddKeyConditions(const char *key, Condition &&value)
Definition: QueryRequest.h:650
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html ...
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
QueryRequest & AddExclusiveStartKey(const char *key, const AttributeValue &value)
Definition: QueryRequest.h:966
QueryRequest & WithConditionalOperator(const ConditionalOperator &value)
Definition: QueryRequest.h:796
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)
Definition: QueryRequest.h:902
QueryRequest & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
void SetAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:411
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
QueryRequest & AddExclusiveStartKey(Aws::String &&key, const AttributeValue &value)
Definition: QueryRequest.h:934
const Aws::String & GetFilterExpression() const
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:419
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
void SetIndexName(const char *value)
Definition: QueryRequest.h:127
QueryRequest & WithExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: QueryRequest.h:910
QueryRequest & WithAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:427
void SetSelect(const Select &value)
Definition: QueryRequest.h:269
QueryRequest & WithConditionalOperator(ConditionalOperator &&value)
Definition: QueryRequest.h:804
QueryRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
Definition: QueryRequest.h:985
QueryRequest & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
void SetIndexName(const Aws::String &value)
Definition: QueryRequest.h:111
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)
Definition: QueryRequest.h:626
const Aws::String & GetKeyConditionExpression() const
QueryRequest & AddAttributesToGet(const Aws::String &value)
Definition: QueryRequest.h:443
QueryRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
QueryRequest & WithQueryFilter(Aws::Map< Aws::String, Condition > &&value)
Definition: QueryRequest.h:707
QueryRequest & WithIndexName(const Aws::String &value)
Definition: QueryRequest.h:135
void SetTableName(const char *value)
Definition: QueryRequest.h:71
const Select & GetSelect() const
Definition: QueryRequest.h:191
QueryRequest & AddQueryFilter(const Aws::String &key, Condition &&value)
Definition: QueryRequest.h:731
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
Definition: QueryRequest.h:976
QueryRequest & AddQueryFilter(Aws::String &&key, const Condition &value)
Definition: QueryRequest.h:723
const Aws::String & GetTableName() const
Definition: QueryRequest.h:51
QueryRequest & WithKeyConditions(const Aws::Map< Aws::String, Condition > &value)
Definition: QueryRequest.h:602
void SetTableName(const Aws::String &value)
Definition: QueryRequest.h:61
void SetKeyConditions(Aws::Map< Aws::String, Condition > &&value)
Definition: QueryRequest.h:594
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const