AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Pipeline.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/PipelineStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <aws/sagemaker/model/ParallelismConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_SAGEMAKER_API Pipeline();
41 AWS_SAGEMAKER_API Pipeline(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; }
51 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
52 inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; }
53 inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); }
54 inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); }
55 inline Pipeline& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
56 inline Pipeline& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
57 inline Pipeline& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
59
61
64 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
65 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
66 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
67 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
68 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
69 inline Pipeline& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
70 inline Pipeline& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
71 inline Pipeline& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
73
75
78 inline const Aws::String& GetPipelineDisplayName() const{ return m_pipelineDisplayName; }
79 inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; }
80 inline void SetPipelineDisplayName(const Aws::String& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = value; }
81 inline void SetPipelineDisplayName(Aws::String&& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = std::move(value); }
82 inline void SetPipelineDisplayName(const char* value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName.assign(value); }
83 inline Pipeline& WithPipelineDisplayName(const Aws::String& value) { SetPipelineDisplayName(value); return *this;}
84 inline Pipeline& WithPipelineDisplayName(Aws::String&& value) { SetPipelineDisplayName(std::move(value)); return *this;}
85 inline Pipeline& WithPipelineDisplayName(const char* value) { SetPipelineDisplayName(value); return *this;}
87
89
92 inline const Aws::String& GetPipelineDescription() const{ return m_pipelineDescription; }
93 inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; }
94 inline void SetPipelineDescription(const Aws::String& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = value; }
95 inline void SetPipelineDescription(Aws::String&& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = std::move(value); }
96 inline void SetPipelineDescription(const char* value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription.assign(value); }
97 inline Pipeline& WithPipelineDescription(const Aws::String& value) { SetPipelineDescription(value); return *this;}
98 inline Pipeline& WithPipelineDescription(Aws::String&& value) { SetPipelineDescription(std::move(value)); return *this;}
99 inline Pipeline& WithPipelineDescription(const char* value) { SetPipelineDescription(value); return *this;}
101
103
106 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
107 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
108 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
109 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
110 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
111 inline Pipeline& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
112 inline Pipeline& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
113 inline Pipeline& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
115
117
120 inline const PipelineStatus& GetPipelineStatus() const{ return m_pipelineStatus; }
121 inline bool PipelineStatusHasBeenSet() const { return m_pipelineStatusHasBeenSet; }
122 inline void SetPipelineStatus(const PipelineStatus& value) { m_pipelineStatusHasBeenSet = true; m_pipelineStatus = value; }
123 inline void SetPipelineStatus(PipelineStatus&& value) { m_pipelineStatusHasBeenSet = true; m_pipelineStatus = std::move(value); }
124 inline Pipeline& WithPipelineStatus(const PipelineStatus& value) { SetPipelineStatus(value); return *this;}
125 inline Pipeline& WithPipelineStatus(PipelineStatus&& value) { SetPipelineStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
133 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
134 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
135 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
136 inline Pipeline& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
137 inline Pipeline& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
145 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
146 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
147 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
148 inline Pipeline& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
149 inline Pipeline& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastRunTime() const{ return m_lastRunTime; }
157 inline bool LastRunTimeHasBeenSet() const { return m_lastRunTimeHasBeenSet; }
158 inline void SetLastRunTime(const Aws::Utils::DateTime& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = value; }
159 inline void SetLastRunTime(Aws::Utils::DateTime&& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = std::move(value); }
160 inline Pipeline& WithLastRunTime(const Aws::Utils::DateTime& value) { SetLastRunTime(value); return *this;}
161 inline Pipeline& WithLastRunTime(Aws::Utils::DateTime&& value) { SetLastRunTime(std::move(value)); return *this;}
163
165
166 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
167 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
168 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
169 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
170 inline Pipeline& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
171 inline Pipeline& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
173
175
176 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
177 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
178 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
179 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
180 inline Pipeline& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
181 inline Pipeline& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
183
185
188 inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; }
189 inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; }
190 inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; }
191 inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); }
195
197
200 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
201 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
202 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
203 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
204 inline Pipeline& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
205 inline Pipeline& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
206 inline Pipeline& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
207 inline Pipeline& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
209 private:
210
211 Aws::String m_pipelineArn;
212 bool m_pipelineArnHasBeenSet = false;
213
214 Aws::String m_pipelineName;
215 bool m_pipelineNameHasBeenSet = false;
216
217 Aws::String m_pipelineDisplayName;
218 bool m_pipelineDisplayNameHasBeenSet = false;
219
220 Aws::String m_pipelineDescription;
221 bool m_pipelineDescriptionHasBeenSet = false;
222
223 Aws::String m_roleArn;
224 bool m_roleArnHasBeenSet = false;
225
226 PipelineStatus m_pipelineStatus;
227 bool m_pipelineStatusHasBeenSet = false;
228
229 Aws::Utils::DateTime m_creationTime;
230 bool m_creationTimeHasBeenSet = false;
231
232 Aws::Utils::DateTime m_lastModifiedTime;
233 bool m_lastModifiedTimeHasBeenSet = false;
234
235 Aws::Utils::DateTime m_lastRunTime;
236 bool m_lastRunTimeHasBeenSet = false;
237
238 UserContext m_createdBy;
239 bool m_createdByHasBeenSet = false;
240
241 UserContext m_lastModifiedBy;
242 bool m_lastModifiedByHasBeenSet = false;
243
244 ParallelismConfiguration m_parallelismConfiguration;
245 bool m_parallelismConfigurationHasBeenSet = false;
246
247 Aws::Vector<Tag> m_tags;
248 bool m_tagsHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace SageMaker
253} // namespace Aws
Pipeline & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:148
Pipeline & WithCreatedBy(UserContext &&value)
Definition Pipeline.h:171
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:147
void SetCreatedBy(UserContext &&value)
Definition Pipeline.h:169
Pipeline & WithPipelineName(const Aws::String &value)
Definition Pipeline.h:69
void SetRoleArn(Aws::String &&value)
Definition Pipeline.h:109
const Aws::String & GetPipelineName() const
Definition Pipeline.h:64
const Aws::Utils::DateTime & GetLastRunTime() const
Definition Pipeline.h:156
Pipeline & WithPipelineName(Aws::String &&value)
Definition Pipeline.h:70
bool PipelineDescriptionHasBeenSet() const
Definition Pipeline.h:93
const UserContext & GetLastModifiedBy() const
Definition Pipeline.h:176
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:135
void SetPipelineName(const char *value)
Definition Pipeline.h:68
void SetPipelineDisplayName(Aws::String &&value)
Definition Pipeline.h:81
const Aws::String & GetPipelineDisplayName() const
Definition Pipeline.h:78
Pipeline & WithTags(Aws::Vector< Tag > &&value)
Definition Pipeline.h:205
void SetPipelineDisplayName(const char *value)
Definition Pipeline.h:82
void SetPipelineDescription(Aws::String &&value)
Definition Pipeline.h:95
void SetPipelineName(Aws::String &&value)
Definition Pipeline.h:67
Pipeline & WithRoleArn(const char *value)
Definition Pipeline.h:113
Pipeline & WithLastRunTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:161
Pipeline & AddTags(Tag &&value)
Definition Pipeline.h:207
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:134
Pipeline & AddTags(const Tag &value)
Definition Pipeline.h:206
void SetPipelineArn(const char *value)
Definition Pipeline.h:54
Pipeline & WithRoleArn(Aws::String &&value)
Definition Pipeline.h:112
void SetLastRunTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:159
const ParallelismConfiguration & GetParallelismConfiguration() const
Definition Pipeline.h:188
Pipeline & WithPipelineStatus(const PipelineStatus &value)
Definition Pipeline.h:124
void SetPipelineDescription(const Aws::String &value)
Definition Pipeline.h:94
void SetPipelineStatus(const PipelineStatus &value)
Definition Pipeline.h:122
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Pipeline.h:144
AWS_SAGEMAKER_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithParallelismConfiguration(ParallelismConfiguration &&value)
Definition Pipeline.h:193
void SetPipelineName(const Aws::String &value)
Definition Pipeline.h:66
AWS_SAGEMAKER_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
Definition Pipeline.h:133
void SetPipelineStatus(PipelineStatus &&value)
Definition Pipeline.h:123
Pipeline & WithLastRunTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:160
Pipeline & WithPipelineDisplayName(const Aws::String &value)
Definition Pipeline.h:83
void SetLastModifiedBy(const UserContext &value)
Definition Pipeline.h:178
const Aws::String & GetPipelineDescription() const
Definition Pipeline.h:92
Pipeline & WithCreatedBy(const UserContext &value)
Definition Pipeline.h:170
bool PipelineNameHasBeenSet() const
Definition Pipeline.h:65
void SetTags(const Aws::Vector< Tag > &value)
Definition Pipeline.h:202
void SetPipelineDisplayName(const Aws::String &value)
Definition Pipeline.h:80
AWS_SAGEMAKER_API Pipeline()
Pipeline & WithLastModifiedBy(UserContext &&value)
Definition Pipeline.h:181
Pipeline & WithPipelineDescription(const Aws::String &value)
Definition Pipeline.h:97
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
Definition Pipeline.h:132
bool ParallelismConfigurationHasBeenSet() const
Definition Pipeline.h:189
const Aws::Vector< Tag > & GetTags() const
Definition Pipeline.h:200
bool PipelineStatusHasBeenSet() const
Definition Pipeline.h:121
void SetPipelineArn(const Aws::String &value)
Definition Pipeline.h:52
void SetRoleArn(const char *value)
Definition Pipeline.h:110
Pipeline & WithRoleArn(const Aws::String &value)
Definition Pipeline.h:111
void SetCreatedBy(const UserContext &value)
Definition Pipeline.h:168
Pipeline & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:137
Pipeline & WithPipelineDisplayName(Aws::String &&value)
Definition Pipeline.h:84
bool PipelineDisplayNameHasBeenSet() const
Definition Pipeline.h:79
void SetRoleArn(const Aws::String &value)
Definition Pipeline.h:108
bool LastModifiedTimeHasBeenSet() const
Definition Pipeline.h:145
void SetParallelismConfiguration(ParallelismConfiguration &&value)
Definition Pipeline.h:191
const PipelineStatus & GetPipelineStatus() const
Definition Pipeline.h:120
Pipeline & WithPipelineArn(const Aws::String &value)
Definition Pipeline.h:55
Pipeline & WithLastModifiedBy(const UserContext &value)
Definition Pipeline.h:180
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:146
Pipeline & WithPipelineStatus(PipelineStatus &&value)
Definition Pipeline.h:125
Pipeline & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:136
void SetParallelismConfiguration(const ParallelismConfiguration &value)
Definition Pipeline.h:190
Pipeline & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:149
Pipeline & WithPipelineDisplayName(const char *value)
Definition Pipeline.h:85
Pipeline & WithPipelineArn(const char *value)
Definition Pipeline.h:57
bool LastModifiedByHasBeenSet() const
Definition Pipeline.h:177
Pipeline & WithTags(const Aws::Vector< Tag > &value)
Definition Pipeline.h:204
void SetPipelineArn(Aws::String &&value)
Definition Pipeline.h:53
const Aws::String & GetPipelineArn() const
Definition Pipeline.h:50
void SetLastModifiedBy(UserContext &&value)
Definition Pipeline.h:179
Pipeline & WithParallelismConfiguration(const ParallelismConfiguration &value)
Definition Pipeline.h:192
const Aws::String & GetRoleArn() const
Definition Pipeline.h:106
Pipeline & WithPipelineDescription(const char *value)
Definition Pipeline.h:99
void SetLastRunTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:158
void SetTags(Aws::Vector< Tag > &&value)
Definition Pipeline.h:203
const UserContext & GetCreatedBy() const
Definition Pipeline.h:166
bool PipelineArnHasBeenSet() const
Definition Pipeline.h:51
void SetPipelineDescription(const char *value)
Definition Pipeline.h:96
Pipeline & WithPipelineDescription(Aws::String &&value)
Definition Pipeline.h:98
Pipeline & WithPipelineArn(Aws::String &&value)
Definition Pipeline.h:56
Pipeline & WithPipelineName(const char *value)
Definition Pipeline.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue