7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/DynamoDBRequest.h>
11#include <aws/dynamodb/DynamoDB_EXPORTS.h>
12#include <aws/dynamodb/model/AttributeValue.h>
13#include <aws/dynamodb/model/Condition.h>
14#include <aws/dynamodb/model/ConditionalOperator.h>
15#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
16#include <aws/dynamodb/model/Select.h>
58 template <
typename TableNameT = Aws::String>
60 m_tableNameHasBeenSet =
true;
61 m_tableName = std::forward<TableNameT>(value);
63 template <
typename TableNameT = Aws::String>
78 template <
typename IndexNameT = Aws::String>
80 m_indexNameHasBeenSet =
true;
81 m_indexName = std::forward<IndexNameT>(value);
83 template <
typename IndexNameT = Aws::String>
99 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
101 m_attributesToGetHasBeenSet =
true;
102 m_attributesToGet = std::forward<AttributesToGetT>(value);
104 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
109 template <
typename AttributesToGetT = Aws::String>
111 m_attributesToGetHasBeenSet =
true;
112 m_attributesToGet.emplace_back(std::forward<AttributesToGetT>(value));
134 m_limitHasBeenSet =
true;
187 m_selectHasBeenSet =
true;
205 template <
typename ScanFilterT = Aws::Map<Aws::String, Condition>>
207 m_scanFilterHasBeenSet =
true;
208 m_scanFilter = std::forward<ScanFilterT>(value);
210 template <
typename ScanFilterT = Aws::Map<Aws::String, Condition>>
215 template <
typename ScanFilterKeyT = Aws::String,
typename ScanFilterValueT = Condition>
217 m_scanFilterHasBeenSet =
true;
218 m_scanFilter.emplace(std::forward<ScanFilterKeyT>(key), std::forward<ScanFilterValueT>(value));
233 m_conditionalOperatorHasBeenSet =
true;
234 m_conditionalOperator = value;
254 template <
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
256 m_exclusiveStartKeyHasBeenSet =
true;
257 m_exclusiveStartKey = std::forward<ExclusiveStartKeyT>(value);
259 template <
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
264 template <
typename ExclusiveStartKeyKeyT = Aws::String,
typename ExclusiveStartKeyValueT = AttributeValue>
266 m_exclusiveStartKeyHasBeenSet =
true;
267 m_exclusiveStartKey.emplace(std::forward<ExclusiveStartKeyKeyT>(key), std::forward<ExclusiveStartKeyValueT>(value));
277 m_returnConsumedCapacityHasBeenSet =
true;
278 m_returnConsumedCapacity = value;
303 m_totalSegmentsHasBeenSet =
true;
304 m_totalSegments = value;
330 m_segmentHasBeenSet =
true;
352 template <
typename ProjectionExpressionT = Aws::String>
354 m_projectionExpressionHasBeenSet =
true;
355 m_projectionExpression = std::forward<ProjectionExpressionT>(value);
357 template <
typename ProjectionExpressionT = Aws::String>
377 template <
typename FilterExpressionT = Aws::String>
379 m_filterExpressionHasBeenSet =
true;
380 m_filterExpression = std::forward<FilterExpressionT>(value);
382 template <
typename FilterExpressionT = Aws::String>
417 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
419 m_expressionAttributeNamesHasBeenSet =
true;
420 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
422 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
427 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
429 m_expressionAttributeNamesHasBeenSet =
true;
430 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
431 std::forward<ExpressionAttributeNamesValueT>(value));
454 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
456 m_expressionAttributeValuesHasBeenSet =
true;
457 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
459 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
464 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
466 m_expressionAttributeValuesHasBeenSet =
true;
467 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
468 std::forward<ExpressionAttributeValuesValueT>(value));
491 m_consistentReadHasBeenSet =
true;
492 m_consistentRead = value;
518 int m_totalSegments{0};
530 bool m_consistentRead{
false};
531 bool m_tableNameHasBeenSet =
false;
532 bool m_indexNameHasBeenSet =
false;
533 bool m_attributesToGetHasBeenSet =
false;
534 bool m_limitHasBeenSet =
false;
535 bool m_selectHasBeenSet =
false;
536 bool m_scanFilterHasBeenSet =
false;
537 bool m_conditionalOperatorHasBeenSet =
false;
538 bool m_exclusiveStartKeyHasBeenSet =
false;
539 bool m_returnConsumedCapacityHasBeenSet =
false;
540 bool m_totalSegmentsHasBeenSet =
false;
541 bool m_segmentHasBeenSet =
false;
542 bool m_projectionExpressionHasBeenSet =
false;
543 bool m_filterExpressionHasBeenSet =
false;
544 bool m_expressionAttributeNamesHasBeenSet =
false;
545 bool m_expressionAttributeValuesHasBeenSet =
false;
546 bool m_consistentReadHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
ScanRequest & WithConsistentRead(bool value)
const Aws::String & GetTableName() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
void SetAttributesToGet(AttributesToGetT &&value)
void SetTotalSegments(int value)
ScanRequest & WithSelect(Select value)
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
ReturnConsumedCapacity GetReturnConsumedCapacity() const
ScanRequest & WithSegment(int value)
bool ScanFilterHasBeenSet() const
bool LimitHasBeenSet() const
ScanRequest & AddExclusiveStartKey(ExclusiveStartKeyKeyT &&key, ExclusiveStartKeyValueT &&value)
bool ExpressionAttributeNamesHasBeenSet() const
void SetFilterExpression(FilterExpressionT &&value)
void SetIndexName(IndexNameT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExclusiveStartKey() const
const Aws::Vector< Aws::String > & GetAttributesToGet() const
void SetScanFilter(ScanFilterT &&value)
const Aws::String & GetIndexName() const
ScanRequest & AddAttributesToGet(AttributesToGetT &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
ScanRequest & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
void SetSelect(Select value)
ScanRequest & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
ScanRequest & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
const Aws::String & GetProjectionExpression() const
void SetConditionalOperator(ConditionalOperator value)
bool SelectHasBeenSet() const
void SetConsistentRead(bool value)
ScanRequest & WithLimit(int value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity value)
void SetExclusiveStartKey(ExclusiveStartKeyT &&value)
ScanRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity value)
bool ExpressionAttributeValuesHasBeenSet() const
bool ConsistentReadHasBeenSet() const
bool TotalSegmentsHasBeenSet() const
ScanRequest & WithTableName(TableNameT &&value)
bool AttributesToGetHasBeenSet() const
bool GetConsistentRead() const
bool ReturnConsumedCapacityHasBeenSet() const
AWS_DYNAMODB_API ScanRequest()=default
int GetTotalSegments() const
bool IndexNameHasBeenSet() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetFilterExpression() const
ScanRequest & WithExclusiveStartKey(ExclusiveStartKeyT &&value)
void SetSegment(int value)
ScanRequest & AddScanFilter(ScanFilterKeyT &&key, ScanFilterValueT &&value)
ScanRequest & WithProjectionExpression(ProjectionExpressionT &&value)
void SetProjectionExpression(ProjectionExpressionT &&value)
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
bool FilterExpressionHasBeenSet() const
ConditionalOperator GetConditionalOperator() const
bool TableNameHasBeenSet() const
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
ScanRequest & WithTotalSegments(int value)
bool ProjectionExpressionHasBeenSet() const
ScanRequest & WithConditionalOperator(ConditionalOperator value)
bool SegmentHasBeenSet() const
const Aws::Map< Aws::String, Condition > & GetScanFilter() const
ScanRequest & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
virtual const char * GetServiceRequestName() const override
ScanRequest & WithIndexName(IndexNameT &&value)
ScanRequest & WithAttributesToGet(AttributesToGetT &&value)
void SetTableName(TableNameT &&value)
ScanRequest & WithScanFilter(ScanFilterT &&value)
bool ExclusiveStartKeyHasBeenSet() const
ScanRequest & WithFilterExpression(FilterExpressionT &&value)
bool ConditionalOperatorHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector