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;
void SetError(const StorageGatewayError &value)
InvalidGatewayRequestException & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
void SetError(StorageGatewayError &&value)
const Aws::String & GetMessage() const
InvalidGatewayRequestException & WithError(const StorageGatewayError &value)
void SetMessage(Aws::String &&value)
InvalidGatewayRequestException & WithError(StorageGatewayError &&value)
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorHasBeenSet() const
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException()
InvalidGatewayRequestException & WithMessage(const char *value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const StorageGatewayError & GetError() const
bool MessageHasBeenSet() const
InvalidGatewayRequestException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue