7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/StorageGatewayError.h>
22namespace StorageGateway
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 bool m_messageHasBeenSet =
false;
74 bool m_errorHasBeenSet =
false;
InternalServerError & WithMessage(const char *value)
AWS_STORAGEGATEWAY_API InternalServerError()
InternalServerError & WithMessage(Aws::String &&value)
InternalServerError & WithError(StorageGatewayError &&value)
bool ErrorHasBeenSet() const
void SetError(StorageGatewayError &&value)
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
AWS_STORAGEGATEWAY_API InternalServerError(Aws::Utils::Json::JsonView jsonValue)
void SetError(const StorageGatewayError &value)
const StorageGatewayError & GetError() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_STORAGEGATEWAY_API InternalServerError & operator=(Aws::Utils::Json::JsonView jsonValue)
InternalServerError & WithMessage(const Aws::String &value)
InternalServerError & WithError(const StorageGatewayError &value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue