AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateItemRequest.h
1
6#pragma once
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>
19#include <utility>
20
21namespace Aws
22{
23namespace DynamoDB
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DYNAMODB_API UpdateItemRequest();
38
39 // Service request name is the Operation name which will send this request out,
40 // each operation should has unique request name, so that we can get operation's name from this request.
41 // Note: this is not true for response, multiple operations may have the same response name,
42 // so we can not get operation's name from response.
43 inline virtual const char* GetServiceRequestName() const override { return "UpdateItem"; }
44
45 AWS_DYNAMODB_API Aws::String SerializePayload() const override;
46
48
49
51
55 inline const Aws::String& GetTableName() const{ return m_tableName; }
56 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
57 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
58 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
59 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
60 inline UpdateItemRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
61 inline UpdateItemRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
62 inline UpdateItemRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
64
66
73 inline const Aws::Map<Aws::String, AttributeValue>& GetKey() const{ return m_key; }
74 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
75 inline void SetKey(const Aws::Map<Aws::String, AttributeValue>& value) { m_keyHasBeenSet = true; m_key = value; }
76 inline void SetKey(Aws::Map<Aws::String, AttributeValue>&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
77 inline UpdateItemRequest& WithKey(const Aws::Map<Aws::String, AttributeValue>& value) { SetKey(value); return *this;}
78 inline UpdateItemRequest& WithKey(Aws::Map<Aws::String, AttributeValue>&& value) { SetKey(std::move(value)); return *this;}
79 inline UpdateItemRequest& AddKey(const Aws::String& key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(key, value); return *this; }
80 inline UpdateItemRequest& AddKey(Aws::String&& key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(std::move(key), value); return *this; }
81 inline UpdateItemRequest& AddKey(const Aws::String& key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(key, std::move(value)); return *this; }
82 inline UpdateItemRequest& AddKey(Aws::String&& key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(std::move(key), std::move(value)); return *this; }
83 inline UpdateItemRequest& AddKey(const char* key, AttributeValue&& value) { m_keyHasBeenSet = true; m_key.emplace(key, std::move(value)); return *this; }
84 inline UpdateItemRequest& AddKey(const char* key, const AttributeValue& value) { m_keyHasBeenSet = true; m_key.emplace(key, value); return *this; }
86
88
94 inline const Aws::Map<Aws::String, AttributeValueUpdate>& GetAttributeUpdates() const{ return m_attributeUpdates; }
95 inline bool AttributeUpdatesHasBeenSet() const { return m_attributeUpdatesHasBeenSet; }
96 inline void SetAttributeUpdates(const Aws::Map<Aws::String, AttributeValueUpdate>& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates = value; }
97 inline void SetAttributeUpdates(Aws::Map<Aws::String, AttributeValueUpdate>&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates = std::move(value); }
100 inline UpdateItemRequest& AddAttributeUpdates(const Aws::String& key, const AttributeValueUpdate& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(key, value); return *this; }
101 inline UpdateItemRequest& AddAttributeUpdates(Aws::String&& key, const AttributeValueUpdate& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(std::move(key), value); return *this; }
102 inline UpdateItemRequest& AddAttributeUpdates(const Aws::String& key, AttributeValueUpdate&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(key, std::move(value)); return *this; }
103 inline UpdateItemRequest& AddAttributeUpdates(Aws::String&& key, AttributeValueUpdate&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(std::move(key), std::move(value)); return *this; }
104 inline UpdateItemRequest& AddAttributeUpdates(const char* key, AttributeValueUpdate&& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(key, std::move(value)); return *this; }
105 inline UpdateItemRequest& AddAttributeUpdates(const char* key, const AttributeValueUpdate& value) { m_attributeUpdatesHasBeenSet = true; m_attributeUpdates.emplace(key, value); return *this; }
107
109
115 inline const Aws::Map<Aws::String, ExpectedAttributeValue>& GetExpected() const{ return m_expected; }
116 inline bool ExpectedHasBeenSet() const { return m_expectedHasBeenSet; }
117 inline void SetExpected(const Aws::Map<Aws::String, ExpectedAttributeValue>& value) { m_expectedHasBeenSet = true; m_expected = value; }
118 inline void SetExpected(Aws::Map<Aws::String, ExpectedAttributeValue>&& value) { m_expectedHasBeenSet = true; m_expected = std::move(value); }
121 inline UpdateItemRequest& AddExpected(const Aws::String& key, const ExpectedAttributeValue& value) { m_expectedHasBeenSet = true; m_expected.emplace(key, value); return *this; }
122 inline UpdateItemRequest& AddExpected(Aws::String&& key, const ExpectedAttributeValue& value) { m_expectedHasBeenSet = true; m_expected.emplace(std::move(key), value); return *this; }
123 inline UpdateItemRequest& AddExpected(const Aws::String& key, ExpectedAttributeValue&& value) { m_expectedHasBeenSet = true; m_expected.emplace(key, std::move(value)); return *this; }
124 inline UpdateItemRequest& AddExpected(Aws::String&& key, ExpectedAttributeValue&& value) { m_expectedHasBeenSet = true; m_expected.emplace(std::move(key), std::move(value)); return *this; }
125 inline UpdateItemRequest& AddExpected(const char* key, ExpectedAttributeValue&& value) { m_expectedHasBeenSet = true; m_expected.emplace(key, std::move(value)); return *this; }
126 inline UpdateItemRequest& AddExpected(const char* key, const ExpectedAttributeValue& value) { m_expectedHasBeenSet = true; m_expected.emplace(key, value); return *this; }
128
130
136 inline const ConditionalOperator& GetConditionalOperator() const{ return m_conditionalOperator; }
137 inline bool ConditionalOperatorHasBeenSet() const { return m_conditionalOperatorHasBeenSet; }
138 inline void SetConditionalOperator(const ConditionalOperator& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = value; }
139 inline void SetConditionalOperator(ConditionalOperator&& value) { m_conditionalOperatorHasBeenSet = true; m_conditionalOperator = std::move(value); }
141 inline UpdateItemRequest& WithConditionalOperator(ConditionalOperator&& value) { SetConditionalOperator(std::move(value)); return *this;}
143
145
163 inline const ReturnValue& GetReturnValues() const{ return m_returnValues; }
164 inline bool ReturnValuesHasBeenSet() const { return m_returnValuesHasBeenSet; }
165 inline void SetReturnValues(const ReturnValue& value) { m_returnValuesHasBeenSet = true; m_returnValues = value; }
166 inline void SetReturnValues(ReturnValue&& value) { m_returnValuesHasBeenSet = true; m_returnValues = std::move(value); }
167 inline UpdateItemRequest& WithReturnValues(const ReturnValue& value) { SetReturnValues(value); return *this;}
168 inline UpdateItemRequest& WithReturnValues(ReturnValue&& value) { SetReturnValues(std::move(value)); return *this;}
170
172
173 inline const ReturnConsumedCapacity& GetReturnConsumedCapacity() const{ return m_returnConsumedCapacity; }
174 inline bool ReturnConsumedCapacityHasBeenSet() const { return m_returnConsumedCapacityHasBeenSet; }
175 inline void SetReturnConsumedCapacity(const ReturnConsumedCapacity& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = value; }
176 inline void SetReturnConsumedCapacity(ReturnConsumedCapacity&& value) { m_returnConsumedCapacityHasBeenSet = true; m_returnConsumedCapacity = std::move(value); }
180
182
188 inline const ReturnItemCollectionMetrics& GetReturnItemCollectionMetrics() const{ return m_returnItemCollectionMetrics; }
189 inline bool ReturnItemCollectionMetricsHasBeenSet() const { return m_returnItemCollectionMetricsHasBeenSet; }
190 inline void SetReturnItemCollectionMetrics(const ReturnItemCollectionMetrics& value) { m_returnItemCollectionMetricsHasBeenSet = true; m_returnItemCollectionMetrics = value; }
191 inline void SetReturnItemCollectionMetrics(ReturnItemCollectionMetrics&& value) { m_returnItemCollectionMetricsHasBeenSet = true; m_returnItemCollectionMetrics = std::move(value); }
195
197
257 inline const Aws::String& GetUpdateExpression() const{ return m_updateExpression; }
258 inline bool UpdateExpressionHasBeenSet() const { return m_updateExpressionHasBeenSet; }
259 inline void SetUpdateExpression(const Aws::String& value) { m_updateExpressionHasBeenSet = true; m_updateExpression = value; }
260 inline void SetUpdateExpression(Aws::String&& value) { m_updateExpressionHasBeenSet = true; m_updateExpression = std::move(value); }
261 inline void SetUpdateExpression(const char* value) { m_updateExpressionHasBeenSet = true; m_updateExpression.assign(value); }
262 inline UpdateItemRequest& WithUpdateExpression(const Aws::String& value) { SetUpdateExpression(value); return *this;}
263 inline UpdateItemRequest& WithUpdateExpression(Aws::String&& value) { SetUpdateExpression(std::move(value)); return *this;}
264 inline UpdateItemRequest& WithUpdateExpression(const char* value) { SetUpdateExpression(value); return *this;}
266
268
280 inline const Aws::String& GetConditionExpression() const{ return m_conditionExpression; }
281 inline bool ConditionExpressionHasBeenSet() const { return m_conditionExpressionHasBeenSet; }
282 inline void SetConditionExpression(const Aws::String& value) { m_conditionExpressionHasBeenSet = true; m_conditionExpression = value; }
283 inline void SetConditionExpression(Aws::String&& value) { m_conditionExpressionHasBeenSet = true; m_conditionExpression = std::move(value); }
284 inline void SetConditionExpression(const char* value) { m_conditionExpressionHasBeenSet = true; m_conditionExpression.assign(value); }
286 inline UpdateItemRequest& WithConditionExpression(Aws::String&& value) { SetConditionExpression(std::move(value)); return *this;}
287 inline UpdateItemRequest& WithConditionExpression(const char* value) { SetConditionExpression(value); return *this;}
289
291
316 inline const Aws::Map<Aws::String, Aws::String>& GetExpressionAttributeNames() const{ return m_expressionAttributeNames; }
317 inline bool ExpressionAttributeNamesHasBeenSet() const { return m_expressionAttributeNamesHasBeenSet; }
318 inline void SetExpressionAttributeNames(const Aws::Map<Aws::String, Aws::String>& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = value; }
319 inline void SetExpressionAttributeNames(Aws::Map<Aws::String, Aws::String>&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames = std::move(value); }
322 inline UpdateItemRequest& AddExpressionAttributeNames(const Aws::String& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
323 inline UpdateItemRequest& AddExpressionAttributeNames(Aws::String&& key, const Aws::String& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
324 inline UpdateItemRequest& AddExpressionAttributeNames(const Aws::String& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
325 inline UpdateItemRequest& AddExpressionAttributeNames(Aws::String&& key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), std::move(value)); return *this; }
326 inline UpdateItemRequest& AddExpressionAttributeNames(const char* key, Aws::String&& value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, std::move(value)); return *this; }
327 inline UpdateItemRequest& AddExpressionAttributeNames(Aws::String&& key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(std::move(key), value); return *this; }
328 inline UpdateItemRequest& AddExpressionAttributeNames(const char* key, const char* value) { m_expressionAttributeNamesHasBeenSet = true; m_expressionAttributeNames.emplace(key, value); return *this; }
330
332
347 inline const Aws::Map<Aws::String, AttributeValue>& GetExpressionAttributeValues() const{ return m_expressionAttributeValues; }
348 inline bool ExpressionAttributeValuesHasBeenSet() const { return m_expressionAttributeValuesHasBeenSet; }
349 inline void SetExpressionAttributeValues(const Aws::Map<Aws::String, AttributeValue>& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = value; }
350 inline void SetExpressionAttributeValues(Aws::Map<Aws::String, AttributeValue>&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues = std::move(value); }
353 inline UpdateItemRequest& AddExpressionAttributeValues(const Aws::String& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
354 inline UpdateItemRequest& AddExpressionAttributeValues(Aws::String&& key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), value); return *this; }
355 inline UpdateItemRequest& AddExpressionAttributeValues(const Aws::String& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
356 inline UpdateItemRequest& AddExpressionAttributeValues(Aws::String&& key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(std::move(key), std::move(value)); return *this; }
357 inline UpdateItemRequest& AddExpressionAttributeValues(const char* key, AttributeValue&& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, std::move(value)); return *this; }
358 inline UpdateItemRequest& AddExpressionAttributeValues(const char* key, const AttributeValue& value) { m_expressionAttributeValuesHasBeenSet = true; m_expressionAttributeValues.emplace(key, value); return *this; }
360
362
369 inline const ReturnValuesOnConditionCheckFailure& GetReturnValuesOnConditionCheckFailure() const{ return m_returnValuesOnConditionCheckFailure; }
370 inline bool ReturnValuesOnConditionCheckFailureHasBeenSet() const { return m_returnValuesOnConditionCheckFailureHasBeenSet; }
371 inline void SetReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure& value) { m_returnValuesOnConditionCheckFailureHasBeenSet = true; m_returnValuesOnConditionCheckFailure = value; }
372 inline void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure&& value) { m_returnValuesOnConditionCheckFailureHasBeenSet = true; m_returnValuesOnConditionCheckFailure = std::move(value); }
376 private:
377
378 Aws::String m_tableName;
379 bool m_tableNameHasBeenSet = false;
380
382 bool m_keyHasBeenSet = false;
383
385 bool m_attributeUpdatesHasBeenSet = false;
386
388 bool m_expectedHasBeenSet = false;
389
390 ConditionalOperator m_conditionalOperator;
391 bool m_conditionalOperatorHasBeenSet = false;
392
393 ReturnValue m_returnValues;
394 bool m_returnValuesHasBeenSet = false;
395
396 ReturnConsumedCapacity m_returnConsumedCapacity;
397 bool m_returnConsumedCapacityHasBeenSet = false;
398
399 ReturnItemCollectionMetrics m_returnItemCollectionMetrics;
400 bool m_returnItemCollectionMetricsHasBeenSet = false;
401
402 Aws::String m_updateExpression;
403 bool m_updateExpressionHasBeenSet = false;
404
405 Aws::String m_conditionExpression;
406 bool m_conditionExpressionHasBeenSet = false;
407
408 Aws::Map<Aws::String, Aws::String> m_expressionAttributeNames;
409 bool m_expressionAttributeNamesHasBeenSet = false;
410
411 Aws::Map<Aws::String, AttributeValue> m_expressionAttributeValues;
412 bool m_expressionAttributeValuesHasBeenSet = false;
413
414 ReturnValuesOnConditionCheckFailure m_returnValuesOnConditionCheckFailure;
415 bool m_returnValuesOnConditionCheckFailureHasBeenSet = false;
416 };
417
418} // namespace Model
419} // namespace DynamoDB
420} // namespace Aws
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)
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
UpdateItemRequest & WithUpdateExpression(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateItemRequest & WithReturnValues(const ReturnValue &value)
const Aws::Map< Aws::String, AttributeValueUpdate > & GetAttributeUpdates() const
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)
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)
UpdateItemRequest & WithConditionalOperator(ConditionalOperator &&value)
UpdateItemRequest & WithAttributeUpdates(const Aws::Map< Aws::String, AttributeValueUpdate > &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)
UpdateItemRequest & AddAttributeUpdates(const Aws::String &key, AttributeValueUpdate &&value)
UpdateItemRequest & WithConditionExpression(Aws::String &&value)
UpdateItemRequest & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
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)
UpdateItemRequest & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
UpdateItemRequest & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
const Aws::String & GetUpdateExpression() const
void SetConditionExpression(Aws::String &&value)
UpdateItemRequest & AddExpected(Aws::String &&key, const ExpectedAttributeValue &value)
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
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)
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)
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)
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)
UpdateItemRequest & WithUpdateExpression(const Aws::String &value)
UpdateItemRequest & WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &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)
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