AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename HITIdT = Aws::String>
47 void SetHITId(HITIdT&& value) { m_hITIdHasBeenSet = true; m_hITId = std::forward<HITIdT>(value); }
48 template<typename HITIdT = Aws::String>
49 ListBonusPaymentsRequest& WithHITId(HITIdT&& value) { SetHITId(std::forward<HITIdT>(value)); return *this;}
51
53
58 inline const Aws::String& GetAssignmentId() const { return m_assignmentId; }
59 inline bool AssignmentIdHasBeenSet() const { return m_assignmentIdHasBeenSet; }
60 template<typename AssignmentIdT = Aws::String>
61 void SetAssignmentId(AssignmentIdT&& value) { m_assignmentIdHasBeenSet = true; m_assignmentId = std::forward<AssignmentIdT>(value); }
62 template<typename AssignmentIdT = Aws::String>
63 ListBonusPaymentsRequest& WithAssignmentId(AssignmentIdT&& value) { SetAssignmentId(std::forward<AssignmentIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetNextToken() const { return m_nextToken; }
71 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
72 template<typename NextTokenT = Aws::String>
73 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
74 template<typename NextTokenT = Aws::String>
75 ListBonusPaymentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
77
79
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListBonusPaymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85 private:
86
87 Aws::String m_hITId;
88 bool m_hITIdHasBeenSet = false;
89
90 Aws::String m_assignmentId;
91 bool m_assignmentIdHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 int m_maxResults{0};
97 bool m_maxResultsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MTurk
102} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListBonusPaymentsRequest & WithAssignmentId(AssignmentIdT &&value)
ListBonusPaymentsRequest & WithHITId(HITIdT &&value)
AWS_MTURK_API Aws::String SerializePayload() const override
ListBonusPaymentsRequest & WithMaxResults(int value)
ListBonusPaymentsRequest & WithNextToken(NextTokenT &&value)
AWS_MTURK_API ListBonusPaymentsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String