/** * 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 { /** *

The summary of an in-progress deployment when an endpoint is creating or * updating with a new endpoint configuration.

See Also:

AWS * API Reference

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

The name of the endpoint configuration used in the deployment.

*/ inline const Aws::String& GetEndpointConfigName() const{ return m_endpointConfigName; } /** *

The name of the endpoint configuration used in the deployment.

*/ inline bool EndpointConfigNameHasBeenSet() const { return m_endpointConfigNameHasBeenSet; } /** *

The name of the endpoint configuration used in the deployment.

*/ inline void SetEndpointConfigName(const Aws::String& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = value; } /** *

The name of the endpoint configuration used in the deployment.

*/ inline void SetEndpointConfigName(Aws::String&& value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName = std::move(value); } /** *

The name of the endpoint configuration used in the deployment.

*/ inline void SetEndpointConfigName(const char* value) { m_endpointConfigNameHasBeenSet = true; m_endpointConfigName.assign(value); } /** *

The name of the endpoint configuration used in the deployment.

*/ inline PendingDeploymentSummary& WithEndpointConfigName(const Aws::String& value) { SetEndpointConfigName(value); return *this;} /** *

The name of the endpoint configuration used in the deployment.

*/ inline PendingDeploymentSummary& WithEndpointConfigName(Aws::String&& value) { SetEndpointConfigName(std::move(value)); return *this;} /** *

The name of the endpoint configuration used in the deployment.

*/ inline PendingDeploymentSummary& WithEndpointConfigName(const char* value) { SetEndpointConfigName(value); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline const Aws::Vector& GetProductionVariants() const{ return m_productionVariants; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline bool ProductionVariantsHasBeenSet() const { return m_productionVariantsHasBeenSet; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline void SetProductionVariants(const Aws::Vector& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = value; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline void SetProductionVariants(Aws::Vector&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants = std::move(value); } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline PendingDeploymentSummary& WithProductionVariants(const Aws::Vector& value) { SetProductionVariants(value); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline PendingDeploymentSummary& WithProductionVariants(Aws::Vector&& value) { SetProductionVariants(std::move(value)); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline PendingDeploymentSummary& AddProductionVariants(const PendingProductionVariantSummary& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(value); return *this; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint for the in-progress * deployment.

*/ inline PendingDeploymentSummary& AddProductionVariants(PendingProductionVariantSummary&& value) { m_productionVariantsHasBeenSet = true; m_productionVariants.push_back(std::move(value)); return *this; } /** *

The start time of the deployment.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The start time of the deployment.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The start time of the deployment.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The start time of the deployment.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The start time of the deployment.

*/ inline PendingDeploymentSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The start time of the deployment.

*/ inline PendingDeploymentSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline const Aws::Vector& GetShadowProductionVariants() const{ return m_shadowProductionVariants; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline bool ShadowProductionVariantsHasBeenSet() const { return m_shadowProductionVariantsHasBeenSet; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline void SetShadowProductionVariants(const Aws::Vector& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = value; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline void SetShadowProductionVariants(Aws::Vector&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants = std::move(value); } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline PendingDeploymentSummary& WithShadowProductionVariants(const Aws::Vector& value) { SetShadowProductionVariants(value); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline PendingDeploymentSummary& WithShadowProductionVariants(Aws::Vector&& value) { SetShadowProductionVariants(std::move(value)); return *this;} /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline PendingDeploymentSummary& AddShadowProductionVariants(const PendingProductionVariantSummary& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(value); return *this; } /** *

An array of PendingProductionVariantSummary * objects, one for each model hosted behind this endpoint in shadow mode with * production traffic replicated from the model specified on * ProductionVariants for the in-progress deployment.

*/ inline PendingDeploymentSummary& AddShadowProductionVariants(PendingProductionVariantSummary&& value) { m_shadowProductionVariantsHasBeenSet = true; m_shadowProductionVariants.push_back(std::move(value)); return *this; } private: Aws::String m_endpointConfigName; bool m_endpointConfigNameHasBeenSet = false; Aws::Vector m_productionVariants; bool m_productionVariantsHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Vector m_shadowProductionVariants; bool m_shadowProductionVariantsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws