AWS SDK for C++  1.9.106
AWS SDK for C++
ListWorkersWithQualificationTypeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MTurk
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListWorkersWithQualificationType"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
42 
46  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
47 
51  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
52 
56  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
57 
61  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
62 
66  inline ListWorkersWithQualificationTypeRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
67 
71  inline ListWorkersWithQualificationTypeRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
72 
76  inline ListWorkersWithQualificationTypeRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
77 
78 
83  inline const QualificationStatus& GetStatus() const{ return m_status; }
84 
89  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 
95  inline void SetStatus(const QualificationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 
101  inline void SetStatus(QualificationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 
107  inline ListWorkersWithQualificationTypeRequest& WithStatus(const QualificationStatus& value) { SetStatus(value); return *this;}
108 
113  inline ListWorkersWithQualificationTypeRequest& WithStatus(QualificationStatus&& value) { SetStatus(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 
124  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
134  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
135 
139  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
140 
144  inline ListWorkersWithQualificationTypeRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
145 
149  inline ListWorkersWithQualificationTypeRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
150 
154  inline ListWorkersWithQualificationTypeRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
155 
156 
160  inline int GetMaxResults() const{ return m_maxResults; }
161 
165  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
166 
170  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
171 
175  inline ListWorkersWithQualificationTypeRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
176 
177  private:
178 
179  Aws::String m_qualificationTypeId;
180  bool m_qualificationTypeIdHasBeenSet;
181 
182  QualificationStatus m_status;
183  bool m_statusHasBeenSet;
184 
185  Aws::String m_nextToken;
186  bool m_nextTokenHasBeenSet;
187 
188  int m_maxResults;
189  bool m_maxResultsHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace MTurk
194 } // namespace Aws
QualificationStatus.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetStatus
const QualificationStatus & GetStatus() const
Definition: ListWorkersWithQualificationTypeRequest.h:83
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeRequest.h:51
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:56
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetStatus
void SetStatus(QualificationStatus &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:101
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWorkersWithQualificationTypeRequest.h:124
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorkersWithQualificationTypeRequest.h:139
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest
Definition: ListWorkersWithQualificationTypeRequest.h:23
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeRequest.h:129
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWorkersWithQualificationTypeRequest.h:170
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithNextToken
ListWorkersWithQualificationTypeRequest & WithNextToken(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeRequest.h:144
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: ListWorkersWithQualificationTypeRequest.h:61
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorkersWithQualificationTypeRequest.h:119
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithNextToken
ListWorkersWithQualificationTypeRequest & WithNextToken(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:149
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithQualificationTypeId
ListWorkersWithQualificationTypeRequest & WithQualificationTypeId(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeRequest.h:66
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetStatus
void SetStatus(const QualificationStatus &value)
Definition: ListWorkersWithQualificationTypeRequest.h:95
Aws::MTurk::Model::QualificationStatus
QualificationStatus
Definition: QualificationStatus.h:17
MTurkRequest.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: ListWorkersWithQualificationTypeRequest.h:41
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithStatus
ListWorkersWithQualificationTypeRequest & WithStatus(const QualificationStatus &value)
Definition: ListWorkersWithQualificationTypeRequest.h:107
AWSString.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithStatus
ListWorkersWithQualificationTypeRequest & WithStatus(QualificationStatus &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:113
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:134
MTurk_EXPORTS.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithMaxResults
ListWorkersWithQualificationTypeRequest & WithMaxResults(int value)
Definition: ListWorkersWithQualificationTypeRequest.h:175
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: ListWorkersWithQualificationTypeRequest.h:46
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithNextToken
ListWorkersWithQualificationTypeRequest & WithNextToken(const char *value)
Definition: ListWorkersWithQualificationTypeRequest.h:154
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::ListWorkersWithQualificationTypeRequest
ListWorkersWithQualificationTypeRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithQualificationTypeId
ListWorkersWithQualificationTypeRequest & WithQualificationTypeId(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeRequest.h:71
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListWorkersWithQualificationTypeRequest.h:89
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::WithQualificationTypeId
ListWorkersWithQualificationTypeRequest & WithQualificationTypeId(const char *value)
Definition: ListWorkersWithQualificationTypeRequest.h:76
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWorkersWithQualificationTypeRequest.h:165
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWorkersWithQualificationTypeRequest.h:31
Aws::MTurk::Model::ListWorkersWithQualificationTypeRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWorkersWithQualificationTypeRequest.h:160