7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/WorkflowRunStatus.h>
9#include <aws/codecatalyst/model/WorkflowRunStatusReason.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace CodeCatalyst {
38 template <
typename SpaceNameT = Aws::String>
40 m_spaceNameHasBeenSet =
true;
41 m_spaceName = std::forward<SpaceNameT>(value);
43 template <
typename SpaceNameT = Aws::String>
55 template <
typename ProjectNameT = Aws::String>
57 m_projectNameHasBeenSet =
true;
58 m_projectName = std::forward<ProjectNameT>(value);
60 template <
typename ProjectNameT = Aws::String>
72 template <
typename IdT = Aws::String>
74 m_idHasBeenSet =
true;
75 m_id = std::forward<IdT>(value);
77 template <
typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
89 template <
typename WorkflowIdT = Aws::String>
91 m_workflowIdHasBeenSet =
true;
92 m_workflowId = std::forward<WorkflowIdT>(value);
94 template <
typename WorkflowIdT = Aws::String>
107 m_statusHasBeenSet =
true;
121 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
123 m_statusReasonsHasBeenSet =
true;
124 m_statusReasons = std::forward<StatusReasonsT>(value);
126 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
131 template <
typename StatusReasonsT = WorkflowRunStatusReason>
133 m_statusReasonsHasBeenSet =
true;
134 m_statusReasons.emplace_back(std::forward<StatusReasonsT>(value));
146 template <
typename StartTimeT = Aws::Utils::DateTime>
148 m_startTimeHasBeenSet =
true;
149 m_startTime = std::forward<StartTimeT>(value);
151 template <
typename StartTimeT = Aws::Utils::DateTime>
165 template <
typename EndTimeT = Aws::Utils::DateTime>
167 m_endTimeHasBeenSet =
true;
168 m_endTime = std::forward<EndTimeT>(value);
170 template <
typename EndTimeT = Aws::Utils::DateTime>
184 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
186 m_lastUpdatedTimeHasBeenSet =
true;
187 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
189 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
199 template <
typename RequestIdT = Aws::String>
201 m_requestIdHasBeenSet =
true;
202 m_requestId = std::forward<RequestIdT>(value);
204 template <
typename RequestIdT = Aws::String>
230 bool m_spaceNameHasBeenSet =
false;
231 bool m_projectNameHasBeenSet =
false;
232 bool m_idHasBeenSet =
false;
233 bool m_workflowIdHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
235 bool m_statusReasonsHasBeenSet =
false;
236 bool m_startTimeHasBeenSet =
false;
237 bool m_endTimeHasBeenSet =
false;
238 bool m_lastUpdatedTimeHasBeenSet =
false;
239 bool m_requestIdHasBeenSet =
false;
AWS_CODECATALYST_API GetWorkflowRunResult()=default
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetWorkflowRunResult & WithId(IdT &&value)
void SetStatusReasons(StatusReasonsT &&value)
GetWorkflowRunResult & WithRequestId(RequestIdT &&value)
GetWorkflowRunResult & WithProjectName(ProjectNameT &&value)
GetWorkflowRunResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
GetWorkflowRunResult & WithStatusReasons(StatusReasonsT &&value)
GetWorkflowRunResult & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetSpaceName() const
GetWorkflowRunResult & AddStatusReasons(StatusReasonsT &&value)
void SetSpaceName(SpaceNameT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetStatus(WorkflowRunStatus value)
void SetWorkflowId(WorkflowIdT &&value)
GetWorkflowRunResult & WithWorkflowId(WorkflowIdT &&value)
const Aws::Utils::DateTime & GetStartTime() const
GetWorkflowRunResult & WithStatus(WorkflowRunStatus value)
WorkflowRunStatus GetStatus() const
const Aws::String & GetProjectName() const
const Aws::String & GetWorkflowId() const
AWS_CODECATALYST_API GetWorkflowRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEndTime(EndTimeT &&value)
GetWorkflowRunResult & WithEndTime(EndTimeT &&value)
AWS_CODECATALYST_API GetWorkflowRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowRunResult & WithSpaceName(SpaceNameT &&value)
const Aws::String & GetId() const
void SetProjectName(ProjectNameT &&value)
const Aws::Vector< WorkflowRunStatusReason > & GetStatusReasons() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue