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/BatchStatementErrorCodeEnum.h>
45 m_codeHasBeenSet =
true;
60 template <
typename MessageT = Aws::String>
62 m_messageHasBeenSet =
true;
63 m_message = std::forward<MessageT>(value);
65 template <
typename MessageT = 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_codeHasBeenSet =
false;
103 bool m_messageHasBeenSet =
false;
104 bool m_itemHasBeenSet =
false;
void SetMessage(MessageT &&value)
bool ItemHasBeenSet() const
void SetItem(ItemT &&value)
BatchStatementErrorCodeEnum GetCode() const
AWS_DYNAMODB_API BatchStatementError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
BatchStatementError & WithMessage(MessageT &&value)
void SetCode(BatchStatementErrorCodeEnum value)
const Aws::Map< Aws::String, AttributeValue > & GetItem() const
BatchStatementError & AddItem(ItemKeyT &&key, ItemValueT &&value)
BatchStatementError & WithItem(ItemT &&value)
AWS_DYNAMODB_API BatchStatementError()=default
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
BatchStatementError & WithCode(BatchStatementErrorCodeEnum value)
AWS_DYNAMODB_API BatchStatementError(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
BatchStatementErrorCodeEnum
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