/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeEdgeDeploymentPlanResult { public: AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult(); AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeEdgeDeploymentPlanResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

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

The ARN of edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& 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 void SetEdgeDeploymentPlanName(const Aws::String& value) { m_edgeDeploymentPlanName = value; } /** *

The name of the edge deployment plan.

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

The name of the edge deployment plan.

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

The name of the edge deployment plan.

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

The name of the edge deployment plan.

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

The name of the edge deployment plan.

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

List of models associated with the edge deployment plan.

*/ inline const Aws::Vector& GetModelConfigs() const{ return m_modelConfigs; } /** *

List of models associated with the edge deployment plan.

*/ inline void SetModelConfigs(const Aws::Vector& value) { m_modelConfigs = value; } /** *

List of models associated with the edge deployment plan.

*/ inline void SetModelConfigs(Aws::Vector&& value) { m_modelConfigs = std::move(value); } /** *

List of models associated with the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithModelConfigs(const Aws::Vector& value) { SetModelConfigs(value); return *this;} /** *

List of models associated with the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithModelConfigs(Aws::Vector&& value) { SetModelConfigs(std::move(value)); return *this;} /** *

List of models associated with the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& AddModelConfigs(const EdgeDeploymentModelConfig& value) { m_modelConfigs.push_back(value); return *this; } /** *

List of models associated with the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& AddModelConfigs(EdgeDeploymentModelConfig&& value) { m_modelConfigs.push_back(std::move(value)); return *this; } /** *

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& 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 void SetEdgeDeploymentSuccess(int value) { m_edgeDeploymentSuccess = value; } /** *

The number of edge devices with the successful deployment.

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

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

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

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

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

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

*/ inline DescribeEdgeDeploymentPlanResult& 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 void SetEdgeDeploymentFailed(int value) { m_edgeDeploymentFailed = value; } /** *

The number of edge devices that failed the deployment.

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

List of stages in the edge deployment plan.

*/ inline const Aws::Vector& GetStages() const{ return m_stages; } /** *

List of stages in the edge deployment plan.

*/ inline void SetStages(const Aws::Vector& value) { m_stages = value; } /** *

List of stages in the edge deployment plan.

*/ inline void SetStages(Aws::Vector&& value) { m_stages = std::move(value); } /** *

List of stages in the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithStages(const Aws::Vector& value) { SetStages(value); return *this;} /** *

List of stages in the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithStages(Aws::Vector&& value) { SetStages(std::move(value)); return *this;} /** *

List of stages in the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& AddStages(const DeploymentStageStatusSummary& value) { m_stages.push_back(value); return *this; } /** *

List of stages in the edge deployment plan.

*/ inline DescribeEdgeDeploymentPlanResult& AddStages(DeploymentStageStatusSummary&& value) { m_stages.push_back(std::move(value)); return *this; } /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Token to use when calling the next set of stages in the edge deployment * plan.

*/ inline DescribeEdgeDeploymentPlanResult& WithNextToken(const char* value) { SetNextToken(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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time when the edge deployment plan was created.

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

The time when the edge deployment plan was created.

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

The time when the edge deployment plan was created.

*/ inline DescribeEdgeDeploymentPlanResult& 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 void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

The time when the edge deployment plan was last updated.

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

The time when the edge deployment plan was last updated.

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

The time when the edge deployment plan was last updated.

*/ inline DescribeEdgeDeploymentPlanResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeEdgeDeploymentPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEdgeDeploymentPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEdgeDeploymentPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_edgeDeploymentPlanArn; Aws::String m_edgeDeploymentPlanName; Aws::Vector m_modelConfigs; Aws::String m_deviceFleetName; int m_edgeDeploymentSuccess; int m_edgeDeploymentPending; int m_edgeDeploymentFailed; Aws::Vector m_stages; Aws::String m_nextToken; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws