7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BackupGateway {
41 template <
typename ErrorCodeT = Aws::String>
43 m_errorCodeHasBeenSet =
true;
44 m_errorCode = std::forward<ErrorCodeT>(value);
46 template <
typename ErrorCodeT = Aws::String>
57 template <
typename MessageT = Aws::String>
59 m_messageHasBeenSet =
true;
60 m_message = std::forward<MessageT>(value);
62 template <
typename MessageT = Aws::String>
72 bool m_errorCodeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
AWS_BACKUPGATEWAY_API InternalServerException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
AWS_BACKUPGATEWAY_API InternalServerException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
InternalServerException & WithMessage(MessageT &&value)
const Aws::String & GetErrorCode() const
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPGATEWAY_API InternalServerException()=default
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
InternalServerException & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue