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