7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetWorkerId(
const char* value) { m_workerIdHasBeenSet =
true; m_workerId.assign(value); }
62 inline void SetBonusAmount(
const char* value) { m_bonusAmountHasBeenSet =
true; m_bonusAmount.assign(value); }
76 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); }
110 bool m_workerIdHasBeenSet =
false;
113 bool m_bonusAmountHasBeenSet =
false;
116 bool m_assignmentIdHasBeenSet =
false;
119 bool m_reasonHasBeenSet =
false;
122 bool m_grantTimeHasBeenSet =
false;
BonusPayment & WithGrantTime(Aws::Utils::DateTime &&value)
BonusPayment & WithReason(const char *value)
BonusPayment & WithBonusAmount(Aws::String &&value)
BonusPayment & WithGrantTime(const Aws::Utils::DateTime &value)
void SetAssignmentId(Aws::String &&value)
AWS_MTURK_API BonusPayment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetGrantTime() const
void SetBonusAmount(Aws::String &&value)
BonusPayment & WithReason(const Aws::String &value)
const Aws::String & GetAssignmentId() const
void SetAssignmentId(const char *value)
void SetWorkerId(Aws::String &&value)
const Aws::String & GetBonusAmount() const
const Aws::String & GetReason() const
void SetBonusAmount(const Aws::String &value)
BonusPayment & WithBonusAmount(const char *value)
bool ReasonHasBeenSet() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGrantTime(const Aws::Utils::DateTime &value)
void SetReason(Aws::String &&value)
AWS_MTURK_API BonusPayment(Aws::Utils::Json::JsonView jsonValue)
bool WorkerIdHasBeenSet() const
void SetReason(const char *value)
BonusPayment & WithAssignmentId(const char *value)
BonusPayment & WithWorkerId(Aws::String &&value)
void SetWorkerId(const Aws::String &value)
void SetGrantTime(Aws::Utils::DateTime &&value)
BonusPayment & WithBonusAmount(const Aws::String &value)
void SetAssignmentId(const Aws::String &value)
BonusPayment & WithWorkerId(const char *value)
bool AssignmentIdHasBeenSet() const
BonusPayment & WithWorkerId(const Aws::String &value)
BonusPayment & WithReason(Aws::String &&value)
BonusPayment & WithAssignmentId(Aws::String &&value)
void SetBonusAmount(const char *value)
const Aws::String & GetWorkerId() const
void SetReason(const Aws::String &value)
AWS_MTURK_API BonusPayment()
BonusPayment & WithAssignmentId(const Aws::String &value)
bool GrantTimeHasBeenSet() const
bool BonusAmountHasBeenSet() const
void SetWorkerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue