AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineExecution.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/PipelineExecutionStatus.h>
10#include <aws/sagemaker/model/PipelineExperimentConfig.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <aws/sagemaker/model/ParallelismConfiguration.h>
14#include <aws/sagemaker/model/SelectiveExecutionConfig.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/sagemaker/model/Parameter.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_SAGEMAKER_API PipelineExecution();
43 AWS_SAGEMAKER_API PipelineExecution(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; }
53 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
54 inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; }
55 inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); }
56 inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); }
57 inline PipelineExecution& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
58 inline PipelineExecution& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
59 inline PipelineExecution& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
61
63
66 inline const Aws::String& GetPipelineExecutionArn() const{ return m_pipelineExecutionArn; }
67 inline bool PipelineExecutionArnHasBeenSet() const { return m_pipelineExecutionArnHasBeenSet; }
68 inline void SetPipelineExecutionArn(const Aws::String& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = value; }
69 inline void SetPipelineExecutionArn(Aws::String&& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = std::move(value); }
70 inline void SetPipelineExecutionArn(const char* value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn.assign(value); }
72 inline PipelineExecution& WithPipelineExecutionArn(Aws::String&& value) { SetPipelineExecutionArn(std::move(value)); return *this;}
73 inline PipelineExecution& WithPipelineExecutionArn(const char* value) { SetPipelineExecutionArn(value); return *this;}
75
77
80 inline const Aws::String& GetPipelineExecutionDisplayName() const{ return m_pipelineExecutionDisplayName; }
81 inline bool PipelineExecutionDisplayNameHasBeenSet() const { return m_pipelineExecutionDisplayNameHasBeenSet; }
82 inline void SetPipelineExecutionDisplayName(const Aws::String& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = value; }
83 inline void SetPipelineExecutionDisplayName(Aws::String&& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = std::move(value); }
84 inline void SetPipelineExecutionDisplayName(const char* value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName.assign(value); }
89
91
94 inline const PipelineExecutionStatus& GetPipelineExecutionStatus() const{ return m_pipelineExecutionStatus; }
95 inline bool PipelineExecutionStatusHasBeenSet() const { return m_pipelineExecutionStatusHasBeenSet; }
96 inline void SetPipelineExecutionStatus(const PipelineExecutionStatus& value) { m_pipelineExecutionStatusHasBeenSet = true; m_pipelineExecutionStatus = value; }
97 inline void SetPipelineExecutionStatus(PipelineExecutionStatus&& value) { m_pipelineExecutionStatusHasBeenSet = true; m_pipelineExecutionStatus = std::move(value); }
101
103
106 inline const Aws::String& GetPipelineExecutionDescription() const{ return m_pipelineExecutionDescription; }
107 inline bool PipelineExecutionDescriptionHasBeenSet() const { return m_pipelineExecutionDescriptionHasBeenSet; }
108 inline void SetPipelineExecutionDescription(const Aws::String& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = value; }
109 inline void SetPipelineExecutionDescription(Aws::String&& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = std::move(value); }
110 inline void SetPipelineExecutionDescription(const char* value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription.assign(value); }
115
117
118 inline const PipelineExperimentConfig& GetPipelineExperimentConfig() const{ return m_pipelineExperimentConfig; }
119 inline bool PipelineExperimentConfigHasBeenSet() const { return m_pipelineExperimentConfigHasBeenSet; }
120 inline void SetPipelineExperimentConfig(const PipelineExperimentConfig& value) { m_pipelineExperimentConfigHasBeenSet = true; m_pipelineExperimentConfig = value; }
121 inline void SetPipelineExperimentConfig(PipelineExperimentConfig&& value) { m_pipelineExperimentConfigHasBeenSet = true; m_pipelineExperimentConfig = std::move(value); }
125
127
130 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
131 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
132 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
133 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
134 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
135 inline PipelineExecution& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
136 inline PipelineExecution& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
137 inline PipelineExecution& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
145 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
146 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
147 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
148 inline PipelineExecution& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 inline PipelineExecution& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
157 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
158 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
159 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
161 inline PipelineExecution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 PipelineExecution& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
171 inline PipelineExecution& 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 PipelineExecution& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
181 inline PipelineExecution& 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 SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; }
201 inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; }
202 inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; }
203 inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); }
207
209
212 inline const Aws::Vector<Parameter>& GetPipelineParameters() const{ return m_pipelineParameters; }
213 inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; }
214 inline void SetPipelineParameters(const Aws::Vector<Parameter>& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = value; }
215 inline void SetPipelineParameters(Aws::Vector<Parameter>&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = std::move(value); }
218 inline PipelineExecution& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; }
219 inline PipelineExecution& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; }
221 private:
222
223 Aws::String m_pipelineArn;
224 bool m_pipelineArnHasBeenSet = false;
225
226 Aws::String m_pipelineExecutionArn;
227 bool m_pipelineExecutionArnHasBeenSet = false;
228
229 Aws::String m_pipelineExecutionDisplayName;
230 bool m_pipelineExecutionDisplayNameHasBeenSet = false;
231
232 PipelineExecutionStatus m_pipelineExecutionStatus;
233 bool m_pipelineExecutionStatusHasBeenSet = false;
234
235 Aws::String m_pipelineExecutionDescription;
236 bool m_pipelineExecutionDescriptionHasBeenSet = false;
237
238 PipelineExperimentConfig m_pipelineExperimentConfig;
239 bool m_pipelineExperimentConfigHasBeenSet = false;
240
241 Aws::String m_failureReason;
242 bool m_failureReasonHasBeenSet = false;
243
244 Aws::Utils::DateTime m_creationTime;
245 bool m_creationTimeHasBeenSet = false;
246
247 Aws::Utils::DateTime m_lastModifiedTime;
248 bool m_lastModifiedTimeHasBeenSet = false;
249
250 UserContext m_createdBy;
251 bool m_createdByHasBeenSet = false;
252
253 UserContext m_lastModifiedBy;
254 bool m_lastModifiedByHasBeenSet = false;
255
256 ParallelismConfiguration m_parallelismConfiguration;
257 bool m_parallelismConfigurationHasBeenSet = false;
258
259 SelectiveExecutionConfig m_selectiveExecutionConfig;
260 bool m_selectiveExecutionConfigHasBeenSet = false;
261
262 Aws::Vector<Parameter> m_pipelineParameters;
263 bool m_pipelineParametersHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace SageMaker
268} // namespace Aws
void SetPipelineExecutionDescription(Aws::String &&value)
PipelineExecution & WithSelectiveExecutionConfig(const SelectiveExecutionConfig &value)
AWS_SAGEMAKER_API PipelineExecution(Aws::Utils::Json::JsonView jsonValue)
PipelineExecution & WithPipelineExperimentConfig(PipelineExperimentConfig &&value)
const PipelineExecutionStatus & GetPipelineExecutionStatus() const
const SelectiveExecutionConfig & GetSelectiveExecutionConfig() const
const Aws::String & GetPipelineExecutionArn() const
PipelineExecution & WithPipelineExecutionArn(const char *value)
PipelineExecution & WithPipelineExecutionDisplayName(Aws::String &&value)
void SetLastModifiedBy(const UserContext &value)
void SetPipelineExperimentConfig(const PipelineExperimentConfig &value)
void SetFailureReason(const Aws::String &value)
PipelineExecution & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
PipelineExecution & WithParallelismConfiguration(const ParallelismConfiguration &value)
void SetPipelineParameters(const Aws::Vector< Parameter > &value)
void SetPipelineExecutionArn(const Aws::String &value)
void SetPipelineExperimentConfig(PipelineExperimentConfig &&value)
PipelineExecution & WithPipelineParameters(Aws::Vector< Parameter > &&value)
void SetPipelineExecutionDisplayName(const Aws::String &value)
PipelineExecution & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetFailureReason() const
PipelineExecution & AddPipelineParameters(Parameter &&value)
void SetSelectiveExecutionConfig(SelectiveExecutionConfig &&value)
PipelineExecution & WithPipelineArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetPipelineArn() const
void SetPipelineExecutionDescription(const char *value)
PipelineExecution & WithPipelineExecutionArn(const Aws::String &value)
void SetPipelineExecutionDisplayName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetPipelineExecutionStatus(PipelineExecutionStatus &&value)
PipelineExecution & WithSelectiveExecutionConfig(SelectiveExecutionConfig &&value)
void SetPipelineExecutionArn(Aws::String &&value)
PipelineExecution & WithPipelineParameters(const Aws::Vector< Parameter > &value)
PipelineExecution & WithPipelineArn(const Aws::String &value)
PipelineExecution & WithPipelineExecutionArn(Aws::String &&value)
PipelineExecution & WithFailureReason(const Aws::String &value)
PipelineExecution & WithPipelineExecutionStatus(PipelineExecutionStatus &&value)
void SetPipelineArn(const Aws::String &value)
PipelineExecution & WithFailureReason(const char *value)
PipelineExecution & WithParallelismConfiguration(ParallelismConfiguration &&value)
const Aws::Vector< Parameter > & GetPipelineParameters() const
void SetPipelineExecutionStatus(const PipelineExecutionStatus &value)
PipelineExecution & WithFailureReason(Aws::String &&value)
PipelineExecution & WithPipelineExecutionDescription(const char *value)
void SetCreatedBy(const UserContext &value)
PipelineExecution & WithPipelineExecutionDescription(Aws::String &&value)
void SetPipelineExecutionArn(const char *value)
const UserContext & GetLastModifiedBy() const
void SetParallelismConfiguration(const ParallelismConfiguration &value)
const Aws::String & GetPipelineExecutionDisplayName() const
PipelineExecution & WithPipelineExecutionDisplayName(const char *value)
PipelineExecution & WithLastModifiedBy(const UserContext &value)
void SetSelectiveExecutionConfig(const SelectiveExecutionConfig &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetPipelineExecutionDescription(const Aws::String &value)
PipelineExecution & WithLastModifiedBy(UserContext &&value)
const ParallelismConfiguration & GetParallelismConfiguration() const
PipelineExecution & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API PipelineExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineExecution & WithPipelineArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetPipelineExecutionDescription() const
PipelineExecution & WithPipelineExperimentConfig(const PipelineExperimentConfig &value)
PipelineExecution & WithPipelineExecutionDisplayName(const Aws::String &value)
PipelineExecution & WithCreatedBy(const UserContext &value)
void SetPipelineParameters(Aws::Vector< Parameter > &&value)
PipelineExecution & AddPipelineParameters(const Parameter &value)
PipelineExecution & WithCreationTime(const Aws::Utils::DateTime &value)
PipelineExecution & WithPipelineExecutionStatus(const PipelineExecutionStatus &value)
PipelineExecution & WithPipelineExecutionDescription(const Aws::String &value)
const PipelineExperimentConfig & GetPipelineExperimentConfig() const
void SetPipelineExecutionDisplayName(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetParallelismConfiguration(ParallelismConfiguration &&value)
PipelineExecution & WithCreatedBy(UserContext &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue