7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/WorkflowDefinitionSummary.h>
9#include <aws/codecatalyst/model/WorkflowRunMode.h>
10#include <aws/codecatalyst/model/WorkflowStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.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 NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
81 template <
typename SourceRepositoryNameT = Aws::String>
83 m_sourceRepositoryNameHasBeenSet =
true;
84 m_sourceRepositoryName = std::forward<SourceRepositoryNameT>(value);
86 template <
typename SourceRepositoryNameT = Aws::String>
100 template <
typename SourceBranchNameT = Aws::String>
102 m_sourceBranchNameHasBeenSet =
true;
103 m_sourceBranchName = std::forward<SourceBranchNameT>(value);
105 template <
typename SourceBranchNameT = Aws::String>
118 template <
typename DefinitionT = WorkflowDefinitionSummary>
120 m_definitionHasBeenSet =
true;
121 m_definition = std::forward<DefinitionT>(value);
123 template <
typename DefinitionT = WorkflowDefinitionSummary>
138 template <
typename CreatedTimeT = Aws::Utils::DateTime>
140 m_createdTimeHasBeenSet =
true;
141 m_createdTime = std::forward<CreatedTimeT>(value);
143 template <
typename CreatedTimeT = Aws::Utils::DateTime>
158 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
160 m_lastUpdatedTimeHasBeenSet =
true;
161 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
163 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
177 m_runModeHasBeenSet =
true;
193 m_statusHasBeenSet =
true;
219 bool m_idHasBeenSet =
false;
220 bool m_nameHasBeenSet =
false;
221 bool m_sourceRepositoryNameHasBeenSet =
false;
222 bool m_sourceBranchNameHasBeenSet =
false;
223 bool m_definitionHasBeenSet =
false;
224 bool m_createdTimeHasBeenSet =
false;
225 bool m_lastUpdatedTimeHasBeenSet =
false;
226 bool m_runModeHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
WorkflowSummary & WithDefinition(DefinitionT &&value)
bool StatusHasBeenSet() const
void SetSourceRepositoryName(SourceRepositoryNameT &&value)
bool SourceBranchNameHasBeenSet() const
WorkflowStatus GetStatus() const
bool DefinitionHasBeenSet() const
const Aws::String & GetSourceBranchName() const
bool NameHasBeenSet() const
WorkflowSummary & WithRunMode(WorkflowRunMode value)
WorkflowSummary & WithLastUpdatedTime(LastUpdatedTimeT &&value)
WorkflowRunMode GetRunMode() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const WorkflowDefinitionSummary & GetDefinition() const
WorkflowSummary & WithSourceBranchName(SourceBranchNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetDefinition(DefinitionT &&value)
WorkflowSummary & WithName(NameT &&value)
bool CreatedTimeHasBeenSet() const
const Aws::String & GetSourceRepositoryName() const
void SetSourceBranchName(SourceBranchNameT &&value)
const Aws::String & GetName() const
const Aws::String & GetId() const
AWS_CODECATALYST_API WorkflowSummary(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetRunMode(WorkflowRunMode value)
WorkflowSummary & WithCreatedTime(CreatedTimeT &&value)
WorkflowSummary & WithStatus(WorkflowStatus value)
AWS_CODECATALYST_API WorkflowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowSummary & WithSourceRepositoryName(SourceRepositoryNameT &&value)
void SetStatus(WorkflowStatus value)
bool RunModeHasBeenSet() const
AWS_CODECATALYST_API WorkflowSummary()=default
WorkflowSummary & WithId(IdT &&value)
void SetName(NameT &&value)
bool SourceRepositoryNameHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue