7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetWorkerId(
const char* value) { m_workerIdHasBeenSet =
true; m_workerId.assign(value); }
64 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
72 bool m_workerIdHasBeenSet =
false;
75 bool m_reasonHasBeenSet =
false;
const Aws::String & GetReason() const
void SetReason(const char *value)
bool ReasonHasBeenSet() const
void SetWorkerId(const char *value)
WorkerBlock & WithReason(const char *value)
void SetWorkerId(const Aws::String &value)
WorkerBlock & WithReason(Aws::String &&value)
void SetReason(Aws::String &&value)
bool WorkerIdHasBeenSet() const
AWS_MTURK_API WorkerBlock(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWorkerId() const
void SetWorkerId(Aws::String &&value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MTURK_API WorkerBlock()
WorkerBlock & WithWorkerId(Aws::String &&value)
WorkerBlock & WithWorkerId(const Aws::String &value)
AWS_MTURK_API WorkerBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerBlock & WithWorkerId(const char *value)
void SetReason(const Aws::String &value)
WorkerBlock & WithReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue