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

#include <WorkerBlock.h>

Public Member Functions

 WorkerBlock ()
 
 WorkerBlock (Aws::Utils::Json::JsonView jsonValue)
 
WorkerBlockoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetWorkerId () const
 
bool WorkerIdHasBeenSet () const
 
void SetWorkerId (const Aws::String &value)
 
void SetWorkerId (Aws::String &&value)
 
void SetWorkerId (const char *value)
 
WorkerBlockWithWorkerId (const Aws::String &value)
 
WorkerBlockWithWorkerId (Aws::String &&value)
 
WorkerBlockWithWorkerId (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)
 
WorkerBlockWithReason (const Aws::String &value)
 
WorkerBlockWithReason (Aws::String &&value)
 
WorkerBlockWithReason (const char *value)
 

Detailed Description

The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.

See Also:

AWS API Reference

Definition at line 33 of file WorkerBlock.h.

Constructor & Destructor Documentation

◆ WorkerBlock() [1/2]

Aws::MTurk::Model::WorkerBlock::WorkerBlock ( )

◆ WorkerBlock() [2/2]

Aws::MTurk::Model::WorkerBlock::WorkerBlock ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetReason()

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

A message explaining the reason the Worker was blocked.

Definition at line 86 of file WorkerBlock.h.

◆ GetWorkerId()

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

The ID of the Worker who accepted the HIT.

Definition at line 45 of file WorkerBlock.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MTurk::Model::WorkerBlock::Jsonize ( ) const

◆ operator=()

WorkerBlock& Aws::MTurk::Model::WorkerBlock::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ReasonHasBeenSet()

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

A message explaining the reason the Worker was blocked.

Definition at line 91 of file WorkerBlock.h.

◆ SetReason() [1/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 101 of file WorkerBlock.h.

◆ SetReason() [2/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 96 of file WorkerBlock.h.

◆ SetReason() [3/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 106 of file WorkerBlock.h.

◆ SetWorkerId() [1/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 60 of file WorkerBlock.h.

◆ SetWorkerId() [2/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 55 of file WorkerBlock.h.

◆ SetWorkerId() [3/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 65 of file WorkerBlock.h.

◆ WithReason() [1/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 116 of file WorkerBlock.h.

◆ WithReason() [2/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 111 of file WorkerBlock.h.

◆ WithReason() [3/3]

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

A message explaining the reason the Worker was blocked.

Definition at line 121 of file WorkerBlock.h.

◆ WithWorkerId() [1/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 75 of file WorkerBlock.h.

◆ WithWorkerId() [2/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 70 of file WorkerBlock.h.

◆ WithWorkerId() [3/3]

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

The ID of the Worker who accepted the HIT.

Definition at line 80 of file WorkerBlock.h.

◆ WorkerIdHasBeenSet()

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

The ID of the Worker who accepted the HIT.

Definition at line 50 of file WorkerBlock.h.


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