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
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
61 template<
typename ErrorT = StorageGatewayError>
62 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
63 template<
typename ErrorT = StorageGatewayError>
69 bool m_messageHasBeenSet =
false;
72 bool m_errorHasBeenSet =
false;
InternalServerError & WithMessage(MessageT &&value)
bool ErrorHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_STORAGEGATEWAY_API InternalServerError(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API InternalServerError()=default
void SetError(ErrorT &&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 & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue