7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/BatchStatementErrorCodeEnum.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>
60 template<
typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
62 template<
typename MessageT = 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_codeHasBeenSet =
false;
88 bool m_messageHasBeenSet =
false;
91 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