AWS SDK for C++  1.9.105
AWS SDK for C++
ListQualificationTypesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MTurk
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListQualificationTypes"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetQuery() const{ return m_query; }
42 
47  inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
48 
53  inline void SetQuery(const Aws::String& value) { m_queryHasBeenSet = true; m_query = value; }
54 
59  inline void SetQuery(Aws::String&& value) { m_queryHasBeenSet = true; m_query = std::move(value); }
60 
65  inline void SetQuery(const char* value) { m_queryHasBeenSet = true; m_query.assign(value); }
66 
71  inline ListQualificationTypesRequest& WithQuery(const Aws::String& value) { SetQuery(value); return *this;}
72 
77  inline ListQualificationTypesRequest& WithQuery(Aws::String&& value) { SetQuery(std::move(value)); return *this;}
78 
83  inline ListQualificationTypesRequest& WithQuery(const char* value) { SetQuery(value); return *this;}
84 
85 
94  inline bool GetMustBeRequestable() const{ return m_mustBeRequestable; }
95 
104  inline bool MustBeRequestableHasBeenSet() const { return m_mustBeRequestableHasBeenSet; }
105 
114  inline void SetMustBeRequestable(bool value) { m_mustBeRequestableHasBeenSet = true; m_mustBeRequestable = value; }
115 
124  inline ListQualificationTypesRequest& WithMustBeRequestable(bool value) { SetMustBeRequestable(value); return *this;}
125 
126 
131  inline bool GetMustBeOwnedByCaller() const{ return m_mustBeOwnedByCaller; }
132 
137  inline bool MustBeOwnedByCallerHasBeenSet() const { return m_mustBeOwnedByCallerHasBeenSet; }
138 
143  inline void SetMustBeOwnedByCaller(bool value) { m_mustBeOwnedByCallerHasBeenSet = true; m_mustBeOwnedByCaller = value; }
144 
149  inline ListQualificationTypesRequest& WithMustBeOwnedByCaller(bool value) { SetMustBeOwnedByCaller(value); return *this;}
150 
151 
152 
153  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
154 
155 
156  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
157 
158 
159  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
160 
161 
162  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
163 
164 
165  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
166 
167 
168  inline ListQualificationTypesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
169 
170 
171  inline ListQualificationTypesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
172 
173 
174  inline ListQualificationTypesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
175 
176 
180  inline int GetMaxResults() const{ return m_maxResults; }
181 
185  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
186 
190  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
191 
195  inline ListQualificationTypesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
196 
197  private:
198 
199  Aws::String m_query;
200  bool m_queryHasBeenSet;
201 
202  bool m_mustBeRequestable;
203  bool m_mustBeRequestableHasBeenSet;
204 
205  bool m_mustBeOwnedByCaller;
206  bool m_mustBeOwnedByCallerHasBeenSet;
207 
208  Aws::String m_nextToken;
209  bool m_nextTokenHasBeenSet;
210 
211  int m_maxResults;
212  bool m_maxResultsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace MTurk
217 } // namespace Aws
Aws::MTurk::Model::ListQualificationTypesRequest::WithQuery
ListQualificationTypesRequest & WithQuery(Aws::String &&value)
Definition: ListQualificationTypesRequest.h:77
Aws::MTurk::Model::ListQualificationTypesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQualificationTypesRequest.h:162
Aws::MTurk::Model::ListQualificationTypesRequest::GetMustBeRequestable
bool GetMustBeRequestable() const
Definition: ListQualificationTypesRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::ListQualificationTypesRequest::WithNextToken
ListQualificationTypesRequest & WithNextToken(const Aws::String &value)
Definition: ListQualificationTypesRequest.h:168
Aws::MTurk::Model::ListQualificationTypesRequest::SetQuery
void SetQuery(const char *value)
Definition: ListQualificationTypesRequest.h:65
Aws::MTurk::Model::ListQualificationTypesRequest::MustBeRequestableHasBeenSet
bool MustBeRequestableHasBeenSet() const
Definition: ListQualificationTypesRequest.h:104
Aws::MTurk::Model::ListQualificationTypesRequest::QueryHasBeenSet
bool QueryHasBeenSet() const
Definition: ListQualificationTypesRequest.h:47
Aws::MTurk::Model::ListQualificationTypesRequest::SetMustBeOwnedByCaller
void SetMustBeOwnedByCaller(bool value)
Definition: ListQualificationTypesRequest.h:143
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::ListQualificationTypesRequest::WithMustBeRequestable
ListQualificationTypesRequest & WithMustBeRequestable(bool value)
Definition: ListQualificationTypesRequest.h:124
Aws::MTurk::Model::ListQualificationTypesRequest::WithMustBeOwnedByCaller
ListQualificationTypesRequest & WithMustBeOwnedByCaller(bool value)
Definition: ListQualificationTypesRequest.h:149
Aws::MTurk::Model::ListQualificationTypesRequest::MustBeOwnedByCallerHasBeenSet
bool MustBeOwnedByCallerHasBeenSet() const
Definition: ListQualificationTypesRequest.h:137
MTurkRequest.h
Aws::MTurk::Model::ListQualificationTypesRequest::WithQuery
ListQualificationTypesRequest & WithQuery(const char *value)
Definition: ListQualificationTypesRequest.h:83
Aws::MTurk::Model::ListQualificationTypesRequest::GetQuery
const Aws::String & GetQuery() const
Definition: ListQualificationTypesRequest.h:41
Aws::MTurk::Model::ListQualificationTypesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQualificationTypesRequest.h:180
Aws::MTurk::Model::ListQualificationTypesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQualificationTypesRequest.h:153
Aws::MTurk::Model::ListQualificationTypesRequest
Definition: ListQualificationTypesRequest.h:22
Aws::MTurk::Model::ListQualificationTypesRequest::WithMaxResults
ListQualificationTypesRequest & WithMaxResults(int value)
Definition: ListQualificationTypesRequest.h:195
Aws::MTurk::Model::ListQualificationTypesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQualificationTypesRequest.h:156
AWSString.h
Aws::MTurk::Model::ListQualificationTypesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQualificationTypesRequest.h:165
Aws::MTurk::Model::ListQualificationTypesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQualificationTypesRequest.h:30
Aws::MTurk::Model::ListQualificationTypesRequest::WithNextToken
ListQualificationTypesRequest & WithNextToken(const char *value)
Definition: ListQualificationTypesRequest.h:174
Aws::MTurk::Model::ListQualificationTypesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQualificationTypesRequest.h:185
Aws::MTurk::Model::ListQualificationTypesRequest::WithNextToken
ListQualificationTypesRequest & WithNextToken(Aws::String &&value)
Definition: ListQualificationTypesRequest.h:171
Aws::MTurk::Model::ListQualificationTypesRequest::SetQuery
void SetQuery(Aws::String &&value)
Definition: ListQualificationTypesRequest.h:59
Aws::MTurk::Model::ListQualificationTypesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQualificationTypesRequest.h:190
Aws::MTurk::Model::ListQualificationTypesRequest::GetMustBeOwnedByCaller
bool GetMustBeOwnedByCaller() const
Definition: ListQualificationTypesRequest.h:131
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::ListQualificationTypesRequest::ListQualificationTypesRequest
ListQualificationTypesRequest()
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListQualificationTypesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQualificationTypesRequest.h:159
Aws::MTurk::Model::ListQualificationTypesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListQualificationTypesRequest::SetQuery
void SetQuery(const Aws::String &value)
Definition: ListQualificationTypesRequest.h:53
Aws::MTurk::Model::ListQualificationTypesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::ListQualificationTypesRequest::WithQuery
ListQualificationTypesRequest & WithQuery(const Aws::String &value)
Definition: ListQualificationTypesRequest.h:71
Aws::MTurk::Model::ListQualificationTypesRequest::SetMustBeRequestable
void SetMustBeRequestable(bool value)
Definition: ListQualificationTypesRequest.h:114