AWS SDK for C++  1.9.16
AWS SDK for C++
Public Member Functions | List of all members
Aws::MTurk::Model::SendBonusRequest Class Reference

#include <SendBonusRequest.h>

+ Inheritance diagram for Aws::MTurk::Model::SendBonusRequest:

Public Member Functions

 SendBonusRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetWorkerId () const
 
bool WorkerIdHasBeenSet () const
 
void SetWorkerId (const Aws::String &value)
 
void SetWorkerId (Aws::String &&value)
 
void SetWorkerId (const char *value)
 
SendBonusRequestWithWorkerId (const Aws::String &value)
 
SendBonusRequestWithWorkerId (Aws::String &&value)
 
SendBonusRequestWithWorkerId (const char *value)
 
const Aws::StringGetBonusAmount () const
 
bool BonusAmountHasBeenSet () const
 
void SetBonusAmount (const Aws::String &value)
 
void SetBonusAmount (Aws::String &&value)
 
void SetBonusAmount (const char *value)
 
SendBonusRequestWithBonusAmount (const Aws::String &value)
 
SendBonusRequestWithBonusAmount (Aws::String &&value)
 
SendBonusRequestWithBonusAmount (const char *value)
 
const Aws::StringGetAssignmentId () const
 
bool AssignmentIdHasBeenSet () const
 
void SetAssignmentId (const Aws::String &value)
 
void SetAssignmentId (Aws::String &&value)
 
void SetAssignmentId (const char *value)
 
SendBonusRequestWithAssignmentId (const Aws::String &value)
 
SendBonusRequestWithAssignmentId (Aws::String &&value)
 
SendBonusRequestWithAssignmentId (const char *value)
 
const Aws::StringGetReason () const
 
bool ReasonHasBeenSet () const
 
void SetReason (const Aws::String &value)
 
void SetReason (Aws::String &&value)
 
void SetReason (const char *value)
 
SendBonusRequestWithReason (const Aws::String &value)
 
SendBonusRequestWithReason (Aws::String &&value)
 
SendBonusRequestWithReason (const char *value)
 
const Aws::StringGetUniqueRequestToken () const
 
bool UniqueRequestTokenHasBeenSet () const
 
void SetUniqueRequestToken (const Aws::String &value)
 
void SetUniqueRequestToken (Aws::String &&value)
 
void SetUniqueRequestToken (const char *value)
 
SendBonusRequestWithUniqueRequestToken (const Aws::String &value)
 
SendBonusRequestWithUniqueRequestToken (Aws::String &&value)
 
SendBonusRequestWithUniqueRequestToken (const char *value)
 
- Public Member Functions inherited from Aws::MTurk::MTurkRequest
virtual ~MTurkRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 21 of file SendBonusRequest.h.

Constructor & Destructor Documentation

◆ SendBonusRequest()

Aws::MTurk::Model::SendBonusRequest::SendBonusRequest ( )

Member Function Documentation

◆ AssignmentIdHasBeenSet()

bool Aws::MTurk::Model::SendBonusRequest::AssignmentIdHasBeenSet ( ) const
inline

The ID of the assignment for which this bonus is paid.

Definition at line 143 of file SendBonusRequest.h.

◆ BonusAmountHasBeenSet()

bool Aws::MTurk::Model::SendBonusRequest::BonusAmountHasBeenSet ( ) const
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 90 of file SendBonusRequest.h.

◆ GetAssignmentId()

const Aws::String& Aws::MTurk::Model::SendBonusRequest::GetAssignmentId ( ) const
inline

The ID of the assignment for which this bonus is paid.

Definition at line 138 of file SendBonusRequest.h.

◆ GetBonusAmount()

const Aws::String& Aws::MTurk::Model::SendBonusRequest::GetBonusAmount ( ) const
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 83 of file SendBonusRequest.h.

◆ GetReason()

const Aws::String& Aws::MTurk::Model::SendBonusRequest::GetReason ( ) const
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 180 of file SendBonusRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::MTurk::Model::SendBonusRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::MTurk::MTurkRequest.

◆ GetServiceRequestName()

virtual const char* Aws::MTurk::Model::SendBonusRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file SendBonusRequest.h.

◆ GetUniqueRequestToken()

const Aws::String& Aws::MTurk::Model::SendBonusRequest::GetUniqueRequestToken ( ) const
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 233 of file SendBonusRequest.h.

◆ GetWorkerId()

const Aws::String& Aws::MTurk::Model::SendBonusRequest::GetWorkerId ( ) const
inline

The ID of the Worker being paid the bonus.

Definition at line 40 of file SendBonusRequest.h.

◆ ReasonHasBeenSet()

bool Aws::MTurk::Model::SendBonusRequest::ReasonHasBeenSet ( ) const
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 186 of file SendBonusRequest.h.

◆ SerializePayload()

Aws::String Aws::MTurk::Model::SendBonusRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAssignmentId() [1/3]

