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>
113 template <
typename MessageT = Aws::String>
115 m_messageHasBeenSet =
true;
116 m_message = std::forward<MessageT>(value);
118 template <
typename MessageT = Aws::String>
131 template <
typename CancellationReasonsT = Aws::Vector<CancellationReason>>
133 m_cancellationReasonsHasBeenSet =
true;
134 m_cancellationReasons = std::forward<CancellationReasonsT>(value);
136 template <
typename CancellationReasonsT = Aws::Vector<CancellationReason>>
141 template <
typename CancellationReasonsT = CancellationReason>
143 m_cancellationReasonsHasBeenSet =
true;
144 m_cancellationReasons.emplace_back(std::forward<CancellationReasonsT>(value));
152 bool m_messageHasBeenSet =
false;
153 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