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

#include <CreateQualificationTypeRequest.h>

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

Public Member Functions

 CreateQualificationTypeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateQualificationTypeRequestWithName (const Aws::String &value)
 
CreateQualificationTypeRequestWithName (Aws::String &&value)
 
CreateQualificationTypeRequestWithName (const char *value)
 
const Aws::StringGetKeywords () const
 
bool KeywordsHasBeenSet () const
 
void SetKeywords (const Aws::String &value)
 
void SetKeywords (Aws::String &&value)
 
void SetKeywords (const char *value)
 
CreateQualificationTypeRequestWithKeywords (const Aws::String &value)
 
CreateQualificationTypeRequestWithKeywords (Aws::String &&value)
 
CreateQualificationTypeRequestWithKeywords (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
CreateQualificationTypeRequestWithDescription (const Aws::String &value)
 
CreateQualificationTypeRequestWithDescription (Aws::String &&value)
 
CreateQualificationTypeRequestWithDescription (const char *value)
 
const QualificationTypeStatusGetQualificationTypeStatus () const
 
bool QualificationTypeStatusHasBeenSet () const
 
void SetQualificationTypeStatus (const QualificationTypeStatus &value)
 
void SetQualificationTypeStatus (QualificationTypeStatus &&value)
 
CreateQualificationTypeRequestWithQualificationTypeStatus (const QualificationTypeStatus &value)
 
CreateQualificationTypeRequestWithQualificationTypeStatus (QualificationTypeStatus &&value)
 
long long GetRetryDelayInSeconds () const
 
bool RetryDelayInSecondsHasBeenSet () const
 
void SetRetryDelayInSeconds (long long value)
 
CreateQualificationTypeRequestWithRetryDelayInSeconds (long long value)
 
const Aws::StringGetTest () const
 
bool TestHasBeenSet () const
 
void SetTest (const Aws::String &value)
 
void SetTest (Aws::String &&value)
 
void SetTest (const char *value)
 
CreateQualificationTypeRequestWithTest (const Aws::String &value)
 
CreateQualificationTypeRequestWithTest (Aws::String &&value)
 
CreateQualificationTypeRequestWithTest (const char *value)
 
const Aws::StringGetAnswerKey () const
 
bool AnswerKeyHasBeenSet () const
 
void SetAnswerKey (const Aws::String &value)
 
void SetAnswerKey (Aws::String &&value)
 
void SetAnswerKey (const char *value)
 
CreateQualificationTypeRequestWithAnswerKey (const Aws::String &value)
 
CreateQualificationTypeRequestWithAnswerKey (Aws::String &&value)
 
CreateQualificationTypeRequestWithAnswerKey (const char *value)
 
long long GetTestDurationInSeconds () const
 
bool TestDurationInSecondsHasBeenSet () const
 
void SetTestDurationInSeconds (long long value)
 
CreateQualificationTypeRequestWithTestDurationInSeconds (long long value)
 
bool GetAutoGranted () const
 
bool AutoGrantedHasBeenSet () const
 
void SetAutoGranted (bool value)
 
CreateQualificationTypeRequestWithAutoGranted (bool value)
 
int GetAutoGrantedValue () const
 
bool AutoGrantedValueHasBeenSet () const
 
void SetAutoGrantedValue (int value)
 
CreateQualificationTypeRequestWithAutoGrantedValue (int 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 22 of file CreateQualificationTypeRequest.h.

Constructor & Destructor Documentation

◆ CreateQualificationTypeRequest()

Aws::MTurk::Model::CreateQualificationTypeRequest::CreateQualificationTypeRequest ( )

Member Function Documentation

◆ AnswerKeyHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::AnswerKeyHasBeenSet ( ) const
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 410 of file CreateQualificationTypeRequest.h.

◆ AutoGrantedHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::AutoGrantedHasBeenSet ( ) const
inline

Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.

Constraints: If the Test parameter is specified, this parameter cannot be true.

Definition at line 500 of file CreateQualificationTypeRequest.h.

◆ AutoGrantedValueHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::AutoGrantedValueHasBeenSet ( ) const
inline

The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.

Definition at line 529 of file CreateQualificationTypeRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::DescriptionHasBeenSet ( ) const
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 172 of file CreateQualificationTypeRequest.h.

◆ GetAnswerKey()

const Aws::String& Aws::MTurk::Model::CreateQualificationTypeRequest::GetAnswerKey ( ) const
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 402 of file CreateQualificationTypeRequest.h.

◆ GetAutoGranted()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::GetAutoGranted ( ) const
inline

Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.

Constraints: If the Test parameter is specified, this parameter cannot be true.

Definition at line 492 of file CreateQualificationTypeRequest.h.

◆ GetAutoGrantedValue()

int Aws::MTurk::Model::CreateQualificationTypeRequest::GetAutoGrantedValue ( ) const
inline

The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.

Definition at line 523 of file CreateQualificationTypeRequest.h.

◆ GetDescription()

const Aws::String& Aws::MTurk::Model::CreateQualificationTypeRequest::GetDescription ( ) const
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 165 of file CreateQualificationTypeRequest.h.

◆ GetKeywords()

const Aws::String& Aws::MTurk::Model::CreateQualificationTypeRequest::GetKeywords ( ) const
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 108 of file CreateQualificationTypeRequest.h.

◆ GetName()

const Aws::String& Aws::MTurk::Model::CreateQualificationTypeRequest::GetName ( ) const
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 44 of file CreateQualificationTypeRequest.h.

◆ GetQualificationTypeStatus()

const QualificationTypeStatus& Aws::MTurk::Model::CreateQualificationTypeRequest::GetQualificationTypeStatus ( ) const
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 221 of file CreateQualificationTypeRequest.h.

◆ GetRequestSpecificHeaders()

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

Reimplemented from Aws::MTurk::MTurkRequest.

◆ GetRetryDelayInSeconds()

long long Aws::MTurk::Model::CreateQualificationTypeRequest::GetRetryDelayInSeconds ( ) const
inline

The number of seconds that a Worker must wait after requesting a Qualification of the Qualification type before the worker can retry the Qualification request.

Constraints: None. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must delete existing retry-enabled Qualification type and then create a new Qualification type with retries disabled.

Definition at line 265 of file CreateQualificationTypeRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 31 of file CreateQualificationTypeRequest.h.

◆ GetTest()

const Aws::String& Aws::MTurk::Model::CreateQualificationTypeRequest::GetTest ( ) const
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 316 of file CreateQualificationTypeRequest.h.

◆ GetTestDurationInSeconds()

long long Aws::MTurk::Model::CreateQualificationTypeRequest::GetTestDurationInSeconds ( ) const
inline

The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.

Definition at line 465 of file CreateQualificationTypeRequest.h.

◆ KeywordsHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::KeywordsHasBeenSet ( ) const
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 115 of file CreateQualificationTypeRequest.h.

◆ NameHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::NameHasBeenSet ( ) const
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 52 of file CreateQualificationTypeRequest.h.

◆ QualificationTypeStatusHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::QualificationTypeStatusHasBeenSet ( ) const
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 227 of file CreateQualificationTypeRequest.h.

◆ RetryDelayInSecondsHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::RetryDelayInSecondsHasBeenSet ( ) const
inline

The number of seconds that a Worker must wait after requesting a Qualification of the Qualification type before the worker can retry the Qualification request.

Constraints: None. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must delete existing retry-enabled Qualification type and then create a new Qualification type with retries disabled.

Definition at line 278 of file CreateQualificationTypeRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAnswerKey() [1/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetAnswerKey ( Aws::String &&  value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 426 of file CreateQualificationTypeRequest.h.

◆ SetAnswerKey() [2/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetAnswerKey ( const Aws::String value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 418 of file CreateQualificationTypeRequest.h.

◆ SetAnswerKey() [3/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetAnswerKey ( const char *  value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 434 of file CreateQualificationTypeRequest.h.

◆ SetAutoGranted()

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetAutoGranted ( bool  value)
inline

Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.

Constraints: If the Test parameter is specified, this parameter cannot be true.

Definition at line 508 of file CreateQualificationTypeRequest.h.

◆ SetAutoGrantedValue()

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetAutoGrantedValue ( int  value)
inline

The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.

Definition at line 535 of file CreateQualificationTypeRequest.h.

◆ SetDescription() [1/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetDescription ( Aws::String &&  value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 186 of file CreateQualificationTypeRequest.h.

◆ SetDescription() [2/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetDescription ( const Aws::String value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 179 of file CreateQualificationTypeRequest.h.

◆ SetDescription() [3/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetDescription ( const char *  value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 193 of file CreateQualificationTypeRequest.h.

◆ SetKeywords() [1/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetKeywords ( Aws::String &&  value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 129 of file CreateQualificationTypeRequest.h.

◆ SetKeywords() [2/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetKeywords ( const Aws::String value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 122 of file CreateQualificationTypeRequest.h.

◆ SetKeywords() [3/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetKeywords ( const char *  value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 136 of file CreateQualificationTypeRequest.h.

◆ SetName() [1/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetName ( Aws::String &&  value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 68 of file CreateQualificationTypeRequest.h.

◆ SetName() [2/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetName ( const Aws::String value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 60 of file CreateQualificationTypeRequest.h.

◆ SetName() [3/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetName ( const char *  value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 76 of file CreateQualificationTypeRequest.h.

◆ SetQualificationTypeStatus() [1/2]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetQualificationTypeStatus ( const QualificationTypeStatus value)
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 233 of file CreateQualificationTypeRequest.h.

◆ SetQualificationTypeStatus() [2/2]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetQualificationTypeStatus ( QualificationTypeStatus &&  value)
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 239 of file CreateQualificationTypeRequest.h.

◆ SetRetryDelayInSeconds()

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetRetryDelayInSeconds ( long long  value)
inline

The number of seconds that a Worker must wait after requesting a Qualification of the Qualification type before the worker can retry the Qualification request.

Constraints: None. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must delete existing retry-enabled Qualification type and then create a new Qualification type with retries disabled.

Definition at line 291 of file CreateQualificationTypeRequest.h.

◆ SetTest() [1/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetTest ( Aws::String &&  value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 349 of file CreateQualificationTypeRequest.h.

◆ SetTest() [2/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetTest ( const Aws::String value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 338 of file CreateQualificationTypeRequest.h.

◆ SetTest() [3/3]

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetTest ( const char *  value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 360 of file CreateQualificationTypeRequest.h.

◆ SetTestDurationInSeconds()

void Aws::MTurk::Model::CreateQualificationTypeRequest::SetTestDurationInSeconds ( long long  value)
inline

The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.

Definition at line 477 of file CreateQualificationTypeRequest.h.

◆ TestDurationInSecondsHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::TestDurationInSecondsHasBeenSet ( ) const
inline

The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.

Definition at line 471 of file CreateQualificationTypeRequest.h.

◆ TestHasBeenSet()

bool Aws::MTurk::Model::CreateQualificationTypeRequest::TestHasBeenSet ( ) const
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 327 of file CreateQualificationTypeRequest.h.

◆ WithAnswerKey() [1/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithAnswerKey ( Aws::String &&  value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 450 of file CreateQualificationTypeRequest.h.

◆ WithAnswerKey() [2/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithAnswerKey ( const Aws::String value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 442 of file CreateQualificationTypeRequest.h.

◆ WithAnswerKey() [3/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithAnswerKey ( const char *  value)
inline

The answers to the Qualification test specified in the Test parameter, in the form of an AnswerKey data structure.

Constraints: Must not be longer than 65535 bytes.

Constraints: None. If not specified, you must process Qualification requests manually.

Definition at line 458 of file CreateQualificationTypeRequest.h.

◆ WithAutoGranted()

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithAutoGranted ( bool  value)
inline

Specifies whether requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test.

Constraints: If the Test parameter is specified, this parameter cannot be true.

Definition at line 516 of file CreateQualificationTypeRequest.h.

◆ WithAutoGrantedValue()

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithAutoGrantedValue ( int  value)
inline

The Qualification value to use for automatically granted Qualifications. This parameter is used only if the AutoGranted parameter is true.

Definition at line 541 of file CreateQualificationTypeRequest.h.

◆ WithDescription() [1/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithDescription ( Aws::String &&  value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 207 of file CreateQualificationTypeRequest.h.

◆ WithDescription() [2/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithDescription ( const Aws::String value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 200 of file CreateQualificationTypeRequest.h.

◆ WithDescription() [3/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithDescription ( const char *  value)
inline

A long description for the Qualification type. On the Amazon Mechanical Turk website, the long description is displayed when a Worker examines a Qualification type.

Definition at line 214 of file CreateQualificationTypeRequest.h.

◆ WithKeywords() [1/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithKeywords ( Aws::String &&  value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 150 of file CreateQualificationTypeRequest.h.

◆ WithKeywords() [2/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithKeywords ( const Aws::String value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 143 of file CreateQualificationTypeRequest.h.

◆ WithKeywords() [3/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithKeywords ( const char *  value)
inline

One or more words or phrases that describe the Qualification type, separated by commas. The keywords of a type make the type easier to find during a search.

Definition at line 157 of file CreateQualificationTypeRequest.h.

◆ WithName() [1/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithName ( Aws::String &&  value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 92 of file CreateQualificationTypeRequest.h.

◆ WithName() [2/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithName ( const Aws::String value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 84 of file CreateQualificationTypeRequest.h.

◆ WithName() [3/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithName ( const char *  value)
inline

The name you give to the Qualification type. The type name is used to represent the Qualification to Workers, and to find the type using a Qualification type search. It must be unique across all of your Qualification types.

Definition at line 100 of file CreateQualificationTypeRequest.h.

◆ WithQualificationTypeStatus() [1/2]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithQualificationTypeStatus ( const QualificationTypeStatus value)
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 245 of file CreateQualificationTypeRequest.h.

◆ WithQualificationTypeStatus() [2/2]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithQualificationTypeStatus ( QualificationTypeStatus &&  value)
inline

The initial status of the Qualification type.

Constraints: Valid values are: Active | Inactive

Definition at line 251 of file CreateQualificationTypeRequest.h.

◆ WithRetryDelayInSeconds()

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithRetryDelayInSeconds ( long long  value)
inline

The number of seconds that a Worker must wait after requesting a Qualification of the Qualification type before the worker can retry the Qualification request.

Constraints: None. If not specified, retries are disabled and Workers can request a Qualification of this type only once, even if the Worker has not been granted the Qualification. It is not possible to disable retries for a Qualification type after it has been created with retries enabled. If you want to disable retries, you must delete existing retry-enabled Qualification type and then create a new Qualification type with retries disabled.

Definition at line 304 of file CreateQualificationTypeRequest.h.

◆ WithTest() [1/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithTest ( Aws::String &&  value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 382 of file CreateQualificationTypeRequest.h.

◆ WithTest() [2/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithTest ( const Aws::String value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 371 of file CreateQualificationTypeRequest.h.

◆ WithTest() [3/3]

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithTest ( const char *  value)
inline

The questions for the Qualification test a Worker must answer correctly to obtain a Qualification of this type. If this parameter is specified, TestDurationInSeconds must also be specified.

Constraints: Must not be longer than 65535 bytes. Must be a QuestionForm data structure. This parameter cannot be specified if AutoGranted is true.

Constraints: None. If not specified, the Worker may request the Qualification without answering any questions.

Definition at line 393 of file CreateQualificationTypeRequest.h.

◆ WithTestDurationInSeconds()

CreateQualificationTypeRequest& Aws::MTurk::Model::CreateQualificationTypeRequest::WithTestDurationInSeconds ( long long  value)
inline

The number of seconds the Worker has to complete the Qualification test, starting from the time the Worker requests the Qualification.

Definition at line 483 of file CreateQualificationTypeRequest.h.


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