/** * 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 device details and deployment * status.

See Also:

AWS * API Reference

*/ class DeviceDeploymentSummary { public: AWS_SAGEMAKER_API DeviceDeploymentSummary(); AWS_SAGEMAKER_API DeviceDeploymentSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API DeviceDeploymentSummary& 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 DeviceDeploymentSummary& WithEdgeDeploymentPlanArn(const Aws::String& value) { SetEdgeDeploymentPlanArn(value); return *this;} /** *

The ARN of the edge deployment plan.

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

The ARN of the edge deployment plan.

*/ inline DeviceDeploymentSummary& 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 DeviceDeploymentSummary& WithEdgeDeploymentPlanName(const Aws::String& value) { SetEdgeDeploymentPlanName(value); return *this;} /** *

The name of the edge deployment plan.

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

The name of the edge deployment plan.

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

The name of the stage in the edge deployment plan.

*/ inline const Aws::String& GetStageName() const{ return m_stageName; } /** *

The name of the stage in the edge deployment plan.

*/ inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; } /** *

The name of the stage in the edge deployment plan.

*/ inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; } /** *

The name of the stage in the edge deployment plan.

*/ inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); } /** *

The name of the stage in the edge deployment plan.

*/ inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); } /** *

The name of the stage in the edge deployment plan.

*/ inline DeviceDeploymentSummary& WithStageName(const Aws::String& value) { SetStageName(value); return *this;} /** *

The name of the stage in the edge deployment plan.

*/ inline DeviceDeploymentSummary& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;} /** *

The name of the stage in the edge deployment plan.

*/ inline DeviceDeploymentSummary& WithStageName(const char* value) { SetStageName(value); return *this;} /** *

The name of the deployed stage.

*/ inline const Aws::String& GetDeployedStageName() const{ return m_deployedStageName; } /** *

The name of the deployed stage.

*/ inline bool DeployedStageNameHasBeenSet() const { return m_deployedStageNameHasBeenSet; } /** *

The name of the deployed stage.

*/ inline void SetDeployedStageName(const Aws::String& value) { m_deployedStageNameHasBeenSet = true; m_deployedStageName = value; } /** *

The name of the deployed stage.

*/ inline void SetDeployedStageName(Aws::String&& value) { m_deployedStageNameHasBeenSet = true; m_deployedStageName = std::move(value); } /** *

The name of the deployed stage.

*/ inline void SetDeployedStageName(const char* value) { m_deployedStageNameHasBeenSet = true; m_deployedStageName.assign(value); } /** *

The name of the deployed stage.

*/ inline DeviceDeploymentSummary& WithDeployedStageName(const Aws::String& value) { SetDeployedStageName(value); return *this;} /** *

The name of the deployed stage.

*/ inline DeviceDeploymentSummary& WithDeployedStageName(Aws::String&& value) { SetDeployedStageName(std::move(value)); return *this;} /** *

The name of the deployed stage.

*/ inline DeviceDeploymentSummary& WithDeployedStageName(const char* value) { SetDeployedStageName(value); return *this;} /** *

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the fleet to which the device belongs to.

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

The name of the device.

*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *

The name of the device.

*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *

The name of the device.

*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *

The name of the device.

*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *

The name of the device.

*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *

The name of the device.

*/ inline DeviceDeploymentSummary& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *

The name of the device.

*/ inline DeviceDeploymentSummary& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *

The name of the device.

*/ inline DeviceDeploymentSummary& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *

The ARN of the device.

