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/BatchStatementError.h>
43 template <
typename ErrorT = BatchStatementError>
45 m_errorHasBeenSet =
true;
46 m_error = std::forward<ErrorT>(value);
48 template <
typename ErrorT = BatchStatementError>
50 SetError(std::forward<ErrorT>(value));
61 template <
typename TableNameT = Aws::String>
63 m_tableNameHasBeenSet =
true;
64 m_tableName = std::forward<TableNameT>(value);
66 template <
typename TableNameT = Aws::String>
79 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
81 m_itemHasBeenSet =
true;
82 m_item = std::forward<ItemT>(value);
84 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
86 SetItem(std::forward<ItemT>(value));
89 template <
typename ItemKeyT = Aws::String,
typename ItemValueT = AttributeValue>
91 m_itemHasBeenSet =
true;
92 m_item.emplace(std::forward<ItemKeyT>(key), std::forward<ItemValueT>(value));
102 bool m_errorHasBeenSet =
false;
103 bool m_tableNameHasBeenSet =
false;
104 bool m_itemHasBeenSet =
false;
void SetItem(ItemT &&value)
void SetError(ErrorT &&value)
AWS_DYNAMODB_API BatchStatementResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API BatchStatementResponse(Aws::Utils::Json::JsonView jsonValue)
void SetTableName(TableNameT &&value)
const Aws::String & GetTableName() const
bool ErrorHasBeenSet() const
bool TableNameHasBeenSet() const
const BatchStatementError & GetError() const
BatchStatementResponse & AddItem(ItemKeyT &&key, ItemValueT &&value)
BatchStatementResponse & WithTableName(TableNameT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetItem() const
bool ItemHasBeenSet() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
BatchStatementResponse & WithError(ErrorT &&value)
BatchStatementResponse & WithItem(ItemT &&value)
AWS_DYNAMODB_API BatchStatementResponse()=default
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