7#include <aws/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ServerlessApplicationRepository
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
64 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
72 bool m_errorCodeHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
void SetErrorCode(const Aws::String &value)
void SetMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
NotFoundException & WithErrorCode(const char *value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API NotFoundException & operator=(Aws::Utils::Json::JsonView jsonValue)
NotFoundException & WithMessage(const Aws::String &value)
const Aws::String & GetErrorCode() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API NotFoundException()
AWS_SERVERLESSAPPLICATIONREPOSITORY_API NotFoundException(Aws::Utils::Json::JsonView jsonValue)
NotFoundException & WithMessage(const char *value)
NotFoundException & WithErrorCode(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
NotFoundException & WithMessage(Aws::String &&value)
NotFoundException & WithErrorCode(Aws::String &&value)
void SetMessage(const char *value)
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
void SetErrorCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue