AWS SDK for C++  1.9.105
AWS SDK for C++
ListWorkersWithQualificationTypeResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace MTurk
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
37 
38  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
39 
40 
41  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
42 
43 
44  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
45 
46 
47  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
48 
49 
50  inline ListWorkersWithQualificationTypeResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
51 
52 
53  inline ListWorkersWithQualificationTypeResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
54 
55 
56  inline ListWorkersWithQualificationTypeResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
57 
58 
63  inline int GetNumResults() const{ return m_numResults; }
64 
69  inline void SetNumResults(int value) { m_numResults = value; }
70 
75  inline ListWorkersWithQualificationTypeResult& WithNumResults(int value) { SetNumResults(value); return *this;}
76 
77 
81  inline const Aws::Vector<Qualification>& GetQualifications() const{ return m_qualifications; }
82 
86  inline void SetQualifications(const Aws::Vector<Qualification>& value) { m_qualifications = value; }
87 
91  inline void SetQualifications(Aws::Vector<Qualification>&& value) { m_qualifications = std::move(value); }
92 
96  inline ListWorkersWithQualificationTypeResult& WithQualifications(const Aws::Vector<Qualification>& value) { SetQualifications(value); return *this;}
97 
101  inline ListWorkersWithQualificationTypeResult& WithQualifications(Aws::Vector<Qualification>&& value) { SetQualifications(std::move(value)); return *this;}
102 
106  inline ListWorkersWithQualificationTypeResult& AddQualifications(const Qualification& value) { m_qualifications.push_back(value); return *this; }
107 
111  inline ListWorkersWithQualificationTypeResult& AddQualifications(Qualification&& value) { m_qualifications.push_back(std::move(value)); return *this; }
112 
113  private:
114 
115  Aws::String m_nextToken;
116 
117  int m_numResults;
118 
119  Aws::Vector<Qualification> m_qualifications;
120  };
121 
122 } // namespace Model
123 } // namespace MTurk
124 } // namespace Aws
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetNumResults
void SetNumResults(int value)
Definition: ListWorkersWithQualificationTypeResult.h:69
Aws::MTurk::Model::Qualification
Definition: Qualification.h:37
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithNextToken
ListWorkersWithQualificationTypeResult & WithNextToken(const char *value)
Definition: ListWorkersWithQualificationTypeResult.h:56
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithNextToken
ListWorkersWithQualificationTypeResult & WithNextToken(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeResult.h:50
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithQualifications
ListWorkersWithQualificationTypeResult & WithQualifications(const Aws::Vector< Qualification > &value)
Definition: ListWorkersWithQualificationTypeResult.h:96
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::AddQualifications
ListWorkersWithQualificationTypeResult & AddQualifications(const Qualification &value)
Definition: ListWorkersWithQualificationTypeResult.h:106
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeResult.h:44
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetQualifications
void SetQualifications(const Aws::Vector< Qualification > &value)
Definition: ListWorkersWithQualificationTypeResult.h:86
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorkersWithQualificationTypeResult.h:47
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::ListWorkersWithQualificationTypeResult
ListWorkersWithQualificationTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithNumResults
ListWorkersWithQualificationTypeResult & WithNumResults(int value)
Definition: ListWorkersWithQualificationTypeResult.h:75
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::GetNumResults
int GetNumResults() const
Definition: ListWorkersWithQualificationTypeResult.h:63
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorkersWithQualificationTypeResult.h:38
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithQualifications
ListWorkersWithQualificationTypeResult & WithQualifications(Aws::Vector< Qualification > &&value)
Definition: ListWorkersWithQualificationTypeResult.h:101
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::WithNextToken
ListWorkersWithQualificationTypeResult & WithNextToken(Aws::String &&value)
Definition: ListWorkersWithQualificationTypeResult.h:53
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::AddQualifications
ListWorkersWithQualificationTypeResult & AddQualifications(Qualification &&value)
Definition: ListWorkersWithQualificationTypeResult.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult
Definition: ListWorkersWithQualificationTypeResult.h:30
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::operator=
ListWorkersWithQualificationTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetQualifications
void SetQualifications(Aws::Vector< Qualification > &&value)
Definition: ListWorkersWithQualificationTypeResult.h:91
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorkersWithQualificationTypeResult.h:41
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::GetQualifications
const Aws::Vector< Qualification > & GetQualifications() const
Definition: ListWorkersWithQualificationTypeResult.h:81
Qualification.h
Aws::MTurk::Model::ListWorkersWithQualificationTypeResult::ListWorkersWithQualificationTypeResult
ListWorkersWithQualificationTypeResult()