*/ inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; } /** *

The ARN of the device.

*/ inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; } /** *

The ARN of the device.

*/ inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; } /** *

The ARN of the device.

*/ inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); } /** *

The ARN of the device.

*/ inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); } /** *

The ARN of the device.

*/ inline DeviceDeploymentSummary& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;} /** *

The ARN of the device.

*/ inline DeviceDeploymentSummary& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;} /** *

The ARN of the device.

*/ inline DeviceDeploymentSummary& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;} /** *

The deployment status of the device.

*/ inline const DeviceDeploymentStatus& GetDeviceDeploymentStatus() const{ return m_deviceDeploymentStatus; } /** *

The deployment status of the device.

*/ inline bool DeviceDeploymentStatusHasBeenSet() const { return m_deviceDeploymentStatusHasBeenSet; } /** *

The deployment status of the device.

*/ inline void SetDeviceDeploymentStatus(const DeviceDeploymentStatus& value) { m_deviceDeploymentStatusHasBeenSet = true; m_deviceDeploymentStatus = value; } /** *

The deployment status of the device.

*/ inline void SetDeviceDeploymentStatus(DeviceDeploymentStatus&& value) { m_deviceDeploymentStatusHasBeenSet = true; m_deviceDeploymentStatus = std::move(value); } /** *

The deployment status of the device.

*/ inline DeviceDeploymentSummary& WithDeviceDeploymentStatus(const DeviceDeploymentStatus& value) { SetDeviceDeploymentStatus(value); return *this;} /** *

The deployment status of the device.

*/ inline DeviceDeploymentSummary& WithDeviceDeploymentStatus(DeviceDeploymentStatus&& value) { SetDeviceDeploymentStatus(std::move(value)); return *this;} /** *

The detailed error message for the deployoment status result.

*/ inline const Aws::String& GetDeviceDeploymentStatusMessage() const{ return m_deviceDeploymentStatusMessage; } /** *

The detailed error message for the deployoment status result.

*/ inline bool DeviceDeploymentStatusMessageHasBeenSet() const { return m_deviceDeploymentStatusMessageHasBeenSet; } /** *

The detailed error message for the deployoment status result.

*/ inline void SetDeviceDeploymentStatusMessage(const Aws::String& value) { m_deviceDeploymentStatusMessageHasBeenSet = true; m_deviceDeploymentStatusMessage = value; } /** *

The detailed error message for the deployoment status result.

*/ inline void SetDeviceDeploymentStatusMessage(Aws::String&& value) { m_deviceDeploymentStatusMessageHasBeenSet = true; m_deviceDeploymentStatusMessage = std::move(value); } /** *

The detailed error message for the deployoment status result.

*/ inline void SetDeviceDeploymentStatusMessage(const char* value) { m_deviceDeploymentStatusMessageHasBeenSet = true; m_deviceDeploymentStatusMessage.assign(value); } /** *

The detailed error message for the deployoment status result.

*/ inline DeviceDeploymentSummary& WithDeviceDeploymentStatusMessage(const Aws::String& value) { SetDeviceDeploymentStatusMessage(value); return *this;} /** *

The detailed error message for the deployoment status result.

*/ inline DeviceDeploymentSummary& WithDeviceDeploymentStatusMessage(Aws::String&& value) { SetDeviceDeploymentStatusMessage(std::move(value)); return *this;} /** *

The detailed error message for the deployoment status result.

*/ inline DeviceDeploymentSummary& WithDeviceDeploymentStatusMessage(const char* value) { SetDeviceDeploymentStatusMessage(value); return *this;} /** *

The description of the device.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the device.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the device.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the device.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the device.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the device.

*/ inline DeviceDeploymentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the device.

*/ inline DeviceDeploymentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the device.

*/ inline DeviceDeploymentSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The time when the deployment on the device started.

*/ inline const Aws::Utils::DateTime& GetDeploymentStartTime() const{ return m_deploymentStartTime; } /** *

The time when the deployment on the device started.

*/ inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; } /** *

The time when the deployment on the device started.

*/ inline void SetDeploymentStartTime(const Aws::Utils::DateTime& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = value; } /** *

The time when the deployment on the device started.

*/ inline void SetDeploymentStartTime(Aws::Utils::DateTime&& value) { m_deploymentStartTimeHasBeenSet = true; m_deploymentStartTime = std::move(value); } /** *

The time when the deployment on the device started.

*/ inline DeviceDeploymentSummary& WithDeploymentStartTime(const Aws::Utils::DateTime& value) { SetDeploymentStartTime(value); return *this;} /** *

The time when the deployment on the device started.

*/ inline DeviceDeploymentSummary& WithDeploymentStartTime(Aws::Utils::DateTime&& value) { SetDeploymentStartTime(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_stageName; bool m_stageNameHasBeenSet = false; Aws::String m_deployedStageName; bool m_deployedStageNameHasBeenSet = false; Aws::String m_deviceFleetName; bool m_deviceFleetNameHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::String m_deviceArn; bool m_deviceArnHasBeenSet = false; DeviceDeploymentStatus m_deviceDeploymentStatus; bool m_deviceDeploymentStatusHasBeenSet = false; Aws::String m_deviceDeploymentStatusMessage; bool m_deviceDeploymentStatusMessageHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_deploymentStartTime; bool m_deploymentStartTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws