7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/AttributeValue.h>
11#include <aws/dynamodb/model/ReturnValuesOnConditionCheckFailure.h>
45 template <
typename KeyT = Aws::Map<Aws::String, AttributeValue>>
47 m_keyHasBeenSet =
true;
48 m_key = std::forward<KeyT>(value);
50 template <
typename KeyT = Aws::Map<Aws::String, AttributeValue>>
52 SetKey(std::forward<KeyT>(value));
55 template <
typename KeyKeyT = Aws::String,
typename KeyValueT = AttributeValue>
57 m_keyHasBeenSet =
true;
58 m_key.emplace(std::forward<KeyKeyT>(key), std::forward<KeyValueT>(value));
70 template <
typename UpdateExpressionT = Aws::String>
72 m_updateExpressionHasBeenSet =
true;
73 m_updateExpression = std::forward<UpdateExpressionT>(value);
75 template <
typename UpdateExpressionT = Aws::String>
89 template <
typename TableNameT = Aws::String>
91 m_tableNameHasBeenSet =
true;
92 m_tableName = std::forward<TableNameT>(value);
94 template <
typename TableNameT = Aws::String>
108 template <
typename ConditionExpressionT = Aws::String>
110 m_conditionExpressionHasBeenSet =
true;
111 m_conditionExpression = std::forward<ConditionExpressionT>(value);
113 template <
typename ConditionExpressionT = Aws::String>
126 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
128 m_expressionAttributeNamesHasBeenSet =
true;
129 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
131 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
136 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
138 m_expressionAttributeNamesHasBeenSet =
true;
139 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
140 std::forward<ExpressionAttributeNamesValueT>(value));
151 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
153 m_expressionAttributeValuesHasBeenSet =
true;
154 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
156 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
161 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
163 m_expressionAttributeValuesHasBeenSet =
true;
164 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
165 std::forward<ExpressionAttributeValuesValueT>(value));
178 return m_returnValuesOnConditionCheckFailure;
182 m_returnValuesOnConditionCheckFailureHasBeenSet =
true;
183 m_returnValuesOnConditionCheckFailure = value;
204 bool m_keyHasBeenSet =
false;
205 bool m_updateExpressionHasBeenSet =
false;
206 bool m_tableNameHasBeenSet =
false;
207 bool m_conditionExpressionHasBeenSet =
false;
208 bool m_expressionAttributeNamesHasBeenSet =
false;
209 bool m_expressionAttributeValuesHasBeenSet =
false;
210 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
const Aws::String & GetConditionExpression() const
bool TableNameHasBeenSet() const
const Aws::String & GetTableName() const
Update & WithKey(KeyT &&value)
void SetUpdateExpression(UpdateExpressionT &&value)
AWS_DYNAMODB_API Update()=default
bool KeyHasBeenSet() const
Update & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
void SetKey(KeyT &&value)
void SetConditionExpression(ConditionExpressionT &&value)
AWS_DYNAMODB_API Update & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
bool ExpressionAttributeValuesHasBeenSet() const
Update & WithUpdateExpression(UpdateExpressionT &&value)
bool ConditionExpressionHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
void SetTableName(TableNameT &&value)
Update & WithConditionExpression(ConditionExpressionT &&value)
Update & WithTableName(TableNameT &&value)
Update & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
Update & AddKey(KeyKeyT &&key, KeyValueT &&value)
ReturnValuesOnConditionCheckFailure GetReturnValuesOnConditionCheckFailure() const
Update & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
bool ReturnValuesOnConditionCheckFailureHasBeenSet() const
AWS_DYNAMODB_API Update(Aws::Utils::Json::JsonView jsonValue)
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
Update & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
const Aws::String & GetUpdateExpression() const
bool ExpressionAttributeNamesHasBeenSet() const
Update & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
bool UpdateExpressionHasBeenSet() const
ReturnValuesOnConditionCheckFailure
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
Aws::Utils::Json::JsonValue JsonValue