/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 an edge deployment plan.

See * Also:

AWS * API Reference

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

The ARN of the edge deployment plan.

*/ inline const Aws::String& GetEdgeDeploymentPlanArn() const{ return m_edgeDeploymentPlanArn; } /** *

The ARN of the edge deployment plan.

*/ inline bool EdgeDeploymentPlanArnHasBeenSet() const { return m_edgeDeploymentPlanArnHasBeenSet; } /** *

The ARN of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanArn(const Aws::String& value) { m_edgeDeploymentPlanArnHasBeenSet = true; m_edgeDeploymentPlanArn = value; } /** *

The ARN of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanArn(Aws::String&& value) { m_edgeDeploymentPlanArnHasBeenSet = true; m_edgeDeploymentPlanArn = std::move(value); } /** *

The ARN of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanArn(const char* value) { m_edgeDeploymentPlanArnHasBeenSet = true; m_edgeDeploymentPlanArn.assign(value); } /** *

The ARN of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanArn(const Aws::String& value) { SetEdgeDeploymentPlanArn(value); return *this;} /** *

The ARN of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanArn(Aws::String&& value) { SetEdgeDeploymentPlanArn(std::move(value)); return *this;} /** *

The ARN of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanArn(const char* value) { SetEdgeDeploymentPlanArn(value); return *this;} /** *

The name of the edge deployment plan.

*/ inline const Aws::String& GetEdgeDeploymentPlanName() const{ return m_edgeDeploymentPlanName; } /** *

The name of the edge deployment plan.

*/ inline bool EdgeDeploymentPlanNameHasBeenSet() const { return m_edgeDeploymentPlanNameHasBeenSet; } /** *

The name of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanName(const Aws::String& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = value; } /** *

The name of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanName(Aws::String&& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = std::move(value); } /** *

The name of the edge deployment plan.

*/ inline void SetEdgeDeploymentPlanName(const char* value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName.assign(value); } /** *

The name of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanName(const Aws::String& value) { SetEdgeDeploymentPlanName(value); return *this;} /** *

The name of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanName(Aws::String&& value) { SetEdgeDeploymentPlanName(std::move(value)); return *this;} /** *

The name of the edge deployment plan.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPlanName(const char* value) { SetEdgeDeploymentPlanName(value); return *this;} /** *

The name of the device fleet used for the deployment.

*/ inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; } /** *

The name of the device fleet used for the deployment.

*/ inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; } /** *

The name of the device fleet used for the deployment.

*/ inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; } /** *

The name of the device fleet used for the deployment.

*/ inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); } /** *

The name of the device fleet used for the deployment.

*/ inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); } /** *

The name of the device fleet used for the deployment.

*/ inline EdgeDeploymentPlanSummary& WithDeviceFleetName(const Aws::String& value) { SetDeviceFleetName(value); return *this;} /** *

The name of the device fleet used for the deployment.

*/ inline EdgeDeploymentPlanSummary& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;} /** *

The name of the device fleet used for the deployment.

*/ inline EdgeDeploymentPlanSummary& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;} /** *

The number of edge devices with the successful deployment.

*/ inline int GetEdgeDeploymentSuccess() const{ return m_edgeDeploymentSuccess; } /** *

The number of edge devices with the successful deployment.

*/ inline bool EdgeDeploymentSuccessHasBeenSet() const { return m_edgeDeploymentSuccessHasBeenSet; } /** *

The number of edge devices with the successful deployment.

*/ inline void SetEdgeDeploymentSuccess(int value) { m_edgeDeploymentSuccessHasBeenSet = true; m_edgeDeploymentSuccess = value; } /** *

The number of edge devices with the successful deployment.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentSuccess(int value) { SetEdgeDeploymentSuccess(value); return *this;} /** *

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

*/ inline int GetEdgeDeploymentPending() const{ return m_edgeDeploymentPending; } /** *

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

*/ inline bool EdgeDeploymentPendingHasBeenSet() const { return m_edgeDeploymentPendingHasBeenSet; } /** *

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

*/ inline void SetEdgeDeploymentPending(int value) { m_edgeDeploymentPendingHasBeenSet = true; m_edgeDeploymentPending = value; } /** *

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

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentPending(int value) { SetEdgeDeploymentPending(value); return *this;} /** *

The number of edge devices that failed the deployment.

*/ inline int GetEdgeDeploymentFailed() const{ return m_edgeDeploymentFailed; } /** *

The number of edge devices that failed the deployment.

*/ inline bool EdgeDeploymentFailedHasBeenSet() const { return m_edgeDeploymentFailedHasBeenSet; } /** *

The number of edge devices that failed the deployment.

*/ inline void SetEdgeDeploymentFailed(int value) { m_edgeDeploymentFailedHasBeenSet = true; m_edgeDeploymentFailed = value; } /** *

The number of edge devices that failed the deployment.

*/ inline EdgeDeploymentPlanSummary& WithEdgeDeploymentFailed(int value) { SetEdgeDeploymentFailed(value); return *this;} /** *

The time when the edge deployment plan was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time when the edge deployment plan was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time when the edge deployment plan was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time when the edge deployment plan was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time when the edge deployment plan was created.

*/ inline EdgeDeploymentPlanSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time when the edge deployment plan was created.

*/ inline EdgeDeploymentPlanSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time when the edge deployment plan was last updated.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The time when the edge deployment plan was last updated.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The time when the edge deployment plan was last updated.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The time when the edge deployment plan was last updated.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The time when the edge deployment plan was last updated.

*/ inline EdgeDeploymentPlanSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The time when the edge deployment plan was last updated.

*/ inline EdgeDeploymentPlanSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_edgeDeploymentPlanArn; bool m_edgeDeploymentPlanArnHasBeenSet = false; Aws::String m_edgeDeploymentPlanName; bool m_edgeDeploymentPlanNameHasBeenSet = false; Aws::String m_deviceFleetName; bool m_deviceFleetNameHasBeenSet = false; int m_edgeDeploymentSuccess; bool m_edgeDeploymentSuccessHasBeenSet = false; int m_edgeDeploymentPending; bool m_edgeDeploymentPendingHasBeenSet = false; int m_edgeDeploymentFailed; bool m_edgeDeploymentFailedHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws