AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateEdgePackagingJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/EdgeOutputConfig.h>
12#include <aws/sagemaker/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API CreateEdgePackagingJobRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateEdgePackagingJob"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetEdgePackagingJobName() const { return m_edgePackagingJobName; }
41 inline bool EdgePackagingJobNameHasBeenSet() const { return m_edgePackagingJobNameHasBeenSet; }
42 template <typename EdgePackagingJobNameT = Aws::String>
43 void SetEdgePackagingJobName(EdgePackagingJobNameT&& value) {
44 m_edgePackagingJobNameHasBeenSet = true;
45 m_edgePackagingJobName = std::forward<EdgePackagingJobNameT>(value);
46 }
47 template <typename EdgePackagingJobNameT = Aws::String>
49 SetEdgePackagingJobName(std::forward<EdgePackagingJobNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetCompilationJobName() const { return m_compilationJobName; }
60 inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; }
61 template <typename CompilationJobNameT = Aws::String>
62 void SetCompilationJobName(CompilationJobNameT&& value) {
63 m_compilationJobNameHasBeenSet = true;
64 m_compilationJobName = std::forward<CompilationJobNameT>(value);
65 }
66 template <typename CompilationJobNameT = Aws::String>
68 SetCompilationJobName(std::forward<CompilationJobNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetModelName() const { return m_modelName; }
78 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
79 template <typename ModelNameT = Aws::String>
80 void SetModelName(ModelNameT&& value) {
81 m_modelNameHasBeenSet = true;
82 m_modelName = std::forward<ModelNameT>(value);
83 }
84 template <typename ModelNameT = Aws::String>
86 SetModelName(std::forward<ModelNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
96 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
97 template <typename ModelVersionT = Aws::String>
98 void SetModelVersion(ModelVersionT&& value) {
99 m_modelVersionHasBeenSet = true;
100 m_modelVersion = std::forward<ModelVersionT>(value);
101 }
102 template <typename ModelVersionT = Aws::String>
104 SetModelVersion(std::forward<ModelVersionT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
115 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
116 template <typename RoleArnT = Aws::String>
117 void SetRoleArn(RoleArnT&& value) {
118 m_roleArnHasBeenSet = true;
119 m_roleArn = std::forward<RoleArnT>(value);
120 }
121 template <typename RoleArnT = Aws::String>
123 SetRoleArn(std::forward<RoleArnT>(value));
124 return *this;
125 }
127
129
132 inline const EdgeOutputConfig& GetOutputConfig() const { return m_outputConfig; }
133 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
134 template <typename OutputConfigT = EdgeOutputConfig>
135 void SetOutputConfig(OutputConfigT&& value) {
136 m_outputConfigHasBeenSet = true;
137 m_outputConfig = std::forward<OutputConfigT>(value);
138 }
139 template <typename OutputConfigT = EdgeOutputConfig>
141 SetOutputConfig(std::forward<OutputConfigT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::String& GetResourceKey() const { return m_resourceKey; }
152 inline bool ResourceKeyHasBeenSet() const { return m_resourceKeyHasBeenSet; }
153 template <typename ResourceKeyT = Aws::String>
154 void SetResourceKey(ResourceKeyT&& value) {
155 m_resourceKeyHasBeenSet = true;
156 m_resourceKey = std::forward<ResourceKeyT>(value);
157 }
158 template <typename ResourceKeyT = Aws::String>
160 SetResourceKey(std::forward<ResourceKeyT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
170 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
171 template <typename TagsT = Aws::Vector<Tag>>
172 void SetTags(TagsT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags = std::forward<TagsT>(value);
175 }
176 template <typename TagsT = Aws::Vector<Tag>>
178 SetTags(std::forward<TagsT>(value));
179 return *this;
180 }
181 template <typename TagsT = Tag>
183 m_tagsHasBeenSet = true;
184 m_tags.emplace_back(std::forward<TagsT>(value));
185 return *this;
186 }
188 private:
189 Aws::String m_edgePackagingJobName;
190
191 Aws::String m_compilationJobName;
192
193 Aws::String m_modelName;
194
195 Aws::String m_modelVersion;
196
197 Aws::String m_roleArn;
198
199 EdgeOutputConfig m_outputConfig;
200
201 Aws::String m_resourceKey;
202
203 Aws::Vector<Tag> m_tags;
204 bool m_edgePackagingJobNameHasBeenSet = false;
205 bool m_compilationJobNameHasBeenSet = false;
206 bool m_modelNameHasBeenSet = false;
207 bool m_modelVersionHasBeenSet = false;
208 bool m_roleArnHasBeenSet = false;
209 bool m_outputConfigHasBeenSet = false;
210 bool m_resourceKeyHasBeenSet = false;
211 bool m_tagsHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace SageMaker
216} // namespace Aws
AWS_SAGEMAKER_API CreateEdgePackagingJobRequest()=default
CreateEdgePackagingJobRequest & WithCompilationJobName(CompilationJobNameT &&value)
CreateEdgePackagingJobRequest & WithEdgePackagingJobName(EdgePackagingJobNameT &&value)
CreateEdgePackagingJobRequest & AddTags(TagsT &&value)
CreateEdgePackagingJobRequest & WithOutputConfig(OutputConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateEdgePackagingJobRequest & WithTags(TagsT &&value)
CreateEdgePackagingJobRequest & WithResourceKey(ResourceKeyT &&value)
CreateEdgePackagingJobRequest & WithModelName(ModelNameT &&value)
CreateEdgePackagingJobRequest & WithModelVersion(ModelVersionT &&value)
CreateEdgePackagingJobRequest & WithRoleArn(RoleArnT &&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