AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateDevEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/WorkerType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glue {
26namespace Model {
28 public:
29 AWS_GLUE_API CreateDevEndpointResult() = default;
32
34
37 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
38 template <typename EndpointNameT = Aws::String>
39 void SetEndpointName(EndpointNameT&& value) {
40 m_endpointNameHasBeenSet = true;
41 m_endpointName = std::forward<EndpointNameT>(value);
42 }
43 template <typename EndpointNameT = Aws::String>
44 CreateDevEndpointResult& WithEndpointName(EndpointNameT&& value) {
45 SetEndpointName(std::forward<EndpointNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetStatus() const { return m_status; }
55 template <typename StatusT = Aws::String>
56 void SetStatus(StatusT&& value) {
57 m_statusHasBeenSet = true;
58 m_status = std::forward<StatusT>(value);
59 }
60 template <typename StatusT = Aws::String>
62 SetStatus(std::forward<StatusT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
72 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
73 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
74 m_securityGroupIdsHasBeenSet = true;
75 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
76 }
77 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
78 CreateDevEndpointResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
79 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
80 return *this;
81 }
82 template <typename SecurityGroupIdsT = Aws::String>
83 CreateDevEndpointResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
84 m_securityGroupIdsHasBeenSet = true;
85 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
95 template <typename SubnetIdT = Aws::String>
96 void SetSubnetId(SubnetIdT&& value) {
97 m_subnetIdHasBeenSet = true;
98 m_subnetId = std::forward<SubnetIdT>(value);
99 }
100 template <typename SubnetIdT = Aws::String>
102 SetSubnetId(std::forward<SubnetIdT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
113 template <typename RoleArnT = Aws::String>
114 void SetRoleArn(RoleArnT&& value) {
115 m_roleArnHasBeenSet = true;
116 m_roleArn = std::forward<RoleArnT>(value);
117 }
118 template <typename RoleArnT = Aws::String>
120 SetRoleArn(std::forward<RoleArnT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetYarnEndpointAddress() const { return m_yarnEndpointAddress; }
130 template <typename YarnEndpointAddressT = Aws::String>
131 void SetYarnEndpointAddress(YarnEndpointAddressT&& value) {
132 m_yarnEndpointAddressHasBeenSet = true;
133 m_yarnEndpointAddress = std::forward<YarnEndpointAddressT>(value);
134 }
135 template <typename YarnEndpointAddressT = Aws::String>
136 CreateDevEndpointResult& WithYarnEndpointAddress(YarnEndpointAddressT&& value) {
137 SetYarnEndpointAddress(std::forward<YarnEndpointAddressT>(value));
138 return *this;
139 }
141
143
146 inline int GetZeppelinRemoteSparkInterpreterPort() const { return m_zeppelinRemoteSparkInterpreterPort; }
148 m_zeppelinRemoteSparkInterpreterPortHasBeenSet = true;
149 m_zeppelinRemoteSparkInterpreterPort = value;
150 }
153 return *this;
154 }
156
158
162 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
163 inline void SetNumberOfNodes(int value) {
164 m_numberOfNodesHasBeenSet = true;
165 m_numberOfNodes = value;
166 }
168 SetNumberOfNodes(value);
169 return *this;
170 }
172
174
178 inline WorkerType GetWorkerType() const { return m_workerType; }
179 inline void SetWorkerType(WorkerType value) {
180 m_workerTypeHasBeenSet = true;
181 m_workerType = value;
182 }
184 SetWorkerType(value);
185 return *this;
186 }
188
190
198 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
199 template <typename GlueVersionT = Aws::String>
200 void SetGlueVersion(GlueVersionT&& value) {
201 m_glueVersionHasBeenSet = true;
202 m_glueVersion = std::forward<GlueVersionT>(value);
203 }
204 template <typename GlueVersionT = Aws::String>
206 SetGlueVersion(std::forward<GlueVersionT>(value));
207 return *this;
208 }
210
212
216 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
217 inline void SetNumberOfWorkers(int value) {
218 m_numberOfWorkersHasBeenSet = true;
219 m_numberOfWorkers = value;
220 }
222 SetNumberOfWorkers(value);
223 return *this;
224 }
226
228
232 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
233 template <typename AvailabilityZoneT = Aws::String>
234 void SetAvailabilityZone(AvailabilityZoneT&& value) {
235 m_availabilityZoneHasBeenSet = true;
236 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
237 }
238 template <typename AvailabilityZoneT = Aws::String>
239 CreateDevEndpointResult& WithAvailabilityZone(AvailabilityZoneT&& value) {
240 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
241 return *this;
242 }
244
246
250 inline const Aws::String& GetVpcId() const { return m_vpcId; }
251 template <typename VpcIdT = Aws::String>
252 void SetVpcId(VpcIdT&& value) {
253 m_vpcIdHasBeenSet = true;
254 m_vpcId = std::forward<VpcIdT>(value);
255 }
256 template <typename VpcIdT = Aws::String>
258 SetVpcId(std::forward<VpcIdT>(value));
259 return *this;
260 }
262
264
268 inline const Aws::String& GetExtraPythonLibsS3Path() const { return m_extraPythonLibsS3Path; }
269 template <typename ExtraPythonLibsS3PathT = Aws::String>
270 void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
271 m_extraPythonLibsS3PathHasBeenSet = true;
272 m_extraPythonLibsS3Path = std::forward<ExtraPythonLibsS3PathT>(value);
273 }
274 template <typename ExtraPythonLibsS3PathT = Aws::String>
275 CreateDevEndpointResult& WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
276 SetExtraPythonLibsS3Path(std::forward<ExtraPythonLibsS3PathT>(value));
277 return *this;
278 }
280
282
286 inline const Aws::String& GetExtraJarsS3Path() const { return m_extraJarsS3Path; }
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>
293 CreateDevEndpointResult& WithExtraJarsS3Path(ExtraJarsS3PathT&& value) {
294 SetExtraJarsS3Path(std::forward<ExtraJarsS3PathT>(value));
295 return *this;
296 }
298
300
303 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
304 template <typename FailureReasonT = Aws::String>
305 void SetFailureReason(FailureReasonT&& value) {
306 m_failureReasonHasBeenSet = true;
307 m_failureReason = std::forward<FailureReasonT>(value);
308 }
309 template <typename FailureReasonT = Aws::String>
311 SetFailureReason(std::forward<FailureReasonT>(value));
312 return *this;
313 }
315
317
321 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
322 template <typename SecurityConfigurationT = Aws::String>
323 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
324 m_securityConfigurationHasBeenSet = true;
325 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
326 }
327 template <typename SecurityConfigurationT = Aws::String>
328 CreateDevEndpointResult& WithSecurityConfiguration(SecurityConfigurationT&& value) {
329 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
330 return *this;
331 }
333
335
338 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
339 template <typename CreatedTimestampT = Aws::Utils::DateTime>
340 void SetCreatedTimestamp(CreatedTimestampT&& value) {
341 m_createdTimestampHasBeenSet = true;
342 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
343 }
344 template <typename CreatedTimestampT = Aws::Utils::DateTime>
345 CreateDevEndpointResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
346 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
347 return *this;
348 }
350
352
360 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
361 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
362 void SetArguments(ArgumentsT&& value) {
363 m_argumentsHasBeenSet = true;
364 m_arguments = std::forward<ArgumentsT>(value);
365 }
366 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
368 SetArguments(std::forward<ArgumentsT>(value));
369 return *this;
370 }
371 template <typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
372 CreateDevEndpointResult& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
373 m_argumentsHasBeenSet = true;
374 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
375 return *this;
376 }
378
380
381 inline const Aws::String& GetRequestId() const { return m_requestId; }
382 template <typename RequestIdT = Aws::String>
383 void SetRequestId(RequestIdT&& value) {
384 m_requestIdHasBeenSet = true;
385 m_requestId = std::forward<RequestIdT>(value);
386 }
387 template <typename RequestIdT = Aws::String>
389 SetRequestId(std::forward<RequestIdT>(value));
390 return *this;
391 }
393 private:
394 Aws::String m_endpointName;
395
396 Aws::String m_status;
397
398 Aws::Vector<Aws::String> m_securityGroupIds;
399
400 Aws::String m_subnetId;
401
402 Aws::String m_roleArn;
403
404 Aws::String m_yarnEndpointAddress;
405
406 int m_zeppelinRemoteSparkInterpreterPort{0};
407
408 int m_numberOfNodes{0};
409
410 WorkerType m_workerType{WorkerType::NOT_SET};
411
412 Aws::String m_glueVersion;
413
414 int m_numberOfWorkers{0};
415
416 Aws::String m_availabilityZone;
417
418 Aws::String m_vpcId;
419
420 Aws::String m_extraPythonLibsS3Path;
421
422 Aws::String m_extraJarsS3Path;
423
424 Aws::String m_failureReason;
425
426 Aws::String m_securityConfiguration;
427
428 Aws::Utils::DateTime m_createdTimestamp{};
429
431
432 Aws::String m_requestId;
433 bool m_endpointNameHasBeenSet = false;
434 bool m_statusHasBeenSet = false;
435 bool m_securityGroupIdsHasBeenSet = false;
436 bool m_subnetIdHasBeenSet = false;
437 bool m_roleArnHasBeenSet = false;
438 bool m_yarnEndpointAddressHasBeenSet = false;
439 bool m_zeppelinRemoteSparkInterpreterPortHasBeenSet = false;
440 bool m_numberOfNodesHasBeenSet = false;
441 bool m_workerTypeHasBeenSet = false;
442 bool m_glueVersionHasBeenSet = false;
443 bool m_numberOfWorkersHasBeenSet = false;
444 bool m_availabilityZoneHasBeenSet = false;
445 bool m_vpcIdHasBeenSet = false;
446 bool m_extraPythonLibsS3PathHasBeenSet = false;
447 bool m_extraJarsS3PathHasBeenSet = false;
448 bool m_failureReasonHasBeenSet = false;
449 bool m_securityConfigurationHasBeenSet = false;
450 bool m_createdTimestampHasBeenSet = false;
451 bool m_argumentsHasBeenSet = false;
452 bool m_requestIdHasBeenSet = false;
453};
454
455} // namespace Model
456} // namespace Glue
457} // namespace Aws
AWS_GLUE_API CreateDevEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDevEndpointResult & WithNumberOfNodes(int value)
CreateDevEndpointResult & WithVpcId(VpcIdT &&value)
CreateDevEndpointResult & WithZeppelinRemoteSparkInterpreterPort(int value)
CreateDevEndpointResult & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
CreateDevEndpointResult & WithGlueVersion(GlueVersionT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
CreateDevEndpointResult & WithCreatedTimestamp(CreatedTimestampT &&value)
CreateDevEndpointResult & WithWorkerType(WorkerType value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
CreateDevEndpointResult & WithRoleArn(RoleArnT &&value)
CreateDevEndpointResult & WithExtraJarsS3Path(ExtraJarsS3PathT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetYarnEndpointAddress(YarnEndpointAddressT &&value)
CreateDevEndpointResult & WithSubnetId(SubnetIdT &&value)
CreateDevEndpointResult & WithFailureReason(FailureReasonT &&value)
AWS_GLUE_API CreateDevEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDevEndpointResult & WithSecurityConfiguration(SecurityConfigurationT &&value)
void SetExtraJarsS3Path(ExtraJarsS3PathT &&value)
CreateDevEndpointResult & WithStatus(StatusT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateDevEndpointResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateDevEndpointResult & WithRequestId(RequestIdT &&value)
CreateDevEndpointResult & WithNumberOfWorkers(int value)
CreateDevEndpointResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_GLUE_API CreateDevEndpointResult()=default
CreateDevEndpointResult & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
CreateDevEndpointResult & WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT &&value)
CreateDevEndpointResult & WithYarnEndpointAddress(YarnEndpointAddressT &&value)
CreateDevEndpointResult & WithArguments(ArgumentsT &&value)
CreateDevEndpointResult & WithEndpointName(EndpointNameT &&value)
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
Aws::Utils::Json::JsonValue JsonValue