AWS SDK for C++  1.9.106
AWS SDK for C++
QualificationRequirement.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace MTurk
26 {
27 namespace Model
28 {
29 
39  {
40  public:
45 
46 
50  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
51 
55  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
56 
60  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
61 
65  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
66 
70  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
71 
75  inline QualificationRequirement& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
76 
80  inline QualificationRequirement& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
81 
85  inline QualificationRequirement& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
86 
87 
98  inline const Comparator& GetComparator() const{ return m_comparator; }
99 
110  inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
111 
122  inline void SetComparator(const Comparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; }
123 
134  inline void SetComparator(Comparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); }
135 
146  inline QualificationRequirement& WithComparator(const Comparator& value) { SetComparator(value); return *this;}
147 
158  inline QualificationRequirement& WithComparator(Comparator&& value) { SetComparator(std::move(value)); return *this;}
159 
160 
169  inline const Aws::Vector<int>& GetIntegerValues() const{ return m_integerValues; }
170 
179  inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; }
180 
189  inline void SetIntegerValues(const Aws::Vector<int>& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; }
190 
199  inline void SetIntegerValues(Aws::Vector<int>&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); }
200 
209  inline QualificationRequirement& WithIntegerValues(const Aws::Vector<int>& value) { SetIntegerValues(value); return *this;}
210 
219  inline QualificationRequirement& WithIntegerValues(Aws::Vector<int>&& value) { SetIntegerValues(std::move(value)); return *this;}
220 
229  inline QualificationRequirement& AddIntegerValues(int value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; }
230 
231 
242  inline const Aws::Vector<Locale>& GetLocaleValues() const{ return m_localeValues; }
243 
254  inline bool LocaleValuesHasBeenSet() const { return m_localeValuesHasBeenSet; }
255 
266  inline void SetLocaleValues(const Aws::Vector<Locale>& value) { m_localeValuesHasBeenSet = true; m_localeValues = value; }
267 
278  inline void SetLocaleValues(Aws::Vector<Locale>&& value) { m_localeValuesHasBeenSet = true; m_localeValues = std::move(value); }
279 
290  inline QualificationRequirement& WithLocaleValues(const Aws::Vector<Locale>& value) { SetLocaleValues(value); return *this;}
291 
302  inline QualificationRequirement& WithLocaleValues(Aws::Vector<Locale>&& value) { SetLocaleValues(std::move(value)); return *this;}
303 
314  inline QualificationRequirement& AddLocaleValues(const Locale& value) { m_localeValuesHasBeenSet = true; m_localeValues.push_back(value); return *this; }
315 
326  inline QualificationRequirement& AddLocaleValues(Locale&& value) { m_localeValuesHasBeenSet = true; m_localeValues.push_back(std::move(value)); return *this; }
327 
328 
348  inline const HITAccessActions& GetActionsGuarded() const{ return m_actionsGuarded; }
349 
369  inline bool ActionsGuardedHasBeenSet() const { return m_actionsGuardedHasBeenSet; }
370 
390  inline void SetActionsGuarded(const HITAccessActions& value) { m_actionsGuardedHasBeenSet = true; m_actionsGuarded = value; }
391 
411  inline void SetActionsGuarded(HITAccessActions&& value) { m_actionsGuardedHasBeenSet = true; m_actionsGuarded = std::move(value); }
412 
432  inline QualificationRequirement& WithActionsGuarded(const HITAccessActions& value) { SetActionsGuarded(value); return *this;}
433 
453  inline QualificationRequirement& WithActionsGuarded(HITAccessActions&& value) { SetActionsGuarded(std::move(value)); return *this;}
454 
455  private:
456 
457  Aws::String m_qualificationTypeId;
458  bool m_qualificationTypeIdHasBeenSet;
459 
460  Comparator m_comparator;
461  bool m_comparatorHasBeenSet;
462 
463  Aws::Vector<int> m_integerValues;
464  bool m_integerValuesHasBeenSet;
465 
466  Aws::Vector<Locale> m_localeValues;
467  bool m_localeValuesHasBeenSet;
468 
469  HITAccessActions m_actionsGuarded;
470  bool m_actionsGuardedHasBeenSet;
471  };
472 
473 } // namespace Model
474 } // namespace MTurk
475 } // namespace Aws
Aws::MTurk::Model::QualificationRequirement::SetComparator
void SetComparator(Comparator &&value)
Definition: QualificationRequirement.h:134
Aws::MTurk::Model::QualificationRequirement::LocaleValuesHasBeenSet
bool LocaleValuesHasBeenSet() const
Definition: QualificationRequirement.h:254
Aws::MTurk::Model::QualificationRequirement::QualificationRequirement
QualificationRequirement()
Aws::MTurk::Model::QualificationRequirement::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: QualificationRequirement.h:55
Aws::MTurk::Model::QualificationRequirement::WithIntegerValues
QualificationRequirement & WithIntegerValues(const Aws::Vector< int > &value)
Definition: QualificationRequirement.h:209
Aws::MTurk::Model::QualificationRequirement::SetIntegerValues
void SetIntegerValues(const Aws::Vector< int > &value)
Definition: QualificationRequirement.h:189
HITAccessActions.h
Aws::MTurk::Model::QualificationRequirement::WithComparator
QualificationRequirement & WithComparator(Comparator &&value)
Definition: QualificationRequirement.h:158
Aws::MTurk::Model::QualificationRequirement::WithComparator
QualificationRequirement & WithComparator(const Comparator &value)
Definition: QualificationRequirement.h:146
Aws::MTurk::Model::HITAccessActions
HITAccessActions
Definition: HITAccessActions.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MTurk::Model::QualificationRequirement::SetActionsGuarded
void SetActionsGuarded(const HITAccessActions &value)
Definition: QualificationRequirement.h:390
Aws::MTurk::Model::QualificationRequirement::SetIntegerValues
void SetIntegerValues(Aws::Vector< int > &&value)
Definition: QualificationRequirement.h:199
Aws::MTurk::Model::QualificationRequirement::ActionsGuardedHasBeenSet
bool ActionsGuardedHasBeenSet() const
Definition: QualificationRequirement.h:369
AWSVector.h
Aws::MTurk::Model::QualificationRequirement::WithQualificationTypeId
QualificationRequirement & WithQualificationTypeId(const Aws::String &value)
Definition: QualificationRequirement.h:75
Aws::MTurk::Model::QualificationRequirement::WithActionsGuarded
QualificationRequirement & WithActionsGuarded(const HITAccessActions &value)
Definition: QualificationRequirement.h:432
Aws::MTurk::Model::QualificationRequirement::ComparatorHasBeenSet
bool ComparatorHasBeenSet() const
Definition: QualificationRequirement.h:110
Aws::MTurk::Model::QualificationRequirement::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: QualificationRequirement.h:65
Aws::MTurk::Model::QualificationRequirement::GetLocaleValues
const Aws::Vector< Locale > & GetLocaleValues() const
Definition: QualificationRequirement.h:242
Aws::MTurk::Model::QualificationRequirement
Definition: QualificationRequirement.h:39
Aws::MTurk::Model::QualificationRequirement::WithIntegerValues
QualificationRequirement & WithIntegerValues(Aws::Vector< int > &&value)
Definition: QualificationRequirement.h:219
Aws::MTurk::Model::QualificationRequirement::QualificationRequirement
QualificationRequirement(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationRequirement::WithActionsGuarded
QualificationRequirement & WithActionsGuarded(HITAccessActions &&value)
Definition: QualificationRequirement.h:453
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MTurk::Model::QualificationRequirement::SetActionsGuarded
void SetActionsGuarded(HITAccessActions &&value)
Definition: QualificationRequirement.h:411
Aws::MTurk::Model::QualificationRequirement::IntegerValuesHasBeenSet
bool IntegerValuesHasBeenSet() const
Definition: QualificationRequirement.h:179
Aws::MTurk::Model::QualificationRequirement::WithLocaleValues
QualificationRequirement & WithLocaleValues(const Aws::Vector< Locale > &value)
Definition: QualificationRequirement.h:290
Aws::MTurk::Model::QualificationRequirement::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: QualificationRequirement.h:60
Aws::MTurk::Model::QualificationRequirement::GetIntegerValues
const Aws::Vector< int > & GetIntegerValues() const
Definition: QualificationRequirement.h:169
Aws::MTurk::Model::Comparator
Comparator
Definition: Comparator.h:17
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::QualificationRequirement::WithQualificationTypeId
QualificationRequirement & WithQualificationTypeId(const char *value)
Definition: QualificationRequirement.h:85
Aws::MTurk::Model::QualificationRequirement::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: QualificationRequirement.h:50
Aws::MTurk::Model::QualificationRequirement::WithLocaleValues
QualificationRequirement & WithLocaleValues(Aws::Vector< Locale > &&value)
Definition: QualificationRequirement.h:302
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::QualificationRequirement::AddLocaleValues
QualificationRequirement & AddLocaleValues(Locale &&value)
Definition: QualificationRequirement.h:326
Aws::MTurk::Model::QualificationRequirement::AddLocaleValues
QualificationRequirement & AddLocaleValues(const Locale &value)
Definition: QualificationRequirement.h:314
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::QualificationRequirement::SetLocaleValues
void SetLocaleValues(Aws::Vector< Locale > &&value)
Definition: QualificationRequirement.h:278
Locale.h
Aws::MTurk::Model::Locale
Definition: Locale.h:33
Aws::MTurk::Model::QualificationRequirement::AddIntegerValues
QualificationRequirement & AddIntegerValues(int value)
Definition: QualificationRequirement.h:229
Comparator.h
Aws::MTurk::Model::QualificationRequirement::operator=
QualificationRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::QualificationRequirement::GetComparator
const Comparator & GetComparator() const
Definition: QualificationRequirement.h:98
Aws::MTurk::Model::QualificationRequirement::SetLocaleValues
void SetLocaleValues(const Aws::Vector< Locale > &value)
Definition: QualificationRequirement.h:266
Aws::MTurk::Model::QualificationRequirement::GetActionsGuarded
const HITAccessActions & GetActionsGuarded() const
Definition: QualificationRequirement.h:348
Aws::MTurk::Model::QualificationRequirement::WithQualificationTypeId
QualificationRequirement & WithQualificationTypeId(Aws::String &&value)
Definition: QualificationRequirement.h:80
Aws::MTurk::Model::QualificationRequirement::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MTurk::Model::QualificationRequirement::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: QualificationRequirement.h:70
Aws::MTurk::Model::QualificationRequirement::SetComparator
void SetComparator(const Comparator &value)
Definition: QualificationRequirement.h:122