/** * 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 #include namespace Aws { namespace SageMaker { namespace Model { /** */ class CreateEdgeDeploymentPlanRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API CreateEdgeDeploymentPlanRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateEdgeDeploymentPlan"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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

The name of the edge deployment plan.

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

The name of the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& 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 bool ModelConfigsHasBeenSet() const { return m_modelConfigsHasBeenSet; } /** *

List of models associated with the edge deployment plan.

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

List of models associated with the edge deployment plan.

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

List of models associated with the edge deployment plan.

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

List of models associated with the edge deployment plan.

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

List of models associated with the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& AddModelConfigs(const EdgeDeploymentModelConfig& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs.push_back(value); return *this; } /** *

List of models associated with the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& AddModelConfigs(EdgeDeploymentModelConfig&& value) { m_modelConfigsHasBeenSet = true; 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 bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; } /** *

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

The device fleet used for this edge deployment plan.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

*/ inline bool StagesHasBeenSet() const { return m_stagesHasBeenSet; } /** *

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

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

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

*/ inline CreateEdgeDeploymentPlanRequest& AddStages(const DeploymentStage& value) { m_stagesHasBeenSet = true; m_stages.push_back(value); return *this; } /** *

List of stages of the edge deployment plan. The number of stages is limited * to 10 per deployment.

*/ inline CreateEdgeDeploymentPlanRequest& AddStages(DeploymentStage&& value) { m_stagesHasBeenSet = true; m_stages.push_back(std::move(value)); return *this; } /** *

List of tags with which to tag the edge deployment plan.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

List of tags with which to tag the edge deployment plan.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

List of tags with which to tag the edge deployment plan.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

List of tags with which to tag the edge deployment plan.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

List of tags with which to tag the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

List of tags with which to tag the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

List of tags with which to tag the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

List of tags with which to tag the edge deployment plan.

*/ inline CreateEdgeDeploymentPlanRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_edgeDeploymentPlanName; bool m_edgeDeploymentPlanNameHasBeenSet = false; Aws::Vector m_modelConfigs; bool m_modelConfigsHasBeenSet = false; Aws::String m_deviceFleetName; bool m_deviceFleetNameHasBeenSet = false; Aws::Vector m_stages; bool m_stagesHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws