AWS SDK for C++  1.9.105
AWS SDK for C++
ListQualificationRequestsResult.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 
42  inline int GetNumResults() const{ return m_numResults; }
43 
49  inline void SetNumResults(int value) { m_numResults = value; }
50 
56  inline ListQualificationRequestsResult& WithNumResults(int value) { SetNumResults(value); return *this;}
57 
58 
59 
60  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 
62 
63  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
64 
65 
66  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
67 
68 
69  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
70 
71 
72  inline ListQualificationRequestsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 
74 
75  inline ListQualificationRequestsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
76 
77 
78  inline ListQualificationRequestsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
79 
80 
85  inline const Aws::Vector<QualificationRequest>& GetQualificationRequests() const{ return m_qualificationRequests; }
86 
91  inline void SetQualificationRequests(const Aws::Vector<QualificationRequest>& value) { m_qualificationRequests = value; }
92 
97  inline void SetQualificationRequests(Aws::Vector<QualificationRequest>&& value) { m_qualificationRequests = std::move(value); }
98 
103  inline ListQualificationRequestsResult& WithQualificationRequests(const Aws::Vector<QualificationRequest>& value) { SetQualificationRequests(value); return *this;}
104 
109  inline ListQualificationRequestsResult& WithQualificationRequests(Aws::Vector<QualificationRequest>&& value) { SetQualificationRequests(std::move(value)); return *this;}
110 
115  inline ListQualificationRequestsResult& AddQualificationRequests(const QualificationRequest& value) { m_qualificationRequests.push_back(value); return *this; }
116 
121  inline ListQualificationRequestsResult& AddQualificationRequests(QualificationRequest&& value) { m_qualificationRequests.push_back(std::move(value)); return *this; }
122 
123  private:
124 
125  int m_numResults;
126 
127  Aws::String m_nextToken;
128 
129  Aws::Vector<QualificationRequest> m_qualificationRequests;
130  };
131 
132 } // namespace Model
133 } // namespace MTurk
134 } // namespace Aws
Aws::MTurk::Model::ListQualificationRequestsResult::WithNextToken
ListQualificationRequestsResult & WithNextToken(Aws::String &&value)
Definition: ListQualificationRequestsResult.h:75
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::ListQualificationRequestsResult::ListQualificationRequestsResult
ListQualificationRequestsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::ListQualificationRequestsResult::operator=
ListQualificationRequestsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::ListQualificationRequestsResult::AddQualificationRequests
ListQualificationRequestsResult & AddQualificationRequests(const QualificationRequest &value)
Definition: ListQualificationRequestsResult.h:115
Aws::MTurk::Model::ListQualificationRequestsResult::AddQualificationRequests
ListQualificationRequestsResult & AddQualificationRequests(QualificationRequest &&value)
Definition: ListQualificationRequestsResult.h:121
Aws::MTurk::Model::ListQualificationRequestsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQualificationRequestsResult.h:60
Aws::MTurk::Model::ListQualificationRequestsResult::WithQualificationRequests
ListQualificationRequestsResult & WithQualificationRequests(const Aws::Vector< QualificationRequest > &value)
Definition: ListQualificationRequestsResult.h:103
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MTurk::Model::ListQualificationRequestsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListQualificationRequestsResult.h:69
Aws::MTurk::Model::QualificationRequest
Definition: QualificationRequest.h:34
Aws::MTurk::Model::ListQualificationRequestsResult::ListQualificationRequestsResult
ListQualificationRequestsResult()
Aws::MTurk::Model::ListQualificationRequestsResult::GetQualificationRequests
const Aws::Vector< QualificationRequest > & GetQualificationRequests() const
Definition: ListQualificationRequestsResult.h:85
AWSString.h
Aws::MTurk::Model::ListQualificationRequestsResult::WithNextToken
ListQualificationRequestsResult & WithNextToken(const Aws::String &value)
Definition: ListQualificationRequestsResult.h:72
Aws::MTurk::Model::ListQualificationRequestsResult::WithNextToken
ListQualificationRequestsResult & WithNextToken(const char *value)
Definition: ListQualificationRequestsResult.h:78
Aws::MTurk::Model::ListQualificationRequestsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQualificationRequestsResult.h:63
Aws::MTurk::Model::ListQualificationRequestsResult::SetQualificationRequests
void SetQualificationRequests(Aws::Vector< QualificationRequest > &&value)
Definition: ListQualificationRequestsResult.h:97
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ListQualificationRequestsResult::WithNumResults
ListQualificationRequestsResult & WithNumResults(int value)
Definition: ListQualificationRequestsResult.h:56
Aws::MTurk::Model::ListQualificationRequestsResult::SetNumResults
void SetNumResults(int value)
Definition: ListQualificationRequestsResult.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ListQualificationRequestsResult::WithQualificationRequests
ListQualificationRequestsResult & WithQualificationRequests(Aws::Vector< QualificationRequest > &&value)
Definition: ListQualificationRequestsResult.h:109
QualificationRequest.h
Aws::MTurk::Model::ListQualificationRequestsResult
Definition: ListQualificationRequestsResult.h:30
Aws::MTurk::Model::ListQualificationRequestsResult::GetNumResults
int GetNumResults() const
Definition: ListQualificationRequestsResult.h:42
Aws::MTurk::Model::ListQualificationRequestsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQualificationRequestsResult.h:66
Aws::MTurk::Model::ListQualificationRequestsResult::SetQualificationRequests
void SetQualificationRequests(const Aws::Vector< QualificationRequest > &value)
Definition: ListQualificationRequestsResult.h:91