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>
38 AWS_DYNAMODB_API
Put();
63 inline Put&
AddItem(
const char* key,
AttributeValue&& value) { m_itemHasBeenSet =
true; m_item.emplace(key, std::move(value));
return *
this; }
64 inline Put&
AddItem(
const char* key,
const AttributeValue& value) { m_itemHasBeenSet =
true; m_item.emplace(key, value);
return *
this; }
76 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
91 inline void SetConditionExpression(
const char* value) { m_conditionExpressionHasBeenSet =
true; m_conditionExpression.assign(value); }
113 inline Put&
AddExpressionAttributeNames(
const char* key,
const char* value) { m_expressionAttributeNamesHasBeenSet =
true; m_expressionAttributeNames.emplace(key, value);
return *
this; }
151 bool m_itemHasBeenSet =
false;
154 bool m_tableNameHasBeenSet =
false;
157 bool m_conditionExpressionHasBeenSet =
false;
160 bool m_expressionAttributeNamesHasBeenSet =
false;
163 bool m_expressionAttributeValuesHasBeenSet =
false;
166 bool m_returnValuesOnConditionCheckFailureHasBeenSet =
false;
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
Put & WithReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
void SetReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
void SetConditionExpression(const Aws::String &value)
Put & AddItem(const char *key, AttributeValue &&value)
Put & WithExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
bool ItemHasBeenSet() const
void SetReturnValuesOnConditionCheckFailure(const ReturnValuesOnConditionCheckFailure &value)
AWS_DYNAMODB_API Put & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TableNameHasBeenSet() const
void SetExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetConditionExpression() const
void SetExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
Put & AddItem(Aws::String &&key, AttributeValue &&value)
AWS_DYNAMODB_API Put(Aws::Utils::Json::JsonView jsonValue)
Put & AddExpressionAttributeNames(Aws::String &&key, const Aws::String &value)
Put & AddExpressionAttributeValues(const char *key, AttributeValue &&value)
bool ExpressionAttributeNamesHasBeenSet() const
Put & AddExpressionAttributeNames(Aws::String &&key, Aws::String &&value)
Put & AddExpressionAttributeValues(Aws::String &&key, AttributeValue &&value)
void SetTableName(const Aws::String &value)
const Aws::Map< Aws::String, AttributeValue > & GetItem() const
Put & AddExpressionAttributeNames(const char *key, const char *value)
void SetTableName(const char *value)
Put & AddExpressionAttributeNames(const Aws::String &key, const Aws::String &value)
Put & AddExpressionAttributeValues(const Aws::String &key, const AttributeValue &value)
bool ConditionExpressionHasBeenSet() const
const Aws::Map< Aws::String, AttributeValue > & GetExpressionAttributeValues() const
void SetItem(const Aws::Map< Aws::String, AttributeValue > &value)
void SetExpressionAttributeValues(const Aws::Map< Aws::String, AttributeValue > &value)
Put & WithConditionExpression(Aws::String &&value)
const ReturnValuesOnConditionCheckFailure & GetReturnValuesOnConditionCheckFailure() const
Put & WithReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure &&value)
Put & WithTableName(const char *value)
Put & WithItem(const Aws::Map< Aws::String, AttributeValue > &value)
Put & AddExpressionAttributeNames(const Aws::String &key, Aws::String &&value)
void SetConditionExpression(const char *value)
Put & AddItem(const Aws::String &key, AttributeValue &&value)
Put & AddExpressionAttributeValues(const Aws::String &key, AttributeValue &&value)
bool ExpressionAttributeValuesHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
Put & WithConditionExpression(const char *value)
Put & AddExpressionAttributeValues(Aws::String &&key, const AttributeValue &value)
const Aws::Map< Aws::String, Aws::String > & GetExpressionAttributeNames() const
Put & WithExpressionAttributeNames(const Aws::Map< Aws::String, Aws::String > &value)
Put & AddItem(const Aws::String &key, const AttributeValue &value)
Put & AddExpressionAttributeValues(const char *key, const AttributeValue &value)
Put & AddExpressionAttributeNames(Aws::String &&key, const char *value)
void SetConditionExpression(Aws::String &&value)
Put & WithExpressionAttributeNames(Aws::Map< Aws::String, Aws::String > &&value)
Put & AddExpressionAttributeNames(const char *key, Aws::String &&value)
Put & AddItem(Aws::String &&key, const AttributeValue &value)
const Aws::String & GetTableName() const
Put & WithExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
Put & AddItem(const char *key, const AttributeValue &value)
Put & WithTableName(Aws::String &&value)
void SetExpressionAttributeValues(Aws::Map< Aws::String, AttributeValue > &&value)
void SetItem(Aws::Map< Aws::String, AttributeValue > &&value)
Put & WithConditionExpression(const Aws::String &value)
Put & WithItem(Aws::Map< Aws::String, AttributeValue > &&value)
void SetTableName(Aws::String &&value)
Put & WithTableName(const Aws::String &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