7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dynamodb/model/Select.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/dynamodb/model/ConditionalOperator.h>
14#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
15#include <aws/dynamodb/model/Condition.h>
16#include <aws/dynamodb/model/AttributeValue.h>
61 template<
typename TableNameT = Aws::String>
62 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
63 template<
typename TableNameT = Aws::String>
75 template<
typename IndexNameT = Aws::String>
76 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
77 template<
typename IndexNameT = Aws::String>
90 template<
typename AttributesToGetT = Aws::Vector<Aws::String>>
91 void SetAttributesToGet(AttributesToGetT&& value) { m_attributesToGetHasBeenSet =
true; m_attributesToGet = std::forward<AttributesToGetT>(value); }
92 template<
typename AttributesToGetT = Aws::Vector<Aws::String>>
94 template<
typename AttributesToGetT = Aws::String>
95 ScanRequest&
AddAttributesToGet(AttributesToGetT&& value) { m_attributesToGetHasBeenSet =
true; m_attributesToGet.emplace_back(std::forward<AttributesToGetT>(value));
return *
this; }
114 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
174 template<
typename ScanFilterT = Aws::Map<Aws::String, Condition>>
175 void SetScanFilter(ScanFilterT&& value) { m_scanFilterHasBeenSet =
true; m_scanFilter = std::forward<ScanFilterT>(value); }
176 template<
typename ScanFilterT = Aws::Map<Aws::String, Condition>>
178 template<
typename ScanFilterKeyT = Aws::String,
typename ScanFilterValueT = Condition>
180 m_scanFilterHasBeenSet =
true; m_scanFilter.emplace(std::forward<ScanFilterKeyT>(key), std::forward<ScanFilterValueT>(value));
return *
this;
209 template<
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
210 void SetExclusiveStartKey(ExclusiveStartKeyT&& value) { m_exclusiveStartKeyHasBeenSet =
true; m_exclusiveStartKey = std::forward<ExclusiveStartKeyT>(value); }
211 template<
typename ExclusiveStartKeyT = Aws::Map<Aws::String, AttributeValue>>
213 template<
typename ExclusiveStartKeyKeyT = Aws::String,
typename ExclusiveStartKeyValueT = AttributeValue>
215 m_exclusiveStartKeyHasBeenSet =
true; m_exclusiveStartKey.emplace(std::forward<ExclusiveStartKeyKeyT>(key), std::forward<ExclusiveStartKeyValueT>(value));
return *
this;
243 inline void SetTotalSegments(
int value) { m_totalSegmentsHasBeenSet =
true; m_totalSegments = value; }
264 inline void SetSegment(
int value) { m_segmentHasBeenSet =
true; m_segment = value; }
281 template<
typename ProjectionExpressionT = Aws::String>
282 void SetProjectionExpression(ProjectionExpressionT&& value) { m_projectionExpressionHasBeenSet =
true; m_projectionExpression = std::forward<ProjectionExpressionT>(value); }
283 template<
typename ProjectionExpressionT = Aws::String>
300 template<
typename FilterExpressionT = Aws::String>
301 void SetFilterExpression(FilterExpressionT&& value) { m_filterExpressionHasBeenSet =
true; m_filterExpression = std::forward<FilterExpressionT>(value); }
302 template<
typename FilterExpressionT = Aws::String>
334 template<
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
335 void SetExpressionAttributeNames(ExpressionAttributeNamesT&& value) { m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value); }
336 template<
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
338 template<
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
340 m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key), std::forward<ExpressionAttributeNamesValueT>(value));
return *
this;
362 template<
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
363 void SetExpressionAttributeValues(ExpressionAttributeValuesT&& value) { m_expressionAttributeValuesHasBeenSet =
true; m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value); }
364 template<
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
366 template<
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
368 m_expressionAttributeValuesHasBeenSet =
true; m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key), std::forward<ExpressionAttributeValuesValueT>(value));
return *
this;
389 inline void SetConsistentRead(
bool value) { m_consistentReadHasBeenSet =
true; m_consistentRead = value; }
395 bool m_tableNameHasBeenSet =
false;
398 bool m_indexNameHasBeenSet =
false;
401 bool m_attributesToGetHasBeenSet =
false;
404 bool m_limitHasBeenSet =
false;
407 bool m_selectHasBeenSet =
false;
410 bool m_scanFilterHasBeenSet =
false;
413 bool m_conditionalOperatorHasBeenSet =
false;
416 bool m_exclusiveStartKeyHasBeenSet =
false;
419 bool m_returnConsumedCapacityHasBeenSet =
false;
421 int m_totalSegments{0};
422 bool m_totalSegmentsHasBeenSet =
false;
425 bool m_segmentHasBeenSet =
false;
428 bool m_projectionExpressionHasBeenSet =
false;
431 bool m_filterExpressionHasBeenSet =
false;
434 bool m_expressionAttributeNamesHasBeenSet =
false;
437 bool m_expressionAttributeValuesHasBeenSet =
false;
439 bool m_consistentRead{
false};
440 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