7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/BadRequestReason.h>
10#include <aws/appsync/model/BadRequestDetail.h>
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
78 bool m_messageHasBeenSet =
false;
81 bool m_reasonHasBeenSet =
false;
84 bool m_detailHasBeenSet =
false;
BadRequestException & WithDetail(const BadRequestDetail &value)
AWS_APPSYNC_API BadRequestException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
void SetDetail(BadRequestDetail &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
void SetDetail(const BadRequestDetail &value)
AWS_APPSYNC_API BadRequestException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DetailHasBeenSet() const
void SetMessage(Aws::String &&value)
BadRequestException & WithReason(BadRequestReason &&value)
const BadRequestReason & GetReason() const
BadRequestException & WithMessage(const char *value)
BadRequestException & WithMessage(Aws::String &&value)
void SetMessage(const char *value)
const Aws::String & GetMessage() const
BadRequestException & WithMessage(const Aws::String &value)
void SetReason(BadRequestReason &&value)
AWS_APPSYNC_API BadRequestException()
BadRequestException & WithDetail(BadRequestDetail &&value)
const BadRequestDetail & GetDetail() const
BadRequestException & WithReason(const BadRequestReason &value)
void SetReason(const BadRequestReason &value)
bool ReasonHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue