7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/mturk-requester/MTurkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetWorkerId(
const char* value) { m_workerIdHasBeenSet =
true; m_workerId.assign(value); }
61 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
69 bool m_workerIdHasBeenSet =
false;
72 bool m_reasonHasBeenSet =
false;
bool WorkerIdHasBeenSet() const
AWS_MTURK_API CreateWorkerBlockRequest()
AWS_MTURK_API Aws::String SerializePayload() const override
CreateWorkerBlockRequest & WithWorkerId(Aws::String &&value)
const Aws::String & GetWorkerId() const
CreateWorkerBlockRequest & WithWorkerId(const char *value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ReasonHasBeenSet() const
void SetReason(const char *value)
void SetWorkerId(const Aws::String &value)
void SetReason(const Aws::String &value)
const Aws::String & GetReason() const
CreateWorkerBlockRequest & WithReason(const Aws::String &value)
CreateWorkerBlockRequest & WithReason(const char *value)
CreateWorkerBlockRequest & WithReason(Aws::String &&value)
void SetWorkerId(Aws::String &&value)
void SetReason(Aws::String &&value)
void SetWorkerId(const char *value)
CreateWorkerBlockRequest & WithWorkerId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String