AWS SDK for C++  1.9.154
AWS SDK for C++
PipelineExecutionStep.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace SageMaker
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetStepName() const{ return m_stepName; }
48 
52  inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
53 
57  inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
58 
62  inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
63 
67  inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
68 
72  inline PipelineExecutionStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
73 
77  inline PipelineExecutionStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
78 
82  inline PipelineExecutionStep& WithStepName(const char* value) { SetStepName(value); return *this;}
83 
84 
88  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
89 
93  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
94 
98  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
99 
103  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
104 
108  inline PipelineExecutionStep& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
109 
113  inline PipelineExecutionStep& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
114 
115 
119  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
120 
124  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
125 
129  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
130 
134  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
135 
139  inline PipelineExecutionStep& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
140 
144  inline PipelineExecutionStep& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
145 
146 
150  inline const StepStatus& GetStepStatus() const{ return m_stepStatus; }
151 
155  inline bool StepStatusHasBeenSet() const { return m_stepStatusHasBeenSet; }
156 
160  inline void SetStepStatus(const StepStatus& value) { m_stepStatusHasBeenSet = true; m_stepStatus = value; }
161 
165  inline void SetStepStatus(StepStatus&& value) { m_stepStatusHasBeenSet = true; m_stepStatus = std::move(value); }
166 
170  inline PipelineExecutionStep& WithStepStatus(const StepStatus& value) { SetStepStatus(value); return *this;}
171 
175  inline PipelineExecutionStep& WithStepStatus(StepStatus&& value) { SetStepStatus(std::move(value)); return *this;}
176 
177 
181  inline const CacheHitResult& GetCacheHitResult() const{ return m_cacheHitResult; }
182 
186  inline bool CacheHitResultHasBeenSet() const { return m_cacheHitResultHasBeenSet; }
187 
191  inline void SetCacheHitResult(const CacheHitResult& value) { m_cacheHitResultHasBeenSet = true; m_cacheHitResult = value; }
192 
196  inline void SetCacheHitResult(CacheHitResult&& value) { m_cacheHitResultHasBeenSet = true; m_cacheHitResult = std::move(value); }
197 
201  inline PipelineExecutionStep& WithCacheHitResult(const CacheHitResult& value) { SetCacheHitResult(value); return *this;}
202 
206  inline PipelineExecutionStep& WithCacheHitResult(CacheHitResult&& value) { SetCacheHitResult(std::move(value)); return *this;}
207 
208 
213  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
214 
219  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
220 
225  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
226 
231  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
232 
237  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
238 
243  inline PipelineExecutionStep& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
244 
249  inline PipelineExecutionStep& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
250 
255  inline PipelineExecutionStep& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
256 
257 
261  inline const PipelineExecutionStepMetadata& GetMetadata() const{ return m_metadata; }
262 
266  inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
267 
271  inline void SetMetadata(const PipelineExecutionStepMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
272 
276  inline void SetMetadata(PipelineExecutionStepMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
277 
281  inline PipelineExecutionStep& WithMetadata(const PipelineExecutionStepMetadata& value) { SetMetadata(value); return *this;}
282 
286  inline PipelineExecutionStep& WithMetadata(PipelineExecutionStepMetadata&& value) { SetMetadata(std::move(value)); return *this;}
287 
288  private:
289 
290  Aws::String m_stepName;
291  bool m_stepNameHasBeenSet;
292 
293  Aws::Utils::DateTime m_startTime;
294  bool m_startTimeHasBeenSet;
295 
296  Aws::Utils::DateTime m_endTime;
297  bool m_endTimeHasBeenSet;
298 
299  StepStatus m_stepStatus;
300  bool m_stepStatusHasBeenSet;
301 
302  CacheHitResult m_cacheHitResult;
303  bool m_cacheHitResultHasBeenSet;
304 
305  Aws::String m_failureReason;
306  bool m_failureReasonHasBeenSet;
307 
309  bool m_metadataHasBeenSet;
310  };
311 
312 } // namespace Model
313 } // namespace SageMaker
314 } // namespace Aws
Aws::SageMaker::Model::PipelineExecutionStep::SetStepName
void SetStepName(const char *value)
Definition: PipelineExecutionStep.h:67
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::PipelineExecutionStep::GetStepStatus
const StepStatus & GetStepStatus() const
Definition: PipelineExecutionStep.h:150
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::PipelineExecutionStep::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: PipelineExecutionStep.h:103
Aws::SageMaker::Model::PipelineExecutionStep::SetStepName
void SetStepName(Aws::String &&value)
Definition: PipelineExecutionStep.h:62
Aws::SageMaker::Model::PipelineExecutionStep::SetStepName
void SetStepName(const Aws::String &value)
Definition: PipelineExecutionStep.h:57
Aws::SageMaker::Model::PipelineExecutionStep::SetFailureReason
void SetFailureReason(const char *value)
Definition: PipelineExecutionStep.h:237
SageMaker_EXPORTS.h
Aws::SageMaker::Model::PipelineExecutionStep::SetCacheHitResult
void SetCacheHitResult(CacheHitResult &&value)
Definition: PipelineExecutionStep.h:196
Aws::SageMaker::Model::PipelineExecutionStep
Definition: PipelineExecutionStep.h:36
Aws::SageMaker::Model::PipelineExecutionStep::SetStepStatus
void SetStepStatus(const StepStatus &value)
Definition: PipelineExecutionStep.h:160
DateTime.h
Aws::SageMaker::Model::PipelineExecutionStep::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: PipelineExecutionStep.h:88
Aws::SageMaker::Model::PipelineExecutionStep::operator=
PipelineExecutionStep & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::PipelineExecutionStep::WithStartTime
PipelineExecutionStep & WithStartTime(Aws::Utils::DateTime &&value)
Definition: PipelineExecutionStep.h:113
Aws::SageMaker::Model::PipelineExecutionStep::SetMetadata
void SetMetadata(const PipelineExecutionStepMetadata &value)
Definition: PipelineExecutionStep.h:271
Aws::SageMaker::Model::PipelineExecutionStep::WithEndTime
PipelineExecutionStep & WithEndTime(const Aws::Utils::DateTime &value)
Definition: PipelineExecutionStep.h:139
Aws::SageMaker::Model::PipelineExecutionStep::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: PipelineExecutionStep.h:219
Aws::SageMaker::Model::PipelineExecutionStep::WithMetadata
PipelineExecutionStep & WithMetadata(const PipelineExecutionStepMetadata &value)
Definition: PipelineExecutionStep.h:281
Aws::SageMaker::Model::PipelineExecutionStep::WithCacheHitResult
PipelineExecutionStep & WithCacheHitResult(const CacheHitResult &value)
Definition: PipelineExecutionStep.h:201
Aws::SageMaker::Model::PipelineExecutionStep::MetadataHasBeenSet
bool MetadataHasBeenSet() const
Definition: PipelineExecutionStep.h:266
Aws::SageMaker::Model::PipelineExecutionStep::WithStepName
PipelineExecutionStep & WithStepName(const Aws::String &value)
Definition: PipelineExecutionStep.h:72
Aws::SageMaker::Model::PipelineExecutionStep::GetCacheHitResult
const CacheHitResult & GetCacheHitResult() const
Definition: PipelineExecutionStep.h:181
Aws::SageMaker::Model::PipelineExecutionStep::WithStepStatus
PipelineExecutionStep & WithStepStatus(StepStatus &&value)
Definition: PipelineExecutionStep.h:175
Aws::SageMaker::Model::CacheHitResult
Definition: CacheHitResult.h:33
Aws::SageMaker::Model::PipelineExecutionStep::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: PipelineExecutionStep.h:231
Aws::SageMaker::Model::StepStatus
StepStatus
Definition: StepStatus.h:17
Aws::SageMaker::Model::PipelineExecutionStep::SetStepStatus
void SetStepStatus(StepStatus &&value)
Definition: PipelineExecutionStep.h:165
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
CacheHitResult.h
Aws::SageMaker::Model::PipelineExecutionStep::PipelineExecutionStep
PipelineExecutionStep()
Aws::SageMaker::Model::PipelineExecutionStep::WithFailureReason
PipelineExecutionStep & WithFailureReason(const char *value)
Definition: PipelineExecutionStep.h:255
PipelineExecutionStepMetadata.h
Aws::SageMaker::Model::PipelineExecutionStep::WithStartTime
PipelineExecutionStep & WithStartTime(const Aws::Utils::DateTime &value)
Definition: PipelineExecutionStep.h:108
Aws::SageMaker::Model::PipelineExecutionStep::WithEndTime
PipelineExecutionStep & WithEndTime(Aws::Utils::DateTime &&value)
Definition: PipelineExecutionStep.h:144
Aws::SageMaker::Model::PipelineExecutionStep::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: PipelineExecutionStep.h:129
Aws::SageMaker::Model::PipelineExecutionStep::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: PipelineExecutionStep.h:119
Aws::SageMaker::Model::PipelineExecutionStep::WithMetadata
PipelineExecutionStep & WithMetadata(PipelineExecutionStepMetadata &&value)
Definition: PipelineExecutionStep.h:286
StepStatus.h
Aws::SageMaker::Model::PipelineExecutionStep::PipelineExecutionStep
PipelineExecutionStep(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::PipelineExecutionStepMetadata
Definition: PipelineExecutionStepMetadata.h:40
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::PipelineExecutionStep::WithCacheHitResult
PipelineExecutionStep & WithCacheHitResult(CacheHitResult &&value)
Definition: PipelineExecutionStep.h:206
Aws::SageMaker::Model::PipelineExecutionStep::WithStepName
PipelineExecutionStep & WithStepName(const char *value)
Definition: PipelineExecutionStep.h:82
Aws::SageMaker::Model::PipelineExecutionStep::GetMetadata
const PipelineExecutionStepMetadata & GetMetadata() const
Definition: PipelineExecutionStep.h:261
Aws::SageMaker::Model::PipelineExecutionStep::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: PipelineExecutionStep.h:93
Aws::SageMaker::Model::PipelineExecutionStep::WithStepName
PipelineExecutionStep & WithStepName(Aws::String &&value)
Definition: PipelineExecutionStep.h:77
Aws::SageMaker::Model::PipelineExecutionStep::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: PipelineExecutionStep.h:124
Aws::SageMaker::Model::PipelineExecutionStep::StepNameHasBeenSet
bool StepNameHasBeenSet() const
Definition: PipelineExecutionStep.h:52
Aws::SageMaker::Model::PipelineExecutionStep::WithStepStatus
PipelineExecutionStep & WithStepStatus(const StepStatus &value)
Definition: PipelineExecutionStep.h:170
Aws::SageMaker::Model::PipelineExecutionStep::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: PipelineExecutionStep.h:98
Aws::SageMaker::Model::PipelineExecutionStep::SetCacheHitResult
void SetCacheHitResult(const CacheHitResult &value)
Definition: PipelineExecutionStep.h:191
Aws::SageMaker::Model::PipelineExecutionStep::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: PipelineExecutionStep.h:213
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::PipelineExecutionStep::StepStatusHasBeenSet
bool StepStatusHasBeenSet() const
Definition: PipelineExecutionStep.h:155
Aws::SageMaker::Model::PipelineExecutionStep::CacheHitResultHasBeenSet
bool CacheHitResultHasBeenSet() const
Definition: PipelineExecutionStep.h:186
Aws::SageMaker::Model::PipelineExecutionStep::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::PipelineExecutionStep::WithFailureReason
PipelineExecutionStep & WithFailureReason(Aws::String &&value)
Definition: PipelineExecutionStep.h:249
Aws::SageMaker::Model::PipelineExecutionStep::WithFailureReason
PipelineExecutionStep & WithFailureReason(const Aws::String &value)
Definition: PipelineExecutionStep.h:243
Aws::SageMaker::Model::PipelineExecutionStep::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: PipelineExecutionStep.h:134
Aws::SageMaker::Model::PipelineExecutionStep::SetMetadata
void SetMetadata(PipelineExecutionStepMetadata &&value)
Definition: PipelineExecutionStep.h:276
Aws::SageMaker::Model::PipelineExecutionStep::GetStepName
const Aws::String & GetStepName() const
Definition: PipelineExecutionStep.h:47
Aws::SageMaker::Model::PipelineExecutionStep::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: PipelineExecutionStep.h:225