7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ServerlessApplicationRepository
48 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;
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
ForbiddenException & WithErrorCode(const Aws::String &value)
ForbiddenException & WithErrorCode(Aws::String &&value)
const Aws::String & GetMessage() const
void SetMessage(Aws::String &&value)
ForbiddenException & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
const Aws::String & GetErrorCode() const
bool MessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const char *value)
void SetErrorCode(Aws::String &&value)
ForbiddenException & WithErrorCode(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ForbiddenException & operator=(Aws::Utils::Json::JsonView jsonValue)
ForbiddenException & WithMessage(const char *value)
void SetMessage(const char *value)
ForbiddenException & WithMessage(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ForbiddenException()
void SetErrorCode(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API ForbiddenException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue