AWS SDK for C++  1.9.106
AWS SDK for C++
Qualification.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace MTurk
25 {
26 namespace Model
27 {
28 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
49 
53  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
54 
58  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
59 
63  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
64 
68  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
69 
73  inline Qualification& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
74 
78  inline Qualification& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
79 
83  inline Qualification& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
84 
85 
89  inline const Aws::String& GetWorkerId() const{ return m_workerId; }
90 
94  inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
95 
99  inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
100 
104  inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
105 
109  inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
110 
114  inline Qualification& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
115 
119  inline Qualification& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
120 
124  inline Qualification& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
125 
126 
133  inline const Aws::Utils::DateTime& GetGrantTime() const{ return m_grantTime; }
134 
141  inline bool GrantTimeHasBeenSet() const { return m_grantTimeHasBeenSet; }
142 
149  inline void SetGrantTime(const Aws::Utils::DateTime& value) { m_grantTimeHasBeenSet = true; m_grantTime = value; }
150 
157  inline void SetGrantTime(Aws::Utils::DateTime&& value) { m_grantTimeHasBeenSet = true; m_grantTime = std::move(value); }
158 
165  inline Qualification& WithGrantTime(const Aws::Utils::DateTime& value) { SetGrantTime(value); return *this;}
166 
173  inline Qualification& WithGrantTime(Aws::Utils::DateTime&& value) { SetGrantTime(std::move(value)); return *this;}
174 
175 
180  inline int GetIntegerValue() const{ return m_integerValue; }
181 
186  inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
187 
192  inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
193 
198  inline Qualification& WithIntegerValue(int value) { SetIntegerValue(value); return *this;}
199 
200 
201 
202  inline const Locale& GetLocaleValue() const{ return m_localeValue; }
203 
204 
205  inline bool LocaleValueHasBeenSet() const { return m_localeValueHasBeenSet; }
206 
207 
208  inline void SetLocaleValue(const Locale& value) { m_localeValueHasBeenSet = true; m_localeValue = value; }
209 
210 
211  inline void SetLocaleValue(Locale&& value) { m_localeValueHasBeenSet = true; m_localeValue = std::move(value); }
212 
213 
214  inline Qualification& WithLocaleValue(const Locale& value) { SetLocaleValue(value); return *this;}
215 
216 
217  inline Qualification& WithLocaleValue(Locale&& value) { SetLocaleValue(std::move(value)); return *this;}
218 
219 
223  inline const QualificationStatus& GetStatus() const{ return m_status; }
224 
228  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
229 
233  inline void SetStatus(const QualificationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
234 
238  inline void SetStatus(QualificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
239 
243  inline Qualification& WithStatus(const QualificationStatus& value) { SetStatus(value); return *this;}
244 
248  inline Qualification& WithStatus(QualificationStatus&& value) { SetStatus(std::move(value)); return *this;}
249 
250  private:
251 
252  Aws::String m_qualificationTypeId;
253  bool m_qualificationTypeIdHasBeenSet;
254 
255  Aws::String m_workerId;
256  bool m_workerIdHasBeenSet;
257 
258  Aws::Utils::DateTime m_grantTime;
259  bool m_grantTimeHasBeenSet;
260 
261  int m_integerValue;
262  bool m_integerValueHasBeenSet;
263 
264  Locale m_localeValue;
265  bool m_localeValueHasBeenSet;
266 
267  QualificationStatus m_status;
268  bool m_statusHasBeenSet;
269  };
270 
271 } // namespace Model
272 } // namespace MTurk
273 } // namespace Aws
Aws::MTurk::Model::Qualification::WithStatus
Qualification & WithStatus(QualificationStatus &&value)
Definition: Qualification.h:248
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::MTurk::Model::Qualification::SetLocaleValue
void SetLocaleValue(Locale &&value)
Definition: Qualification.h:211
Aws::MTurk::Model::Qualification
Definition: Qualification.h:37
Aws::MTurk::Model::Qualification::SetGrantTime
void SetGrantTime(Aws::Utils::DateTime &&value)
Definition: Qualification.h:157
Aws::MTurk::Model::Qualification::SetIntegerValue
void SetIntegerValue(int value)
Definition: Qualification.h:192
Aws::MTurk::Model::Qualification::SetWorkerId
void SetWorkerId(const Aws::String &value)
Definition: Qualification.h:99
Aws::MTurk::Model::Qualification::SetStatus
void SetStatus(const QualificationStatus &value)
Definition: Qualification.h:233
QualificationStatus.h
Aws::MTurk::Model::Qualification::WithLocaleValue
Qualification & WithLocaleValue(Locale &&value)
Definition: Qualification.h:217
Aws::MTurk::Model::Qualification::GetGrantTime
const Aws::Utils::DateTime & GetGrantTime() const
Definition: Qualification.h:133
Aws::MTurk::Model::Qualification::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: Qualification.h:63
Aws::MTurk::Model::Qualification::WithQualificationTypeId
Qualification & WithQualificationTypeId(const Aws::String &value)
Definition: Qualification.h:73
Aws::MTurk::Model::Qualification::WithWorkerId
Qualification & WithWorkerId(const char *value)
Definition: Qualification.h:124
DateTime.h
Aws::MTurk::Model::Qualification::Qualification
Qualification()
Aws::MTurk::Model::Qualification::GetWorkerId
const Aws::String & GetWorkerId() const
Definition: Qualification.h:89
Aws::MTurk::Model::Qualification::WithGrantTime
Qualification & WithGrantTime(const Aws::Utils::DateTime &value)
Definition: Qualification.h:165
Aws::MTurk::Model::Qualification::WithIntegerValue
Qualification & WithIntegerValue(int value)
Definition: Qualification.h:198
Aws::MTurk::Model::Qualification::WithLocaleValue
Qualification & WithLocaleValue(const Locale &value)
Definition: Qualification.h:214
Aws::MTurk::Model::Qualification::WithWorkerId
Qualification & WithWorkerId(const Aws::String &value)
Definition: Qualification.h:114
Aws::MTurk::Model::Qualification::operator=
Qualification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::Qualification::SetWorkerId
void SetWorkerId(const char *value)
Definition: Qualification.h:109
Aws::MTurk::Model::Qualification::LocaleValueHasBeenSet
bool LocaleValueHasBeenSet() const
Definition: Qualification.h:205
Aws::MTurk::Model::Qualification::WorkerIdHasBeenSet
bool WorkerIdHasBeenSet() const
Definition: Qualification.h:94
Aws::MTurk::Model::QualificationStatus
QualificationStatus
Definition: QualificationStatus.h:17
Aws::MTurk::Model::Qualification::WithStatus
Qualification & WithStatus(const QualificationStatus &value)
Definition: Qualification.h:243
Aws::MTurk::Model::Qualification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MTurk::Model::Qualification::WithWorkerId
Qualification & WithWorkerId(Aws::String &&value)
Definition: Qualification.h:119
Aws::MTurk::Model::Qualification::GetIntegerValue
int GetIntegerValue() const
Definition: Qualification.h:180
Aws::MTurk::Model::Qualification::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: Qualification.h:53
Aws::MTurk::Model::Qualification::GetLocaleValue
const Locale & GetLocaleValue() const
Definition: Qualification.h:202
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MTurk::Model::Qualification::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: Qualification.h:68
Aws::MTurk::Model::Qualification::SetWorkerId
void SetWorkerId(Aws::String &&value)
Definition: Qualification.h:104
Aws::MTurk::Model::Qualification::SetStatus
void SetStatus(QualificationStatus &&value)
Definition: Qualification.h:238
Aws::MTurk::Model::Qualification::WithQualificationTypeId
Qualification & WithQualificationTypeId(Aws::String &&value)
Definition: Qualification.h:78
Aws::MTurk::Model::Qualification::IntegerValueHasBeenSet
bool IntegerValueHasBeenSet() const
Definition: Qualification.h:186
Aws::MTurk::Model::Qualification::WithGrantTime
Qualification & WithGrantTime(Aws::Utils::DateTime &&value)
Definition: Qualification.h:173
Aws::MTurk::Model::Qualification::GetStatus
const QualificationStatus & GetStatus() const
Definition: Qualification.h:223
Aws::MTurk::Model::Qualification::WithQualificationTypeId
Qualification & WithQualificationTypeId(const char *value)
Definition: Qualification.h:83
Aws::MTurk::Model::Qualification::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Qualification.h:228
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::Qualification::Qualification
Qualification(Aws::Utils::Json::JsonView jsonValue)
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::Qualification::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: Qualification.h:48
Locale.h
Aws::MTurk::Model::Locale
Definition: Locale.h:33
Aws::MTurk::Model::Qualification::GrantTimeHasBeenSet
bool GrantTimeHasBeenSet() const
Definition: Qualification.h:141
Aws::MTurk::Model::Qualification::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: Qualification.h:58
Aws::MTurk::Model::Qualification::SetLocaleValue
void SetLocaleValue(const Locale &value)
Definition: Qualification.h:208
Aws::MTurk::Model::Qualification::SetGrantTime
void SetGrantTime(const Aws::Utils::DateTime &value)
Definition: Qualification.h:149