AWS SDK for C++  1.8.71
AWS SDK for C++
ScanRequest.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  ScanRequest();
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 "Scan"; }
42 
43  Aws::String SerializePayload() const override;
44 
45  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
46 
47 
52  inline const Aws::String& GetTableName() const{ return m_tableName; }
53 
58  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
59 
64  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
65 
70  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
71 
76  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
77 
82  inline ScanRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
83 
88  inline ScanRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
89 
94  inline ScanRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
95 
96 
102  inline const Aws::String& GetIndexName() const{ return m_indexName; }
103 
109  inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
110 
116  inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
117 
123  inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
124 
130  inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
131 
137  inline ScanRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
138 
144  inline ScanRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
145 
151  inline ScanRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;}
152 
153 
160  inline const Aws::Vector<Aws::String>& GetAttributesToGet() const{ return m_attributesToGet; }
161 
168  inline bool AttributesToGetHasBeenSet() const { return m_attributesToGetHasBeenSet; }
169 
176  inline void SetAttributesToGet(const Aws::Vector<Aws::String>& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = value; }
177 
184  inline void SetAttributesToGet(Aws::Vector<Aws::String>&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet = std::move(value); }
185 
192  inline ScanRequest& WithAttributesToGet(const Aws::Vector<Aws::String>& value) { SetAttributesToGet(value); return *this;}
193 
200  inline ScanRequest& WithAttributesToGet(Aws::Vector<Aws::String>&& value) { SetAttributesToGet(std::move(value)); return *this;}
201 
208  inline ScanRequest& AddAttributesToGet(const Aws::String& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
209 
216  inline ScanRequest& AddAttributesToGet(Aws::String&& value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(std::move(value)); return *this; }
217 
224  inline ScanRequest& AddAttributesToGet(const char* value) { m_attributesToGetHasBeenSet = true; m_attributesToGet.push_back(value); return *this; }
225 
226 
240  inline int GetLimit() const{ return m_limit; }
241 
255  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
256 
270  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
271 
285  inline ScanRequest& WithLimit(int value) { SetLimit(value); return *this;}
286 
287 
325  inline const Select& GetSelect() const{ return m_select; }
326 
364  inline bool SelectHasBeenSet() const { return m_selectHasBeenSet; }
365 
403  inline void SetSelect(const Select& value) { m_selectHasBeenSet = true; m_select = value; }
404 
442  inline void SetSelect(Select&& value) { m_selectHasBeenSet = true; m_select = std::move(value); }
443 
481  inline ScanRequest& WithSelect(const Select& value) { SetSelect(value); return *this;}
482 
520  inline ScanRequest& WithSelect(Select&& value) { SetSelect(std::move(value)); return *this;}
521 
522 
529  inline const Aws::Map<Aws::String, Condition>& GetScanFilter() const{ return m_scanFilter; }
530 
537  inline bool ScanFilterHasBeenSet() const { return m_scanFilterHasBeenSet; }
538 
545  inline void SetScanFilter(const Aws::Map<Aws::String, Condition>& value) { m_scanFilterHasBeenSet = true; m_scanFilter = value; }
546 
553  inline void SetScanFilter(Aws::Map<Aws::String, Condition>&& value) { m_scanFilterHasBeenSet = true; m_scanFilter = std::move(value); }
554 
561  inline ScanRequest& WithScanFilter(const Aws::Map<Aws::String, Condition>& value) { SetScanFilter(value); return *this;}
562 
569  inline ScanRequest& WithScanFilter(Aws::Map<Aws::String, Condition>&& value) { SetScanFilter(std::move(value)); return *this;}
570 
577  inline ScanRequest& AddScanFilter(const Aws::String& key, const Condition& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(key, value); return *this; }
578 
585  inline ScanRequest& AddScanFilter(Aws::String&& key, const Condition& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(std::move(key), value); return *this; }
586 
593  inline ScanRequest& AddScanFilter(const Aws::String& key, Condition&& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(key, std::move(value)); return *this; }
594 
601  inline ScanRequest& AddScanFilter(Aws::String&& key, Condition&& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(std::move(key), std::move(value)); return *this; }
602 
609  inline ScanRequest& AddScanFilter(const char* key, Condition&& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(key, std::move(value)); return *this; }
610 
617  inline ScanRequest& AddScanFilter(const char* key, const Condition& value) { m_scanFilterHasBeenSet = true; m_scanFilter.emplace(key, value); return *this; }
618 
619 
626  inline const ConditionalOperator& GetConditionalOperator() const{ return m_conditionalOperator; }
627 
634  inline bool ConditionalOperatorHasBeenSet() const { return m_conditionalOperatorHasBeenSet; }
635 
642  inline void SetConditionalOperator(const ConditionalOperator& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = value; }
643 
650  inline void SetConditionalOperator(ConditionalOperator&& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = std::move(value); }
651 
658  inline ScanRequest& WithConditionalOperator(const ConditionalOperator& value) { SetConditionalOperator(value); return *this;}
659 
666  inline ScanRequest& WithConditionalOperator(ConditionalOperator&& value) { SetConditionalOperator(std::move(value)); return *this;}
667 
668 
678  inline const Aws::Map<Aws::String, AttributeValue>& GetExclusiveStartKey() const{ return m_exclusiveStartKey; }
679 
689  inline bool ExclusiveStartKeyHasBeenSet() const { return m_exclusiveStartKeyHasBeenSet; }
690 
700  inline void SetExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = value; }
701 
711  inline void SetExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey = std::move(value); }
712 
722  inline ScanRequest& WithExclusiveStartKey(const Aws::Map<Aws::String, AttributeValue>& value) { SetExclusiveStartKey(value); return *this;}
723 
733  inline ScanRequest& WithExclusiveStartKey(Aws::Map<Aws::String, AttributeValue>&& value) { SetExclusiveStartKey(std::move(value)); return *this;}
734 
744  inline ScanRequest& AddExclusiveStartKey(const Aws::String& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, value); return *this; }
745 
755  inline ScanRequest& AddExclusiveStartKey(Aws::String&& key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(std::move(key), value); return *this; }
756 
766  inline ScanRequest& AddExclusiveStartKey(const Aws::String& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, std::move(value)); return *this; }
767 
777  inline ScanRequest& AddExclusiveStartKey(Aws::String&& key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(std::move(key), std::move(value)); return *this; }
778 
788  inline ScanRequest& AddExclusiveStartKey(const char* key, AttributeValue&& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, std::move(value)); return *this; }
789 
799  inline ScanRequest& AddExclusiveStartKey(const char* key, const AttributeValue& value) { m_exclusiveStartKeyHasBeenSet = true; m_exclusiveStartKey.emplace(key, value); return *this; }
800 
801 
802 
803  inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
804 
805 
806  inline bool ReturnConsumedCapacityHasBeenSet() const { return m_returnConsumedCapacityHasBeenSet; }
807 
808 
809  inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
810 
811 
812  inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = std::move(value); }
813 
814 
815  inline ScanRequest& WithReturnConsumedCapacity(const ReturnConsumedCapacity& value) { SetReturnConsumedCapacity(value); return *this;}
816 
817 
818  inline ScanRequest& WithReturnConsumedCapacity(ReturnConsumedCapacity&& value) { SetReturnConsumedCapacity(std::move(value)); return *this;}
819 
820 
834  inline int GetTotalSegments() const{ return m_totalSegments; }
835 
849  inline bool TotalSegmentsHasBeenSet() const { return m_totalSegmentsHasBeenSet; }
850 
864  inline void SetTotalSegments(int value) { m_totalSegmentsHasBeenSet = true; m_totalSegments = value; }
865 
879  inline ScanRequest& WithTotalSegments(int value) { SetTotalSegments(value); return *this;}
880 
881 
896  inline int GetSegment() const{ return m_segment; }
897 
912  inline bool SegmentHasBeenSet() const { return m_segmentHasBeenSet; }
913 
928  inline void SetSegment(int value) { m_segmentHasBeenSet = true; m_segment = value; }
929 
944  inline ScanRequest& WithSegment(int value) { SetSegment(value); return *this;}
945 
946 
957  inline const Aws::String& GetProjectionExpression() const{ return m_projectionExpression; }
958 
969  inline bool ProjectionExpressionHasBeenSet() const { return m_projectionExpressionHasBeenSet; }
970 
981  inline void SetProjectionExpression(const Aws::String& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = value; }
982 
993  inline void SetProjectionExpression(Aws::String&& value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression = std::move(value); }
994 
1005  inline void SetProjectionExpression(const char* value) { m_projectionExpressionHasBeenSet = true; m_projectionExpression.assign(value); }
1006 
1017  inline ScanRequest& WithProjectionExpression(const Aws::String& value) { SetProjectionExpression(value); return *this;}
1018 
1029  inline ScanRequest& WithProjectionExpression(Aws::String&& value) { SetProjectionExpression(std::move(value)); return *this;}
1030 
1041  inline ScanRequest& WithProjectionExpression(const char* value) { SetProjectionExpression(value); return *this;}
1042 
1043 
1054  inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
1055 
1066  inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
1067 
1078  inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
1079 
1090  inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
1091 
1102  inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
1103 
1114  inline ScanRequest& WithFilterExpression(const Aws::String& value) { SetFilterExpression(value); return *this;}
1115 
1126  inline ScanRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
1127 
1138  inline ScanRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
1139 
1140 
1166  inline const Aws::Map<Aws::String, Aws::String>& GetExpressionAttributeNames() const{ return m_expressionAttributeNames; }
1167 
1193  inline bool ExpressionAttributeNamesHasBeenSet() const { return m_expressionAttributeNamesHasBeenSet; }
1194 
1220  inline void SetExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = value; }
1221 
1247  inline void SetExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = std::move(value); }
1248 
1274  inline ScanRequest& WithExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { SetExpressionAttributeNames(value); return *this;}
1275 
1301  inline ScanRequest& WithExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { SetExpressionAttributeNames(std::move(value)); return *this;}
1302 
1328  inline ScanRequest& AddExpressionAttributeNames(const Aws::String& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
1329 
1355  inline ScanRequest& AddExpressionAttributeNames(Aws::String&& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
1356 
1382  inline ScanRequest& AddExpressionAttributeNames(const Aws::String& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
1383 
1409  inline ScanRequest& AddExpressionAttributeNames(Aws::String&& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), std::move(value)); return *this; }
1410 
1436  inline ScanRequest& AddExpressionAttributeNames(const char* key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
1437 
1463  inline ScanRequest& AddExpressionAttributeNames(Aws::String&& key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
1464 
1490  inline ScanRequest& AddExpressionAttributeNames(const char* key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
1491 
1492 
1508  inline const Aws::Map<Aws::String, AttributeValue>& GetExpressionAttributeValues() const{ return m_expressionAttributeValues; }
1509 
1525  inline bool ExpressionAttributeValuesHasBeenSet() const { return m_expressionAttributeValuesHasBeenSet; }
1526 
1542  inline void SetExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = value; }
1543 
1559  inline void SetExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = std::move(value); }
1560 
1576  inline ScanRequest& WithExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { SetExpressionAttributeValues(value); return *this;}
1577 
1593  inline ScanRequest& WithExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { SetExpressionAttributeValues(std::move(value)); return *this;}
1594 
1610  inline ScanRequest& AddExpressionAttributeValues(const Aws::String& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
1611 
1627  inline ScanRequest& AddExpressionAttributeValues(Aws::String&& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), value); return *this; }
1628 
1644  inline ScanRequest& AddExpressionAttributeValues(const Aws::String& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
1645 
1661  inline ScanRequest& AddExpressionAttributeValues(Aws::String&& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), std::move(value)); return *this; }
1662 
1678  inline ScanRequest& AddExpressionAttributeValues(const char* key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
1679 
1695  inline ScanRequest& AddExpressionAttributeValues(const char* key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
1696 
1697 
1712  inline bool GetConsistentRead() const{ return m_consistentRead; }
1713 
1728  inline bool ConsistentReadHasBeenSet() const { return m_consistentReadHasBeenSet; }
1729 
1744  inline void SetConsistentRead(bool value) { m_consistentReadHasBeenSet = true; m_consistentRead = value; }
1745 
1760  inline ScanRequest& WithConsistentRead(bool value) { SetConsistentRead(value); return *this;}
1761 
1762  private:
1763 
1764  Aws::String m_tableName;
1765  bool m_tableNameHasBeenSet;
1766 
1767  Aws::String m_indexName;
1768  bool m_indexNameHasBeenSet;
1769 
1770  Aws::Vector<Aws::String> m_attributesToGet;
1771  bool m_attributesToGetHasBeenSet;
1772 
1773  int m_limit;
1774  bool m_limitHasBeenSet;
1775 
1776  Select m_select;
1777  bool m_selectHasBeenSet;
1778 
1779  Aws::Map<Aws::String, Condition> m_scanFilter;
1780  bool m_scanFilterHasBeenSet;
1781 
1782  ConditionalOperator m_conditionalOperator;
1783  bool m_conditionalOperatorHasBeenSet;
1784 
1785  Aws::Map<Aws::String, AttributeValue> m_exclusiveStartKey;
1786  bool m_exclusiveStartKeyHasBeenSet;
1787 
1788  ReturnConsumedCapacity m_returnConsumedCapacity;
1789  bool m_returnConsumedCapacityHasBeenSet;
1790 
1791  int m_totalSegments;
1792  bool m_totalSegmentsHasBeenSet;
1793 
1794  int m_segment;
1795  bool m_segmentHasBeenSet;
1796 
1797  Aws::String m_projectionExpression;
1798  bool m_projectionExpressionHasBeenSet;
1799 
1800  Aws::String m_filterExpression;
1801  bool m_filterExpressionHasBeenSet;
1802 
1803  Aws::Map<Aws::String, Aws::String> m_expressionAttributeNames;
1804  bool m_expressionAttributeNamesHasBeenSet;
1805 
1806  Aws::Map<Aws::String, AttributeValue> m_expressionAttributeValues;
1807  bool m_expressionAttributeValuesHasBeenSet;
1808 
1809  bool m_consistentRead;
1810  bool m_consistentReadHasBeenSet;
1811  };
1812 
1813 } // namespace Model
1814 } // namespace DynamoDB
1815 } // namespace Aws
ScanRequest & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
Definition: ScanRequest.h:1328
ScanRequest & WithSegment(int value)
Definition: ScanRequest.h:944
ScanRequest & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
Definition: ScanRequest.h:1661
void SetIndexName(const Aws::String &value)
Definition: ScanRequest.h:116
const Aws::String & GetProjectionExpression() const
Definition: ScanRequest.h:957
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
Definition: ScanRequest.h:678
ScanRequest & AddExclusiveStartKey(const char *key, AttributeValue &&value)
Definition: ScanRequest.h:788
ScanRequest & WithExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
Definition: ScanRequest.h:733
void SetExclusiveStartKey(Aws::Map< Aws::String, AttributeValue > &&value)
Definition: ScanRequest.h:711
ScanRequest & WithConditionalOperator(const ConditionalOperator &value)
Definition: ScanRequest.h:658
ScanRequest & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
Definition: ScanRequest.h:1382
ScanRequest & WithExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: ScanRequest.h:722
void SetProjectionExpression(const char *value)
Definition: ScanRequest.h:1005
const Select & GetSelect() const
Definition: ScanRequest.h:325
ScanRequest & AddExpressionAttributeNames(const char *key, Aws::String &&value)
Definition: ScanRequest.h:1436
ScanRequest & AddAttributesToGet(Aws::String &&value)
Definition: ScanRequest.h:216
ScanRequest & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
Definition: ScanRequest.h:1678
void SetTableName(Aws::String &&value)
Definition: ScanRequest.h:70
ScanRequest & AddScanFilter(Aws::String &&key, Condition &&value)
Definition: ScanRequest.h:601
void SetFilterExpression(Aws::String &&value)
Definition: ScanRequest.h:1090
void SetAttributesToGet(Aws::Vector< Aws::String > &&value)
Definition: ScanRequest.h:184
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ScanRequest.h:1220
ScanRequest & WithIndexName(const Aws::String &value)
Definition: ScanRequest.h:137
ScanRequest & AddExclusiveStartKey(const char *key, const AttributeValue &value)
Definition: ScanRequest.h:799
ScanRequest & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
Definition: ScanRequest.h:1627
ScanRequest & WithSelect(Select &&value)
Definition: ScanRequest.h:520
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
Definition: ScanRequest.h:1559
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ScanRequest & WithFilterExpression(const char *value)
Definition: ScanRequest.h:1138
ScanRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
Definition: ScanRequest.h:818
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ScanRequest & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
Definition: ScanRequest.h:1409
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
void SetFilterExpression(const Aws::String &value)
Definition: ScanRequest.h:1078
void SetFilterExpression(const char *value)
Definition: ScanRequest.h:1102
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
Definition: ScanRequest.h:803
ScanRequest & AddExpressionAttributeNames(Aws::String &&key, const char *value)
Definition: ScanRequest.h:1463
void SetProjectionExpression(Aws::String &&value)
Definition: ScanRequest.h:993
ScanRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
Definition: ScanRequest.h:815
ScanRequest & WithLimit(int value)
Definition: ScanRequest.h:285
ScanRequest & WithFilterExpression(const Aws::String &value)
Definition: ScanRequest.h:1114
ScanRequest & WithTotalSegments(int value)
Definition: ScanRequest.h:879
void SetTableName(const Aws::String &value)
Definition: ScanRequest.h:64
void SetAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: ScanRequest.h:176
ScanRequest & WithTableName(Aws::String &&value)
Definition: ScanRequest.h:88
const Aws::String & GetFilterExpression() const
Definition: ScanRequest.h:1054
void SetIndexName(const char *value)
Definition: ScanRequest.h:130
ScanRequest & WithScanFilter(Aws::Map< Aws::String, Condition > &&value)
Definition: ScanRequest.h:569
ScanRequest & WithAttributesToGet(Aws::Vector< Aws::String > &&value)
Definition: ScanRequest.h:200
bool ConditionalOperatorHasBeenSet() const
Definition: ScanRequest.h:634
const ConditionalOperator & GetConditionalOperator() const
Definition: ScanRequest.h:626
ScanRequest & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
Definition: ScanRequest.h:1695
ScanRequest & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
Definition: ScanRequest.h:1644
#define AWS_DYNAMODB_API
ScanRequest & AddExclusiveStartKey(const Aws::String &key, const AttributeValue &value)
Definition: ScanRequest.h:744
void SetSelect(Select &&value)
Definition: ScanRequest.h:442
const Aws::Vector< Aws::String > & GetAttributesToGet() const
Definition: ScanRequest.h:160
ScanRequest & WithProjectionExpression(const char *value)
Definition: ScanRequest.h:1041
bool ProjectionExpressionHasBeenSet() const
Definition: ScanRequest.h:969
ScanRequest & WithProjectionExpression(const Aws::String &value)
Definition: ScanRequest.h:1017
bool ExpressionAttributeNamesHasBeenSet() const
Definition: ScanRequest.h:1193
const Aws::Map< Aws::String, Condition > & GetScanFilter() const
Definition: ScanRequest.h:529
ScanRequest & AddAttributesToGet(const char *value)
Definition: ScanRequest.h:224
void SetSelect(const Select &value)
Definition: ScanRequest.h:403
ScanRequest & AddExclusiveStartKey(const Aws::String &key, AttributeValue &&value)
Definition: ScanRequest.h:766
ScanRequest & AddExclusiveStartKey(Aws::String &&key, const AttributeValue &value)
Definition: ScanRequest.h:755
ScanRequest & WithProjectionExpression(Aws::String &&value)
Definition: ScanRequest.h:1029
void SetConditionalOperator(const ConditionalOperator &value)
Definition: ScanRequest.h:642
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
Definition: ScanRequest.h:1166
ScanRequest & AddScanFilter(const Aws::String &key, Condition &&value)
Definition: ScanRequest.h:593
ScanRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
Definition: ScanRequest.h:1593
void SetConditionalOperator(ConditionalOperator &&value)
Definition: ScanRequest.h:650
void SetScanFilter(Aws::Map< Aws::String, Condition > &&value)
Definition: ScanRequest.h:553
ScanRequest & WithTableName(const Aws::String &value)
Definition: ScanRequest.h:82
const Aws::String & GetIndexName() const
Definition: ScanRequest.h:102
bool ExpressionAttributeValuesHasBeenSet() const
Definition: ScanRequest.h:1525
void SetExclusiveStartKey(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: ScanRequest.h:700
ScanRequest & WithScanFilter(const Aws::Map< Aws::String, Condition > &value)
Definition: ScanRequest.h:561
void SetProjectionExpression(const Aws::String &value)
Definition: ScanRequest.h:981
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
Definition: ScanRequest.h:1508
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html ...
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
Definition: ScanRequest.h:809
ScanRequest & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: ScanRequest.h:1576
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetTableName(const char *value)
Definition: ScanRequest.h:76
ScanRequest & AddExpressionAttributeNames(const char *key, const char *value)
Definition: ScanRequest.h:1490
void SetIndexName(Aws::String &&value)
Definition: ScanRequest.h:123
ScanRequest & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ScanRequest.h:1301
ScanRequest & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
Definition: ScanRequest.h:1610
virtual const char * GetServiceRequestName() const override
Definition: ScanRequest.h:41
ScanRequest & AddAttributesToGet(const Aws::String &value)
Definition: ScanRequest.h:208
ScanRequest & AddScanFilter(const char *key, const Condition &value)
Definition: ScanRequest.h:617
ScanRequest & WithFilterExpression(Aws::String &&value)
Definition: ScanRequest.h:1126
ScanRequest & WithIndexName(const char *value)
Definition: ScanRequest.h:151
const Aws::String & GetTableName() const
Definition: ScanRequest.h:52
ScanRequest & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
Definition: ScanRequest.h:1355
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
Definition: ScanRequest.h:1542
void SetScanFilter(const Aws::Map< Aws::String, Condition > &value)
Definition: ScanRequest.h:545
ScanRequest & WithConditionalOperator(ConditionalOperator &&value)
Definition: ScanRequest.h:666
ScanRequest & WithTableName(const char *value)
Definition: ScanRequest.h:94
bool ReturnConsumedCapacityHasBeenSet() const
Definition: ScanRequest.h:806
ScanRequest & WithIndexName(Aws::String &&value)
Definition: ScanRequest.h:144
ScanRequest & AddScanFilter(Aws::String &&key, const Condition &value)
Definition: ScanRequest.h:585
ScanRequest & WithSelect(const Select &value)
Definition: ScanRequest.h:481
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ScanRequest.h:1247
ScanRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ScanRequest.h:1274
ScanRequest & AddScanFilter(const char *key, Condition &&value)
Definition: ScanRequest.h:609
ScanRequest & WithConsistentRead(bool value)
Definition: ScanRequest.h:1760
ScanRequest & WithAttributesToGet(const Aws::Vector< Aws::String > &value)
Definition: ScanRequest.h:192
ScanRequest & AddScanFilter(const Aws::String &key, const Condition &value)
Definition: ScanRequest.h:577
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
Definition: ScanRequest.h:812
ScanRequest & AddExclusiveStartKey(Aws::String &&key, AttributeValue &&value)
Definition: ScanRequest.h:777