7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGateway_EXPORTS.h>
9#include <aws/storagegateway/model/StorageGatewayError.h>
20namespace StorageGateway {
43 template <
typename MessageT = Aws::String>
45 m_messageHasBeenSet =
true;
46 m_message = std::forward<MessageT>(value);
48 template <
typename MessageT = Aws::String>
62 template <
typename ErrorT = StorageGatewayError>
64 m_errorHasBeenSet =
true;
65 m_error = std::forward<ErrorT>(value);
67 template <
typename ErrorT = StorageGatewayError>
69 SetError(std::forward<ErrorT>(value));
77 bool m_messageHasBeenSet =
false;
78 bool m_errorHasBeenSet =
false;
const Aws::String & GetMessage() const
InvalidGatewayRequestException & WithError(ErrorT &&value)
void SetError(ErrorT &&value)
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException()=default
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API InvalidGatewayRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidGatewayRequestException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool ErrorHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const StorageGatewayError & GetError() const
bool MessageHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue