AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Pipeline.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ParallelismConfiguration.h>
12#include <aws/sagemaker/model/PipelineStatus.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <aws/sagemaker/model/UserContext.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
27
33class Pipeline {
34 public:
35 AWS_SAGEMAKER_API Pipeline() = default;
36 AWS_SAGEMAKER_API Pipeline(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetPipelineArn() const { return m_pipelineArn; }
45 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
46 template <typename PipelineArnT = Aws::String>
47 void SetPipelineArn(PipelineArnT&& value) {
48 m_pipelineArnHasBeenSet = true;
49 m_pipelineArn = std::forward<PipelineArnT>(value);
50 }
51 template <typename PipelineArnT = Aws::String>
52 Pipeline& WithPipelineArn(PipelineArnT&& value) {
53 SetPipelineArn(std::forward<PipelineArnT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
63 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
64 template <typename PipelineNameT = Aws::String>
65 void SetPipelineName(PipelineNameT&& value) {
66 m_pipelineNameHasBeenSet = true;
67 m_pipelineName = std::forward<PipelineNameT>(value);
68 }
69 template <typename PipelineNameT = Aws::String>
70 Pipeline& WithPipelineName(PipelineNameT&& value) {
71 SetPipelineName(std::forward<PipelineNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetPipelineDisplayName() const { return m_pipelineDisplayName; }
81 inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; }
82 template <typename PipelineDisplayNameT = Aws::String>
83 void SetPipelineDisplayName(PipelineDisplayNameT&& value) {
84 m_pipelineDisplayNameHasBeenSet = true;
85 m_pipelineDisplayName = std::forward<PipelineDisplayNameT>(value);
86 }
87 template <typename PipelineDisplayNameT = Aws::String>
88 Pipeline& WithPipelineDisplayName(PipelineDisplayNameT&& value) {
89 SetPipelineDisplayName(std::forward<PipelineDisplayNameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetPipelineDescription() const { return m_pipelineDescription; }
99 inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; }
100 template <typename PipelineDescriptionT = Aws::String>
101 void SetPipelineDescription(PipelineDescriptionT&& value) {
102 m_pipelineDescriptionHasBeenSet = true;
103 m_pipelineDescription = std::forward<PipelineDescriptionT>(value);
104 }
105 template <typename PipelineDescriptionT = Aws::String>
106 Pipeline& WithPipelineDescription(PipelineDescriptionT&& value) {
107 SetPipelineDescription(std::forward<PipelineDescriptionT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
117 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
118 template <typename RoleArnT = Aws::String>
119 void SetRoleArn(RoleArnT&& value) {
120 m_roleArnHasBeenSet = true;
121 m_roleArn = std::forward<RoleArnT>(value);
122 }
123 template <typename RoleArnT = Aws::String>
124 Pipeline& WithRoleArn(RoleArnT&& value) {
125 SetRoleArn(std::forward<RoleArnT>(value));
126 return *this;
127 }
129
131
134 inline PipelineStatus GetPipelineStatus() const { return m_pipelineStatus; }
135 inline bool PipelineStatusHasBeenSet() const { return m_pipelineStatusHasBeenSet; }
137 m_pipelineStatusHasBeenSet = true;
138 m_pipelineStatus = value;
139 }
141 SetPipelineStatus(value);
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
151 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
152 template <typename CreationTimeT = Aws::Utils::DateTime>
153 void SetCreationTime(CreationTimeT&& value) {
154 m_creationTimeHasBeenSet = true;
155 m_creationTime = std::forward<CreationTimeT>(value);
156 }
157 template <typename CreationTimeT = Aws::Utils::DateTime>
158 Pipeline& WithCreationTime(CreationTimeT&& value) {
159 SetCreationTime(std::forward<CreationTimeT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
169 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
170 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
171 void SetLastModifiedTime(LastModifiedTimeT&& value) {
172 m_lastModifiedTimeHasBeenSet = true;
173 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
174 }
175 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
176 Pipeline& WithLastModifiedTime(LastModifiedTimeT&& value) {
177 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetLastRunTime() const { return m_lastRunTime; }
187 inline bool LastRunTimeHasBeenSet() const { return m_lastRunTimeHasBeenSet; }
188 template <typename LastRunTimeT = Aws::Utils::DateTime>
189 void SetLastRunTime(LastRunTimeT&& value) {
190 m_lastRunTimeHasBeenSet = true;
191 m_lastRunTime = std::forward<LastRunTimeT>(value);
192 }
193 template <typename LastRunTimeT = Aws::Utils::DateTime>
194 Pipeline& WithLastRunTime(LastRunTimeT&& value) {
195 SetLastRunTime(std::forward<LastRunTimeT>(value));
196 return *this;
197 }
199
201
202 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
203 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
204 template <typename CreatedByT = UserContext>
205 void SetCreatedBy(CreatedByT&& value) {
206 m_createdByHasBeenSet = true;
207 m_createdBy = std::forward<CreatedByT>(value);
208 }
209 template <typename CreatedByT = UserContext>
210 Pipeline& WithCreatedBy(CreatedByT&& value) {
211 SetCreatedBy(std::forward<CreatedByT>(value));
212 return *this;
213 }
215
217
218 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
219 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
220 template <typename LastModifiedByT = UserContext>
221 void SetLastModifiedBy(LastModifiedByT&& value) {
222 m_lastModifiedByHasBeenSet = true;
223 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
224 }
225 template <typename LastModifiedByT = UserContext>
226 Pipeline& WithLastModifiedBy(LastModifiedByT&& value) {
227 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
228 return *this;
229 }
231
233
236 inline const ParallelismConfiguration& GetParallelismConfiguration() const { return m_parallelismConfiguration; }
237 inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; }
238 template <typename ParallelismConfigurationT = ParallelismConfiguration>
239 void SetParallelismConfiguration(ParallelismConfigurationT&& value) {
240 m_parallelismConfigurationHasBeenSet = true;
241 m_parallelismConfiguration = std::forward<ParallelismConfigurationT>(value);
242 }
243 template <typename ParallelismConfigurationT = ParallelismConfiguration>
244 Pipeline& WithParallelismConfiguration(ParallelismConfigurationT&& value) {
245 SetParallelismConfiguration(std::forward<ParallelismConfigurationT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
255 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
256 template <typename TagsT = Aws::Vector<Tag>>
257 void SetTags(TagsT&& value) {
258 m_tagsHasBeenSet = true;
259 m_tags = std::forward<TagsT>(value);
260 }
261 template <typename TagsT = Aws::Vector<Tag>>
262 Pipeline& WithTags(TagsT&& value) {
263 SetTags(std::forward<TagsT>(value));
264 return *this;
265 }
266 template <typename TagsT = Tag>
267 Pipeline& AddTags(TagsT&& value) {
268 m_tagsHasBeenSet = true;
269 m_tags.emplace_back(std::forward<TagsT>(value));
270 return *this;
271 }
273 private:
274 Aws::String m_pipelineArn;
275
276 Aws::String m_pipelineName;
277
278 Aws::String m_pipelineDisplayName;
279
280 Aws::String m_pipelineDescription;
281
282 Aws::String m_roleArn;
283
284 PipelineStatus m_pipelineStatus{PipelineStatus::NOT_SET};
285
286 Aws::Utils::DateTime m_creationTime{};
287
288 Aws::Utils::DateTime m_lastModifiedTime{};
289
290 Aws::Utils::DateTime m_lastRunTime{};
291
292 UserContext m_createdBy;
293
294 UserContext m_lastModifiedBy;
295
296 ParallelismConfiguration m_parallelismConfiguration;
297
298 Aws::Vector<Tag> m_tags;
299 bool m_pipelineArnHasBeenSet = false;
300 bool m_pipelineNameHasBeenSet = false;
301 bool m_pipelineDisplayNameHasBeenSet = false;
302 bool m_pipelineDescriptionHasBeenSet = false;
303 bool m_roleArnHasBeenSet = false;
304 bool m_pipelineStatusHasBeenSet = false;
305 bool m_creationTimeHasBeenSet = false;
306 bool m_lastModifiedTimeHasBeenSet = false;
307 bool m_lastRunTimeHasBeenSet = false;
308 bool m_createdByHasBeenSet = false;
309 bool m_lastModifiedByHasBeenSet = false;
310 bool m_parallelismConfigurationHasBeenSet = false;
311 bool m_tagsHasBeenSet = false;
312};
313
314} // namespace Model
315} // namespace SageMaker
316} // namespace Aws
void SetTags(TagsT &&value)
Definition Pipeline.h:257
Pipeline & WithPipelineDisplayName(PipelineDisplayNameT &&value)
Definition Pipeline.h:88
const Aws::String & GetPipelineName() const
Definition Pipeline.h:62
const Aws::Utils::DateTime & GetLastRunTime() const
Definition Pipeline.h:186
bool PipelineDescriptionHasBeenSet() const
Definition Pipeline.h:99
const UserContext & GetLastModifiedBy() const
Definition Pipeline.h:218
Pipeline & WithCreationTime(CreationTimeT &&value)
Definition Pipeline.h:158
const Aws::String & GetPipelineDisplayName() const
Definition Pipeline.h:80
void SetPipelineDescription(PipelineDescriptionT &&value)
Definition Pipeline.h:101
void SetParallelismConfiguration(ParallelismConfigurationT &&value)
Definition Pipeline.h:239
Pipeline & WithRoleArn(RoleArnT &&value)
Definition Pipeline.h:124
Pipeline & WithLastModifiedBy(LastModifiedByT &&value)
Definition Pipeline.h:226
AWS_SAGEMAKER_API Pipeline()=default
const ParallelismConfiguration & GetParallelismConfiguration() const
Definition Pipeline.h:236
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Pipeline.h:168
AWS_SAGEMAKER_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithLastRunTime(LastRunTimeT &&value)
Definition Pipeline.h:194
AWS_SAGEMAKER_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
Definition Pipeline.h:119
bool CreationTimeHasBeenSet() const
Definition Pipeline.h:151
Pipeline & AddTags(TagsT &&value)
Definition Pipeline.h:267
Pipeline & WithParallelismConfiguration(ParallelismConfigurationT &&value)
Definition Pipeline.h:244
void SetPipelineDisplayName(PipelineDisplayNameT &&value)
Definition Pipeline.h:83
const Aws::String & GetPipelineDescription() const
Definition Pipeline.h:98
bool PipelineNameHasBeenSet() const
Definition Pipeline.h:63
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
Definition Pipeline.h:150
bool ParallelismConfigurationHasBeenSet() const
Definition Pipeline.h:237
const Aws::Vector< Tag > & GetTags() const
Definition Pipeline.h:254
bool PipelineStatusHasBeenSet() const
Definition Pipeline.h:135
Pipeline & WithPipelineDescription(PipelineDescriptionT &&value)
Definition Pipeline.h:106
bool PipelineDisplayNameHasBeenSet() const
Definition Pipeline.h:81
void SetLastRunTime(LastRunTimeT &&value)
Definition Pipeline.h:189
bool LastModifiedTimeHasBeenSet() const
Definition Pipeline.h:169
void SetCreationTime(CreationTimeT &&value)
Definition Pipeline.h:153
Pipeline & WithTags(TagsT &&value)
Definition Pipeline.h:262
Pipeline & WithCreatedBy(CreatedByT &&value)
Definition Pipeline.h:210
PipelineStatus GetPipelineStatus() const
Definition Pipeline.h:134
Pipeline & WithPipelineName(PipelineNameT &&value)
Definition Pipeline.h:70
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition Pipeline.h:171
void SetPipelineStatus(PipelineStatus value)
Definition Pipeline.h:136
void SetPipelineName(PipelineNameT &&value)
Definition Pipeline.h:65
Pipeline & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition Pipeline.h:176
Pipeline & WithPipelineStatus(PipelineStatus value)
Definition Pipeline.h:140
bool LastModifiedByHasBeenSet() const
Definition Pipeline.h:219
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Pipeline.h:221
const Aws::String & GetPipelineArn() const
Definition Pipeline.h:44
const Aws::String & GetRoleArn() const
Definition Pipeline.h:116
void SetPipelineArn(PipelineArnT &&value)
Definition Pipeline.h:47
const UserContext & GetCreatedBy() const
Definition Pipeline.h:202
bool PipelineArnHasBeenSet() const
Definition Pipeline.h:45
Pipeline & WithPipelineArn(PipelineArnT &&value)
Definition Pipeline.h:52
void SetCreatedBy(CreatedByT &&value)
Definition Pipeline.h:205
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue