7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BackupGateway
48 template<
typename ErrorCodeT = Aws::String>
49 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
50 template<
typename ErrorCodeT = Aws::String>
58 template<
typename MessageT = Aws::String>
59 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
60 template<
typename MessageT = Aws::String>
66 bool m_errorCodeHasBeenSet =
false;
69 bool m_messageHasBeenSet =
false;
const Aws::String & GetMessage() const
AWS_BACKUPGATEWAY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
void SetErrorCode(ErrorCodeT &&value)
AWS_BACKUPGATEWAY_API ThrottlingException()=default
bool ErrorCodeHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithErrorCode(ErrorCodeT &&value)
AWS_BACKUPGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorCode() const
AWS_BACKUPGATEWAY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue