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>
51 template<
typename StepNameT = Aws::String>
52 void SetStepName(StepNameT&& value) { m_stepNameHasBeenSet =
true; m_stepName = std::forward<StepNameT>(value); }
53 template<
typename StepNameT = Aws::String>
63 template<
typename StepDisplayNameT = Aws::String>
64 void SetStepDisplayName(StepDisplayNameT&& value) { m_stepDisplayNameHasBeenSet =
true; m_stepDisplayName = std::forward<StepDisplayNameT>(value); }
65 template<
typename StepDisplayNameT = Aws::String>
75 template<
typename StepDescriptionT = Aws::String>
76 void SetStepDescription(StepDescriptionT&& value) { m_stepDescriptionHasBeenSet =
true; m_stepDescription = std::forward<StepDescriptionT>(value); }
77 template<
typename StepDescriptionT = Aws::String>
87 template<
typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
89 template<
typename StartTimeT = Aws::Utils::DateTime>
99 template<
typename EndTimeT = Aws::Utils::DateTime>
100 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
101 template<
typename EndTimeT = Aws::Utils::DateTime>
121 template<
typename CacheHitResultT = CacheHitResult>
122 void SetCacheHitResult(CacheHitResultT&& value) { m_cacheHitResultHasBeenSet =
true; m_cacheHitResult = std::forward<CacheHitResultT>(value); }
123 template<
typename CacheHitResultT = CacheHitResult>
134 template<
typename FailureReasonT = Aws::String>
135 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
136 template<
typename FailureReasonT = Aws::String>
146 template<
typename MetadataT = PipelineExecutionStepMetadata>
147 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
148 template<
typename MetadataT = PipelineExecutionStepMetadata>
160 inline void SetAttemptCount(
int value) { m_attemptCountHasBeenSet =
true; m_attemptCount = value; }
171 template<
typename SelectiveExecutionResultT = SelectiveExecutionResult>
172 void SetSelectiveExecutionResult(SelectiveExecutionResultT&& value) { m_selectiveExecutionResultHasBeenSet =
true; m_selectiveExecutionResult = std::forward<SelectiveExecutionResultT>(value); }
173 template<
typename SelectiveExecutionResultT = SelectiveExecutionResult>
179 bool m_stepNameHasBeenSet =
false;
182 bool m_stepDisplayNameHasBeenSet =
false;
185 bool m_stepDescriptionHasBeenSet =
false;
188 bool m_startTimeHasBeenSet =
false;
191 bool m_endTimeHasBeenSet =
false;
194 bool m_stepStatusHasBeenSet =
false;
196 CacheHitResult m_cacheHitResult;
197 bool m_cacheHitResultHasBeenSet =
false;
200 bool m_failureReasonHasBeenSet =
false;
202 PipelineExecutionStepMetadata m_metadata;
203 bool m_metadataHasBeenSet =
false;
205 int m_attemptCount{0};
206 bool m_attemptCountHasBeenSet =
false;
208 SelectiveExecutionResult m_selectiveExecutionResult;
209 bool m_selectiveExecutionResultHasBeenSet =
false;
void SetEndTime(EndTimeT &&value)
AWS_SAGEMAKER_API PipelineExecutionStep()=default
const SelectiveExecutionResult & GetSelectiveExecutionResult() const
void SetStepDisplayName(StepDisplayNameT &&value)
void SetStepStatus(StepStatus value)
void SetStartTime(StartTimeT &&value)
PipelineExecutionStep & WithCacheHitResult(CacheHitResultT &&value)
StepStatus GetStepStatus() const
PipelineExecutionStep & WithFailureReason(FailureReasonT &&value)
void SetMetadata(MetadataT &&value)
bool SelectiveExecutionResultHasBeenSet() const
PipelineExecutionStep & WithStepName(StepNameT &&value)
int GetAttemptCount() const
const Aws::String & GetFailureReason() const
bool MetadataHasBeenSet() const
bool StartTimeHasBeenSet() const
PipelineExecutionStep & WithAttemptCount(int value)
void SetFailureReason(FailureReasonT &&value)
PipelineExecutionStep & WithStartTime(StartTimeT &&value)
const Aws::String & GetStepName() const
PipelineExecutionStep & WithStepStatus(StepStatus value)
AWS_SAGEMAKER_API PipelineExecutionStep(Aws::Utils::Json::JsonView jsonValue)
bool StepDescriptionHasBeenSet() const
void SetAttemptCount(int value)
bool FailureReasonHasBeenSet() const
PipelineExecutionStep & WithEndTime(EndTimeT &&value)
bool StepNameHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
PipelineExecutionStep & WithMetadata(MetadataT &&value)
AWS_SAGEMAKER_API PipelineExecutionStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const PipelineExecutionStepMetadata & GetMetadata() const
void SetSelectiveExecutionResult(SelectiveExecutionResultT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStepDescription(StepDescriptionT &&value)
bool AttemptCountHasBeenSet() const
PipelineExecutionStep & WithSelectiveExecutionResult(SelectiveExecutionResultT &&value)
const Aws::String & GetStepDescription() const
PipelineExecutionStep & WithStepDisplayName(StepDisplayNameT &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetCacheHitResult(CacheHitResultT &&value)
const CacheHitResult & GetCacheHitResult() const
bool StepStatusHasBeenSet() const
bool StepDisplayNameHasBeenSet() const
PipelineExecutionStep & WithStepDescription(StepDescriptionT &&value)
const Aws::String & GetStepDisplayName() const
void SetStepName(StepNameT &&value)
bool CacheHitResultHasBeenSet() const
bool EndTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue