AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineExecutionStep.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/StepStatus.h>
11#include <aws/sagemaker/model/CacheHitResult.h>
12#include <aws/sagemaker/model/PipelineExecutionStepMetadata.h>
13#include <aws/sagemaker/model/SelectiveExecutionResult.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SAGEMAKER_API PipelineExecutionStep();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetStepName() const{ return m_stepName; }
50 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
51 inline void SetStepName(const Aws::String& value) { m_stepNameHasBeenSet = true; m_stepName = value; }
52 inline void SetStepName(Aws::String&& value) { m_stepNameHasBeenSet = true; m_stepName = std::move(value); }
53 inline void SetStepName(const char* value) { m_stepNameHasBeenSet = true; m_stepName.assign(value); }
54 inline PipelineExecutionStep& WithStepName(const Aws::String& value) { SetStepName(value); return *this;}
55 inline PipelineExecutionStep& WithStepName(Aws::String&& value) { SetStepName(std::move(value)); return *this;}
56 inline PipelineExecutionStep& WithStepName(const char* value) { SetStepName(value); return *this;}
58
60
63 inline const Aws::String& GetStepDisplayName() const{ return m_stepDisplayName; }
64 inline bool StepDisplayNameHasBeenSet() const { return m_stepDisplayNameHasBeenSet; }
65 inline void SetStepDisplayName(const Aws::String& value) { m_stepDisplayNameHasBeenSet = true; m_stepDisplayName = value; }
66 inline void SetStepDisplayName(Aws::String&& value) { m_stepDisplayNameHasBeenSet = true; m_stepDisplayName = std::move(value); }
67 inline void SetStepDisplayName(const char* value) { m_stepDisplayNameHasBeenSet = true; m_stepDisplayName.assign(value); }
68 inline PipelineExecutionStep& WithStepDisplayName(const Aws::String& value) { SetStepDisplayName(value); return *this;}
69 inline PipelineExecutionStep& WithStepDisplayName(Aws::String&& value) { SetStepDisplayName(std::move(value)); return *this;}
70 inline PipelineExecutionStep& WithStepDisplayName(const char* value) { SetStepDisplayName(value); return *this;}
72
74
77 inline const Aws::String& GetStepDescription() const{ return m_stepDescription; }
78 inline bool StepDescriptionHasBeenSet() const { return m_stepDescriptionHasBeenSet; }
79 inline void SetStepDescription(const Aws::String& value) { m_stepDescriptionHasBeenSet = true; m_stepDescription = value; }
80 inline void SetStepDescription(Aws::String&& value) { m_stepDescriptionHasBeenSet = true; m_stepDescription = std::move(value); }
81 inline void SetStepDescription(const char* value) { m_stepDescriptionHasBeenSet = true; m_stepDescription.assign(value); }
82 inline PipelineExecutionStep& WithStepDescription(const Aws::String& value) { SetStepDescription(value); return *this;}
83 inline PipelineExecutionStep& WithStepDescription(Aws::String&& value) { SetStepDescription(std::move(value)); return *this;}
84 inline PipelineExecutionStep& WithStepDescription(const char* value) { SetStepDescription(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
92 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
93 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
94 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
95 inline PipelineExecutionStep& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
96 inline PipelineExecutionStep& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
104 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
105 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
106 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
107 inline PipelineExecutionStep& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
108 inline PipelineExecutionStep& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
110
112
115 inline const StepStatus& GetStepStatus() const{ return m_stepStatus; }
116 inline bool StepStatusHasBeenSet() const { return m_stepStatusHasBeenSet; }
117 inline void SetStepStatus(const StepStatus& value) { m_stepStatusHasBeenSet = true; m_stepStatus = value; }
118 inline void SetStepStatus(StepStatus&& value) { m_stepStatusHasBeenSet = true; m_stepStatus = std::move(value); }
119 inline PipelineExecutionStep& WithStepStatus(const StepStatus& value) { SetStepStatus(value); return *this;}
120 inline PipelineExecutionStep& WithStepStatus(StepStatus&& value) { SetStepStatus(std::move(value)); return *this;}
122
124
127 inline const CacheHitResult& GetCacheHitResult() const{ return m_cacheHitResult; }
128 inline bool CacheHitResultHasBeenSet() const { return m_cacheHitResultHasBeenSet; }
129 inline void SetCacheHitResult(const CacheHitResult& value) { m_cacheHitResultHasBeenSet = true; m_cacheHitResult = value; }
130 inline void SetCacheHitResult(CacheHitResult&& value) { m_cacheHitResultHasBeenSet = true; m_cacheHitResult = std::move(value); }
131 inline PipelineExecutionStep& WithCacheHitResult(const CacheHitResult& value) { SetCacheHitResult(value); return *this;}
132 inline PipelineExecutionStep& WithCacheHitResult(CacheHitResult&& value) { SetCacheHitResult(std::move(value)); return *this;}
134
136
140 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
141 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
142 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
143 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
144 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
145 inline PipelineExecutionStep& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
146 inline PipelineExecutionStep& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
147 inline PipelineExecutionStep& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
149
151
154 inline const PipelineExecutionStepMetadata& GetMetadata() const{ return m_metadata; }
155 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
156 inline void SetMetadata(const PipelineExecutionStepMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
157 inline void SetMetadata(PipelineExecutionStepMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
159 inline PipelineExecutionStep& WithMetadata(PipelineExecutionStepMetadata&& value) { SetMetadata(std::move(value)); return *this;}
161
163
168 inline int GetAttemptCount() const{ return m_attemptCount; }
169 inline bool AttemptCountHasBeenSet() const { return m_attemptCountHasBeenSet; }
170 inline void SetAttemptCount(int value) { m_attemptCountHasBeenSet = true; m_attemptCount = value; }
171 inline PipelineExecutionStep& WithAttemptCount(int value) { SetAttemptCount(value); return *this;}
173
175
179 inline const SelectiveExecutionResult& GetSelectiveExecutionResult() const{ return m_selectiveExecutionResult; }
180 inline bool SelectiveExecutionResultHasBeenSet() const { return m_selectiveExecutionResultHasBeenSet; }
181 inline void SetSelectiveExecutionResult(const SelectiveExecutionResult& value) { m_selectiveExecutionResultHasBeenSet = true; m_selectiveExecutionResult = value; }
182 inline void SetSelectiveExecutionResult(SelectiveExecutionResult&& value) { m_selectiveExecutionResultHasBeenSet = true; m_selectiveExecutionResult = std::move(value); }
186 private:
187
188 Aws::String m_stepName;
189 bool m_stepNameHasBeenSet = false;
190
191 Aws::String m_stepDisplayName;
192 bool m_stepDisplayNameHasBeenSet = false;
193
194 Aws::String m_stepDescription;
195 bool m_stepDescriptionHasBeenSet = false;
196
197 Aws::Utils::DateTime m_startTime;
198 bool m_startTimeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_endTime;
201 bool m_endTimeHasBeenSet = false;
202
203 StepStatus m_stepStatus;
204 bool m_stepStatusHasBeenSet = false;
205
206 CacheHitResult m_cacheHitResult;
207 bool m_cacheHitResultHasBeenSet = false;
208
209 Aws::String m_failureReason;
210 bool m_failureReasonHasBeenSet = false;
211
213 bool m_metadataHasBeenSet = false;
214
215 int m_attemptCount;
216 bool m_attemptCountHasBeenSet = false;
217
218 SelectiveExecutionResult m_selectiveExecutionResult;
219 bool m_selectiveExecutionResultHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace SageMaker
224} // namespace Aws
PipelineExecutionStep & WithMetadata(PipelineExecutionStepMetadata &&value)
const SelectiveExecutionResult & GetSelectiveExecutionResult() const
PipelineExecutionStep & WithFailureReason(const char *value)
PipelineExecutionStep & WithEndTime(const Aws::Utils::DateTime &value)
void SetStepDescription(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
PipelineExecutionStep & WithSelectiveExecutionResult(SelectiveExecutionResult &&value)
void SetStepDisplayName(const Aws::String &value)
void SetMetadata(PipelineExecutionStepMetadata &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetMetadata(const PipelineExecutionStepMetadata &value)
PipelineExecutionStep & WithSelectiveExecutionResult(const SelectiveExecutionResult &value)
void SetSelectiveExecutionResult(SelectiveExecutionResult &&value)
PipelineExecutionStep & WithAttemptCount(int value)
PipelineExecutionStep & WithStepStatus(const StepStatus &value)
PipelineExecutionStep & WithStepStatus(StepStatus &&value)
PipelineExecutionStep & WithStepDescription(const Aws::String &value)
PipelineExecutionStep & WithStepDisplayName(const char *value)
void SetSelectiveExecutionResult(const SelectiveExecutionResult &value)
AWS_SAGEMAKER_API PipelineExecutionStep(Aws::Utils::Json::JsonView jsonValue)
PipelineExecutionStep & WithStepDisplayName(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API PipelineExecutionStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const PipelineExecutionStepMetadata & GetMetadata() const
PipelineExecutionStep & WithStartTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineExecutionStep & WithStepName(const Aws::String &value)
PipelineExecutionStep & WithEndTime(Aws::Utils::DateTime &&value)
void SetCacheHitResult(const CacheHitResult &value)
void SetStartTime(const Aws::Utils::DateTime &value)
PipelineExecutionStep & WithStartTime(const Aws::Utils::DateTime &value)
PipelineExecutionStep & WithMetadata(const PipelineExecutionStepMetadata &value)
PipelineExecutionStep & WithStepDisplayName(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
PipelineExecutionStep & WithFailureReason(Aws::String &&value)
PipelineExecutionStep & WithCacheHitResult(const CacheHitResult &value)
PipelineExecutionStep & WithStepName(Aws::String &&value)
PipelineExecutionStep & WithFailureReason(const Aws::String &value)
PipelineExecutionStep & WithStepDescription(const char *value)
PipelineExecutionStep & WithStepName(const char *value)
PipelineExecutionStep & WithStepDescription(Aws::String &&value)
PipelineExecutionStep & WithCacheHitResult(CacheHitResult &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue