AWS SDK for C++  1.9.106
AWS SDK for C++
RejectQualificationRequestRequest.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 "RejectQualificationRequest"; }
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 RejectQualificationRequestRequest& WithQualificationRequestId(const Aws::String& value) { SetQualificationRequestId(value); return *this;}
72 
77  inline RejectQualificationRequestRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;}
78 
83  inline RejectQualificationRequestRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;}
84 
85 
90  inline const Aws::String& GetReason() const{ return m_reason; }
91 
96  inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
97 
102  inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
103 
108  inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
109 
114  inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
115 
120  inline RejectQualificationRequestRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
121 
126  inline RejectQualificationRequestRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
127 
132  inline RejectQualificationRequestRequest& WithReason(const char* value) { SetReason(value); return *this;}
133 
134  private:
135 
136  Aws::String m_qualificationRequestId;
137  bool m_qualificationRequestIdHasBeenSet;
138 
139  Aws::String m_reason;
140  bool m_reasonHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace MTurk
145 } // namespace Aws
Aws::MTurk::Model::RejectQualificationRequestRequest::WithReason
RejectQualificationRequestRequest & WithReason(const char *value)
Definition: RejectQualificationRequestRequest.h:132
Aws::MTurk::Model::RejectQualificationRequestRequest::SetReason
void SetReason(const Aws::String &value)
Definition: RejectQualificationRequestRequest.h:102
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::RejectQualificationRequestRequest
Definition: RejectQualificationRequestRequest.h:22
Aws::MTurk::Model::RejectQualificationRequestRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RejectQualificationRequestRequest.h:30
Aws::MTurk::Model::RejectQualificationRequestRequest::SetReason
void SetReason(const char *value)
Definition: RejectQualificationRequestRequest.h:114
Aws::MTurk::Model::RejectQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(const char *value)
Definition: RejectQualificationRequestRequest.h:65
Aws::MTurk::Model::RejectQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(const Aws::String &value)
Definition: RejectQualificationRequestRequest.h:53
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
MTurkRequest.h
Aws::MTurk::Model::RejectQualificationRequestRequest::ReasonHasBeenSet
bool ReasonHasBeenSet() const
Definition: RejectQualificationRequestRequest.h:96
Aws::MTurk::Model::RejectQualificationRequestRequest::QualificationRequestIdHasBeenSet
bool QualificationRequestIdHasBeenSet() const
Definition: RejectQualificationRequestRequest.h:47
Aws::MTurk::Model::RejectQualificationRequestRequest::WithQualificationRequestId
RejectQualificationRequestRequest & WithQualificationRequestId(Aws::String &&value)
Definition: RejectQualificationRequestRequest.h:77
Aws::MTurk::Model::RejectQualificationRequestRequest::WithReason
RejectQualificationRequestRequest & WithReason(const Aws::String &value)
Definition: RejectQualificationRequestRequest.h:120
AWSString.h
Aws::MTurk::Model::RejectQualificationRequestRequest::WithQualificationRequestId
RejectQualificationRequestRequest & WithQualificationRequestId(const Aws::String &value)
Definition: RejectQualificationRequestRequest.h:71
Aws::MTurk::Model::RejectQualificationRequestRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::RejectQualificationRequestRequest::SetQualificationRequestId
void SetQualificationRequestId(Aws::String &&value)
Definition: RejectQualificationRequestRequest.h:59
Aws::MTurk::Model::RejectQualificationRequestRequest::RejectQualificationRequestRequest
RejectQualificationRequestRequest()
MTurk_EXPORTS.h
Aws::MTurk::Model::RejectQualificationRequestRequest::WithQualificationRequestId
RejectQualificationRequestRequest & WithQualificationRequestId(const char *value)
Definition: RejectQualificationRequestRequest.h:83
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::RejectQualificationRequestRequest::GetQualificationRequestId
const Aws::String & GetQualificationRequestId() const
Definition: RejectQualificationRequestRequest.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::RejectQualificationRequestRequest::SetReason
void SetReason(Aws::String &&value)
Definition: RejectQualificationRequestRequest.h:108
Aws::MTurk::Model::RejectQualificationRequestRequest::WithReason
RejectQualificationRequestRequest & WithReason(Aws::String &&value)
Definition: RejectQualificationRequestRequest.h:126
Aws::MTurk::Model::RejectQualificationRequestRequest::GetReason
const Aws::String & GetReason() const
Definition: RejectQualificationRequestRequest.h:90
Aws::MTurk::Model::RejectQualificationRequestRequest::SerializePayload
Aws::String SerializePayload() const override