AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QualificationRequirement.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mturk-requester/model/Comparator.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mturk-requester/model/HITAccessActions.h>
12#include <aws/mturk-requester/model/Locale.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MTurk
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_MTURK_API QualificationRequirement();
44 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
52 inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
53 inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
54 inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
55 inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
57 inline QualificationRequirement& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
58 inline QualificationRequirement& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
60
62
72 inline const Comparator& GetComparator() const{ return m_comparator; }
73 inline bool ComparatorHasBeenSet() const { return m_comparatorHasBeenSet; }
74 inline void SetComparator(const Comparator& value) { m_comparatorHasBeenSet = true; m_comparator = value; }
75 inline void SetComparator(Comparator&& value) { m_comparatorHasBeenSet = true; m_comparator = std::move(value); }
76 inline QualificationRequirement& WithComparator(const Comparator& value) { SetComparator(value); return *this;}
77 inline QualificationRequirement& WithComparator(Comparator&& value) { SetComparator(std::move(value)); return *this;}
79
81
89 inline const Aws::Vector<int>& GetIntegerValues() const{ return m_integerValues; }
90 inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; }
91 inline void SetIntegerValues(const Aws::Vector<int>& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; }
92 inline void SetIntegerValues(Aws::Vector<int>&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); }
93 inline QualificationRequirement& WithIntegerValues(const Aws::Vector<int>& value) { SetIntegerValues(value); return *this;}
94 inline QualificationRequirement& WithIntegerValues(Aws::Vector<int>&& value) { SetIntegerValues(std::move(value)); return *this;}
95 inline QualificationRequirement& AddIntegerValues(int value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; }
97
99
109 inline const Aws::Vector<Locale>& GetLocaleValues() const{ return m_localeValues; }
110 inline bool LocaleValuesHasBeenSet() const { return m_localeValuesHasBeenSet; }
111 inline void SetLocaleValues(const Aws::Vector<Locale>& value) { m_localeValuesHasBeenSet = true; m_localeValues = value; }
112 inline void SetLocaleValues(Aws::Vector<Locale>&& value) { m_localeValuesHasBeenSet = true; m_localeValues = std::move(value); }
114 inline QualificationRequirement& WithLocaleValues(Aws::Vector<Locale>&& value) { SetLocaleValues(std::move(value)); return *this;}
115 inline QualificationRequirement& AddLocaleValues(const Locale& value) { m_localeValuesHasBeenSet = true; m_localeValues.push_back(value); return *this; }
116 inline QualificationRequirement& AddLocaleValues(Locale&& value) { m_localeValuesHasBeenSet = true; m_localeValues.push_back(std::move(value)); return *this; }
118
120
139 inline const HITAccessActions& GetActionsGuarded() const{ return m_actionsGuarded; }
140 inline bool ActionsGuardedHasBeenSet() const { return m_actionsGuardedHasBeenSet; }
141 inline void SetActionsGuarded(const HITAccessActions& value) { m_actionsGuardedHasBeenSet = true; m_actionsGuarded = value; }
142 inline void SetActionsGuarded(HITAccessActions&& value) { m_actionsGuardedHasBeenSet = true; m_actionsGuarded = std::move(value); }
144 inline QualificationRequirement& WithActionsGuarded(HITAccessActions&& value) { SetActionsGuarded(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_qualificationTypeId;
149 bool m_qualificationTypeIdHasBeenSet = false;
150
151 Comparator m_comparator;
152 bool m_comparatorHasBeenSet = false;
153
154 Aws::Vector<int> m_integerValues;
155 bool m_integerValuesHasBeenSet = false;
156
157 Aws::Vector<Locale> m_localeValues;
158 bool m_localeValuesHasBeenSet = false;
159
160 HITAccessActions m_actionsGuarded;
161 bool m_actionsGuardedHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace MTurk
166} // namespace Aws
QualificationRequirement & WithComparator(Comparator &&value)
QualificationRequirement & WithQualificationTypeId(const Aws::String &value)
QualificationRequirement & WithQualificationTypeId(Aws::String &&value)
QualificationRequirement & WithActionsGuarded(HITAccessActions &&value)
QualificationRequirement & WithIntegerValues(const Aws::Vector< int > &value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocaleValues(Aws::Vector< Locale > &&value)
void SetIntegerValues(const Aws::Vector< int > &value)
void SetQualificationTypeId(const Aws::String &value)
AWS_MTURK_API QualificationRequirement & operator=(Aws::Utils::Json::JsonView jsonValue)
QualificationRequirement & WithQualificationTypeId(const char *value)
QualificationRequirement & WithIntegerValues(Aws::Vector< int > &&value)
AWS_MTURK_API QualificationRequirement(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Locale > & GetLocaleValues() const
QualificationRequirement & AddLocaleValues(const Locale &value)
QualificationRequirement & AddIntegerValues(int value)
QualificationRequirement & WithComparator(const Comparator &value)
QualificationRequirement & AddLocaleValues(Locale &&value)
void SetActionsGuarded(const HITAccessActions &value)
void SetLocaleValues(const Aws::Vector< Locale > &value)
QualificationRequirement & WithActionsGuarded(const HITAccessActions &value)
QualificationRequirement & WithLocaleValues(const Aws::Vector< Locale > &value)
void SetIntegerValues(Aws::Vector< int > &&value)
QualificationRequirement & WithLocaleValues(Aws::Vector< Locale > &&value)
const Aws::Vector< int > & GetIntegerValues() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue