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/AttributeValue.h>
52 template<
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
53 void SetItem(ItemT&& value) { m_itemHasBeenSet =
true; m_item = std::forward<ItemT>(value); }
54 template<
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
56 template<
typename ItemKeyT = Aws::String,
typename ItemValueT = AttributeValue>
58 m_itemHasBeenSet =
true; m_item.emplace(std::forward<ItemKeyT>(key), std::forward<ItemValueT>(value));
return *
this;
68 template<
typename CodeT = Aws::String>
69 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
70 template<
typename CodeT = Aws::String>
80 template<
typename MessageT = Aws::String>
81 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
82 template<
typename MessageT = Aws::String>
88 bool m_itemHasBeenSet =
false;
91 bool m_codeHasBeenSet =
false;
94 bool m_messageHasBeenSet =
false;
bool ItemHasBeenSet() const
CancellationReason & WithMessage(MessageT &&value)
CancellationReason & WithItem(ItemT &&value)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_DYNAMODB_API CancellationReason & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(CodeT &&value)
bool CodeHasBeenSet() const
void SetItem(ItemT &&value)
AWS_DYNAMODB_API CancellationReason()=default
const Aws::String & GetMessage() const
const Aws::String & GetCode() const
AWS_DYNAMODB_API CancellationReason(Aws::Utils::Json::JsonView jsonValue)
CancellationReason & AddItem(ItemKeyT &&key, ItemValueT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
CancellationReason & WithCode(CodeT &&value)
const Aws::Map< Aws::String, AttributeValue > & GetItem() const
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