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>
33 AWS_DYNAMODB_API
Put() =
default;
49 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
51 m_itemHasBeenSet =
true;
52 m_item = std::forward<ItemT>(value);
54 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
56 SetItem(std::forward<ItemT>(value));
59 template <
typename ItemKeyT = Aws::String,
typename ItemValueT = AttributeValue>
61 m_itemHasBeenSet =
true;
62 m_item.emplace(std::forward<ItemKeyT>(key), std::forward<ItemValueT>(value));
74 template <
typename TableNameT = Aws::String>
76 m_tableNameHasBeenSet =
true;
77 m_tableName = std::forward<TableNameT>(value);
79 template <
typename TableNameT = Aws::String>
93 template <
typename ConditionExpressionT = Aws::String>
95 m_conditionExpressionHasBeenSet =
true;
96 m_conditionExpression = std::forward<ConditionExpressionT>(value);
98 template <
typename ConditionExpressionT = Aws::String>
111 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
113 m_expressionAttributeNamesHasBeenSet =
true;
114 m_expressionAttributeNames = std::forward<ExpressionAttributeNamesT>(value);
116 template <
typename ExpressionAttributeNamesT = Aws::Map<Aws::String, Aws::String>>
121 template <
typename ExpressionAttributeNamesKeyT = Aws::String,
typename ExpressionAttributeNamesValueT = Aws::String>
123 m_expressionAttributeNamesHasBeenSet =
true;
124 m_expressionAttributeNames.emplace(std::forward<ExpressionAttributeNamesKeyT>(key),
125 std::forward<ExpressionAttributeNamesValueT>(value));
136 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
138 m_expressionAttributeValuesHasBeenSet =
true;
139 m_expressionAttributeValues = std::forward<ExpressionAttributeValuesT>(value);
141 template <
typename ExpressionAttributeValuesT = Aws::Map<Aws::String, AttributeValue>>
146 template <
typename ExpressionAttributeValuesKeyT = Aws::String,
typename ExpressionAttributeValuesValueT = AttributeValue>
148 m_expressionAttributeValuesHasBeenSet =
true;
149 m_expressionAttributeValues.emplace(std::forward<ExpressionAttributeValuesKeyT>(key),
150 std::forward<ExpressionAttributeValuesValueT>(value));
163 return m_returnValuesOnConditionCheckFailure;
167 m_returnValuesOnConditionCheckFailureHasBeenSet =
true;
168 m_returnValuesOnConditionCheckFailure = value;
187 bool m_itemHasBeenSet =
false;
188 bool m_tableNameHasBeenSet =
false;
189 bool m_conditionExpressionHasBeenSet =
false;
190 bool m_expressionAttributeNamesHasBeenSet =
false;
191 bool m_expressionAttributeValuesHasBeenSet =
false;
192 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
Put & WithConditionExpression(ConditionExpressionT &&value)
bool ItemHasBeenSet() const
AWS_DYNAMODB_API Put & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TableNameHasBeenSet() const
const Aws::String & GetConditionExpression() const
AWS_DYNAMODB_API Put(Aws::Utils::Json::JsonView jsonValue)
ReturnValuesOnConditionCheckFailure GetReturnValuesOnConditionCheckFailure() const
bool ExpressionAttributeNamesHasBeenSet() const
Put & WithTableName(TableNameT &&value)
void SetExpressionAttributeNames(ExpressionAttributeNamesT &&value)
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
const Aws::Map< Aws::String, AttributeValue > & GetItem() const
Put & WithExpressionAttributeValues(ExpressionAttributeValuesT &&value)
Put & AddExpressionAttributeValues(ExpressionAttributeValuesKeyT &&key, ExpressionAttributeValuesValueT &&value)
AWS_DYNAMODB_API Put()=default
bool ConditionExpressionHasBeenSet() const
void SetItem(ItemT &&value)
Put & WithItem(ItemT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
bool ExpressionAttributeValuesHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
Put & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
void SetConditionExpression(ConditionExpressionT &&value)
void SetExpressionAttributeValues(ExpressionAttributeValuesT &&value)
Put & WithExpressionAttributeNames(ExpressionAttributeNamesT &&value)
Put & AddItem(ItemKeyT &&key, ItemValueT &&value)
const Aws::String & GetTableName() const
void SetTableName(TableNameT &&value)
Put & AddExpressionAttributeNames(ExpressionAttributeNamesKeyT &&key, ExpressionAttributeNamesValueT &&value)
bool ReturnValuesOnConditionCheckFailureHasBeenSet() 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