7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/DynamoDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/dynamodb/model/ConditionalOperator.h>
12#include <aws/dynamodb/model/ReturnValue.h>
13#include <aws/dynamodb/model/ReturnConsumedCapacity.h>
14#include <aws/dynamodb/model/ReturnItemCollectionMetrics.h>
15#include <aws/dynamodb/model/ReturnValuesOnConditionCheckFailure.h>
16#include <aws/dynamodb/model/AttributeValue.h>
17#include <aws/dynamodb/model/AttributeValueUpdate.h>
18#include <aws/dynamodb/model/ExpectedAttributeValue.h>
59 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
261 inline void SetUpdateExpression(
const char* value) { m_updateExpressionHasBeenSet =
true; m_updateExpression.assign(value); }
284 inline void SetConditionExpression(
const char* value) { m_conditionExpressionHasBeenSet =
true; m_conditionExpression.assign(value); }
379 bool m_tableNameHasBeenSet =
false;
382 bool m_keyHasBeenSet =
false;
385 bool m_attributeUpdatesHasBeenSet =
false;
388 bool m_expectedHasBeenSet =
false;
391 bool m_conditionalOperatorHasBeenSet =
false;
394 bool m_returnValuesHasBeenSet =
false;
397 bool m_returnConsumedCapacityHasBeenSet =
false;
400 bool m_returnItemCollectionMetricsHasBeenSet =
false;
403 bool m_updateExpressionHasBeenSet =
false;
406 bool m_conditionExpressionHasBeenSet =
false;
409 bool m_expressionAttributeNamesHasBeenSet =
false;
412 bool m_expressionAttributeValuesHasBeenSet =
false;
415 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
UpdateItemRequest & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
UpdateItemRequest & WithReturnItemCollectionMetrics(const ReturnItemCollectionMetrics &value)
UpdateItemRequest & WithKey(Aws::Map< Aws::String, AttributeValue > &&value)
bool ExpressionAttributeNamesHasBeenSet() const
UpdateItemRequest & AddKey(const Aws::String &key, AttributeValue &&value)
UpdateItemRequest & AddKey(Aws::String &&key, AttributeValue &&value)
UpdateItemRequest & AddExpected(const Aws::String &key, ExpectedAttributeValue &&value)
const Aws::String & GetConditionExpression() const
bool TableNameHasBeenSet() const
UpdateItemRequest & WithUpdateExpression(Aws::String &&value)
bool ConditionExpressionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateItemRequest & WithReturnValues(const ReturnValue &value)
const Aws::Map< Aws::String, AttributeValueUpdate > & GetAttributeUpdates() const
void SetTableName(const char *value)
void SetUpdateExpression(const char *value)
void SetExpected(const Aws::Map< Aws::String, ExpectedAttributeValue > &value)
void SetAttributeUpdates(Aws::Map< Aws::String, AttributeValueUpdate > &&value)
UpdateItemRequest & AddAttributeUpdates(const char *key, AttributeValueUpdate &&value)
UpdateItemRequest & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
UpdateItemRequest & WithTableName(Aws::String &&value)
UpdateItemRequest & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
bool ExpectedHasBeenSet() const
void SetExpected(Aws::Map< Aws::String, ExpectedAttributeValue > &&value)
UpdateItemRequest & AddAttributeUpdates(Aws::String &&key, AttributeValueUpdate &&value)
UpdateItemRequest & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
void SetReturnItemCollectionMetrics(const ReturnItemCollectionMetrics &value)
UpdateItemRequest & WithReturnValues(ReturnValue &&value)
UpdateItemRequest & WithReturnConsumedCapacity(const ReturnConsumedCapacity &value)
UpdateItemRequest & AddKey(const char *key, AttributeValue &&value)
UpdateItemRequest & WithAttributeUpdates(Aws::Map< Aws::String, AttributeValueUpdate > &&value)
void SetTableName(Aws::String &&value)
UpdateItemRequest & WithConditionalOperator(ConditionalOperator &&value)
UpdateItemRequest & WithAttributeUpdates(const Aws::Map< Aws::String, AttributeValueUpdate > &value)
void SetReturnValues(ReturnValue &&value)
UpdateItemRequest & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
void SetKey(const Aws::Map< Aws::String, AttributeValue > &value)
UpdateItemRequest & AddExpected(Aws::String &&key, ExpectedAttributeValue &&value)
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
UpdateItemRequest & WithReturnItemCollectionMetrics(ReturnItemCollectionMetrics &&value)
UpdateItemRequest & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
void SetConditionalOperator(const ConditionalOperator &value)
void SetReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
bool ConditionalOperatorHasBeenSet() const
UpdateItemRequest & AddAttributeUpdates(const Aws::String &key, AttributeValueUpdate &&value)
UpdateItemRequest & WithConditionExpression(Aws::String &&value)
UpdateItemRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
bool UpdateExpressionHasBeenSet() const
UpdateItemRequest & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
UpdateItemRequest & AddAttributeUpdates(const char *key, const AttributeValueUpdate &value)
UpdateItemRequest & AddExpected(const Aws::String &key, const ExpectedAttributeValue &value)
UpdateItemRequest & WithTableName(const Aws::String &value)
UpdateItemRequest & AddExpected(const char *key, ExpectedAttributeValue &&value)
UpdateItemRequest & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
void SetTableName(const Aws::String &value)
UpdateItemRequest & AddExpressionAttributeNames(const char *key, Aws::String &&value)
UpdateItemRequest & AddExpressionAttributeNames(Aws::String &&key, const char *value)
void SetReturnConsumedCapacity(ReturnConsumedCapacity &&value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
UpdateItemRequest & WithConditionalOperator(const ConditionalOperator &value)
const ReturnConsumedCapacity & GetReturnConsumedCapacity() const
UpdateItemRequest & AddAttributeUpdates(Aws::String &&key, const AttributeValueUpdate &value)
void SetUpdateExpression(Aws::String &&value)
UpdateItemRequest & AddExpressionAttributeNames(const char *key, const char *value)
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
void SetUpdateExpression(const Aws::String &value)
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
void SetReturnConsumedCapacity(const ReturnConsumedCapacity &value)
void SetReturnItemCollectionMetrics(ReturnItemCollectionMetrics &&value)
bool ReturnValuesHasBeenSet() const
UpdateItemRequest & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
UpdateItemRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
const Aws::String & GetUpdateExpression() const
void SetConditionExpression(Aws::String &&value)
bool ReturnValuesOnConditionCheckFailureHasBeenSet() const
UpdateItemRequest & AddExpected(Aws::String &&key, const ExpectedAttributeValue &value)
bool KeyHasBeenSet() const
const ReturnValue & GetReturnValues() const
UpdateItemRequest & WithUpdateExpression(const char *value)
AWS_DYNAMODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateItemRequest & WithKey(const Aws::Map< Aws::String, AttributeValue > &value)
const Aws::Map< Aws::String, ExpectedAttributeValue > & GetExpected() const
bool ReturnConsumedCapacityHasBeenSet() const
UpdateItemRequest & AddKey(Aws::String &&key, const AttributeValue &value)
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
AWS_DYNAMODB_API Aws::String SerializePayload() const override
UpdateItemRequest & AddKey(const Aws::String &key, const AttributeValue &value)
UpdateItemRequest & WithConditionExpression(const Aws::String &value)
UpdateItemRequest & AddAttributeUpdates(const Aws::String &key, const AttributeValueUpdate &value)
UpdateItemRequest & WithExpected(Aws::Map< Aws::String, ExpectedAttributeValue > &&value)
bool ReturnItemCollectionMetricsHasBeenSet() const
void SetKey(Aws::Map< Aws::String, AttributeValue > &&value)
UpdateItemRequest & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
const ReturnItemCollectionMetrics & GetReturnItemCollectionMetrics() const
UpdateItemRequest & WithExpected(const Aws::Map< Aws::String, ExpectedAttributeValue > &value)
bool ExpressionAttributeValuesHasBeenSet() const
void SetConditionalOperator(ConditionalOperator &&value)
void SetReturnValues(const ReturnValue &value)
const ConditionalOperator & GetConditionalOperator() const
UpdateItemRequest & AddExpected(const char *key, const ExpectedAttributeValue &value)
void SetConditionExpression(const Aws::String &value)
UpdateItemRequest & WithReturnConsumedCapacity(ReturnConsumedCapacity &&value)
bool AttributeUpdatesHasBeenSet() const
void SetAttributeUpdates(const Aws::Map< Aws::String, AttributeValueUpdate > &value)
const Aws::String & GetTableName() const
UpdateItemRequest & AddKey(const char *key, const AttributeValue &value)
const Aws::Map< Aws::String, AttributeValue > & GetKey() const
const ReturnValuesOnConditionCheckFailure & GetReturnValuesOnConditionCheckFailure() const
UpdateItemRequest & WithConditionExpression(const char *value)
AWS_DYNAMODB_API UpdateItemRequest()
UpdateItemRequest & WithUpdateExpression(const Aws::String &value)
UpdateItemRequest & WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
void SetConditionExpression(const char *value)
UpdateItemRequest & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
UpdateItemRequest & WithTableName(const char *value)
UpdateItemRequest & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
UpdateItemRequest & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
ReturnValuesOnConditionCheckFailure
ReturnItemCollectionMetrics
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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