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>
46 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
48 m_itemHasBeenSet =
true;
49 m_item = std::forward<ItemT>(value);
51 template <
typename ItemT = Aws::Map<Aws::String, AttributeValue>>
53 SetItem(std::forward<ItemT>(value));
56 template <
typename ItemKeyT = Aws::String,
typename ItemValueT = AttributeValue>
58 m_itemHasBeenSet =
true;
59 m_item.emplace(std::forward<ItemKeyT>(key), std::forward<ItemValueT>(value));
70 template <
typename CodeT = Aws::String>
72 m_codeHasBeenSet =
true;
73 m_code = std::forward<CodeT>(value);
75 template <
typename CodeT = Aws::String>
77 SetCode(std::forward<CodeT>(value));
88 template <
typename MessageT = Aws::String>
90 m_messageHasBeenSet =
true;
91 m_message = std::forward<MessageT>(value);
93 template <
typename MessageT = Aws::String>
105 bool m_itemHasBeenSet =
false;
106 bool m_codeHasBeenSet =
false;
107 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