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

A set of recommended deployment configurations for the model. To get more * advanced recommendations, see CreateInferenceRecommendationsJob * to create an inference recommendation job.

See Also:

AWS * API Reference

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

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline const RecommendationStatus& GetRecommendationStatus() const{ return m_recommendationStatus; } /** *

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline bool RecommendationStatusHasBeenSet() const { return m_recommendationStatusHasBeenSet; } /** *

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline void SetRecommendationStatus(const RecommendationStatus& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = value; } /** *

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline void SetRecommendationStatus(RecommendationStatus&& value) { m_recommendationStatusHasBeenSet = true; m_recommendationStatus = std::move(value); } /** *

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline DeploymentRecommendation& WithRecommendationStatus(const RecommendationStatus& value) { SetRecommendationStatus(value); return *this;} /** *

Status of the deployment recommendation. The status * NOT_APPLICABLE means that SageMaker is unable to provide a default * recommendation for the model using the information provided. If the deployment * status is IN_PROGRESS, retry your API call after a few seconds to * get a COMPLETED deployment recommendation.

*/ inline DeploymentRecommendation& WithRecommendationStatus(RecommendationStatus&& value) { SetRecommendationStatus(std::move(value)); return *this;} /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline const Aws::Vector& GetRealTimeInferenceRecommendations() const{ return m_realTimeInferenceRecommendations; } /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline bool RealTimeInferenceRecommendationsHasBeenSet() const { return m_realTimeInferenceRecommendationsHasBeenSet; } /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline void SetRealTimeInferenceRecommendations(const Aws::Vector& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations = value; } /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline void SetRealTimeInferenceRecommendations(Aws::Vector&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations = std::move(value); } /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline DeploymentRecommendation& WithRealTimeInferenceRecommendations(const Aws::Vector& value) { SetRealTimeInferenceRecommendations(value); return *this;} /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline DeploymentRecommendation& WithRealTimeInferenceRecommendations(Aws::Vector&& value) { SetRealTimeInferenceRecommendations(std::move(value)); return *this;} /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline DeploymentRecommendation& AddRealTimeInferenceRecommendations(const RealTimeInferenceRecommendation& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations.push_back(value); return *this; } /** *

A list of RealTimeInferenceRecommendation * items.

*/ inline DeploymentRecommendation& AddRealTimeInferenceRecommendations(RealTimeInferenceRecommendation&& value) { m_realTimeInferenceRecommendationsHasBeenSet = true; m_realTimeInferenceRecommendations.push_back(std::move(value)); return *this; } private: RecommendationStatus m_recommendationStatus; bool m_recommendationStatusHasBeenSet = false; Aws::Vector m_realTimeInferenceRecommendations; bool m_realTimeInferenceRecommendationsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws