AWS SDK for C++  1.9.104
AWS SDK for C++
AcceptQualificationRequestRequest.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 "AcceptQualificationRequest"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetQualificationRequestId() const{ return m_qualificationRequestId; }
42 
47  inline bool QualificationRequestIdHasBeenSet() const { return m_qualificationRequestIdHasBeenSet; }
48 
53  inline void SetQualificationRequestId(const Aws::String& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = value; }
54 
59  inline void SetQualificationRequestId(Aws::String&& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = std::move(value); }
60 
65  inline void SetQualificationRequestId(const char* value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId.assign(value); }
66 
71  inline AcceptQualificationRequestRequest& WithQualificationRequestId(const Aws::String& value) { SetQualificationRequestId(value); return *this;}
72 
77  inline AcceptQualificationRequestRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;}
78 
83  inline AcceptQualificationRequestRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;}
84 
85 
91  inline int GetIntegerValue() const{ return m_integerValue; }
92 
98  inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
99 
105  inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
106 
112  inline AcceptQualificationRequestRequest& WithIntegerValue(int value) { SetIntegerValue(value); return *this;}
113 
114  private:
115 
116  Aws::String m_qualificationRequestId;
117  bool m_qualificationRequestIdHasBeenSet;
118 
119  int m_integerValue;
120  bool m_integerValueHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace MTurk
125 } // namespace Aws
Aws::MTurk::Model::AcceptQualificationRequestRequest::QualificationRequestIdHasBeenSet
bool QualificationRequestIdHasBeenSet() const
Definition: AcceptQualificationRequestRequest.h:47
Aws::MTurk::Model::AcceptQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(Aws::String &&value)
Definition: AcceptQualificationRequestRequest.h:59
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::AcceptQualificationRequestRequest::GetIntegerValue
int GetIntegerValue() const
Definition: AcceptQualificationRequestRequest.h:91
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::AcceptQualificationRequestRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcceptQualificationRequestRequest.h:30
Aws::MTurk::Model::AcceptQualificationRequestRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::AcceptQualificationRequestRequest::WithQualificationRequestId
AcceptQualificationRequestRequest & WithQualificationRequestId(const Aws::String &value)
Definition: AcceptQualificationRequestRequest.h:71
MTurkRequest.h
Aws::MTurk::Model::AcceptQualificationRequestRequest
Definition: AcceptQualificationRequestRequest.h:22
Aws::MTurk::Model::AcceptQualificationRequestRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::AcceptQualificationRequestRequest::WithIntegerValue
AcceptQualificationRequestRequest & WithIntegerValue(int value)
Definition: AcceptQualificationRequestRequest.h:112
Aws::MTurk::Model::AcceptQualificationRequestRequest::SetIntegerValue
void SetIntegerValue(int value)
Definition: AcceptQualificationRequestRequest.h:105
AWSString.h
Aws::MTurk::Model::AcceptQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(const Aws::String &value)
Definition: AcceptQualificationRequestRequest.h:53
Aws::MTurk::Model::AcceptQualificationRequestRequest::WithQualificationRequestId
AcceptQualificationRequestRequest & WithQualificationRequestId(Aws::String &&value)
Definition: AcceptQualificationRequestRequest.h:77
Aws::MTurk::Model::AcceptQualificationRequestRequest::IntegerValueHasBeenSet
bool IntegerValueHasBeenSet() const
Definition: AcceptQualificationRequestRequest.h:98
Aws::MTurk::Model::AcceptQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(const char *value)
Definition: AcceptQualificationRequestRequest.h:65
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::AcceptQualificationRequestRequest::AcceptQualificationRequestRequest
AcceptQualificationRequestRequest()
Aws::MTurk::Model::AcceptQualificationRequestRequest::GetQualificationRequestId
const Aws::String & GetQualificationRequestId() const
Definition: AcceptQualificationRequestRequest.h:41
Aws::MTurk::Model::AcceptQualificationRequestRequest::WithQualificationRequestId
AcceptQualificationRequestRequest & WithQualificationRequestId(const char *value)
Definition: AcceptQualificationRequestRequest.h:83