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

Contains information summarizing the deployment stage results.

See * Also:

AWS * API Reference

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

The general status of the current stage.

*/ inline const StageStatus& GetStageStatus() const{ return m_stageStatus; } /** *

The general status of the current stage.

*/ inline bool StageStatusHasBeenSet() const { return m_stageStatusHasBeenSet; } /** *

The general status of the current stage.

*/ inline void SetStageStatus(const StageStatus& value) { m_stageStatusHasBeenSet = true; m_stageStatus = value; } /** *

The general status of the current stage.

*/ inline void SetStageStatus(StageStatus&& value) { m_stageStatusHasBeenSet = true; m_stageStatus = std::move(value); } /** *

The general status of the current stage.

*/ inline EdgeDeploymentStatus& WithStageStatus(const StageStatus& value) { SetStageStatus(value); return *this;} /** *

The general status of the current stage.

*/ inline EdgeDeploymentStatus& WithStageStatus(StageStatus&& value) { SetStageStatus(std::move(value)); return *this;} /** *

The number of edge devices with the successful deployment in the current * stage.

*/ inline int GetEdgeDeploymentSuccessInStage() const{ return m_edgeDeploymentSuccessInStage; } /** *

The number of edge devices with the successful deployment in the current * stage.

*/ inline bool EdgeDeploymentSuccessInStageHasBeenSet() const { return m_edgeDeploymentSuccessInStageHasBeenSet; } /** *

The number of edge devices with the successful deployment in the current * stage.

*/ inline void SetEdgeDeploymentSuccessInStage(int value) { m_edgeDeploymentSuccessInStageHasBeenSet = true; m_edgeDeploymentSuccessInStage = value; } /** *

The number of edge devices with the successful deployment in the current * stage.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentSuccessInStage(int value) { SetEdgeDeploymentSuccessInStage(value); return *this;} /** *

The number of edge devices yet to pick up the deployment in current stage, or * in progress.

*/ inline int GetEdgeDeploymentPendingInStage() const{ return m_edgeDeploymentPendingInStage; } /** *

The number of edge devices yet to pick up the deployment in current stage, or * in progress.

*/ inline bool EdgeDeploymentPendingInStageHasBeenSet() const { return m_edgeDeploymentPendingInStageHasBeenSet; } /** *

The number of edge devices yet to pick up the deployment in current stage, or * in progress.

*/ inline void SetEdgeDeploymentPendingInStage(int value) { m_edgeDeploymentPendingInStageHasBeenSet = true; m_edgeDeploymentPendingInStage = value; } /** *

The number of edge devices yet to pick up the deployment in current stage, or * in progress.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentPendingInStage(int value) { SetEdgeDeploymentPendingInStage(value); return *this;} /** *

The number of edge devices that failed the deployment in current stage.

*/ inline int GetEdgeDeploymentFailedInStage() const{ return m_edgeDeploymentFailedInStage; } /** *

The number of edge devices that failed the deployment in current stage.

*/ inline bool EdgeDeploymentFailedInStageHasBeenSet() const { return m_edgeDeploymentFailedInStageHasBeenSet; } /** *

The number of edge devices that failed the deployment in current stage.

*/ inline void SetEdgeDeploymentFailedInStage(int value) { m_edgeDeploymentFailedInStageHasBeenSet = true; m_edgeDeploymentFailedInStage = value; } /** *

The number of edge devices that failed the deployment in current stage.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentFailedInStage(int value) { SetEdgeDeploymentFailedInStage(value); return *this;} /** *

A detailed message about deployment status in current stage.

*/ inline const Aws::String& GetEdgeDeploymentStatusMessage() const{ return m_edgeDeploymentStatusMessage; } /** *

A detailed message about deployment status in current stage.

*/ inline bool EdgeDeploymentStatusMessageHasBeenSet() const { return m_edgeDeploymentStatusMessageHasBeenSet; } /** *

A detailed message about deployment status in current stage.

*/ inline void SetEdgeDeploymentStatusMessage(const Aws::String& value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage = value; } /** *

A detailed message about deployment status in current stage.

*/ inline void SetEdgeDeploymentStatusMessage(Aws::String&& value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage = std::move(value); } /** *

A detailed message about deployment status in current stage.

*/ inline void SetEdgeDeploymentStatusMessage(const char* value) { m_edgeDeploymentStatusMessageHasBeenSet = true; m_edgeDeploymentStatusMessage.assign(value); } /** *

A detailed message about deployment status in current stage.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentStatusMessage(const Aws::String& value) { SetEdgeDeploymentStatusMessage(value); return *this;} /** *

A detailed message about deployment status in current stage.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentStatusMessage(Aws::String&& value) { SetEdgeDeploymentStatusMessage(std::move(value)); return *this;} /** *

A detailed message about deployment status in current stage.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentStatusMessage(const char* value) { SetEdgeDeploymentStatusMessage(value); return *this;} /** *

The time when the deployment API started.

*/ inline const Aws::Utils::DateTime& GetEdgeDeploymentStageStartTime() const{ return m_edgeDeploymentStageStartTime; } /** *

The time when the deployment API started.

*/ inline bool EdgeDeploymentStageStartTimeHasBeenSet() const { return m_edgeDeploymentStageStartTimeHasBeenSet; } /** *

The time when the deployment API started.

*/ inline void SetEdgeDeploymentStageStartTime(const Aws::Utils::DateTime& value) { m_edgeDeploymentStageStartTimeHasBeenSet = true; m_edgeDeploymentStageStartTime = value; } /** *

The time when the deployment API started.

*/ inline void SetEdgeDeploymentStageStartTime(Aws::Utils::DateTime&& value) { m_edgeDeploymentStageStartTimeHasBeenSet = true; m_edgeDeploymentStageStartTime = std::move(value); } /** *

The time when the deployment API started.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentStageStartTime(const Aws::Utils::DateTime& value) { SetEdgeDeploymentStageStartTime(value); return *this;} /** *

The time when the deployment API started.

*/ inline EdgeDeploymentStatus& WithEdgeDeploymentStageStartTime(Aws::Utils::DateTime&& value) { SetEdgeDeploymentStageStartTime(std::move(value)); return *this;} private: StageStatus m_stageStatus; bool m_stageStatusHasBeenSet = false; int m_edgeDeploymentSuccessInStage; bool m_edgeDeploymentSuccessInStageHasBeenSet = false; int m_edgeDeploymentPendingInStage; bool m_edgeDeploymentPendingInStageHasBeenSet = false; int m_edgeDeploymentFailedInStage; bool m_edgeDeploymentFailedInStageHasBeenSet = false; Aws::String m_edgeDeploymentStatusMessage; bool m_edgeDeploymentStatusMessageHasBeenSet = false; Aws::Utils::DateTime m_edgeDeploymentStageStartTime; bool m_edgeDeploymentStageStartTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws