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>
23namespace CodeCatalyst {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename WorkflowIdT = Aws::String>
64 m_workflowIdHasBeenSet =
true;
65 m_workflowId = std::forward<WorkflowIdT>(value);
67 template <
typename WorkflowIdT = Aws::String>
80 template <
typename WorkflowNameT = Aws::String>
82 m_workflowNameHasBeenSet =
true;
83 m_workflowName = std::forward<WorkflowNameT>(value);
85 template <
typename WorkflowNameT = Aws::String>
99 m_statusHasBeenSet =
true;
114 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
116 m_statusReasonsHasBeenSet =
true;
117 m_statusReasons = std::forward<StatusReasonsT>(value);
119 template <
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
124 template <
typename StatusReasonsT = WorkflowRunStatusReason>
126 m_statusReasonsHasBeenSet =
true;
127 m_statusReasons.emplace_back(std::forward<StatusReasonsT>(value));
140 template <
typename StartTimeT = Aws::Utils::DateTime>
142 m_startTimeHasBeenSet =
true;
143 m_startTime = std::forward<StartTimeT>(value);
145 template <
typename StartTimeT = Aws::Utils::DateTime>
160 template <
typename EndTimeT = Aws::Utils::DateTime>
162 m_endTimeHasBeenSet =
true;
163 m_endTime = std::forward<EndTimeT>(value);
165 template <
typename EndTimeT = Aws::Utils::DateTime>
180 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
182 m_lastUpdatedTimeHasBeenSet =
true;
183 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
185 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
193 bool m_idHasBeenSet =
false;
196 bool m_workflowIdHasBeenSet =
false;
199 bool m_workflowNameHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
205 bool m_statusReasonsHasBeenSet =
false;
208 bool m_startTimeHasBeenSet =
false;
211 bool m_endTimeHasBeenSet =
false;
214 bool m_lastUpdatedTimeHasBeenSet =
false;
void SetWorkflowName(WorkflowNameT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
WorkflowRunSummary & WithStatus(WorkflowRunStatus value)
const Aws::String & GetWorkflowId() const
WorkflowRunSummary & AddStatusReasons(StatusReasonsT &&value)
bool WorkflowIdHasBeenSet() const
const Aws::Vector< WorkflowRunStatusReason > & GetStatusReasons() const
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusReasonsHasBeenSet() const
bool EndTimeHasBeenSet() const
bool WorkflowNameHasBeenSet() const
const Aws::String & GetId() const
AWS_CODECATALYST_API WorkflowRunSummary()=default
const Aws::Utils::DateTime & GetStartTime() const
AWS_CODECATALYST_API WorkflowRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkflowRunStatus GetStatus() const
void SetStatus(WorkflowRunStatus value)
void SetStatusReasons(StatusReasonsT &&value)
WorkflowRunSummary & WithWorkflowId(WorkflowIdT &&value)
bool IdHasBeenSet() const
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
WorkflowRunSummary & WithWorkflowName(WorkflowNameT &&value)
WorkflowRunSummary & WithEndTime(EndTimeT &&value)
AWS_CODECATALYST_API WorkflowRunSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
WorkflowRunSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetEndTime(EndTimeT &&value)
WorkflowRunSummary & WithStatusReasons(StatusReasonsT &&value)
bool StartTimeHasBeenSet() const
const Aws::String & GetWorkflowName() const
void SetWorkflowId(WorkflowIdT &&value)
WorkflowRunSummary & WithId(IdT &&value)
WorkflowRunSummary & WithStartTime(StartTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool StatusHasBeenSet() 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