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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CodeCatalyst {
39 template <
typename SpaceNameT = Aws::String>
41 m_spaceNameHasBeenSet =
true;
42 m_spaceName = std::forward<SpaceNameT>(value);
44 template <
typename SpaceNameT = Aws::String>
56 template <
typename ProjectNameT = Aws::String>
58 m_projectNameHasBeenSet =
true;
59 m_projectName = std::forward<ProjectNameT>(value);
61 template <
typename ProjectNameT = Aws::String>
73 template <
typename IdT = Aws::String>
75 m_idHasBeenSet =
true;
76 m_id = std::forward<IdT>(value);
78 template <
typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
90 template <
typename NameT = Aws::String>
92 m_nameHasBeenSet =
true;
93 m_name = std::forward<NameT>(value);
95 template <
typename NameT = Aws::String>
97 SetName(std::forward<NameT>(value));
107 template <
typename SourceRepositoryNameT = Aws::String>
109 m_sourceRepositoryNameHasBeenSet =
true;
110 m_sourceRepositoryName = std::forward<SourceRepositoryNameT>(value);
112 template <
typename SourceRepositoryNameT = Aws::String>
124 template <
typename SourceBranchNameT = Aws::String>
126 m_sourceBranchNameHasBeenSet =
true;
127 m_sourceBranchName = std::forward<SourceBranchNameT>(value);
129 template <
typename SourceBranchNameT = Aws::String>
141 template <
typename DefinitionT = WorkflowDefinition>
143 m_definitionHasBeenSet =
true;
144 m_definition = std::forward<DefinitionT>(value);
146 template <
typename DefinitionT = WorkflowDefinition>
160 template <
typename CreatedTimeT = Aws::Utils::DateTime>
162 m_createdTimeHasBeenSet =
true;
163 m_createdTime = std::forward<CreatedTimeT>(value);
165 template <
typename CreatedTimeT = Aws::Utils::DateTime>
179 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
181 m_lastUpdatedTimeHasBeenSet =
true;
182 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
184 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
200 m_runModeHasBeenSet =
true;
215 m_statusHasBeenSet =
true;
227 template <
typename RequestIdT = Aws::String>
229 m_requestIdHasBeenSet =
true;
230 m_requestId = std::forward<RequestIdT>(value);
232 template <
typename RequestIdT = Aws::String>
265 bool m_spaceNameHasBeenSet =
false;
266 bool m_projectNameHasBeenSet =
false;
267 bool m_idHasBeenSet =
false;
268 bool m_nameHasBeenSet =
false;
269 bool m_sourceRepositoryNameHasBeenSet =
false;
270 bool m_sourceBranchNameHasBeenSet =
false;
271 bool m_definitionHasBeenSet =
false;
272 bool m_createdTimeHasBeenSet =
false;
273 bool m_lastUpdatedTimeHasBeenSet =
false;
274 bool m_runModeHasBeenSet =
false;
275 bool m_statusHasBeenSet =
false;
276 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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