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 TableNameT = Aws::String>
72 m_tableNameHasBeenSet =
true;
73 m_tableName = std::forward<TableNameT>(value);
75 template <
typename TableNameT = Aws::String>
89 template <
typename ConditionExpressionT = Aws::String>
91 m_conditionExpressionHasBeenSet =
true;
92 m_conditionExpression = std::forward<ConditionExpressionT>(value);
94 template <
typename ConditionExpressionT = Aws::String>
107 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
109 m_expressionAttributeNamesHasBeenSet =
true;
110 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
112 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
117 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
119 m_expressionAttributeNamesHasBeenSet =
true;
120 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
121 std::forward<ExpressionAttributeNamesValueT>(value));
132 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
134 m_expressionAttributeValuesHasBeenSet =
true;
135 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
137 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
142 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
144 m_expressionAttributeValuesHasBeenSet =
true;
145 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
146 std::forward<ExpressionAttributeValuesValueT>(value));
159 return m_returnValuesOnConditionCheckFailure;
163 m_returnValuesOnConditionCheckFailureHasBeenSet =
true;
164 m_returnValuesOnConditionCheckFailure = value;
183 bool m_keyHasBeenSet =
false;
184 bool m_tableNameHasBeenSet =
false;
185 bool m_conditionExpressionHasBeenSet =
false;
186 bool m_expressionAttributeNamesHasBeenSet =
false;
187 bool m_expressionAttributeValuesHasBeenSet =
false;
188 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
bool ExpressionAttributeNamesHasBeenSet() const
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
ReturnValuesOnConditionCheckFailure GetReturnValuesOnConditionCheckFailure() const
Delete & AddKey(KeyKeyT &&key, KeyValueT &&value)
AWS_DYNAMODB_API Delete()=default
AWS_DYNAMODB_API Delete(Aws::Utils::Json::JsonView jsonValue)
Delete & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
Delete & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
Delete & WithKey(KeyT &&value)
bool ReturnValuesOnConditionCheckFailureHasBeenSet() const
bool TableNameHasBeenSet() const
bool KeyHasBeenSet() const
Delete & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
void SetConditionExpression(ConditionExpressionT &&value)
Delete & WithTableName(TableNameT &&value)
bool ExpressionAttributeValuesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
bool ConditionExpressionHasBeenSet() const
void SetTableName(TableNameT &&value)
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
Delete & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
AWS_DYNAMODB_API Delete & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConditionExpression() const
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
Delete & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
void SetKey(KeyT &&value)
Delete & WithConditionExpression(ConditionExpressionT &&value)
const Aws::String & GetTableName() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() 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