AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
GetWorkflowRunResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/nova-act/NovaAct_EXPORTS.h>
11#include <aws/nova-act/model/WorkflowRunStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace NovaAct {
25namespace Model {
27 public:
28 AWS_NOVAACT_API GetWorkflowRunResult() = default;
31
33
36 inline const Aws::String& GetWorkflowRunArn() const { return m_workflowRunArn; }
37 template <typename WorkflowRunArnT = Aws::String>
38 void SetWorkflowRunArn(WorkflowRunArnT&& value) {
39 m_workflowRunArnHasBeenSet = true;
40 m_workflowRunArn = std::forward<WorkflowRunArnT>(value);
41 }
42 template <typename WorkflowRunArnT = Aws::String>
43 GetWorkflowRunResult& WithWorkflowRunArn(WorkflowRunArnT&& value) {
44 SetWorkflowRunArn(std::forward<WorkflowRunArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
54 template <typename WorkflowRunIdT = Aws::String>
55 void SetWorkflowRunId(WorkflowRunIdT&& value) {
56 m_workflowRunIdHasBeenSet = true;
57 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
58 }
59 template <typename WorkflowRunIdT = Aws::String>
60 GetWorkflowRunResult& WithWorkflowRunId(WorkflowRunIdT&& value) {
61 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
62 return *this;
63 }
65
67
70 inline WorkflowRunStatus GetStatus() const { return m_status; }
71 inline void SetStatus(WorkflowRunStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
85 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
86 template <typename StartedAtT = Aws::Utils::DateTime>
87 void SetStartedAt(StartedAtT&& value) {
88 m_startedAtHasBeenSet = true;
89 m_startedAt = std::forward<StartedAtT>(value);
90 }
91 template <typename StartedAtT = Aws::Utils::DateTime>
92 GetWorkflowRunResult& WithStartedAt(StartedAtT&& value) {
93 SetStartedAt(std::forward<StartedAtT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
103 template <typename EndedAtT = Aws::Utils::DateTime>
104 void SetEndedAt(EndedAtT&& value) {
105 m_endedAtHasBeenSet = true;
106 m_endedAt = std::forward<EndedAtT>(value);
107 }
108 template <typename EndedAtT = Aws::Utils::DateTime>
110 SetEndedAt(std::forward<EndedAtT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetModelId() const { return m_modelId; }
120 template <typename ModelIdT = Aws::String>
121 void SetModelId(ModelIdT&& value) {
122 m_modelIdHasBeenSet = true;
123 m_modelId = std::forward<ModelIdT>(value);
124 }
125 template <typename ModelIdT = Aws::String>
127 SetModelId(std::forward<ModelIdT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
137 template <typename LogGroupNameT = Aws::String>
138 void SetLogGroupName(LogGroupNameT&& value) {
139 m_logGroupNameHasBeenSet = true;
140 m_logGroupName = std::forward<LogGroupNameT>(value);
141 }
142 template <typename LogGroupNameT = Aws::String>
143 GetWorkflowRunResult& WithLogGroupName(LogGroupNameT&& value) {
144 SetLogGroupName(std::forward<LogGroupNameT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
158 GetWorkflowRunResult& WithRequestId(RequestIdT&& value) {
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_workflowRunArn;
167
168 Aws::String m_workflowRunId;
169
171
172 Aws::Utils::DateTime m_startedAt{};
173
174 Aws::Utils::DateTime m_endedAt{};
175
176 Aws::String m_modelId;
177
178 Aws::String m_logGroupName;
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_workflowRunArnHasBeenSet = false;
183 bool m_workflowRunIdHasBeenSet = false;
184 bool m_statusHasBeenSet = false;
185 bool m_startedAtHasBeenSet = false;
186 bool m_endedAtHasBeenSet = false;
187 bool m_modelIdHasBeenSet = false;
188 bool m_logGroupNameHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace NovaAct
194} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetEndedAt() const
GetWorkflowRunResult & WithWorkflowRunArn(WorkflowRunArnT &&value)
AWS_NOVAACT_API GetWorkflowRunResult()=default
void SetWorkflowRunArn(WorkflowRunArnT &&value)
GetWorkflowRunResult & WithStatus(WorkflowRunStatus value)
GetWorkflowRunResult & WithLogGroupName(LogGroupNameT &&value)
GetWorkflowRunResult & WithRequestId(RequestIdT &&value)
AWS_NOVAACT_API GetWorkflowRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NOVAACT_API GetWorkflowRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowRunResult & WithModelId(ModelIdT &&value)
GetWorkflowRunResult & WithStartedAt(StartedAtT &&value)
void SetWorkflowRunId(WorkflowRunIdT &&value)
GetWorkflowRunResult & WithWorkflowRunId(WorkflowRunIdT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
GetWorkflowRunResult & WithEndedAt(EndedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue