7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/CancellationReason.h>
116 template <
typename MessageT = Aws::String>
118 m_messageHasBeenSet =
true;
119 m_message = std::forward<MessageT>(value);
121 template <
typename MessageT = Aws::String>
134 template <
typename CancellationReasonsT = Aws::Vector<CancellationReason>>
136 m_cancellationReasonsHasBeenSet =
true;
137 m_cancellationReasons = std::forward<CancellationReasonsT>(value);
139 template <
typename CancellationReasonsT = Aws::Vector<CancellationReason>>
144 template <
typename CancellationReasonsT = CancellationReason>
146 m_cancellationReasonsHasBeenSet =
true;
147 m_cancellationReasons.emplace_back(std::forward<CancellationReasonsT>(value));
155 bool m_messageHasBeenSet =
false;
156 bool m_cancellationReasonsHasBeenSet =
false;
TransactionCanceledException & WithCancellationReasons(CancellationReasonsT &&value)
TransactionCanceledException & WithMessage(MessageT &&value)
AWS_DYNAMODB_API TransactionCanceledException & operator=(Aws::Utils::Json::JsonView jsonValue)
TransactionCanceledException & AddCancellationReasons(CancellationReasonsT &&value)
bool CancellationReasonsHasBeenSet() const
bool MessageHasBeenSet() const
AWS_DYNAMODB_API TransactionCanceledException(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API TransactionCanceledException()=default
const Aws::Vector< CancellationReason > & GetCancellationReasons() const
const Aws::String & GetMessage() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCancellationReasons(CancellationReasonsT &&value)
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue