7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/model/CancellationReason.h>
121 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
143 bool m_messageHasBeenSet =
false;
146 bool m_cancellationReasonsHasBeenSet =
false;
TransactionCanceledException & WithMessage(Aws::String &&value)
TransactionCanceledException & AddCancellationReasons(const CancellationReason &value)
void SetCancellationReasons(const Aws::Vector< CancellationReason > &value)
TransactionCanceledException & AddCancellationReasons(CancellationReason &&value)
AWS_DYNAMODB_API TransactionCanceledException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
AWS_DYNAMODB_API TransactionCanceledException()
TransactionCanceledException & WithCancellationReasons(const Aws::Vector< CancellationReason > &value)
TransactionCanceledException & WithMessage(const char *value)
bool CancellationReasonsHasBeenSet() const
bool MessageHasBeenSet() const
AWS_DYNAMODB_API TransactionCanceledException(Aws::Utils::Json::JsonView jsonValue)
void SetCancellationReasons(Aws::Vector< CancellationReason > &&value)
TransactionCanceledException & WithMessage(const Aws::String &value)
const Aws::Vector< CancellationReason > & GetCancellationReasons() const
const Aws::String & GetMessage() const
void SetMessage(const char *value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
TransactionCanceledException & WithCancellationReasons(Aws::Vector< CancellationReason > &&value)
void SetMessage(Aws::String &&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