7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
58 inline void SetTurkErrorCode(
const char* value) { m_turkErrorCodeHasBeenSet =
true; m_turkErrorCode.assign(value); }
66 bool m_messageHasBeenSet =
false;
69 bool m_turkErrorCodeHasBeenSet =
false;
bool TurkErrorCodeHasBeenSet() const
AWS_MTURK_API RequestError(Aws::Utils::Json::JsonView jsonValue)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTurkErrorCode(const char *value)
RequestError & WithTurkErrorCode(Aws::String &&value)
RequestError & WithMessage(Aws::String &&value)
void SetTurkErrorCode(const Aws::String &value)
RequestError & WithTurkErrorCode(const char *value)
RequestError & WithMessage(const Aws::String &value)
AWS_MTURK_API RequestError()
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
RequestError & WithMessage(const char *value)
void SetTurkErrorCode(Aws::String &&value)
AWS_MTURK_API RequestError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
const Aws::String & GetTurkErrorCode() const
void SetMessage(Aws::String &&value)
void SetMessage(const char *value)
RequestError & WithTurkErrorCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue