AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
ListActsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/nova-act/NovaActRequest.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/SortOrder.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace NovaAct {
19namespace Model {
20
24 public:
25 AWS_NOVAACT_API ListActsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListActs"; }
32
33 AWS_NOVAACT_API Aws::String SerializePayload() const override;
34
35 AWS_NOVAACT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetWorkflowDefinitionName() const { return m_workflowDefinitionName; }
42 inline bool WorkflowDefinitionNameHasBeenSet() const { return m_workflowDefinitionNameHasBeenSet; }
43 template <typename WorkflowDefinitionNameT = Aws::String>
44 void SetWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
45 m_workflowDefinitionNameHasBeenSet = true;
46 m_workflowDefinitionName = std::forward<WorkflowDefinitionNameT>(value);
47 }
48 template <typename WorkflowDefinitionNameT = Aws::String>
49 ListActsRequest& WithWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
50 SetWorkflowDefinitionName(std::forward<WorkflowDefinitionNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
60 inline bool WorkflowRunIdHasBeenSet() const { return m_workflowRunIdHasBeenSet; }
61 template <typename WorkflowRunIdT = Aws::String>
62 void SetWorkflowRunId(WorkflowRunIdT&& value) {
63 m_workflowRunIdHasBeenSet = true;
64 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
65 }
66 template <typename WorkflowRunIdT = Aws::String>
67 ListActsRequest& WithWorkflowRunId(WorkflowRunIdT&& value) {
68 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSessionId() const { return m_sessionId; }
78 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
79 template <typename SessionIdT = Aws::String>
80 void SetSessionId(SessionIdT&& value) {
81 m_sessionIdHasBeenSet = true;
82 m_sessionId = std::forward<SessionIdT>(value);
83 }
84 template <typename SessionIdT = Aws::String>
85 ListActsRequest& WithSessionId(SessionIdT&& value) {
86 SetSessionId(std::forward<SessionIdT>(value));
87 return *this;
88 }
90
92
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) {
98 m_maxResultsHasBeenSet = true;
99 m_maxResults = value;
100 }
101 inline ListActsRequest& WithMaxResults(int value) {
102 SetMaxResults(value);
103 return *this;
104 }
106
108
111 inline const Aws::String& GetNextToken() const { return m_nextToken; }
112 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 template <typename NextTokenT = Aws::String>
114 void SetNextToken(NextTokenT&& value) {
115 m_nextTokenHasBeenSet = true;
116 m_nextToken = std::forward<NextTokenT>(value);
117 }
118 template <typename NextTokenT = Aws::String>
119 ListActsRequest& WithNextToken(NextTokenT&& value) {
120 SetNextToken(std::forward<NextTokenT>(value));
121 return *this;
122 }
124
126
129 inline SortOrder GetSortOrder() const { return m_sortOrder; }
130 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
131 inline void SetSortOrder(SortOrder value) {
132 m_sortOrderHasBeenSet = true;
133 m_sortOrder = value;
134 }
136 SetSortOrder(value);
137 return *this;
138 }
140 private:
141 Aws::String m_workflowDefinitionName;
142
143 Aws::String m_workflowRunId;
144
145 Aws::String m_sessionId;
146
147 int m_maxResults{0};
148
149 Aws::String m_nextToken;
150
151 SortOrder m_sortOrder{SortOrder::NOT_SET};
152 bool m_workflowDefinitionNameHasBeenSet = false;
153 bool m_workflowRunIdHasBeenSet = false;
154 bool m_sessionIdHasBeenSet = false;
155 bool m_maxResultsHasBeenSet = false;
156 bool m_nextTokenHasBeenSet = false;
157 bool m_sortOrderHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace NovaAct
162} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListActsRequest & WithSessionId(SessionIdT &&value)
ListActsRequest & WithWorkflowRunId(WorkflowRunIdT &&value)
const Aws::String & GetWorkflowRunId() const
void SetWorkflowRunId(WorkflowRunIdT &&value)
AWS_NOVAACT_API Aws::String SerializePayload() const override
ListActsRequest & WithMaxResults(int value)
AWS_NOVAACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListActsRequest & WithWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
ListActsRequest & WithSortOrder(SortOrder value)
ListActsRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
void SetSessionId(SessionIdT &&value)
const Aws::String & GetSessionId() const
const Aws::String & GetNextToken() const
void SetWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
const Aws::String & GetWorkflowDefinitionName() const
AWS_NOVAACT_API ListActsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String