AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListQualificationRequestsResult.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/memory/stl/AWSVector.h>
10#include <aws/mturk-requester/model/QualificationRequest.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MTurk
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline int GetNumResults() const{ return m_numResults; }
44 inline void SetNumResults(int value) { m_numResults = value; }
45 inline ListQualificationRequestsResult& WithNumResults(int value) { SetNumResults(value); return *this;}
47
49
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
54 inline ListQualificationRequestsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListQualificationRequestsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListQualificationRequestsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
64 inline const Aws::Vector<QualificationRequest>& GetQualificationRequests() const{ return m_qualificationRequests; }
65 inline void SetQualificationRequests(const Aws::Vector<QualificationRequest>& value) { m_qualificationRequests = value; }
66 inline void SetQualificationRequests(Aws::Vector<QualificationRequest>&& value) { m_qualificationRequests = std::move(value); }
69 inline ListQualificationRequestsResult& AddQualificationRequests(const QualificationRequest& value) { m_qualificationRequests.push_back(value); return *this; }
70 inline ListQualificationRequestsResult& AddQualificationRequests(QualificationRequest&& value) { m_qualificationRequests.push_back(std::move(value)); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline ListQualificationRequestsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline ListQualificationRequestsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline ListQualificationRequestsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 int m_numResults;
86
87 Aws::String m_nextToken;
88
89 Aws::Vector<QualificationRequest> m_qualificationRequests;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace MTurk
96} // namespace Aws
ListQualificationRequestsResult & WithRequestId(Aws::String &&value)
AWS_MTURK_API ListQualificationRequestsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQualificationRequests(Aws::Vector< QualificationRequest > &&value)
void SetQualificationRequests(const Aws::Vector< QualificationRequest > &value)
ListQualificationRequestsResult & WithQualificationRequests(Aws::Vector< QualificationRequest > &&value)
ListQualificationRequestsResult & AddQualificationRequests(QualificationRequest &&value)
ListQualificationRequestsResult & WithNextToken(const Aws::String &value)
ListQualificationRequestsResult & WithNumResults(int value)
ListQualificationRequestsResult & WithRequestId(const char *value)
ListQualificationRequestsResult & WithNextToken(Aws::String &&value)
ListQualificationRequestsResult & WithQualificationRequests(const Aws::Vector< QualificationRequest > &value)
const Aws::Vector< QualificationRequest > & GetQualificationRequests() const
AWS_MTURK_API ListQualificationRequestsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListQualificationRequestsResult & AddQualificationRequests(const QualificationRequest &value)
ListQualificationRequestsResult & WithRequestId(const Aws::String &value)
ListQualificationRequestsResult & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue