7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchWriteExceptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudDirectory
46 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
66 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
74 bool m_indexHasBeenSet =
false;
77 bool m_typeHasBeenSet =
false;
80 bool m_messageHasBeenSet =
false;
BatchWriteException & WithMessage(const Aws::String &value)
BatchWriteException & WithMessage(const char *value)
const BatchWriteExceptionType & GetType() const
BatchWriteException & WithType(BatchWriteExceptionType &&value)
bool MessageHasBeenSet() const
AWS_CLOUDDIRECTORY_API BatchWriteException(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
BatchWriteException & WithMessage(Aws::String &&value)
bool TypeHasBeenSet() const
void SetMessage(const char *value)
AWS_CLOUDDIRECTORY_API BatchWriteException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
BatchWriteException & WithType(const BatchWriteExceptionType &value)
void SetType(const BatchWriteExceptionType &value)
BatchWriteException & WithIndex(int value)
AWS_CLOUDDIRECTORY_API BatchWriteException()
bool IndexHasBeenSet() const
void SetType(BatchWriteExceptionType &&value)
void SetMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue