7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/BatchStatementError.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/dynamodb/model/AttributeValue.h>
49 template<
typename ErrorT = BatchStatementError>
50 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
51 template<
typename ErrorT = BatchStatementError>
61 template<
typename TableNameT = Aws::String>
62 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
63 template<
typename TableNameT = Aws::String>
73 template<
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
74 void SetItem(ItemT&& value) { m_itemHasBeenSet =
true; m_item = std::forward<ItemT>(value); }
75 template<
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
77 template<
typename ItemKeyT = Aws::String,
typename ItemValueT = AttributeValue>
79 m_itemHasBeenSet =
true; m_item.emplace(std::forward<ItemKeyT>(key), std::forward<ItemValueT>(value));
return *
this;
85 bool m_errorHasBeenSet =
false;
88 bool m_tableNameHasBeenSet =
false;
91 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