AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetWorkflowRunResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/nova-act/NovaAct_EXPORTS.h>
10#include <aws/nova-act/model/WorkflowRunStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NovaAct {
24namespace Model {
26 public:
27 AWS_NOVAACT_API GetWorkflowRunResult() = default;
30
32
35 inline const Aws::String& GetWorkflowRunArn() const { return m_workflowRunArn; }
36 template <typename WorkflowRunArnT = Aws::String>
37 void SetWorkflowRunArn(WorkflowRunArnT&& value) {
38 m_workflowRunArnHasBeenSet = true;
39 m_workflowRunArn = std::forward<WorkflowRunArnT>(value);
40 }
41 template <typename WorkflowRunArnT = Aws::String>
42 GetWorkflowRunResult& WithWorkflowRunArn(WorkflowRunArnT&& value) {
43 SetWorkflowRunArn(std::forward<WorkflowRunArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetWorkflowRunId() const { return m_workflowRunId; }
53 template <typename WorkflowRunIdT = Aws::String>
54 void SetWorkflowRunId(WorkflowRunIdT&& value) {
55 m_workflowRunIdHasBeenSet = true;
56 m_workflowRunId = std::forward<WorkflowRunIdT>(value);
57 }
58 template <typename WorkflowRunIdT = Aws::String>
59 GetWorkflowRunResult& WithWorkflowRunId(WorkflowRunIdT&& value) {
60 SetWorkflowRunId(std::forward<WorkflowRunIdT>(value));
61 return *this;
62 }
64
66
69 inline WorkflowRunStatus GetStatus() const { return m_status; }
70 inline void SetStatus(WorkflowRunStatus value) {
71 m_statusHasBeenSet = true;
72 m_status = value;
73 }
75 SetStatus(value);
76 return *this;
77 }
79
81
84 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
85 template <typename StartedAtT = Aws::Utils::DateTime>
86 void SetStartedAt(StartedAtT&& value) {
87 m_startedAtHasBeenSet = true;
88 m_startedAt = std::forward<StartedAtT>(value);
89 }
90 template <typename StartedAtT = Aws::Utils::DateTime>
91 GetWorkflowRunResult& WithStartedAt(StartedAtT&& value) {
92 SetStartedAt(std::forward<StartedAtT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
102 template <typename EndedAtT = Aws::Utils::DateTime>
103 void SetEndedAt(EndedAtT&& value) {
104 m_endedAtHasBeenSet = true;
105 m_endedAt = std::forward<EndedAtT>(value);
106 }
107 template <typename EndedAtT = Aws::Utils::DateTime>
109 SetEndedAt(std::forward<EndedAtT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetModelId() const { return m_modelId; }
119 template <typename ModelIdT = Aws::String>
120 void SetModelId(ModelIdT&& value) {
121 m_modelIdHasBeenSet = true;
122 m_modelId = std::forward<ModelIdT>(value);
123 }
124 template <typename ModelIdT = Aws::String>
126 SetModelId(std::forward<ModelIdT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
136 template <typename LogGroupNameT = Aws::String>
137 void SetLogGroupName(LogGroupNameT&& value) {
138 m_logGroupNameHasBeenSet = true;
139 m_logGroupName = std::forward<LogGroupNameT>(value);
140 }
141 template <typename LogGroupNameT = Aws::String>
142 GetWorkflowRunResult& WithLogGroupName(LogGroupNameT&& value) {
143 SetLogGroupName(std::forward<LogGroupNameT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template <typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) {
153 m_requestIdHasBeenSet = true;
154 m_requestId = std::forward<RequestIdT>(value);
155 }
156 template <typename RequestIdT = Aws::String>
157 GetWorkflowRunResult& WithRequestId(RequestIdT&& value) {
158 SetRequestId(std::forward<RequestIdT>(value));
159 return *this;
160 }
162 private:
163 Aws::String m_workflowRunArn;
164
165 Aws::String m_workflowRunId;
166
168
169 Aws::Utils::DateTime m_startedAt{};
170
171 Aws::Utils::DateTime m_endedAt{};
172
173 Aws::String m_modelId;
174
175 Aws::String m_logGroupName;
176
177 Aws::String m_requestId;
178 bool m_workflowRunArnHasBeenSet = false;
179 bool m_workflowRunIdHasBeenSet = false;
180 bool m_statusHasBeenSet = false;
181 bool m_startedAtHasBeenSet = false;
182 bool m_endedAtHasBeenSet = false;
183 bool m_modelIdHasBeenSet = false;
184 bool m_logGroupNameHasBeenSet = false;
185 bool m_requestIdHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace NovaAct
190} // namespace Aws
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