AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBonusPaymentsRequest.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 ListBonusPaymentsRequest();
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 "ListBonusPayments"; }
31
32 AWS_MTURK_API Aws::String SerializePayload() const override;
33
35
36
38
44 inline const Aws::String& GetHITId() const{ return m_hITId; }
45 inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; }
46 inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; }
47 inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); }
48 inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); }
49 inline ListBonusPaymentsRequest& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
50 inline ListBonusPaymentsRequest& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
51 inline ListBonusPaymentsRequest& WithHITId(const char* value) { SetHITId(value); return *this;}
53
55
60 inline const Aws::String& GetAssignmentId() const{ return m_assignmentId; }
61 inline bool AssignmentIdHasBeenSet() const { return m_assignmentIdHasBeenSet; }
62 inline void SetAssignmentId(const Aws::String& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = value; }
63 inline void SetAssignmentId(Aws::String&& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = std::move(value); }
64 inline void SetAssignmentId(const char* value) { m_assignmentIdHasBeenSet = true; m_assignmentId.assign(value); }
65 inline ListBonusPaymentsRequest& WithAssignmentId(const Aws::String& value) { SetAssignmentId(value); return *this;}
66 inline ListBonusPaymentsRequest& WithAssignmentId(Aws::String&& value) { SetAssignmentId(std::move(value)); return *this;}
67 inline ListBonusPaymentsRequest& WithAssignmentId(const char* value) { SetAssignmentId(value); return *this;}
69
71
74 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
79 inline ListBonusPaymentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListBonusPaymentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListBonusPaymentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
86 inline int GetMaxResults() const{ return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline ListBonusPaymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91 private:
92
93 Aws::String m_hITId;
94 bool m_hITIdHasBeenSet = false;
95
96 Aws::String m_assignmentId;
97 bool m_assignmentIdHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace MTurk
108} // namespace Aws
ListBonusPaymentsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListBonusPaymentsRequest & WithAssignmentId(const char *value)
ListBonusPaymentsRequest & WithAssignmentId(Aws::String &&value)
ListBonusPaymentsRequest & WithAssignmentId(const Aws::String &value)
ListBonusPaymentsRequest & WithHITId(const Aws::String &value)
AWS_MTURK_API Aws::String SerializePayload() const override
ListBonusPaymentsRequest & WithNextToken(Aws::String &&value)
ListBonusPaymentsRequest & WithHITId(Aws::String &&value)
ListBonusPaymentsRequest & WithMaxResults(int value)
ListBonusPaymentsRequest & WithHITId(const char *value)
ListBonusPaymentsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String