AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectAssignmentRequest.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/mturk-requester/MTurkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MTurk
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MTURK_API RejectAssignmentRequest();
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 "RejectAssignment"; }
31
32 AWS_MTURK_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetAssignmentId() const{ return m_assignmentId; }
43 inline bool AssignmentIdHasBeenSet() const { return m_assignmentIdHasBeenSet; }
44 inline void SetAssignmentId(const Aws::String& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = value; }
45 inline void SetAssignmentId(Aws::String&& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = std::move(value); }
46 inline void SetAssignmentId(const char* value) { m_assignmentIdHasBeenSet = true; m_assignmentId.assign(value); }
47 inline RejectAssignmentRequest& WithAssignmentId(const Aws::String& value) { SetAssignmentId(value); return *this;}
48 inline RejectAssignmentRequest& WithAssignmentId(Aws::String&& value) { SetAssignmentId(std::move(value)); return *this;}
49 inline RejectAssignmentRequest& WithAssignmentId(const char* value) { SetAssignmentId(value); return *this;}
51
53
57 inline const Aws::String& GetRequesterFeedback() const{ return m_requesterFeedback; }
58 inline bool RequesterFeedbackHasBeenSet() const { return m_requesterFeedbackHasBeenSet; }
59 inline void SetRequesterFeedback(const Aws::String& value) { m_requesterFeedbackHasBeenSet = true; m_requesterFeedback = value; }
60 inline void SetRequesterFeedback(Aws::String&& value) { m_requesterFeedbackHasBeenSet = true; m_requesterFeedback = std::move(value); }
61 inline void SetRequesterFeedback(const char* value) { m_requesterFeedbackHasBeenSet = true; m_requesterFeedback.assign(value); }
63 inline RejectAssignmentRequest& WithRequesterFeedback(Aws::String&& value) { SetRequesterFeedback(std::move(value)); return *this;}
64 inline RejectAssignmentRequest& WithRequesterFeedback(const char* value) { SetRequesterFeedback(value); return *this;}
66 private:
67
68 Aws::String m_assignmentId;
69 bool m_assignmentIdHasBeenSet = false;
70
71 Aws::String m_requesterFeedback;
72 bool m_requesterFeedbackHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MTurk
77} // namespace Aws
RejectAssignmentRequest & WithRequesterFeedback(const char *value)
RejectAssignmentRequest & WithAssignmentId(Aws::String &&value)
void SetRequesterFeedback(const Aws::String &value)
RejectAssignmentRequest & WithRequesterFeedback(const Aws::String &value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RejectAssignmentRequest & WithAssignmentId(const Aws::String &value)
RejectAssignmentRequest & WithRequesterFeedback(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
RejectAssignmentRequest & WithAssignmentId(const char *value)
AWS_MTURK_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String