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/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CodeCatalyst {
39 template <
typename SpaceNameT = Aws::String>
41 m_spaceNameHasBeenSet =
true;
42 m_spaceName = std::forward<SpaceNameT>(value);
44 template <
typename SpaceNameT = Aws::String>
56 template <
typename ProjectNameT = Aws::String>
58 m_projectNameHasBeenSet =
true;
59 m_projectName = std::forward<ProjectNameT>(value);
61 template <
typename ProjectNameT = Aws::String>
73 template <
typename IdT = Aws::String>
75 m_idHasBeenSet =
true;
76 m_id = std::forward<IdT>(value);
78 template <
typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
90 template <
typename WorkflowIdT = Aws::String>
92 m_workflowIdHasBeenSet =
true;
93 m_workflowId = std::forward<WorkflowIdT>(value);
95 template <
typename WorkflowIdT = Aws::String>
108 m_statusHasBeenSet =
true;
122 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
124 m_statusReasonsHasBeenSet =
true;
125 m_statusReasons = std::forward<StatusReasonsT>(value);
127 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
132 template <
typename StatusReasonsT = WorkflowRunStatusReason>
134 m_statusReasonsHasBeenSet =
true;
135 m_statusReasons.emplace_back(std::forward<StatusReasonsT>(value));
147 template <
typename StartTimeT = Aws::Utils::DateTime>
149 m_startTimeHasBeenSet =
true;
150 m_startTime = std::forward<StartTimeT>(value);
152 template <
typename StartTimeT = Aws::Utils::DateTime>
166 template <
typename EndTimeT = Aws::Utils::DateTime>
168 m_endTimeHasBeenSet =
true;
169 m_endTime = std::forward<EndTimeT>(value);
171 template <
typename EndTimeT = Aws::Utils::DateTime>
185 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
187 m_lastUpdatedTimeHasBeenSet =
true;
188 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
190 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
200 template <
typename RequestIdT = Aws::String>
202 m_requestIdHasBeenSet =
true;
203 m_requestId = std::forward<RequestIdT>(value);
205 template <
typename RequestIdT = Aws::String>
234 bool m_spaceNameHasBeenSet =
false;
235 bool m_projectNameHasBeenSet =
false;
236 bool m_idHasBeenSet =
false;
237 bool m_workflowIdHasBeenSet =
false;
238 bool m_statusHasBeenSet =
false;
239 bool m_statusReasonsHasBeenSet =
false;
240 bool m_startTimeHasBeenSet =
false;
241 bool m_endTimeHasBeenSet =
false;
242 bool m_lastUpdatedTimeHasBeenSet =
false;
243 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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