7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/WorkflowRunStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codecatalyst/model/WorkflowRunStatusReason.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename SpaceNameT = Aws::String>
45 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet =
true; m_spaceName = std::forward<SpaceNameT>(value); }
46 template<
typename SpaceNameT = Aws::String>
55 template<
typename ProjectNameT = Aws::String>
56 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
57 template<
typename ProjectNameT = Aws::String>
66 template<
typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
68 template<
typename IdT = Aws::String>
77 template<
typename WorkflowIdT = Aws::String>
78 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet =
true; m_workflowId = std::forward<WorkflowIdT>(value); }
79 template<
typename WorkflowIdT = Aws::String>
97 template<
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
98 void SetStatusReasons(StatusReasonsT&& value) { m_statusReasonsHasBeenSet =
true; m_statusReasons = std::forward<StatusReasonsT>(value); }
99 template<
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
101 template<
typename StatusReasonsT = WorkflowRunStatusReason>
112 template<
typename StartTimeT = Aws::Utils::DateTime>
113 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
114 template<
typename StartTimeT = Aws::Utils::DateTime>
125 template<
typename EndTimeT = Aws::Utils::DateTime>
126 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
127 template<
typename EndTimeT = Aws::Utils::DateTime>
138 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
139 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
140 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
147 template<
typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
149 template<
typename RequestIdT = Aws::String>
155 bool m_spaceNameHasBeenSet =
false;
158 bool m_projectNameHasBeenSet =
false;
161 bool m_idHasBeenSet =
false;
164 bool m_workflowIdHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_statusReasonsHasBeenSet =
false;
173 bool m_startTimeHasBeenSet =
false;
176 bool m_endTimeHasBeenSet =
false;
179 bool m_lastUpdatedTimeHasBeenSet =
false;
182 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