void Aws::MTurk::Model::SendBonusRequest::SetAssignmentId ( Aws::String &&  value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 153 of file SendBonusRequest.h.

◆ SetAssignmentId() [2/3]

void Aws::MTurk::Model::SendBonusRequest::SetAssignmentId ( const Aws::String value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 148 of file SendBonusRequest.h.

◆ SetAssignmentId() [3/3]

void Aws::MTurk::Model::SendBonusRequest::SetAssignmentId ( const char *  value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 158 of file SendBonusRequest.h.

◆ SetBonusAmount() [1/3]

void Aws::MTurk::Model::SendBonusRequest::SetBonusAmount ( Aws::String &&  value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 104 of file SendBonusRequest.h.

◆ SetBonusAmount() [2/3]

void Aws::MTurk::Model::SendBonusRequest::SetBonusAmount ( const Aws::String value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 97 of file SendBonusRequest.h.

◆ SetBonusAmount() [3/3]

void Aws::MTurk::Model::SendBonusRequest::SetBonusAmount ( const char *  value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 111 of file SendBonusRequest.h.

◆ SetReason() [1/3]

void Aws::MTurk::Model::SendBonusRequest::SetReason ( Aws::String &&  value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 198 of file SendBonusRequest.h.

◆ SetReason() [2/3]

void Aws::MTurk::Model::SendBonusRequest::SetReason ( const Aws::String value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 192 of file SendBonusRequest.h.

◆ SetReason() [3/3]

void Aws::MTurk::Model::SendBonusRequest::SetReason ( const char *  value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 204 of file SendBonusRequest.h.

◆ SetUniqueRequestToken() [1/3]

void Aws::MTurk::Model::SendBonusRequest::SetUniqueRequestToken ( Aws::String &&  value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 263 of file SendBonusRequest.h.

◆ SetUniqueRequestToken() [2/3]

void Aws::MTurk::Model::SendBonusRequest::SetUniqueRequestToken ( const Aws::String value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 253 of file SendBonusRequest.h.

◆ SetUniqueRequestToken() [3/3]

void Aws::MTurk::Model::SendBonusRequest::SetUniqueRequestToken ( const char *  value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 273 of file SendBonusRequest.h.

◆ SetWorkerId() [1/3]

void Aws::MTurk::Model::SendBonusRequest::SetWorkerId ( Aws::String &&  value)
inline

The ID of the Worker being paid the bonus.

Definition at line 55 of file SendBonusRequest.h.

◆ SetWorkerId() [2/3]

void Aws::MTurk::Model::SendBonusRequest::SetWorkerId ( const Aws::String value)
inline

The ID of the Worker being paid the bonus.

Definition at line 50 of file SendBonusRequest.h.

◆ SetWorkerId() [3/3]

void Aws::MTurk::Model::SendBonusRequest::SetWorkerId ( const char *  value)
inline

The ID of the Worker being paid the bonus.

Definition at line 60 of file SendBonusRequest.h.

◆ UniqueRequestTokenHasBeenSet()

bool Aws::MTurk::Model::SendBonusRequest::UniqueRequestTokenHasBeenSet ( ) const
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 243 of file SendBonusRequest.h.

◆ WithAssignmentId() [1/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithAssignmentId ( Aws::String &&  value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 168 of file SendBonusRequest.h.

◆ WithAssignmentId() [2/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithAssignmentId ( const Aws::String value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 163 of file SendBonusRequest.h.

◆ WithAssignmentId() [3/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithAssignmentId ( const char *  value)
inline

The ID of the assignment for which this bonus is paid.

Definition at line 173 of file SendBonusRequest.h.

◆ WithBonusAmount() [1/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithBonusAmount ( Aws::String &&  value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 125 of file SendBonusRequest.h.

◆ WithBonusAmount() [2/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithBonusAmount ( const Aws::String value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 118 of file SendBonusRequest.h.

◆ WithBonusAmount() [3/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithBonusAmount ( const char *  value)
inline

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

Definition at line 132 of file SendBonusRequest.h.

◆ WithReason() [1/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithReason ( Aws::String &&  value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 216 of file SendBonusRequest.h.

◆ WithReason() [2/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithReason ( const Aws::String value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 210 of file SendBonusRequest.h.

◆ WithReason() [3/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithReason ( const char *  value)
inline

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

Definition at line 222 of file SendBonusRequest.h.

◆ WithUniqueRequestToken() [1/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithUniqueRequestToken ( Aws::String &&  value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 293 of file SendBonusRequest.h.

◆ WithUniqueRequestToken() [2/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithUniqueRequestToken ( const Aws::String value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 283 of file SendBonusRequest.h.

◆ WithUniqueRequestToken() [3/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithUniqueRequestToken ( const char *  value)
inline

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Definition at line 303 of file SendBonusRequest.h.

◆ WithWorkerId() [1/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithWorkerId ( Aws::String &&  value)
inline

The ID of the Worker being paid the bonus.

Definition at line 70 of file SendBonusRequest.h.

◆ WithWorkerId() [2/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithWorkerId ( const Aws::String value)
inline

The ID of the Worker being paid the bonus.

Definition at line 65 of file SendBonusRequest.h.

◆ WithWorkerId() [3/3]

SendBonusRequest& Aws::MTurk::Model::SendBonusRequest::WithWorkerId ( const char *  value)
inline

The ID of the Worker being paid the bonus.

Definition at line 75 of file SendBonusRequest.h.

◆ WorkerIdHasBeenSet()

bool Aws::MTurk::Model::SendBonusRequest::WorkerIdHasBeenSet ( ) const
inline

The ID of the Worker being paid the bonus.

Definition at line 45 of file SendBonusRequest.h.


The documentation for this class was generated from the following file: