AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkflowResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CodeCatalyst
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CODECATALYST_API GetWorkflowResult();
37
38
40
43 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
44 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
45 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
46 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
47 inline GetWorkflowResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
48 inline GetWorkflowResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
49 inline GetWorkflowResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
51
53
56 inline const Aws::String& GetProjectName() const{ return m_projectName; }
57 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
58 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
59 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
60 inline GetWorkflowResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
61 inline GetWorkflowResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
62 inline GetWorkflowResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
64
66
69 inline const Aws::String& GetId() const{ return m_id; }
70 inline void SetId(const Aws::String& value) { m_id = value; }
71 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
72 inline void SetId(const char* value) { m_id.assign(value); }
73 inline GetWorkflowResult& WithId(const Aws::String& value) { SetId(value); return *this;}
74 inline GetWorkflowResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 inline GetWorkflowResult& WithId(const char* value) { SetId(value); return *this;}
77
79
82 inline const Aws::String& GetName() const{ return m_name; }
83 inline void SetName(const Aws::String& value) { m_name = value; }
84 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
85 inline void SetName(const char* value) { m_name.assign(value); }
86 inline GetWorkflowResult& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline GetWorkflowResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline GetWorkflowResult& WithName(const char* value) { SetName(value); return *this;}
90
92
95 inline const Aws::String& GetSourceRepositoryName() const{ return m_sourceRepositoryName; }
96 inline void SetSourceRepositoryName(const Aws::String& value) { m_sourceRepositoryName = value; }
97 inline void SetSourceRepositoryName(Aws::String&& value) { m_sourceRepositoryName = std::move(value); }
98 inline void SetSourceRepositoryName(const char* value) { m_sourceRepositoryName.assign(value); }
100 inline GetWorkflowResult& WithSourceRepositoryName(Aws::String&& value) { SetSourceRepositoryName(std::move(value)); return *this;}
101 inline GetWorkflowResult& WithSourceRepositoryName(const char* value) { SetSourceRepositoryName(value); return *this;}
103
105
108 inline const Aws::String& GetSourceBranchName() const{ return m_sourceBranchName; }
109 inline void SetSourceBranchName(const Aws::String& value) { m_sourceBranchName = value; }
110 inline void SetSourceBranchName(Aws::String&& value) { m_sourceBranchName = std::move(value); }
111 inline void SetSourceBranchName(const char* value) { m_sourceBranchName.assign(value); }
112 inline GetWorkflowResult& WithSourceBranchName(const Aws::String& value) { SetSourceBranchName(value); return *this;}
113 inline GetWorkflowResult& WithSourceBranchName(Aws::String&& value) { SetSourceBranchName(std::move(value)); return *this;}
114 inline GetWorkflowResult& WithSourceBranchName(const char* value) { SetSourceBranchName(value); return *this;}
116
118
121 inline const WorkflowDefinition& GetDefinition() const{ return m_definition; }
122 inline void SetDefinition(const WorkflowDefinition& value) { m_definition = value; }
123 inline void SetDefinition(WorkflowDefinition&& value) { m_definition = std::move(value); }
124 inline GetWorkflowResult& WithDefinition(const WorkflowDefinition& value) { SetDefinition(value); return *this;}
125 inline GetWorkflowResult& WithDefinition(WorkflowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
127
129
134 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
135 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
136 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
137 inline GetWorkflowResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
138 inline GetWorkflowResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
140
142
147 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
148 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
149 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
151 inline GetWorkflowResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
153
155
161 inline const WorkflowRunMode& GetRunMode() const{ return m_runMode; }
162 inline void SetRunMode(const WorkflowRunMode& value) { m_runMode = value; }
163 inline void SetRunMode(WorkflowRunMode&& value) { m_runMode = std::move(value); }
164 inline GetWorkflowResult& WithRunMode(const WorkflowRunMode& value) { SetRunMode(value); return *this;}
165 inline GetWorkflowResult& WithRunMode(WorkflowRunMode&& value) { SetRunMode(std::move(value)); return *this;}
167
169
172 inline const WorkflowStatus& GetStatus() const{ return m_status; }
173 inline void SetStatus(const WorkflowStatus& value) { m_status = value; }
174 inline void SetStatus(WorkflowStatus&& value) { m_status = std::move(value); }
175 inline GetWorkflowResult& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;}
176 inline GetWorkflowResult& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(value)); return *this;}
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline GetWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline GetWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline GetWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::String m_spaceName;
192
193 Aws::String m_projectName;
194
195 Aws::String m_id;
196
197 Aws::String m_name;
198
199 Aws::String m_sourceRepositoryName;
200
201 Aws::String m_sourceBranchName;
202
203 WorkflowDefinition m_definition;
204
205 Aws::Utils::DateTime m_createdTime;
206
207 Aws::Utils::DateTime m_lastUpdatedTime;
208
209 WorkflowRunMode m_runMode;
210
211 WorkflowStatus m_status;
212
213 Aws::String m_requestId;
214 };
215
216} // namespace Model
217} // namespace CodeCatalyst
218} // namespace Aws
GetWorkflowResult & WithProjectName(Aws::String &&value)
GetWorkflowResult & WithName(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
GetWorkflowResult & WithCreatedTime(const Aws::Utils::DateTime &value)
GetWorkflowResult & WithSourceRepositoryName(const Aws::String &value)
GetWorkflowResult & WithRequestId(Aws::String &&value)
GetWorkflowResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
AWS_CODECATALYST_API GetWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & WithSourceRepositoryName(const char *value)
GetWorkflowResult & WithStatus(WorkflowStatus &&value)
GetWorkflowResult & WithSpaceName(const char *value)
GetWorkflowResult & WithSourceBranchName(const char *value)
GetWorkflowResult & WithSpaceName(Aws::String &&value)
GetWorkflowResult & WithId(Aws::String &&value)
GetWorkflowResult & WithId(const char *value)
const Aws::String & GetSourceBranchName() const
const WorkflowRunMode & GetRunMode() const
GetWorkflowResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
GetWorkflowResult & WithName(Aws::String &&value)
void SetStatus(const WorkflowStatus &value)
GetWorkflowResult & WithProjectName(const Aws::String &value)
GetWorkflowResult & WithDefinition(const WorkflowDefinition &value)
AWS_CODECATALYST_API GetWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkflowResult & WithRunMode(const WorkflowRunMode &value)
GetWorkflowResult & WithId(const Aws::String &value)
const Aws::String & GetSourceRepositoryName() const
void SetRunMode(const WorkflowRunMode &value)
GetWorkflowResult & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetDefinition(const WorkflowDefinition &value)
const WorkflowDefinition & GetDefinition() const
void SetSourceRepositoryName(Aws::String &&value)
GetWorkflowResult & WithRunMode(WorkflowRunMode &&value)
void SetDefinition(WorkflowDefinition &&value)
GetWorkflowResult & WithSourceBranchName(const Aws::String &value)
void SetSpaceName(const Aws::String &value)
GetWorkflowResult & WithSourceBranchName(Aws::String &&value)
GetWorkflowResult & WithName(const char *value)
void SetProjectName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetWorkflowResult & WithSpaceName(const Aws::String &value)
GetWorkflowResult & WithDefinition(WorkflowDefinition &&value)
void SetSourceRepositoryName(const Aws::String &value)
void SetSourceBranchName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
GetWorkflowResult & WithStatus(const WorkflowStatus &value)
GetWorkflowResult & WithSourceRepositoryName(Aws::String &&value)
GetWorkflowResult & WithRequestId(const Aws::String &value)
GetWorkflowResult & WithProjectName(const char *value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
GetWorkflowResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue