7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/WorkflowDefinition.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>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace CodeCatalyst {
38 template <
typename SpaceNameT = Aws::String>
40 m_spaceNameHasBeenSet =
true;
41 m_spaceName = std::forward<SpaceNameT>(value);
43 template <
typename SpaceNameT = Aws::String>
55 template <
typename ProjectNameT = Aws::String>
57 m_projectNameHasBeenSet =
true;
58 m_projectName = std::forward<ProjectNameT>(value);
60 template <
typename ProjectNameT = Aws::String>
72 template <
typename IdT = Aws::String>
74 m_idHasBeenSet =
true;
75 m_id = std::forward<IdT>(value);
77 template <
typename IdT = Aws::String>
79 SetId(std::forward<IdT>(value));
89 template <
typename NameT = Aws::String>
91 m_nameHasBeenSet =
true;
92 m_name = std::forward<NameT>(value);
94 template <
typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
106 template <
typename SourceRepositoryNameT = Aws::String>
108 m_sourceRepositoryNameHasBeenSet =
true;
109 m_sourceRepositoryName = std::forward<SourceRepositoryNameT>(value);
111 template <
typename SourceRepositoryNameT = Aws::String>
123 template <
typename SourceBranchNameT = Aws::String>
125 m_sourceBranchNameHasBeenSet =
true;
126 m_sourceBranchName = std::forward<SourceBranchNameT>(value);
128 template <
typename SourceBranchNameT = Aws::String>
140 template <
typename DefinitionT = WorkflowDefinition>
142 m_definitionHasBeenSet =
true;
143 m_definition = std::forward<DefinitionT>(value);
145 template <
typename DefinitionT = WorkflowDefinition>
159 template <
typename CreatedTimeT = Aws::Utils::DateTime>
161 m_createdTimeHasBeenSet =
true;
162 m_createdTime = std::forward<CreatedTimeT>(value);
164 template <
typename CreatedTimeT = Aws::Utils::DateTime>
178 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
180 m_lastUpdatedTimeHasBeenSet =
true;
181 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
183 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
199 m_runModeHasBeenSet =
true;
214 m_statusHasBeenSet =
true;
226 template <
typename RequestIdT = Aws::String>
228 m_requestIdHasBeenSet =
true;
229 m_requestId = std::forward<RequestIdT>(value);
231 template <
typename RequestIdT = Aws::String>
261 bool m_spaceNameHasBeenSet =
false;
262 bool m_projectNameHasBeenSet =
false;
263 bool m_idHasBeenSet =
false;
264 bool m_nameHasBeenSet =
false;
265 bool m_sourceRepositoryNameHasBeenSet =
false;
266 bool m_sourceBranchNameHasBeenSet =
false;
267 bool m_definitionHasBeenSet =
false;
268 bool m_createdTimeHasBeenSet =
false;
269 bool m_lastUpdatedTimeHasBeenSet =
false;
270 bool m_runModeHasBeenSet =
false;
271 bool m_statusHasBeenSet =
false;
272 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