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/ReturnConsumedCapacity.h>
53 template <
typename TableNameT = Aws::String>
55 m_tableNameHasBeenSet =
true;
56 m_tableName = std::forward<TableNameT>(value);
58 template <
typename TableNameT = Aws::String>
75 template <
typename KeyT = Aws::Map<Aws::String, AttributeValue>>
77 m_keyHasBeenSet =
true;
78 m_key = std::forward<KeyT>(value);
80 template <
typename KeyT = Aws::Map<Aws::String, AttributeValue>>
82 SetKey(std::forward<KeyT>(value));
85 template <
typename KeyKeyT = Aws::String,
typename KeyValueT = AttributeValue>
87 m_keyHasBeenSet =
true;
88 m_key.emplace(std::forward<KeyKeyT>(key), std::forward<KeyValueT>(value));
102 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
104 m_attributesToGetHasBeenSet =
true;
105 m_attributesToGet = std::forward<AttributesToGetT>(value);
107 template <
typename AttributesToGetT = Aws::Vector<Aws::String>>
112 template <
typename AttributesToGetT = Aws::String>
114 m_attributesToGetHasBeenSet =
true;
115 m_attributesToGet.emplace_back(std::forward<AttributesToGetT>(value));
129 m_consistentReadHasBeenSet =
true;
130 m_consistentRead = value;
143 m_returnConsumedCapacityHasBeenSet =
true;
144 m_returnConsumedCapacity = value;
165 template <
typename ProjectionExpressionT = Aws::String>
167 m_projectionExpressionHasBeenSet =
true;
168 m_projectionExpression = std::forward<ProjectionExpressionT>(value);
170 template <
typename ProjectionExpressionT = Aws::String>
205 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
207 m_expressionAttributeNamesHasBeenSet =
true;
208 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
210 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
215 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
217 m_expressionAttributeNamesHasBeenSet =
true;
218 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
219 std::forward<ExpressionAttributeNamesValueT>(value));
230 bool m_consistentRead{
false};
237 bool m_tableNameHasBeenSet =
false;
238 bool m_keyHasBeenSet =
false;
239 bool m_attributesToGetHasBeenSet =
false;
240 bool m_consistentReadHasBeenSet =
false;
241 bool m_returnConsumedCapacityHasBeenSet =
false;
242 bool m_projectionExpressionHasBeenSet =
false;
243 bool m_expressionAttributeNamesHasBeenSet =
false;
Aws::Endpoint::EndpointParameters EndpointParameters
bool ExpressionAttributeNamesHasBeenSet() const
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
void SetKey(KeyT &&value)
bool ReturnConsumedCapacityHasBeenSet() const
GetItemRequest & WithProjectionExpression(ProjectionExpressionT &&value)
bool GetConsistentRead() const
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
GetItemRequest & WithConsistentRead(bool value)
bool TableNameHasBeenSet() const
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetItemRequest & WithKey(KeyT &&value)
GetItemRequest & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
bool AttributesToGetHasBeenSet() const
AWS_DYNAMODB_API EndpointParameters GetEndpointContextParams() const override
void SetReturnConsumedCapacity(ReturnConsumedCapacity value)
GetItemRequest & AddAttributesToGet(AttributesToGetT &&value)
GetItemRequest & WithTableName(TableNameT &&value)
void SetProjectionExpression(ProjectionExpressionT &&value)
AWS_DYNAMODB_API GetItemRequest()=default
virtual const char * GetServiceRequestName() const override
void SetAttributesToGet(AttributesToGetT &&value)
GetItemRequest & AddKey(KeyKeyT &&key, KeyValueT &&value)
const Aws::String & GetProjectionExpression() const
GetItemRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity value)
GetItemRequest & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
const Aws::String & GetTableName() const
GetItemRequest & WithAttributesToGet(AttributesToGetT &&value)
void SetTableName(TableNameT &&value)
void SetConsistentRead(bool value)
ReturnConsumedCapacity GetReturnConsumedCapacity() const
bool KeyHasBeenSet() const
bool ProjectionExpressionHasBeenSet() const
bool ConsistentReadHasBeenSet() const
const Aws::Vector< Aws::String > & GetAttributesToGet() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() 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