7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodb/model/ReturnValuesOnConditionCheckFailure.h>
11#include <aws/dynamodb/model/AttributeValue.h>
59 inline Update&
AddKey(
const char* key,
AttributeValue&& value) { m_keyHasBeenSet =
true; m_key.emplace(key, std::move(value));
return *
this; }
72 inline void SetUpdateExpression(
const char* value) { m_updateExpressionHasBeenSet =
true; m_updateExpression.assign(value); }
87 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
102 inline void SetConditionExpression(
const char* value) { m_conditionExpressionHasBeenSet =
true; m_conditionExpression.assign(value); }
124 inline Update&
AddExpressionAttributeNames(
const char* key,
const char* value) { m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames.emplace(key, value);
return *
this; }
162 bool m_keyHasBeenSet =
false;
165 bool m_updateExpressionHasBeenSet =
false;
168 bool m_tableNameHasBeenSet =
false;
171 bool m_conditionExpressionHasBeenSet =
false;
174 bool m_expressionAttributeNamesHasBeenSet =
false;
177 bool m_expressionAttributeValuesHasBeenSet =
false;
180 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
Update & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
Update & WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
Update & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
const Aws::String & GetConditionExpression() const
void SetReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
Update & AddExpressionAttributeNames(const char *key, Aws::String &&value)
void SetConditionExpression(const Aws::String &value)
Update & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
Update & AddExpressionAttributeNames(const char *key, const char *value)
Update & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
Update & WithConditionExpression(const Aws::String &value)
void SetKey(const Aws::Map< Aws::String, AttributeValue > &value)
Update & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
void SetTableName(const char *value)
bool TableNameHasBeenSet() const
const Aws::String & GetTableName() const
void SetConditionExpression(Aws::String &&value)
Update & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
Update & AddKey(Aws::String &&key, const AttributeValue &value)
Update & AddKey(const Aws::String &key, const AttributeValue &value)
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
Update & WithTableName(const char *value)
Update & WithKey(const Aws::Map< Aws::String, AttributeValue > &value)
Update & AddKey(const char *key, const AttributeValue &value)
Update & AddKey(const char *key, AttributeValue &&value)
Update & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
bool KeyHasBeenSet() const
AWS_DYNAMODB_API Update()
void SetConditionExpression(const char *value)
AWS_DYNAMODB_API Update & operator=(Aws::Utils::Json::JsonView jsonValue)
Update & AddKey(Aws::String &&key, AttributeValue &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
Update & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
bool ExpressionAttributeValuesHasBeenSet() const
Update & WithUpdateExpression(const Aws::String &value)
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
const ReturnValuesOnConditionCheckFailure & GetReturnValuesOnConditionCheckFailure() const
bool ConditionExpressionHasBeenSet() const
Update & WithConditionExpression(const char *value)
void SetUpdateExpression(Aws::String &&value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
Update & WithUpdateExpression(Aws::String &&value)
Update & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
void SetKey(Aws::Map< Aws::String, AttributeValue > &&value)
Update & WithKey(Aws::Map< Aws::String, AttributeValue > &&value)
Update & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
Update & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
Update & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
Update & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
Update & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
void SetUpdateExpression(const char *value)
bool ReturnValuesOnConditionCheckFailureHasBeenSet() const
AWS_DYNAMODB_API Update(Aws::Utils::Json::JsonView jsonValue)
Update & WithTableName(const Aws::String &value)
Update & WithConditionExpression(Aws::String &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
Update & WithUpdateExpression(const char *value)
void SetUpdateExpression(const Aws::String &value)
const Aws::String & GetUpdateExpression() const
Update & WithTableName(Aws::String &&value)
void SetTableName(Aws::String &&value)
bool ExpressionAttributeNamesHasBeenSet() const
Update & AddKey(const Aws::String &key, AttributeValue &&value)
bool UpdateExpressionHasBeenSet() const
Update & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
Update & AddExpressionAttributeNames(Aws::String &&key, const char *value)
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
void SetTableName(const Aws::String &value)
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