AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
DescribePipelineExecutionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/MLflowConfiguration.h>
12#include <aws/sagemaker/model/ParallelismConfiguration.h>
13#include <aws/sagemaker/model/PipelineExecutionStatus.h>
14#include <aws/sagemaker/model/PipelineExperimentConfig.h>
15#include <aws/sagemaker/model/SelectiveExecutionConfig.h>
16#include <aws/sagemaker/model/UserContext.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker {
30namespace Model {
32 public:
33 AWS_SAGEMAKER_API DescribePipelineExecutionResult() = default;
36
38
41 inline const Aws::String& GetPipelineArn() const { return m_pipelineArn; }
42 template <typename PipelineArnT = Aws::String>
43 void SetPipelineArn(PipelineArnT&& value) {
44 m_pipelineArnHasBeenSet = true;
45 m_pipelineArn = std::forward<PipelineArnT>(value);
46 }
47 template <typename PipelineArnT = Aws::String>
49 SetPipelineArn(std::forward<PipelineArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPipelineExecutionArn() const { return m_pipelineExecutionArn; }
59 template <typename PipelineExecutionArnT = Aws::String>
60 void SetPipelineExecutionArn(PipelineExecutionArnT&& value) {
61 m_pipelineExecutionArnHasBeenSet = true;
62 m_pipelineExecutionArn = std::forward<PipelineExecutionArnT>(value);
63 }
64 template <typename PipelineExecutionArnT = Aws::String>
66 SetPipelineExecutionArn(std::forward<PipelineExecutionArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetPipelineExecutionDisplayName() const { return m_pipelineExecutionDisplayName; }
76 template <typename PipelineExecutionDisplayNameT = Aws::String>
77 void SetPipelineExecutionDisplayName(PipelineExecutionDisplayNameT&& value) {
78 m_pipelineExecutionDisplayNameHasBeenSet = true;
79 m_pipelineExecutionDisplayName = std::forward<PipelineExecutionDisplayNameT>(value);
80 }
81 template <typename PipelineExecutionDisplayNameT = Aws::String>
82 DescribePipelineExecutionResult& WithPipelineExecutionDisplayName(PipelineExecutionDisplayNameT&& value) {
83 SetPipelineExecutionDisplayName(std::forward<PipelineExecutionDisplayNameT>(value));
84 return *this;
85 }
87
89
92 inline PipelineExecutionStatus GetPipelineExecutionStatus() const { return m_pipelineExecutionStatus; }
94 m_pipelineExecutionStatusHasBeenSet = true;
95 m_pipelineExecutionStatus = value;
96 }
99 return *this;
100 }
102
104
107 inline const Aws::String& GetPipelineExecutionDescription() const { return m_pipelineExecutionDescription; }
108 template <typename PipelineExecutionDescriptionT = Aws::String>
109 void SetPipelineExecutionDescription(PipelineExecutionDescriptionT&& value) {
110 m_pipelineExecutionDescriptionHasBeenSet = true;
111 m_pipelineExecutionDescription = std::forward<PipelineExecutionDescriptionT>(value);
112 }
113 template <typename PipelineExecutionDescriptionT = Aws::String>
115 SetPipelineExecutionDescription(std::forward<PipelineExecutionDescriptionT>(value));
116 return *this;
117 }
119
121
122 inline const PipelineExperimentConfig& GetPipelineExperimentConfig() const { return m_pipelineExperimentConfig; }
123 template <typename PipelineExperimentConfigT = PipelineExperimentConfig>
124 void SetPipelineExperimentConfig(PipelineExperimentConfigT&& value) {
125 m_pipelineExperimentConfigHasBeenSet = true;
126 m_pipelineExperimentConfig = std::forward<PipelineExperimentConfigT>(value);
127 }
128 template <typename PipelineExperimentConfigT = PipelineExperimentConfig>
130 SetPipelineExperimentConfig(std::forward<PipelineExperimentConfigT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
140 template <typename FailureReasonT = Aws::String>
141 void SetFailureReason(FailureReasonT&& value) {
142 m_failureReasonHasBeenSet = true;
143 m_failureReason = std::forward<FailureReasonT>(value);
144 }
145 template <typename FailureReasonT = Aws::String>
147 SetFailureReason(std::forward<FailureReasonT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
157 template <typename CreationTimeT = Aws::Utils::DateTime>
158 void SetCreationTime(CreationTimeT&& value) {
159 m_creationTimeHasBeenSet = true;
160 m_creationTime = std::forward<CreationTimeT>(value);
161 }
162 template <typename CreationTimeT = Aws::Utils::DateTime>
164 SetCreationTime(std::forward<CreationTimeT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
174 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
175 void SetLastModifiedTime(LastModifiedTimeT&& value) {
176 m_lastModifiedTimeHasBeenSet = true;
177 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
178 }
179 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
181 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
182 return *this;
183 }
185
187
188 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
189 template <typename CreatedByT = UserContext>
190 void SetCreatedBy(CreatedByT&& value) {
191 m_createdByHasBeenSet = true;
192 m_createdBy = std::forward<CreatedByT>(value);
193 }
194 template <typename CreatedByT = UserContext>
196 SetCreatedBy(std::forward<CreatedByT>(value));
197 return *this;
198 }
200
202
203 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
204 template <typename LastModifiedByT = UserContext>
205 void SetLastModifiedBy(LastModifiedByT&& value) {
206 m_lastModifiedByHasBeenSet = true;
207 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
208 }
209 template <typename LastModifiedByT = UserContext>
211 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
212 return *this;
213 }
215
217
220 inline const ParallelismConfiguration& GetParallelismConfiguration() const { return m_parallelismConfiguration; }
221 template <typename ParallelismConfigurationT = ParallelismConfiguration>
222 void SetParallelismConfiguration(ParallelismConfigurationT&& value) {
223 m_parallelismConfigurationHasBeenSet = true;
224 m_parallelismConfiguration = std::forward<ParallelismConfigurationT>(value);
225 }
226 template <typename ParallelismConfigurationT = ParallelismConfiguration>
228 SetParallelismConfiguration(std::forward<ParallelismConfigurationT>(value));
229 return *this;
230 }
232
234
237 inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const { return m_selectiveExecutionConfig; }
238 template <typename SelectiveExecutionConfigT = SelectiveExecutionConfig>
239 void SetSelectiveExecutionConfig(SelectiveExecutionConfigT&& value) {
240 m_selectiveExecutionConfigHasBeenSet = true;
241 m_selectiveExecutionConfig = std::forward<SelectiveExecutionConfigT>(value);
242 }
243 template <typename SelectiveExecutionConfigT = SelectiveExecutionConfig>
245 SetSelectiveExecutionConfig(std::forward<SelectiveExecutionConfigT>(value));
246 return *this;
247 }
249
251
254 inline long long GetPipelineVersionId() const { return m_pipelineVersionId; }
255 inline void SetPipelineVersionId(long long value) {
256 m_pipelineVersionIdHasBeenSet = true;
257 m_pipelineVersionId = value;
258 }
261 return *this;
262 }
264
266
269 inline const MLflowConfiguration& GetMLflowConfig() const { return m_mLflowConfig; }
270 template <typename MLflowConfigT = MLflowConfiguration>
271 void SetMLflowConfig(MLflowConfigT&& value) {
272 m_mLflowConfigHasBeenSet = true;
273 m_mLflowConfig = std::forward<MLflowConfigT>(value);
274 }
275 template <typename MLflowConfigT = MLflowConfiguration>
277 SetMLflowConfig(std::forward<MLflowConfigT>(value));
278 return *this;
279 }
281
283
284 inline const Aws::String& GetRequestId() const { return m_requestId; }
285 template <typename RequestIdT = Aws::String>
286 void SetRequestId(RequestIdT&& value) {
287 m_requestIdHasBeenSet = true;
288 m_requestId = std::forward<RequestIdT>(value);
289 }
290 template <typename RequestIdT = Aws::String>
292 SetRequestId(std::forward<RequestIdT>(value));
293 return *this;
294 }
296 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
297
298 private:
299 Aws::String m_pipelineArn;
300
301 Aws::String m_pipelineExecutionArn;
302
303 Aws::String m_pipelineExecutionDisplayName;
304
306
307 Aws::String m_pipelineExecutionDescription;
308
309 PipelineExperimentConfig m_pipelineExperimentConfig;
310
311 Aws::String m_failureReason;
312
313 Aws::Utils::DateTime m_creationTime{};
314
315 Aws::Utils::DateTime m_lastModifiedTime{};
316
317 UserContext m_createdBy;
318
319 UserContext m_lastModifiedBy;
320
321 ParallelismConfiguration m_parallelismConfiguration;
322
323 SelectiveExecutionConfig m_selectiveExecutionConfig;
324
325 long long m_pipelineVersionId{0};
326
327 MLflowConfiguration m_mLflowConfig;
328
329 Aws::String m_requestId;
330 Aws::Http::HttpResponseCode m_HttpResponseCode;
331 bool m_pipelineArnHasBeenSet = false;
332 bool m_pipelineExecutionArnHasBeenSet = false;
333 bool m_pipelineExecutionDisplayNameHasBeenSet = false;
334 bool m_pipelineExecutionStatusHasBeenSet = false;
335 bool m_pipelineExecutionDescriptionHasBeenSet = false;
336 bool m_pipelineExperimentConfigHasBeenSet = false;
337 bool m_failureReasonHasBeenSet = false;
338 bool m_creationTimeHasBeenSet = false;
339 bool m_lastModifiedTimeHasBeenSet = false;
340 bool m_createdByHasBeenSet = false;
341 bool m_lastModifiedByHasBeenSet = false;
342 bool m_parallelismConfigurationHasBeenSet = false;
343 bool m_selectiveExecutionConfigHasBeenSet = false;
344 bool m_pipelineVersionIdHasBeenSet = false;
345 bool m_mLflowConfigHasBeenSet = false;
346 bool m_requestIdHasBeenSet = false;
347};
348
349} // namespace Model
350} // namespace SageMaker
351} // namespace Aws
DescribePipelineExecutionResult & WithParallelismConfiguration(ParallelismConfigurationT &&value)
DescribePipelineExecutionResult & WithPipelineVersionId(long long value)
DescribePipelineExecutionResult & WithPipelineArn(PipelineArnT &&value)
DescribePipelineExecutionResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribePipelineExecutionResult & WithCreationTime(CreationTimeT &&value)
DescribePipelineExecutionResult & WithSelectiveExecutionConfig(SelectiveExecutionConfigT &&value)
DescribePipelineExecutionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribePipelineExecutionResult & WithPipelineExecutionDisplayName(PipelineExecutionDisplayNameT &&value)
DescribePipelineExecutionResult & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API DescribePipelineExecutionResult()=default
DescribePipelineExecutionResult & WithPipelineExecutionArn(PipelineExecutionArnT &&value)
AWS_SAGEMAKER_API DescribePipelineExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPipelineExecutionDisplayName(PipelineExecutionDisplayNameT &&value)
DescribePipelineExecutionResult & WithPipelineExecutionStatus(PipelineExecutionStatus value)
AWS_SAGEMAKER_API DescribePipelineExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePipelineExecutionResult & WithRequestId(RequestIdT &&value)
DescribePipelineExecutionResult & WithCreatedBy(CreatedByT &&value)
DescribePipelineExecutionResult & WithPipelineExperimentConfig(PipelineExperimentConfigT &&value)
DescribePipelineExecutionResult & WithMLflowConfig(MLflowConfigT &&value)
void SetPipelineExecutionDescription(PipelineExecutionDescriptionT &&value)
DescribePipelineExecutionResult & WithPipelineExecutionDescription(PipelineExecutionDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue