AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDevEndpointRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/WorkerType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUE_API CreateDevEndpointRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDevEndpoint"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
45 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
46 template<typename EndpointNameT = Aws::String>
47 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
48 template<typename EndpointNameT = Aws::String>
49 CreateDevEndpointRequest& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 template<typename RoleArnT = Aws::String>
59 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
60 template<typename RoleArnT = Aws::String>
61 CreateDevEndpointRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
63
65
69 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
70 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
71 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
72 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
73 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
74 CreateDevEndpointRequest& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
75 template<typename SecurityGroupIdsT = Aws::String>
76 CreateDevEndpointRequest& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
78
80
83 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
84 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
85 template<typename SubnetIdT = Aws::String>
86 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
87 template<typename SubnetIdT = Aws::String>
88 CreateDevEndpointRequest& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
90
92
97 inline const Aws::String& GetPublicKey() const { return m_publicKey; }
98 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
99 template<typename PublicKeyT = Aws::String>
100 void SetPublicKey(PublicKeyT&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::forward<PublicKeyT>(value); }
101 template<typename PublicKeyT = Aws::String>
102 CreateDevEndpointRequest& WithPublicKey(PublicKeyT&& value) { SetPublicKey(std::forward<PublicKeyT>(value)); return *this;}
104
106
116 inline const Aws::Vector<Aws::String>& GetPublicKeys() const { return m_publicKeys; }
117 inline bool PublicKeysHasBeenSet() const { return m_publicKeysHasBeenSet; }
118 template<typename PublicKeysT = Aws::Vector<Aws::String>>
119 void SetPublicKeys(PublicKeysT&& value) { m_publicKeysHasBeenSet = true; m_publicKeys = std::forward<PublicKeysT>(value); }
120 template<typename PublicKeysT = Aws::Vector<Aws::String>>
121 CreateDevEndpointRequest& WithPublicKeys(PublicKeysT&& value) { SetPublicKeys(std::forward<PublicKeysT>(value)); return *this;}
122 template<typename PublicKeysT = Aws::String>
123 CreateDevEndpointRequest& AddPublicKeys(PublicKeysT&& value) { m_publicKeysHasBeenSet = true; m_publicKeys.emplace_back(std::forward<PublicKeysT>(value)); return *this; }
125
127
131 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
132 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
133 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
134 inline CreateDevEndpointRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
136
138
153 inline WorkerType GetWorkerType() const { return m_workerType; }
154 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
155 inline void SetWorkerType(WorkerType value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
156 inline CreateDevEndpointRequest& WithWorkerType(WorkerType value) { SetWorkerType(value); return *this;}
158
160
173 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
174 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
175 template<typename GlueVersionT = Aws::String>
176 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::forward<GlueVersionT>(value); }
177 template<typename GlueVersionT = Aws::String>
178 CreateDevEndpointRequest& WithGlueVersion(GlueVersionT&& value) { SetGlueVersion(std::forward<GlueVersionT>(value)); return *this;}
180
182
187 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
188 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
189 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
190 inline CreateDevEndpointRequest& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
192
194
202 inline const Aws::String& GetExtraPythonLibsS3Path() const { return m_extraPythonLibsS3Path; }
203 inline bool ExtraPythonLibsS3PathHasBeenSet() const { return m_extraPythonLibsS3PathHasBeenSet; }
204 template<typename ExtraPythonLibsS3PathT = Aws::String>
205 void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) { m_extraPythonLibsS3PathHasBeenSet = true; m_extraPythonLibsS3Path = std::forward<ExtraPythonLibsS3PathT>(value); }
206 template<typename ExtraPythonLibsS3PathT = Aws::String>
207 CreateDevEndpointRequest& WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) { SetExtraPythonLibsS3Path(std::forward<ExtraPythonLibsS3PathT>(value)); return *this;}
209
211
215 inline const Aws::String& GetExtraJarsS3Path() const { return m_extraJarsS3Path; }
216 inline bool ExtraJarsS3PathHasBeenSet() const { return m_extraJarsS3PathHasBeenSet; }
217 template<typename ExtraJarsS3PathT = Aws::String>
218 void SetExtraJarsS3Path(ExtraJarsS3PathT&& value) { m_extraJarsS3PathHasBeenSet = true; m_extraJarsS3Path = std::forward<ExtraJarsS3PathT>(value); }
219 template<typename ExtraJarsS3PathT = Aws::String>
220 CreateDevEndpointRequest& WithExtraJarsS3Path(ExtraJarsS3PathT&& value) { SetExtraJarsS3Path(std::forward<ExtraJarsS3PathT>(value)); return *this;}
222
224
228 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
229 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
230 template<typename SecurityConfigurationT = Aws::String>
231 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
232 template<typename SecurityConfigurationT = Aws::String>
233 CreateDevEndpointRequest& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
235
237
243 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
244 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
245 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
246 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
247 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 CreateDevEndpointRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
249 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
250 CreateDevEndpointRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
251 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
252 }
254
256
259 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
260 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
261 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
262 void SetArguments(ArgumentsT&& value) { m_argumentsHasBeenSet = true; m_arguments = std::forward<ArgumentsT>(value); }
263 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
264 CreateDevEndpointRequest& WithArguments(ArgumentsT&& value) { SetArguments(std::forward<ArgumentsT>(value)); return *this;}
265 template<typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
266 CreateDevEndpointRequest& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
267 m_argumentsHasBeenSet = true; m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value)); return *this;
268 }
270 private:
271
272 Aws::String m_endpointName;
273 bool m_endpointNameHasBeenSet = false;
274
275 Aws::String m_roleArn;
276 bool m_roleArnHasBeenSet = false;
277
278 Aws::Vector<Aws::String> m_securityGroupIds;
279 bool m_securityGroupIdsHasBeenSet = false;
280
281 Aws::String m_subnetId;
282 bool m_subnetIdHasBeenSet = false;
283
284 Aws::String m_publicKey;
285 bool m_publicKeyHasBeenSet = false;
286
287 Aws::Vector<Aws::String> m_publicKeys;
288 bool m_publicKeysHasBeenSet = false;
289
290 int m_numberOfNodes{0};
291 bool m_numberOfNodesHasBeenSet = false;
292
293 WorkerType m_workerType{WorkerType::NOT_SET};
294 bool m_workerTypeHasBeenSet = false;
295
296 Aws::String m_glueVersion;
297 bool m_glueVersionHasBeenSet = false;
298
299 int m_numberOfWorkers{0};
300 bool m_numberOfWorkersHasBeenSet = false;
301
302 Aws::String m_extraPythonLibsS3Path;
303 bool m_extraPythonLibsS3PathHasBeenSet = false;
304
305 Aws::String m_extraJarsS3Path;
306 bool m_extraJarsS3PathHasBeenSet = false;
307
308 Aws::String m_securityConfiguration;
309 bool m_securityConfigurationHasBeenSet = false;
310
312 bool m_tagsHasBeenSet = false;
313
315 bool m_argumentsHasBeenSet = false;
316 };
317
318} // namespace Model
319} // namespace Glue
320} // 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