AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateDevEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/GlueRequest.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/WorkerType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Glue {
18namespace Model {
19
23 public:
24 AWS_GLUE_API CreateDevEndpointRequest() = 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 "CreateDevEndpoint"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
41 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
42 template <typename EndpointNameT = Aws::String>
43 void SetEndpointName(EndpointNameT&& value) {
44 m_endpointNameHasBeenSet = true;
45 m_endpointName = std::forward<EndpointNameT>(value);
46 }
47 template <typename EndpointNameT = Aws::String>
49 SetEndpointName(std::forward<EndpointNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
59 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
60 template <typename RoleArnT = Aws::String>
61 void SetRoleArn(RoleArnT&& value) {
62 m_roleArnHasBeenSet = true;
63 m_roleArn = std::forward<RoleArnT>(value);
64 }
65 template <typename RoleArnT = Aws::String>
67 SetRoleArn(std::forward<RoleArnT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
78 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
79 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
80 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
81 m_securityGroupIdsHasBeenSet = true;
82 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
83 }
84 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
85 CreateDevEndpointRequest& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
86 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
87 return *this;
88 }
89 template <typename SecurityGroupIdsT = Aws::String>
90 CreateDevEndpointRequest& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
91 m_securityGroupIdsHasBeenSet = true;
92 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
102 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
103 template <typename SubnetIdT = Aws::String>
104 void SetSubnetId(SubnetIdT&& value) {
105 m_subnetIdHasBeenSet = true;
106 m_subnetId = std::forward<SubnetIdT>(value);
107 }
108 template <typename SubnetIdT = Aws::String>
110 SetSubnetId(std::forward<SubnetIdT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::String& GetPublicKey() const { return m_publicKey; }
122 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
123 template <typename PublicKeyT = Aws::String>
124 void SetPublicKey(PublicKeyT&& value) {
125 m_publicKeyHasBeenSet = true;
126 m_publicKey = std::forward<PublicKeyT>(value);
127 }
128 template <typename PublicKeyT = Aws::String>
130 SetPublicKey(std::forward<PublicKeyT>(value));
131 return *this;
132 }
134
136
146 inline const Aws::Vector<Aws::String>& GetPublicKeys() const { return m_publicKeys; }
147 inline bool PublicKeysHasBeenSet() const { return m_publicKeysHasBeenSet; }
148 template <typename PublicKeysT = Aws::Vector<Aws::String>>
149 void SetPublicKeys(PublicKeysT&& value) {
150 m_publicKeysHasBeenSet = true;
151 m_publicKeys = std::forward<PublicKeysT>(value);
152 }
153 template <typename PublicKeysT = Aws::Vector<Aws::String>>
155 SetPublicKeys(std::forward<PublicKeysT>(value));
156 return *this;
157 }
158 template <typename PublicKeysT = Aws::String>
160 m_publicKeysHasBeenSet = true;
161 m_publicKeys.emplace_back(std::forward<PublicKeysT>(value));
162 return *this;
163 }
165
167
171 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
172 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
173 inline void SetNumberOfNodes(int value) {
174 m_numberOfNodesHasBeenSet = true;
175 m_numberOfNodes = value;
176 }
178 SetNumberOfNodes(value);
179 return *this;
180 }
182
184
199 inline WorkerType GetWorkerType() const { return m_workerType; }
200 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
201 inline void SetWorkerType(WorkerType value) {
202 m_workerTypeHasBeenSet = true;
203 m_workerType = value;
204 }
206 SetWorkerType(value);
207 return *this;
208 }
210
212
225 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
226 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
227 template <typename GlueVersionT = Aws::String>
228 void SetGlueVersion(GlueVersionT&& value) {
229 m_glueVersionHasBeenSet = true;
230 m_glueVersion = std::forward<GlueVersionT>(value);
231 }
232 template <typename GlueVersionT = Aws::String>
234 SetGlueVersion(std::forward<GlueVersionT>(value));
235 return *this;
236 }
238
240
245 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
246 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
247 inline void SetNumberOfWorkers(int value) {
248 m_numberOfWorkersHasBeenSet = true;
249 m_numberOfWorkers = value;
250 }
252 SetNumberOfWorkers(value);
253 return *this;
254 }
256
258
266 inline const Aws::String& GetExtraPythonLibsS3Path() const { return m_extraPythonLibsS3Path; }
267 inline bool ExtraPythonLibsS3PathHasBeenSet() const { return m_extraPythonLibsS3PathHasBeenSet; }
268 template <typename ExtraPythonLibsS3PathT = Aws::String>
269 void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
270 m_extraPythonLibsS3PathHasBeenSet = true;
271 m_extraPythonLibsS3Path = std::forward<ExtraPythonLibsS3PathT>(value);
272 }
273 template <typename ExtraPythonLibsS3PathT = Aws::String>
274 CreateDevEndpointRequest& WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
275 SetExtraPythonLibsS3Path(std::forward<ExtraPythonLibsS3PathT>(value));
276 return *this;
277 }
279
281
285 inline const Aws::String& GetExtraJarsS3Path() const { return m_extraJarsS3Path; }
286 inline bool ExtraJarsS3PathHasBeenSet() const { return m_extraJarsS3PathHasBeenSet; }
287 template <typename ExtraJarsS3PathT = Aws::String>
288 void SetExtraJarsS3Path(ExtraJarsS3PathT&& value) {
289 m_extraJarsS3PathHasBeenSet = true;
290 m_extraJarsS3Path = std::forward<ExtraJarsS3PathT>(value);
291 }
292 template <typename ExtraJarsS3PathT = Aws::String>
294 SetExtraJarsS3Path(std::forward<ExtraJarsS3PathT>(value));
295 return *this;
296 }
298
300
304 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
305 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
306 template <typename SecurityConfigurationT = Aws::String>
307 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
308 m_securityConfigurationHasBeenSet = true;
309 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
310 }
311 template <typename SecurityConfigurationT = Aws::String>
312 CreateDevEndpointRequest& WithSecurityConfiguration(SecurityConfigurationT&& value) {
313 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
314 return *this;
315 }
317
319
325 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
326 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
327 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
328 void SetTags(TagsT&& value) {
329 m_tagsHasBeenSet = true;
330 m_tags = std::forward<TagsT>(value);
331 }
332 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
334 SetTags(std::forward<TagsT>(value));
335 return *this;
336 }
337 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
338 CreateDevEndpointRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
339 m_tagsHasBeenSet = true;
340 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
341 return *this;
342 }
344
346
349 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
350 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
351 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
352 void SetArguments(ArgumentsT&& value) {
353 m_argumentsHasBeenSet = true;
354 m_arguments = std::forward<ArgumentsT>(value);
355 }
356 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
358 SetArguments(std::forward<ArgumentsT>(value));
359 return *this;
360 }
361 template <typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
362 CreateDevEndpointRequest& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
363 m_argumentsHasBeenSet = true;
364 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
365 return *this;
366 }
368 private:
369 Aws::String m_endpointName;
370
371 Aws::String m_roleArn;
372
373 Aws::Vector<Aws::String> m_securityGroupIds;
374
375 Aws::String m_subnetId;
376
377 Aws::String m_publicKey;
378
379 Aws::Vector<Aws::String> m_publicKeys;
380
381 int m_numberOfNodes{0};
382
383 WorkerType m_workerType{WorkerType::NOT_SET};
384
385 Aws::String m_glueVersion;
386
387 int m_numberOfWorkers{0};
388
389 Aws::String m_extraPythonLibsS3Path;
390
391 Aws::String m_extraJarsS3Path;
392
393 Aws::String m_securityConfiguration;
394
396
398 bool m_endpointNameHasBeenSet = false;
399 bool m_roleArnHasBeenSet = false;
400 bool m_securityGroupIdsHasBeenSet = false;
401 bool m_subnetIdHasBeenSet = false;
402 bool m_publicKeyHasBeenSet = false;
403 bool m_publicKeysHasBeenSet = false;
404 bool m_numberOfNodesHasBeenSet = false;
405 bool m_workerTypeHasBeenSet = false;
406 bool m_glueVersionHasBeenSet = false;
407 bool m_numberOfWorkersHasBeenSet = false;
408 bool m_extraPythonLibsS3PathHasBeenSet = false;
409 bool m_extraJarsS3PathHasBeenSet = false;
410 bool m_securityConfigurationHasBeenSet = false;
411 bool m_tagsHasBeenSet = false;
412 bool m_argumentsHasBeenSet = false;
413};
414
415} // namespace Model
416} // namespace Glue
417} // namespace Aws
const Aws::Vector< Aws::String > & GetPublicKeys() const
CreateDevEndpointRequest & WithTags(TagsT &&value)
CreateDevEndpointRequest & WithWorkerType(WorkerType value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
CreateDevEndpointRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
CreateDevEndpointRequest & WithGlueVersion(GlueVersionT &&value)
AWS_GLUE_API CreateDevEndpointRequest()=default
CreateDevEndpointRequest & WithPublicKeys(PublicKeysT &&value)
CreateDevEndpointRequest & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
CreateDevEndpointRequest & WithExtraJarsS3Path(ExtraJarsS3PathT &&value)
CreateDevEndpointRequest & WithRoleArn(RoleArnT &&value)
CreateDevEndpointRequest & AddPublicKeys(PublicKeysT &&value)
CreateDevEndpointRequest & WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT &&value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
CreateDevEndpointRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateDevEndpointRequest & WithArguments(ArgumentsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT &&value)
CreateDevEndpointRequest & WithPublicKey(PublicKeyT &&value)
CreateDevEndpointRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDevEndpointRequest & WithNumberOfWorkers(int value)
CreateDevEndpointRequest & WithNumberOfNodes(int value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUE_API Aws::String SerializePayload() const override
CreateDevEndpointRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
CreateDevEndpointRequest & WithEndpointName(EndpointNameT &&value)
CreateDevEndpointRequest & WithSubnetId(SubnetIdT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector