7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/BatchReadExceptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudDirectory
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_typeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
void SetMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
void SetType(const BatchReadExceptionType &value)
BatchReadException & WithMessage(Aws::String &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API BatchReadException & operator=(Aws::Utils::Json::JsonView jsonValue)
const BatchReadExceptionType & GetType() const
BatchReadException & WithMessage(const char *value)
BatchReadException & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
void SetType(BatchReadExceptionType &&value)
AWS_CLOUDDIRECTORY_API BatchReadException(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API BatchReadException()
void SetMessage(const char *value)
bool MessageHasBeenSet() const
BatchReadException & WithType(const BatchReadExceptionType &value)
bool TypeHasBeenSet() const
BatchReadException & WithType(BatchReadExceptionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue