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
51 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
72 bool m_messageHasBeenSet =
false;
75 bool m_errorHasBeenSet =
false;
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceUnavailableError & WithError(StorageGatewayError &&value)
const StorageGatewayError & GetError() const
bool MessageHasBeenSet() const
void SetMessage(const char *value)
AWS_STORAGEGATEWAY_API ServiceUnavailableError(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableError & WithMessage(const char *value)
ServiceUnavailableError & WithError(const StorageGatewayError &value)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
void SetError(const StorageGatewayError &value)
ServiceUnavailableError & WithMessage(Aws::String &&value)
void SetError(StorageGatewayError &&value)
AWS_STORAGEGATEWAY_API ServiceUnavailableError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API ServiceUnavailableError()
bool ErrorHasBeenSet() const
ServiceUnavailableError & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue