7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace BackupGateway
50 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_errorCodeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
void SetErrorCode(const char *value)
void SetMessage(const char *value)
ThrottlingException & WithMessage(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
AWS_BACKUPGATEWAY_API ThrottlingException()
void SetMessage(const Aws::String &value)
const Aws::String & GetMessage() const
AWS_BACKUPGATEWAY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithErrorCode(const char *value)
bool MessageHasBeenSet() const
ThrottlingException & WithErrorCode(Aws::String &&value)
ThrottlingException & WithErrorCode(const Aws::String &value)
ThrottlingException & WithMessage(const char *value)
ThrottlingException & WithMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const Aws::String &value)
void SetMessage(Aws::String &&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