AWS SDK for C++  1.9.106
AWS SDK for C++
GetQualificationScoreRequest.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 "GetQualificationScore"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
41 
45  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
46 
50  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
51 
55  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
56 
60  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
61 
65  inline GetQualificationScoreRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
66 
70  inline GetQualificationScoreRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
71 
75  inline GetQualificationScoreRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
76 
77 
81  inline const Aws::String& GetWorkerId() const{ return m_workerId; }
82 
86  inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
87 
91  inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
92 
96  inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
97 
101  inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
102 
106  inline GetQualificationScoreRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
107 
111  inline GetQualificationScoreRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
112 
116  inline GetQualificationScoreRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_qualificationTypeId;
121  bool m_qualificationTypeIdHasBeenSet;
122 
123  Aws::String m_workerId;
124  bool m_workerIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace MTurk
129 } // namespace Aws
Aws::MTurk::Model::GetQualificationScoreRequest::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: GetQualificationScoreRequest.h:45
Aws::MTurk::Model::GetQualificationScoreRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::GetQualificationScoreRequest::WithQualificationTypeId
GetQualificationScoreRequest & WithQualificationTypeId(Aws::String &&value)
Definition: GetQualificationScoreRequest.h:70
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::GetQualificationScoreRequest::SetWorkerId
void SetWorkerId(const Aws::String &value)
Definition: GetQualificationScoreRequest.h:91
Aws::MTurk::Model::GetQualificationScoreRequest::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: GetQualificationScoreRequest.h:60
Aws::MTurk::Model::GetQualificationScoreRequest::WithQualificationTypeId
GetQualificationScoreRequest & WithQualificationTypeId(const Aws::String &value)
Definition: GetQualificationScoreRequest.h:65
Aws::MTurk::Model::GetQualificationScoreRequest::WithWorkerId
GetQualificationScoreRequest & WithWorkerId(const Aws::String &value)
Definition: GetQualificationScoreRequest.h:106
Aws::MTurk::Model::GetQualificationScoreRequest
Definition: GetQualificationScoreRequest.h:22
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::GetQualificationScoreRequest::GetQualificationScoreRequest
GetQualificationScoreRequest()
Aws::MTurk::Model::GetQualificationScoreRequest::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: GetQualificationScoreRequest.h:40
MTurkRequest.h
Aws::MTurk::Model::GetQualificationScoreRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetQualificationScoreRequest.h:30
Aws::MTurk::Model::GetQualificationScoreRequest::WithWorkerId
GetQualificationScoreRequest & WithWorkerId(Aws::String &&value)
Definition: GetQualificationScoreRequest.h:111
Aws::MTurk::Model::GetQualificationScoreRequest::WithQualificationTypeId
GetQualificationScoreRequest & WithQualificationTypeId(const char *value)
Definition: GetQualificationScoreRequest.h:75
AWSString.h
Aws::MTurk::Model::GetQualificationScoreRequest::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: GetQualificationScoreRequest.h:50
Aws::MTurk::Model::GetQualificationScoreRequest::WorkerIdHasBeenSet
bool WorkerIdHasBeenSet() const
Definition: GetQualificationScoreRequest.h:86
Aws::MTurk::Model::GetQualificationScoreRequest::SetWorkerId
void SetWorkerId(const char *value)
Definition: GetQualificationScoreRequest.h:101
Aws::MTurk::Model::GetQualificationScoreRequest::SetWorkerId
void SetWorkerId(Aws::String &&value)
Definition: GetQualificationScoreRequest.h:96
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::GetQualificationScoreRequest::WithWorkerId
GetQualificationScoreRequest & WithWorkerId(const char *value)
Definition: GetQualificationScoreRequest.h:116
Aws::MTurk::Model::GetQualificationScoreRequest::GetWorkerId
const Aws::String & GetWorkerId() const
Definition: GetQualificationScoreRequest.h:81
Aws::MTurk::Model::GetQualificationScoreRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::GetQualificationScoreRequest::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: GetQualificationScoreRequest.h:55