7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/dynamodb/model/AttributeValue.h>
55 template<
typename KeysT = Aws::Vector<Aws::Map<Aws::String, AttributeValue>>>
56 void SetKeys(KeysT&& value) { m_keysHasBeenSet =
true; m_keys = std::forward<KeysT>(value); }
57 template<
typename KeysT = Aws::Vector<Aws::Map<Aws::String, AttributeValue>>>
59 template<
typename KeysT = Aws::Map<Aws::String, AttributeValue>>
60 KeysAndAttributes&
AddKeys(KeysT&& value) { m_keysHasBeenSet =
true; m_keys.emplace_back(std::forward<KeysT>(value));
return *
this; }
72 template<
typename AttributesToGetT = Aws::Vector<Aws::String>>
73 void SetAttributesToGet(AttributesToGetT&& value) { m_attributesToGetHasBeenSet =
true; m_attributesToGet = std::forward<AttributesToGetT>(value); }
74 template<
typename AttributesToGetT = Aws::Vector<Aws::String>>
76 template<
typename AttributesToGetT = Aws::String>
77 KeysAndAttributes&
AddAttributesToGet(AttributesToGetT&& value) { m_attributesToGetHasBeenSet =
true; m_attributesToGet.emplace_back(std::forward<AttributesToGetT>(value));
return *
this; }
88 inline void SetConsistentRead(
bool value) { m_consistentReadHasBeenSet =
true; m_consistentRead = value; }
105 template<
typename ProjectionExpressionT = Aws::String>
106 void SetProjectionExpression(ProjectionExpressionT&& value) { m_projectionExpressionHasBeenSet =
true; m_projectionExpression = std::forward<ProjectionExpressionT>(value); }
107 template<
typename ProjectionExpressionT = Aws::String>
139 template<
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
140 void SetExpressionAttributeNames(ExpressionAttributeNamesT&& value) { m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value); }
141 template<
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
145 m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key), std::forward<ExpressionAttributeNamesValueT>(value));
return *
this;
151 bool m_keysHasBeenSet =
false;
154 bool m_attributesToGetHasBeenSet =
false;
156 bool m_consistentRead{
false};
157 bool m_consistentReadHasBeenSet =
false;
160 bool m_projectionExpressionHasBeenSet =
false;
163 bool m_expressionAttributeNamesHasBeenSet =
false;
KeysAndAttributes & AddAttributesToGet(AttributesToGetT &&value)
KeysAndAttributes & WithProjectionExpression(ProjectionExpressionT &&value)
AWS_DYNAMODB_API KeysAndAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
KeysAndAttributes & AddKeys(KeysT &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
AWS_DYNAMODB_API KeysAndAttributes(Aws::Utils::Json::JsonView jsonValue)
bool ConsistentReadHasBeenSet() const
void SetAttributesToGet(AttributesToGetT &&value)
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
bool ExpressionAttributeNamesHasBeenSet() const
bool KeysHasBeenSet() const
KeysAndAttributes & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
bool AttributesToGetHasBeenSet() const
KeysAndAttributes & WithConsistentRead(bool value)
const Aws::Vector< Aws::Map< Aws::String, AttributeValue > > & GetKeys() const
AWS_DYNAMODB_API KeysAndAttributes()=default
const Aws::Vector< Aws::String > & GetAttributesToGet() const
bool GetConsistentRead() const
void SetKeys(KeysT &&value)
KeysAndAttributes & WithAttributesToGet(AttributesToGetT &&value)
KeysAndAttributes & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
KeysAndAttributes & WithKeys(KeysT &&value)
bool ProjectionExpressionHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProjectionExpression(ProjectionExpressionT &&value)
const Aws::String & GetProjectionExpression() const
void SetConsistentRead(bool value)
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
Aws::Utils::Json::JsonValue JsonValue