AWS SDK for C++  1.9.105
AWS SDK for C++
QualificationType.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace MTurk
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
51  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
52 
58  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
59 
65  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
66 
72  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
73 
79  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
80 
86  inline QualificationType& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
87 
93  inline QualificationType& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
94 
100  inline QualificationType& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
101 
102 
106  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
107 
111  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
112 
116  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
117 
121  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
122 
126  inline QualificationType& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
127 
131  inline QualificationType& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
132 
133 
138  inline const Aws::String& GetName() const{ return m_name; }
139 
144  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
145 
150  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
151 
156  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
157 
162  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
163 
168  inline QualificationType& WithName(const Aws::String& value) { SetName(value); return *this;}
169 
174  inline QualificationType& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
175 
180  inline QualificationType& WithName(const char* value) { SetName(value); return *this;}
181 
182 
186  inline const Aws::String& GetDescription() const{ return m_description; }
187 
191  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
192 
196  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
197 
201  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
202 
206  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
207 
211  inline QualificationType& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
212 
216  inline QualificationType& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
217 
221  inline QualificationType& WithDescription(const char* value) { SetDescription(value); return *this;}
222 
223 
228  inline const Aws::String& GetKeywords() const{ return m_keywords; }
229 
234  inline bool KeywordsHasBeenSet() const { return m_keywordsHasBeenSet; }
235 
240  inline void SetKeywords(const Aws::String& value) { m_keywordsHasBeenSet = true; m_keywords = value; }
241 
246  inline void SetKeywords(Aws::String&& value) { m_keywordsHasBeenSet = true; m_keywords = std::move(value); }
247 
252  inline void SetKeywords(const char* value) { m_keywordsHasBeenSet = true; m_keywords.assign(value); }
253 
258  inline QualificationType& WithKeywords(const Aws::String& value) { SetKeywords(value); return *this;}
259 
264  inline QualificationType& WithKeywords(Aws::String&& value) { SetKeywords(std::move(value)); return *this;}
265 
270  inline QualificationType& WithKeywords(const char* value) { SetKeywords(value); return *this;}
271 
272 
279  inline const QualificationTypeStatus& GetQualificationTypeStatus() const{ return m_qualificationTypeStatus; }
280 
287  inline bool QualificationTypeStatusHasBeenSet() const { return m_qualificationTypeStatusHasBeenSet; }
288 
295  inline void SetQualificationTypeStatus(const QualificationTypeStatus& value) { m_qualificationTypeStatusHasBeenSet = true; m_qualificationTypeStatus = value; }
296 
303  inline void SetQualificationTypeStatus(QualificationTypeStatus&& value) { m_qualificationTypeStatusHasBeenSet = true; m_qualificationTypeStatus = std::move(value); }
304 
311  inline QualificationType& WithQualificationTypeStatus(const QualificationTypeStatus& value) { SetQualificationTypeStatus(value); return *this;}
312 
319  inline QualificationType& WithQualificationTypeStatus(QualificationTypeStatus&& value) { SetQualificationTypeStatus(std::move(value)); return *this;}
320 
321 
328  inline const Aws::String& GetTest() const{ return m_test; }
329 
336  inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
337 
344  inline void SetTest(const Aws::String& value) { m_testHasBeenSet = true; m_test = value; }
345 
352  inline void SetTest(Aws::String&& value) { m_testHasBeenSet = true; m_test = std::move(value); }
353 
360  inline void SetTest(const char* value) { m_testHasBeenSet = true; m_test.assign(value); }
361 
368  inline QualificationType& WithTest(const Aws::String& value) { SetTest(value); return *this;}
369 
376  inline QualificationType& WithTest(Aws::String&& value) { SetTest(std::move(value)); return *this;}
377 
384  inline QualificationType& WithTest(const char* value) { SetTest(value); return *this;}
385 
386 
392  inline long long GetTestDurationInSeconds() const{ return m_testDurationInSeconds; }
393 
399  inline bool TestDurationInSecondsHasBeenSet() const { return m_testDurationInSecondsHasBeenSet; }
400 
406  inline void SetTestDurationInSeconds(long long value) { m_testDurationInSecondsHasBeenSet = true; m_testDurationInSeconds = value; }
407 
413  inline QualificationType& WithTestDurationInSeconds(long long value) { SetTestDurationInSeconds(value); return *this;}
414 
415 
419  inline const Aws::String& GetAnswerKey() const{ return m_answerKey; }
420 
424  inline bool AnswerKeyHasBeenSet() const { return m_answerKeyHasBeenSet; }
425 
429  inline void SetAnswerKey(const Aws::String& value) { m_answerKeyHasBeenSet = true; m_answerKey = value; }
430 
434  inline void SetAnswerKey(Aws::String&& value) { m_answerKeyHasBeenSet = true; m_answerKey = std::move(value); }
435 
439  inline void SetAnswerKey(const char* value) { m_answerKeyHasBeenSet = true; m_answerKey.assign(value); }
440 
444  inline QualificationType& WithAnswerKey(const Aws::String& value) { SetAnswerKey(value); return *this;}
445 
449  inline QualificationType& WithAnswerKey(Aws::String&& value) { SetAnswerKey(std::move(value)); return *this;}
450 
454  inline QualificationType& WithAnswerKey(const char* value) { SetAnswerKey(value); return *this;}
455 
456 
465  inline long long GetRetryDelayInSeconds() const{ return m_retryDelayInSeconds; }
466 
475  inline bool RetryDelayInSecondsHasBeenSet() const { return m_retryDelayInSecondsHasBeenSet; }
476 
485  inline void SetRetryDelayInSeconds(long long value) { m_retryDelayInSecondsHasBeenSet = true; m_retryDelayInSeconds = value; }
486 
495  inline QualificationType& WithRetryDelayInSeconds(long long value) { SetRetryDelayInSeconds(value); return *this;}
496 
497 
504  inline bool GetIsRequestable() const{ return m_isRequestable; }
505 
512  inline bool IsRequestableHasBeenSet() const { return m_isRequestableHasBeenSet; }
513 
520  inline void SetIsRequestable(bool value) { m_isRequestableHasBeenSet = true; m_isRequestable = value; }
521 
528  inline QualificationType& WithIsRequestable(bool value) { SetIsRequestable(value); return *this;}
529 
530 
536  inline bool GetAutoGranted() const{ return m_autoGranted; }
537 
543  inline bool AutoGrantedHasBeenSet() const { return m_autoGrantedHasBeenSet; }
544 
550  inline void SetAutoGranted(bool value) { m_autoGrantedHasBeenSet = true; m_autoGranted = value; }
551 
557  inline QualificationType& WithAutoGranted(bool value) { SetAutoGranted(value); return *this;}
558 
559 
564  inline int GetAutoGrantedValue() const{ return m_autoGrantedValue; }
565 
570  inline bool AutoGrantedValueHasBeenSet() const { return m_autoGrantedValueHasBeenSet; }
571 
576  inline void SetAutoGrantedValue(int value) { m_autoGrantedValueHasBeenSet = true; m_autoGrantedValue = value; }
577 
582  inline QualificationType& WithAutoGrantedValue(int value) { SetAutoGrantedValue(value); return *this;}
583 
584  private:
585 
586  Aws::String m_qualificationTypeId;
587  bool m_qualificationTypeIdHasBeenSet;
588 
589  Aws::Utils::DateTime m_creationTime;
590  bool m_creationTimeHasBeenSet;
591 
592  Aws::String m_name;
593  bool m_nameHasBeenSet;
594 
595  Aws::String m_description;
596  bool m_descriptionHasBeenSet;
597 
598  Aws::String m_keywords;
599  bool m_keywordsHasBeenSet;
600 
601  QualificationTypeStatus m_qualificationTypeStatus;
602  bool m_qualificationTypeStatusHasBeenSet;
603 
604  Aws::String m_test;
605  bool m_testHasBeenSet;
606 
607  long long m_testDurationInSeconds;
608  bool m_testDurationInSecondsHasBeenSet;
609 
610  Aws::String m_answerKey;
611  bool m_answerKeyHasBeenSet;
612 
613  long long m_retryDelayInSeconds;
614  bool m_retryDelayInSecondsHasBeenSet;
615 
616  bool m_isRequestable;
617  bool m_isRequestableHasBeenSet;
618 
619  bool m_autoGranted;
620  bool m_autoGrantedHasBeenSet;
621 
622  int m_autoGrantedValue;
623  bool m_autoGrantedValueHasBeenSet;
624  };
625 
626 } // namespace Model
627 } // namespace MTurk
628 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MTurk::Model::QualificationType::GetDescription
const Aws::String & GetDescription() const
Definition: QualificationType.h:186
Aws::MTurk::Model::QualificationType::TestHasBeenSet
bool TestHasBeenSet() const
Definition: QualificationType.h:336
Aws::MTurk::Model::QualificationType::GetTestDurationInSeconds
long long GetTestDurationInSeconds() const
Definition: QualificationType.h:392
Aws::MTurk::Model::QualificationType::SetTest
void SetTest(const char *value)
Definition: QualificationType.h:360
Aws::MTurk::Model::QualificationType::GetAutoGrantedValue
int GetAutoGrantedValue() const
Definition: QualificationType.h:564
Aws::MTurk::Model::QualificationType::WithQualificationTypeId
QualificationType & WithQualificationTypeId(Aws::String &&value)
Definition: QualificationType.h:93
Aws::MTurk::Model::QualificationType::SetDescription
void SetDescription(const char *value)
Definition: QualificationType.h:206
Aws::MTurk::Model::QualificationType::WithDescription
QualificationType & WithDescription(Aws::String &&value)
Definition: QualificationType.h:216
Aws::MTurk::Model::QualificationType::SetIsRequestable
void SetIsRequestable(bool value)
Definition: QualificationType.h:520
Aws::MTurk::Model::QualificationType::AutoGrantedHasBeenSet
bool AutoGrantedHasBeenSet() const
Definition: QualificationType.h:543
Aws::MTurk::Model::QualificationType::WithName
QualificationType & WithName(const Aws::String &value)
Definition: QualificationType.h:168
Aws::MTurk::Model::QualificationType::SetQualificationTypeStatus
void SetQualificationTypeStatus(const QualificationTypeStatus &value)
Definition: QualificationType.h:295
Aws::MTurk::Model::QualificationType::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: QualificationType.h:121
Aws::MTurk::Model::QualificationType::SetKeywords
void SetKeywords(const char *value)
Definition: QualificationType.h:252
Aws::MTurk::Model::QualificationType::WithCreationTime
QualificationType & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: QualificationType.h:126
Aws::MTurk::Model::QualificationType::NameHasBeenSet
bool NameHasBeenSet() const
Definition: QualificationType.h:144
DateTime.h
Aws::MTurk::Model::QualificationType::SetAnswerKey
void SetAnswerKey(const char *value)
Definition: QualificationType.h:439
Aws::MTurk::Model::QualificationType::SetDescription
void SetDescription(Aws::String &&value)
Definition: QualificationType.h:201
Aws::MTurk::Model::QualificationType::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: QualificationType.h:72
Aws::MTurk::Model::QualificationType::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: QualificationType.h:79
Aws::MTurk::Model::QualificationType::SetAnswerKey
void SetAnswerKey(const Aws::String &value)
Definition: QualificationType.h:429
Aws::MTurk::Model::QualificationType::WithName
QualificationType & WithName(const char *value)
Definition: QualificationType.h:180
Aws::MTurk::Model::QualificationType::WithAnswerKey
QualificationType & WithAnswerKey(Aws::String &&value)
Definition: QualificationType.h:449
Aws::MTurk::Model::QualificationType::GetRetryDelayInSeconds
long long GetRetryDelayInSeconds() const
Definition: QualificationType.h:465
Aws::MTurk::Model::QualificationType::operator=
QualificationType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationType::SetTestDurationInSeconds
void SetTestDurationInSeconds(long long value)
Definition: QualificationType.h:406
Aws::MTurk::Model::QualificationType::WithQualificationTypeId
QualificationType & WithQualificationTypeId(const Aws::String &value)
Definition: QualificationType.h:86
Aws::MTurk::Model::QualificationType::SetRetryDelayInSeconds
void SetRetryDelayInSeconds(long long value)
Definition: QualificationType.h:485
Aws::MTurk::Model::QualificationType::WithTest
QualificationType & WithTest(const char *value)
Definition: QualificationType.h:384
Aws::MTurk::Model::QualificationType::WithName
QualificationType & WithName(Aws::String &&value)
Definition: QualificationType.h:174
Aws::MTurk::Model::QualificationType::SetName
void SetName(const char *value)
Definition: QualificationType.h:162
Aws::MTurk::Model::QualificationType::SetTest
void SetTest(const Aws::String &value)
Definition: QualificationType.h:344
Aws::MTurk::Model::QualificationType::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: QualificationType.h:58
Aws::MTurk::Model::QualificationType::GetName
const Aws::String & GetName() const
Definition: QualificationType.h:138
Aws::MTurk::Model::QualificationType::RetryDelayInSecondsHasBeenSet
bool RetryDelayInSecondsHasBeenSet() const
Definition: QualificationType.h:475
Aws::MTurk::Model::QualificationType::SetAnswerKey
void SetAnswerKey(Aws::String &&value)
Definition: QualificationType.h:434
Aws::MTurk::Model::QualificationType::SetDescription
void SetDescription(const Aws::String &value)
Definition: QualificationType.h:196
Aws::MTurk::Model::QualificationType::QualificationType
QualificationType()
Aws::MTurk::Model::QualificationType::SetAutoGranted
void SetAutoGranted(bool value)
Definition: QualificationType.h:550
Aws::MTurk::Model::QualificationType::IsRequestableHasBeenSet
bool IsRequestableHasBeenSet() const
Definition: QualificationType.h:512
Aws::MTurk::Model::QualificationType::SetName
void SetName(Aws::String &&value)
Definition: QualificationType.h:156
Aws::MTurk::Model::QualificationType::SetTest
void SetTest(Aws::String &&value)
Definition: QualificationType.h:352
Aws::MTurk::Model::QualificationType::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: QualificationType.h:51
Aws::MTurk::Model::QualificationType::TestDurationInSecondsHasBeenSet
bool TestDurationInSecondsHasBeenSet() const
Definition: QualificationType.h:399
Aws::MTurk::Model::QualificationType
Definition: QualificationType.h:38
Aws::MTurk::Model::QualificationType::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: QualificationType.h:111
Aws::MTurk::Model::QualificationType::QualificationTypeStatusHasBeenSet
bool QualificationTypeStatusHasBeenSet() const
Definition: QualificationType.h:287
Aws::MTurk::Model::QualificationType::WithQualificationTypeStatus
QualificationType & WithQualificationTypeStatus(QualificationTypeStatus &&value)
Definition: QualificationType.h:319
Aws::MTurk::Model::QualificationType::KeywordsHasBeenSet
bool KeywordsHasBeenSet() const
Definition: QualificationType.h:234
Aws::MTurk::Model::QualificationType::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: QualificationType.h:116
Aws::MTurk::Model::QualificationType::WithAutoGrantedValue
QualificationType & WithAutoGrantedValue(int value)
Definition: QualificationType.h:582
Aws::MTurk::Model::QualificationType::WithCreationTime
QualificationType & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: QualificationType.h:131
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MTurk::Model::QualificationType::SetName
void SetName(const Aws::String &value)
Definition: QualificationType.h:150
AWSString.h
Aws::MTurk::Model::QualificationType::GetAutoGranted
bool GetAutoGranted() const
Definition: QualificationType.h:536
Aws::MTurk::Model::QualificationType::WithKeywords
QualificationType & WithKeywords(const Aws::String &value)
Definition: QualificationType.h:258
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MTurk::Model::QualificationType::WithTest
QualificationType & WithTest(Aws::String &&value)
Definition: QualificationType.h:376
Aws::MTurk::Model::QualificationType::WithQualificationTypeStatus
QualificationType & WithQualificationTypeStatus(const QualificationTypeStatus &value)
Definition: QualificationType.h:311
Aws::MTurk::Model::QualificationType::GetIsRequestable
bool GetIsRequestable() const
Definition: QualificationType.h:504
Aws::MTurk::Model::QualificationType::GetKeywords
const Aws::String & GetKeywords() const
Definition: QualificationType.h:228
Aws::MTurk::Model::QualificationType::SetKeywords
void SetKeywords(const Aws::String &value)
Definition: QualificationType.h:240
Aws::MTurk::Model::QualificationType::WithIsRequestable
QualificationType & WithIsRequestable(bool value)
Definition: QualificationType.h:528
Aws::MTurk::Model::QualificationType::WithDescription
QualificationType & WithDescription(const char *value)
Definition: QualificationType.h:221
Aws::MTurk::Model::QualificationTypeStatus
QualificationTypeStatus
Definition: QualificationTypeStatus.h:17
Aws::MTurk::Model::QualificationType::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: QualificationType.h:106
Aws::MTurk::Model::QualificationType::WithQualificationTypeId
QualificationType & WithQualificationTypeId(const char *value)
Definition: QualificationType.h:100
Aws::MTurk::Model::QualificationType::GetAnswerKey
const Aws::String & GetAnswerKey() const
Definition: QualificationType.h:419
Aws::MTurk::Model::QualificationType::QualificationType
QualificationType(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationType::SetAutoGrantedValue
void SetAutoGrantedValue(int value)
Definition: QualificationType.h:576
Aws::MTurk::Model::QualificationType::GetTest
const Aws::String & GetTest() const
Definition: QualificationType.h:328
Aws::MTurk::Model::QualificationType::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: QualificationType.h:65
Aws::MTurk::Model::QualificationType::WithAutoGranted
QualificationType & WithAutoGranted(bool value)
Definition: QualificationType.h:557
Aws::MTurk::Model::QualificationType::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: QualificationType.h:191
Aws::MTurk::Model::QualificationType::WithKeywords
QualificationType & WithKeywords(const char *value)
Definition: QualificationType.h:270
Aws::MTurk::Model::QualificationType::GetQualificationTypeStatus
const QualificationTypeStatus & GetQualificationTypeStatus() const
Definition: QualificationType.h:279
Aws::MTurk::Model::QualificationType::WithDescription
QualificationType & WithDescription(const Aws::String &value)
Definition: QualificationType.h:211
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::QualificationType::WithTest
QualificationType & WithTest(const Aws::String &value)
Definition: QualificationType.h:368
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::QualificationType::WithAnswerKey
QualificationType & WithAnswerKey(const Aws::String &value)
Definition: QualificationType.h:444
Aws::MTurk::Model::QualificationType::WithKeywords
QualificationType & WithKeywords(Aws::String &&value)
Definition: QualificationType.h:264
QualificationTypeStatus.h
Aws::MTurk::Model::QualificationType::WithTestDurationInSeconds
QualificationType & WithTestDurationInSeconds(long long value)
Definition: QualificationType.h:413
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::QualificationType::SetKeywords
void SetKeywords(Aws::String &&value)
Definition: QualificationType.h:246
Aws::MTurk::Model::QualificationType::WithRetryDelayInSeconds
QualificationType & WithRetryDelayInSeconds(long long value)
Definition: QualificationType.h:495
Aws::MTurk::Model::QualificationType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MTurk::Model::QualificationType::AutoGrantedValueHasBeenSet
bool AutoGrantedValueHasBeenSet() const
Definition: QualificationType.h:570
Aws::MTurk::Model::QualificationType::SetQualificationTypeStatus
void SetQualificationTypeStatus(QualificationTypeStatus &&value)
Definition: QualificationType.h:303
Aws::MTurk::Model::QualificationType::WithAnswerKey
QualificationType & WithAnswerKey(const char *value)
Definition: QualificationType.h:454
Aws::MTurk::Model::QualificationType::AnswerKeyHasBeenSet
bool AnswerKeyHasBeenSet() const
Definition: QualificationType.h:424