7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/WorkflowDefinitionSummary.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codecatalyst/model/WorkflowRunMode.h>
12#include <aws/codecatalyst/model/WorkflowStatus.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 NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
75 template<
typename SourceRepositoryNameT = Aws::String>
76 void SetSourceRepositoryName(SourceRepositoryNameT&& value) { m_sourceRepositoryNameHasBeenSet =
true; m_sourceRepositoryName = std::forward<SourceRepositoryNameT>(value); }
77 template<
typename SourceRepositoryNameT = Aws::String>
88 template<
typename SourceBranchNameT = Aws::String>
89 void SetSourceBranchName(SourceBranchNameT&& value) { m_sourceBranchNameHasBeenSet =
true; m_sourceBranchName = std::forward<SourceBranchNameT>(value); }
90 template<
typename SourceBranchNameT = Aws::String>
100 template<
typename DefinitionT = WorkflowDefinitionSummary>
101 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
102 template<
typename DefinitionT = WorkflowDefinitionSummary>
114 template<
typename CreatedTimeT = Aws::Utils::DateTime>
115 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
116 template<
typename CreatedTimeT = Aws::Utils::DateTime>
128 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
129 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
130 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
156 bool m_idHasBeenSet =
false;
159 bool m_nameHasBeenSet =
false;
162 bool m_sourceRepositoryNameHasBeenSet =
false;
165 bool m_sourceBranchNameHasBeenSet =
false;
168 bool m_definitionHasBeenSet =
false;
171 bool m_createdTimeHasBeenSet =
false;
174 bool m_lastUpdatedTimeHasBeenSet =
false;
177 bool m_runModeHasBeenSet =
false;
180 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