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 SetBonusAmount(
const char* value) { m_bonusAmountHasBeenSet =
true; m_bonusAmount.assign(value); }
75 inline void SetAssignmentId(
const char* value) { m_assignmentIdHasBeenSet =
true; m_assignmentId.assign(value); }
90 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
109 inline void SetUniqueRequestToken(
const char* value) { m_uniqueRequestTokenHasBeenSet =
true; m_uniqueRequestToken.assign(value); }
117 bool m_workerIdHasBeenSet =
false;
120 bool m_bonusAmountHasBeenSet =
false;
123 bool m_assignmentIdHasBeenSet =
false;
126 bool m_reasonHasBeenSet =
false;
129 bool m_uniqueRequestTokenHasBeenSet =
false;
SendBonusRequest & WithUniqueRequestToken(const Aws::String &value)
void SetWorkerId(const char *value)
bool BonusAmountHasBeenSet() const
void SetUniqueRequestToken(const char *value)
void SetAssignmentId(Aws::String &&value)
void SetUniqueRequestToken(Aws::String &&value)
void SetAssignmentId(const Aws::String &value)
SendBonusRequest & WithWorkerId(const char *value)
void SetBonusAmount(Aws::String &&value)
void SetReason(const char *value)
SendBonusRequest & WithBonusAmount(Aws::String &&value)
const Aws::String & GetWorkerId() const
const Aws::String & GetAssignmentId() const
void SetAssignmentId(const char *value)
bool AssignmentIdHasBeenSet() const
void SetWorkerId(Aws::String &&value)
const Aws::String & GetUniqueRequestToken() const
SendBonusRequest & WithBonusAmount(const char *value)
AWS_MTURK_API Aws::String SerializePayload() const override
bool ReasonHasBeenSet() const
void SetReason(const Aws::String &value)
void SetUniqueRequestToken(const Aws::String &value)
const Aws::String & GetReason() const
void SetWorkerId(const Aws::String &value)
AWS_MTURK_API SendBonusRequest()
virtual const char * GetServiceRequestName() const override
SendBonusRequest & WithUniqueRequestToken(Aws::String &&value)
SendBonusRequest & WithReason(const Aws::String &value)
SendBonusRequest & WithAssignmentId(const Aws::String &value)
SendBonusRequest & WithAssignmentId(Aws::String &&value)
SendBonusRequest & WithUniqueRequestToken(const char *value)
SendBonusRequest & WithReason(Aws::String &&value)
bool WorkerIdHasBeenSet() const
void SetReason(Aws::String &&value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SendBonusRequest & WithReason(const char *value)
void SetBonusAmount(const char *value)
SendBonusRequest & WithBonusAmount(const Aws::String &value)
SendBonusRequest & WithWorkerId(const Aws::String &value)
SendBonusRequest & WithAssignmentId(const char *value)
bool UniqueRequestTokenHasBeenSet() const
SendBonusRequest & WithWorkerId(Aws::String &&value)
void SetBonusAmount(const Aws::String &value)
const Aws::String & GetBonusAmount() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String