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); }
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 bool m_errorCodeHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
void SetMessage(const Aws::String &value)
BadRequestException & WithErrorCode(const Aws::String &value)
BadRequestException & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API BadRequestException()
bool MessageHasBeenSet() const
const Aws::String & GetErrorCode() const
const Aws::String & GetMessage() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVERLESSAPPLICATIONREPOSITORY_API BadRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
BadRequestException & WithMessage(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
void SetErrorCode(const char *value)
BadRequestException & WithMessage(Aws::String &&value)
AWS_SERVERLESSAPPLICATIONREPOSITORY_API BadRequestException(Aws::Utils::Json::JsonView jsonValue)
BadRequestException & WithErrorCode(const char *value)
void SetErrorCode(const Aws::String &value)
void SetMessage(const char *value)
BadRequestException & WithErrorCode(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue