AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Qualification.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/core/utils/DateTime.h>
10#include <aws/mturk-requester/model/Locale.h>
11#include <aws/mturk-requester/model/QualificationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MTurk
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_MTURK_API Qualification();
40 AWS_MTURK_API Qualification(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
50 inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
51 inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
52 inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
53 inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
54 inline Qualification& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
55 inline Qualification& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
56 inline Qualification& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
58
60
63 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
64 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
65 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
66 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
67 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
68 inline Qualification& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
69 inline Qualification& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
70 inline Qualification& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
72
74
80 inline const Aws::Utils::DateTime& GetGrantTime() const{ return m_grantTime; }
81 inline bool GrantTimeHasBeenSet() const { return m_grantTimeHasBeenSet; }
82 inline void SetGrantTime(const Aws::Utils::DateTime& value) { m_grantTimeHasBeenSet = true; m_grantTime = value; }
83 inline void SetGrantTime(Aws::Utils::DateTime&& value) { m_grantTimeHasBeenSet = true; m_grantTime = std::move(value); }
84 inline Qualification& WithGrantTime(const Aws::Utils::DateTime& value) { SetGrantTime(value); return *this;}
85 inline Qualification& WithGrantTime(Aws::Utils::DateTime&& value) { SetGrantTime(std::move(value)); return *this;}
87
89
93 inline int GetIntegerValue() const{ return m_integerValue; }
94 inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
95 inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
96 inline Qualification& WithIntegerValue(int value) { SetIntegerValue(value); return *this;}
98
100
101 inline const Locale& GetLocaleValue() const{ return m_localeValue; }
102 inline bool LocaleValueHasBeenSet() const { return m_localeValueHasBeenSet; }
103 inline void SetLocaleValue(const Locale& value) { m_localeValueHasBeenSet = true; m_localeValue = value; }
104 inline void SetLocaleValue(Locale&& value) { m_localeValueHasBeenSet = true; m_localeValue = std::move(value); }
105 inline Qualification& WithLocaleValue(const Locale& value) { SetLocaleValue(value); return *this;}
106 inline Qualification& WithLocaleValue(Locale&& value) { SetLocaleValue(std::move(value)); return *this;}
108
110
113 inline const QualificationStatus& GetStatus() const{ return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(const QualificationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
116 inline void SetStatus(QualificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline Qualification& WithStatus(const QualificationStatus& value) { SetStatus(value); return *this;}
118 inline Qualification& WithStatus(QualificationStatus&& value) { SetStatus(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_qualificationTypeId;
123 bool m_qualificationTypeIdHasBeenSet = false;
124
125 Aws::String m_workerId;
126 bool m_workerIdHasBeenSet = false;
127
128 Aws::Utils::DateTime m_grantTime;
129 bool m_grantTimeHasBeenSet = false;
130
131 int m_integerValue;
132 bool m_integerValueHasBeenSet = false;
133
134 Locale m_localeValue;
135 bool m_localeValueHasBeenSet = false;
136
137 QualificationStatus m_status;
138 bool m_statusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace MTurk
143} // namespace Aws
void SetQualificationTypeId(const char *value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
Qualification & WithGrantTime(Aws::Utils::DateTime &&value)
void SetWorkerId(const Aws::String &value)
const Aws::String & GetQualificationTypeId() const
void SetLocaleValue(Locale &&value)
Qualification & WithQualificationTypeId(const char *value)
Qualification & WithGrantTime(const Aws::Utils::DateTime &value)
void SetWorkerId(Aws::String &&value)
const Aws::Utils::DateTime & GetGrantTime() const
void SetGrantTime(const Aws::Utils::DateTime &value)
void SetGrantTime(Aws::Utils::DateTime &&value)
Qualification & WithStatus(QualificationStatus &&value)
Qualification & WithWorkerId(const Aws::String &value)
void SetLocaleValue(const Locale &value)
const Locale & GetLocaleValue() const
void SetWorkerId(const char *value)
const Aws::String & GetWorkerId() const
Qualification & WithStatus(const QualificationStatus &value)
Qualification & WithQualificationTypeId(const Aws::String &value)
Qualification & WithQualificationTypeId(Aws::String &&value)
Qualification & WithWorkerId(Aws::String &&value)
void SetStatus(QualificationStatus &&value)
AWS_MTURK_API Qualification & operator=(Aws::Utils::Json::JsonView jsonValue)
Qualification & WithLocaleValue(const Locale &value)
void SetQualificationTypeId(const Aws::String &value)
void SetStatus(const QualificationStatus &value)
Qualification & WithIntegerValue(int value)
Qualification & WithWorkerId(const char *value)
Qualification & WithLocaleValue(Locale &&value)
void SetQualificationTypeId(Aws::String &&value)
AWS_MTURK_API Qualification(Aws::Utils::Json::JsonView jsonValue)
const QualificationStatus & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue