/** * 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 SageMaker { namespace Model { /** */ class ListInferenceRecommendationsJobStepsRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API ListInferenceRecommendationsJobStepsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListInferenceRecommendationsJobSteps"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

The name for the Inference Recommender job.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return benchmarks of a specified status. If this field is left * empty, then all benchmarks are returned.

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

A filter to return details about the specified type of subtask.

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

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

A filter to return details about the specified type of subtask.

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

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

A filter to return details about the specified type of subtask.

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

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

A filter to return details about the specified type of 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); } /** *

A filter to return details about the specified type of subtask.

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

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

A filter to return details about the specified type of subtask.

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

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

The maximum number of results to return.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return.

*/ inline ListInferenceRecommendationsJobStepsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline ListInferenceRecommendationsJobStepsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline ListInferenceRecommendationsJobStepsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token that you can specify to return more results from the list. Specify * this field if you have a token that was returned from a previous request.

*/ inline ListInferenceRecommendationsJobStepsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; RecommendationJobStatus m_status; bool m_statusHasBeenSet = false; RecommendationStepType m_stepType; bool m_stepTypeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws