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>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename WorkflowIdT = Aws::String>
63 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet =
true; m_workflowId = std::forward<WorkflowIdT>(value); }
64 template<
typename WorkflowIdT = Aws::String>
74 template<
typename WorkflowNameT = Aws::String>
75 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet =
true; m_workflowName = std::forward<WorkflowNameT>(value); }
76 template<
typename WorkflowNameT = Aws::String>
96 template<
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
97 void SetStatusReasons(StatusReasonsT&& value) { m_statusReasonsHasBeenSet =
true; m_statusReasons = std::forward<StatusReasonsT>(value); }
98 template<
typename StatusReasonsT = Aws::Vector<WorkflowRunStatusReason>>
100 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>
126 template<
typename EndTimeT = Aws::Utils::DateTime>
127 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
128 template<
typename EndTimeT = Aws::Utils::DateTime>
140 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
141 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
142 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
148 bool m_idHasBeenSet =
false;
151 bool m_workflowIdHasBeenSet =
false;
154 bool m_workflowNameHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
160 bool m_statusReasonsHasBeenSet =
false;
163 bool m_startTimeHasBeenSet =
false;
166 bool m_endTimeHasBeenSet =
false;
169 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