7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/WorkflowDefinition.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codecatalyst/model/WorkflowRunMode.h>
12#include <aws/codecatalyst/model/WorkflowStatus.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename SpaceNameT = Aws::String>
45 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet =
true; m_spaceName = std::forward<SpaceNameT>(value); }
46 template<
typename SpaceNameT = Aws::String>
55 template<
typename ProjectNameT = Aws::String>
56 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet =
true; m_projectName = std::forward<ProjectNameT>(value); }
57 template<
typename ProjectNameT = Aws::String>
66 template<
typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
68 template<
typename IdT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
88 template<
typename SourceRepositoryNameT = Aws::String>
89 void SetSourceRepositoryName(SourceRepositoryNameT&& value) { m_sourceRepositoryNameHasBeenSet =
true; m_sourceRepositoryName = std::forward<SourceRepositoryNameT>(value); }
90 template<
typename SourceRepositoryNameT = Aws::String>
99 template<
typename SourceBranchNameT = Aws::String>
100 void SetSourceBranchName(SourceBranchNameT&& value) { m_sourceBranchNameHasBeenSet =
true; m_sourceBranchName = std::forward<SourceBranchNameT>(value); }
101 template<
typename SourceBranchNameT = Aws::String>
110 template<
typename DefinitionT = WorkflowDefinition>
111 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
112 template<
typename DefinitionT = WorkflowDefinition>
123 template<
typename CreatedTimeT = Aws::Utils::DateTime>
124 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
125 template<
typename CreatedTimeT = Aws::Utils::DateTime>
136 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
137 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
138 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
166 template<
typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
168 template<
typename RequestIdT = Aws::String>
174 bool m_spaceNameHasBeenSet =
false;
177 bool m_projectNameHasBeenSet =
false;
180 bool m_idHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_sourceRepositoryNameHasBeenSet =
false;
189 bool m_sourceBranchNameHasBeenSet =
false;
192 bool m_definitionHasBeenSet =
false;
195 bool m_createdTimeHasBeenSet =
false;
198 bool m_lastUpdatedTimeHasBeenSet =
false;
201 bool m_runModeHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_requestIdHasBeenSet =
false;
GetWorkflowResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetWorkflowResult & WithCreatedTime(CreatedTimeT &&value)
AWS_CODECATALYST_API GetWorkflowResult()=default
GetWorkflowResult & WithRunMode(WorkflowRunMode value)
void SetRequestId(RequestIdT &&value)
GetWorkflowResult & WithSpaceName(SpaceNameT &&value)
void SetStatus(WorkflowStatus value)
AWS_CODECATALYST_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & WithProjectName(ProjectNameT &&value)
void SetCreatedTime(CreatedTimeT &&value)
GetWorkflowResult & WithStatus(WorkflowStatus value)
void SetSpaceName(SpaceNameT &&value)
void SetSourceBranchName(SourceBranchNameT &&value)
const Aws::String & GetName() const
const Aws::String & GetProjectName() const
const Aws::String & GetSourceBranchName() const
GetWorkflowResult & WithName(NameT &&value)
AWS_CODECATALYST_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRunMode(WorkflowRunMode value)
GetWorkflowResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetSourceRepositoryName() const
GetWorkflowResult & WithId(IdT &&value)
const Aws::String & GetRequestId() const
GetWorkflowResult & WithDefinition(DefinitionT &&value)
const Aws::String & GetSpaceName() const
const WorkflowDefinition & GetDefinition() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
WorkflowRunMode GetRunMode() const
GetWorkflowResult & WithSourceBranchName(SourceBranchNameT &&value)
const Aws::String & GetId() const
void SetName(NameT &&value)
void SetProjectName(ProjectNameT &&value)
void SetDefinition(DefinitionT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetWorkflowResult & WithSourceRepositoryName(SourceRepositoryNameT &&value)
void SetSourceRepositoryName(SourceRepositoryNameT &&value)
WorkflowStatus GetStatus() const
const Aws::Utils::DateTime & GetCreatedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue