/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A returned array object for the Steps response field in the ListInferenceRecommendationsJobSteps * API command.

See Also:

AWS * API Reference

*/ class InferenceRecommendationsJobStep { public: AWS_SAGEMAKER_API InferenceRecommendationsJobStep(); AWS_SAGEMAKER_API InferenceRecommendationsJobStep(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API InferenceRecommendationsJobStep& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline const RecommendationStepType& GetStepType() const{ return m_stepType; } /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; } /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline void SetStepType(const RecommendationStepType& value) { m_stepTypeHasBeenSet = true; m_stepType = value; } /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline void SetStepType(RecommendationStepType&& value) { m_stepTypeHasBeenSet = true; m_stepType = std::move(value); } /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline InferenceRecommendationsJobStep& WithStepType(const RecommendationStepType& value) { SetStepType(value); return *this;} /** *

The type of the subtask.

BENCHMARK: Evaluate the * performance of your model on different instance types.

*/ inline InferenceRecommendationsJobStep& WithStepType(RecommendationStepType&& value) { SetStepType(std::move(value)); return *this;} /** *

The name of the Inference Recommender job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the Inference Recommender job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the Inference Recommender job.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the Inference Recommender job.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the Inference Recommender job.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the Inference Recommender job.

*/ inline InferenceRecommendationsJobStep& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the Inference Recommender job.

*/ inline InferenceRecommendationsJobStep& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the Inference Recommender job.

*/ inline InferenceRecommendationsJobStep& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The current status of the benchmark.

*/ inline const RecommendationJobStatus& GetStatus() const{ return m_status; } /** *

The current status of the benchmark.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the benchmark.

*/ inline void SetStatus(const RecommendationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the benchmark.

*/ inline void SetStatus(RecommendationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the benchmark.

*/ inline InferenceRecommendationsJobStep& WithStatus(const RecommendationJobStatus& value) { SetStatus(value); return *this;} /** *

The current status of the benchmark.

*/ inline InferenceRecommendationsJobStep& WithStatus(RecommendationJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The details for a specific benchmark.

*/ inline const RecommendationJobInferenceBenchmark& GetInferenceBenchmark() const{ return m_inferenceBenchmark; } /** *

The details for a specific benchmark.

*/ inline bool InferenceBenchmarkHasBeenSet() const { return m_inferenceBenchmarkHasBeenSet; } /** *

The details for a specific benchmark.

*/ inline void SetInferenceBenchmark(const RecommendationJobInferenceBenchmark& value) { m_inferenceBenchmarkHasBeenSet = true; m_inferenceBenchmark = value; } /** *

The details for a specific benchmark.

*/ inline void SetInferenceBenchmark(RecommendationJobInferenceBenchmark&& value) { m_inferenceBenchmarkHasBeenSet = true; m_inferenceBenchmark = std::move(value); } /** *

The details for a specific benchmark.

*/ inline InferenceRecommendationsJobStep& WithInferenceBenchmark(const RecommendationJobInferenceBenchmark& value) { SetInferenceBenchmark(value); return *this;} /** *

The details for a specific benchmark.

*/ inline InferenceRecommendationsJobStep& WithInferenceBenchmark(RecommendationJobInferenceBenchmark&& value) { SetInferenceBenchmark(std::move(value)); return *this;} private: RecommendationStepType m_stepType; bool m_stepTypeHasBeenSet = false; Aws::String m_jobName; bool m_jobNameHasBeenSet = false; RecommendationJobStatus m_status; bool m_statusHasBeenSet = false; RecommendationJobInferenceBenchmark m_inferenceBenchmark; bool m_inferenceBenchmarkHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws