AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
InvokeActStepRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/nova-act/NovaActRequest.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/CallResult.h>
12
13#include <utility>
14
15namespace Aws {
16namespace NovaAct {
17namespace Model {
18
22 public:
23 AWS_NOVAACT_API InvokeActStepRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "InvokeActStep"; }
30
31 AWS_NOVAACT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetWorkflowDefinitionName() const { return m_workflowDefinitionName; }
38 inline bool WorkflowDefinitionNameHasBeenSet() const { return m_workflowDefinitionNameHasBeenSet; }
39 template <typename WorkflowDefinitionNameT = Aws::String>
40 void SetWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
41 m_workflowDefinitionNameHasBeenSet = true;
42 m_workflowDefinitionName = std::forward<WorkflowDefinitionNameT>(value);
43 }
44 template <typename WorkflowDefinitionNameT = Aws::String>
45 InvokeActStepRequest& WithWorkflowDefinitionName(WorkflowDefinitionNameT&& value) {
46 SetWorkflowDefinitionName(std::forward<WorkflowDefinitionNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
56 inline bool WorkflowRunIdHasBeenSet() const { return m_workflowRunIdHasBeenSet; }
57 template <typename WorkflowRunIdT = Aws::String>
58 void SetWorkflowRunId(WorkflowRunIdT&& value) {
59 m_workflowRunIdHasBeenSet = true;
60 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
61 }
62 template <typename WorkflowRunIdT = Aws::String>
63 InvokeActStepRequest& WithWorkflowRunId(WorkflowRunIdT&& value) {
64 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetSessionId() const { return m_sessionId; }
74 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
75 template <typename SessionIdT = Aws::String>
76 void SetSessionId(SessionIdT&& value) {
77 m_sessionIdHasBeenSet = true;
78 m_sessionId = std::forward<SessionIdT>(value);
79 }
80 template <typename SessionIdT = Aws::String>
81 InvokeActStepRequest& WithSessionId(SessionIdT&& value) {
82 SetSessionId(std::forward<SessionIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetActId() const { return m_actId; }
92 inline bool ActIdHasBeenSet() const { return m_actIdHasBeenSet; }
93 template <typename ActIdT = Aws::String>
94 void SetActId(ActIdT&& value) {
95 m_actIdHasBeenSet = true;
96 m_actId = std::forward<ActIdT>(value);
97 }
98 template <typename ActIdT = Aws::String>
100 SetActId(std::forward<ActIdT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Vector<CallResult>& GetCallResults() const { return m_callResults; }
110 inline bool CallResultsHasBeenSet() const { return m_callResultsHasBeenSet; }
111 template <typename CallResultsT = Aws::Vector<CallResult>>
112 void SetCallResults(CallResultsT&& value) {
113 m_callResultsHasBeenSet = true;
114 m_callResults = std::forward<CallResultsT>(value);
115 }
116 template <typename CallResultsT = Aws::Vector<CallResult>>
117 InvokeActStepRequest& WithCallResults(CallResultsT&& value) {
118 SetCallResults(std::forward<CallResultsT>(value));
119 return *this;
120 }
121 template <typename CallResultsT = CallResult>
122 InvokeActStepRequest& AddCallResults(CallResultsT&& value) {
123 m_callResultsHasBeenSet = true;
124 m_callResults.emplace_back(std::forward<CallResultsT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetPreviousStepId() const { return m_previousStepId; }
134 inline bool PreviousStepIdHasBeenSet() const { return m_previousStepIdHasBeenSet; }
135 template <typename PreviousStepIdT = Aws::String>
136 void SetPreviousStepId(PreviousStepIdT&& value) {
137 m_previousStepIdHasBeenSet = true;
138 m_previousStepId = std::forward<PreviousStepIdT>(value);
139 }
140 template <typename PreviousStepIdT = Aws::String>
141 InvokeActStepRequest& WithPreviousStepId(PreviousStepIdT&& value) {
142 SetPreviousStepId(std::forward<PreviousStepIdT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_workflowDefinitionName;
148
149 Aws::String m_workflowRunId;
150
151 Aws::String m_sessionId;
152
153 Aws::String m_actId;
154
155 Aws::Vector<CallResult> m_callResults;
156
157 Aws::String m_previousStepId;
158 bool m_workflowDefinitionNameHasBeenSet = false;
159 bool m_workflowRunIdHasBeenSet = false;
160 bool m_sessionIdHasBeenSet = false;
161 bool m_actIdHasBeenSet = false;
162 bool m_callResultsHasBeenSet = false;
163 bool m_previousStepIdHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace NovaAct
168} // namespace Aws
InvokeActStepRequest & WithWorkflowRunId(WorkflowRunIdT &&value)
InvokeActStepRequest & AddCallResults(CallResultsT &&value)
void SetPreviousStepId(PreviousStepIdT &&value)
InvokeActStepRequest & WithSessionId(SessionIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< CallResult > & GetCallResults() const
const Aws::String & GetWorkflowDefinitionName() const
void SetWorkflowRunId(WorkflowRunIdT &&value)
void SetWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
InvokeActStepRequest & WithCallResults(CallResultsT &&value)
InvokeActStepRequest & WithActId(ActIdT &&value)
InvokeActStepRequest & WithWorkflowDefinitionName(WorkflowDefinitionNameT &&value)
AWS_NOVAACT_API Aws::String SerializePayload() const override
InvokeActStepRequest & WithPreviousStepId(PreviousStepIdT &&value)
AWS_NOVAACT_API InvokeActStepRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector