AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEdgeDeploymentPlanRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/EdgeDeploymentModelConfig.h>
12#include <aws/sagemaker/model/DeploymentStage.h>
13#include <aws/sagemaker/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateEdgeDeploymentPlan"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetEdgeDeploymentPlanName() const{ return m_edgeDeploymentPlanName; }
46 inline bool EdgeDeploymentPlanNameHasBeenSet() const { return m_edgeDeploymentPlanNameHasBeenSet; }
47 inline void SetEdgeDeploymentPlanName(const Aws::String& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = value; }
48 inline void SetEdgeDeploymentPlanName(Aws::String&& value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName = std::move(value); }
49 inline void SetEdgeDeploymentPlanName(const char* value) { m_edgeDeploymentPlanNameHasBeenSet = true; m_edgeDeploymentPlanName.assign(value); }
54
56
59 inline const Aws::Vector<EdgeDeploymentModelConfig>& GetModelConfigs() const{ return m_modelConfigs; }
60 inline bool ModelConfigsHasBeenSet() const { return m_modelConfigsHasBeenSet; }
61 inline void SetModelConfigs(const Aws::Vector<EdgeDeploymentModelConfig>& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs = value; }
62 inline void SetModelConfigs(Aws::Vector<EdgeDeploymentModelConfig>&& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs = std::move(value); }
65 inline CreateEdgeDeploymentPlanRequest& AddModelConfigs(const EdgeDeploymentModelConfig& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs.push_back(value); return *this; }
66 inline CreateEdgeDeploymentPlanRequest& AddModelConfigs(EdgeDeploymentModelConfig&& value) { m_modelConfigsHasBeenSet = true; m_modelConfigs.push_back(std::move(value)); return *this; }
68
70
73 inline const Aws::String& GetDeviceFleetName() const{ return m_deviceFleetName; }
74 inline bool DeviceFleetNameHasBeenSet() const { return m_deviceFleetNameHasBeenSet; }
75 inline void SetDeviceFleetName(const Aws::String& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = value; }
76 inline void SetDeviceFleetName(Aws::String&& value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName = std::move(value); }
77 inline void SetDeviceFleetName(const char* value) { m_deviceFleetNameHasBeenSet = true; m_deviceFleetName.assign(value); }
79 inline CreateEdgeDeploymentPlanRequest& WithDeviceFleetName(Aws::String&& value) { SetDeviceFleetName(std::move(value)); return *this;}
80 inline CreateEdgeDeploymentPlanRequest& WithDeviceFleetName(const char* value) { SetDeviceFleetName(value); return *this;}
82
84
88 inline const Aws::Vector<DeploymentStage>& GetStages() const{ return m_stages; }
89 inline bool StagesHasBeenSet() const { return m_stagesHasBeenSet; }
90 inline void SetStages(const Aws::Vector<DeploymentStage>& value) { m_stagesHasBeenSet = true; m_stages = value; }
91 inline void SetStages(Aws::Vector<DeploymentStage>&& value) { m_stagesHasBeenSet = true; m_stages = std::move(value); }
93 inline CreateEdgeDeploymentPlanRequest& WithStages(Aws::Vector<DeploymentStage>&& value) { SetStages(std::move(value)); return *this;}
94 inline CreateEdgeDeploymentPlanRequest& AddStages(const DeploymentStage& value) { m_stagesHasBeenSet = true; m_stages.push_back(value); return *this; }
95 inline CreateEdgeDeploymentPlanRequest& AddStages(DeploymentStage&& value) { m_stagesHasBeenSet = true; m_stages.push_back(std::move(value)); return *this; }
97
99
102 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreateEdgeDeploymentPlanRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
107 inline CreateEdgeDeploymentPlanRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreateEdgeDeploymentPlanRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
109 inline CreateEdgeDeploymentPlanRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_edgeDeploymentPlanName;
114 bool m_edgeDeploymentPlanNameHasBeenSet = false;
115
117 bool m_modelConfigsHasBeenSet = false;
118
119 Aws::String m_deviceFleetName;
120 bool m_deviceFleetNameHasBeenSet = false;
121
123 bool m_stagesHasBeenSet = false;
124
125 Aws::Vector<Tag> m_tags;
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace SageMaker
131} // namespace Aws
CreateEdgeDeploymentPlanRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateEdgeDeploymentPlanRequest & AddStages(DeploymentStage &&value)
CreateEdgeDeploymentPlanRequest & WithDeviceFleetName(Aws::String &&value)
void SetModelConfigs(const Aws::Vector< EdgeDeploymentModelConfig > &value)
void SetStages(const Aws::Vector< DeploymentStage > &value)
CreateEdgeDeploymentPlanRequest & WithModelConfigs(Aws::Vector< EdgeDeploymentModelConfig > &&value)
CreateEdgeDeploymentPlanRequest & WithEdgeDeploymentPlanName(const Aws::String &value)
CreateEdgeDeploymentPlanRequest & WithStages(const Aws::Vector< DeploymentStage > &value)
CreateEdgeDeploymentPlanRequest & AddTags(const Tag &value)
CreateEdgeDeploymentPlanRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEdgeDeploymentPlanRequest & WithStages(Aws::Vector< DeploymentStage > &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateEdgeDeploymentPlanRequest & AddStages(const DeploymentStage &value)
CreateEdgeDeploymentPlanRequest & AddModelConfigs(const EdgeDeploymentModelConfig &value)
CreateEdgeDeploymentPlanRequest & WithEdgeDeploymentPlanName(const char *value)
void SetModelConfigs(Aws::Vector< EdgeDeploymentModelConfig > &&value)
const Aws::Vector< EdgeDeploymentModelConfig > & GetModelConfigs() const
CreateEdgeDeploymentPlanRequest & WithDeviceFleetName(const char *value)
CreateEdgeDeploymentPlanRequest & WithModelConfigs(const Aws::Vector< EdgeDeploymentModelConfig > &value)
CreateEdgeDeploymentPlanRequest & WithEdgeDeploymentPlanName(Aws::String &&value)
CreateEdgeDeploymentPlanRequest & WithDeviceFleetName(const Aws::String &value)
CreateEdgeDeploymentPlanRequest & AddModelConfigs(EdgeDeploymentModelConfig &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector