AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
CreateDevEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/Glue_EXPORTS.h>
13#include <aws/glue/model/WorkerType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue {
27namespace Model {
29 public:
30 AWS_GLUE_API CreateDevEndpointResult() = default;
33
35
38 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
39 template <typename EndpointNameT = Aws::String>
40 void SetEndpointName(EndpointNameT&& value) {
41 m_endpointNameHasBeenSet = true;
42 m_endpointName = std::forward<EndpointNameT>(value);
43 }
44 template <typename EndpointNameT = Aws::String>
45 CreateDevEndpointResult& WithEndpointName(EndpointNameT&& value) {
46 SetEndpointName(std::forward<EndpointNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetStatus() const { return m_status; }
56 template <typename StatusT = Aws::String>
57 void SetStatus(StatusT&& value) {
58 m_statusHasBeenSet = true;
59 m_status = std::forward<StatusT>(value);
60 }
61 template <typename StatusT = Aws::String>
63 SetStatus(std::forward<StatusT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
73 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
74 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
75 m_securityGroupIdsHasBeenSet = true;
76 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
77 }
78 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
79 CreateDevEndpointResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
80 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
81 return *this;
82 }
83 template <typename SecurityGroupIdsT = Aws::String>
84 CreateDevEndpointResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
85 m_securityGroupIdsHasBeenSet = true;
86 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
96 template <typename SubnetIdT = Aws::String>
97 void SetSubnetId(SubnetIdT&& value) {
98 m_subnetIdHasBeenSet = true;
99 m_subnetId = std::forward<SubnetIdT>(value);
100 }
101 template <typename SubnetIdT = Aws::String>
103 SetSubnetId(std::forward<SubnetIdT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
114 template <typename RoleArnT = Aws::String>
115 void SetRoleArn(RoleArnT&& value) {
116 m_roleArnHasBeenSet = true;
117 m_roleArn = std::forward<RoleArnT>(value);
118 }
119 template <typename RoleArnT = Aws::String>
121 SetRoleArn(std::forward<RoleArnT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetYarnEndpointAddress() const { return m_yarnEndpointAddress; }
131 template <typename YarnEndpointAddressT = Aws::String>
132 void SetYarnEndpointAddress(YarnEndpointAddressT&& value) {
133 m_yarnEndpointAddressHasBeenSet = true;
134 m_yarnEndpointAddress = std::forward<YarnEndpointAddressT>(value);
135 }
136 template <typename YarnEndpointAddressT = Aws::String>
137 CreateDevEndpointResult& WithYarnEndpointAddress(YarnEndpointAddressT&& value) {
138 SetYarnEndpointAddress(std::forward<YarnEndpointAddressT>(value));
139 return *this;
140 }
142
144
147 inline int GetZeppelinRemoteSparkInterpreterPort() const { return m_zeppelinRemoteSparkInterpreterPort; }
149 m_zeppelinRemoteSparkInterpreterPortHasBeenSet = true;
150 m_zeppelinRemoteSparkInterpreterPort = value;
151 }
154 return *this;
155 }
157
159
163 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
164 inline void SetNumberOfNodes(int value) {
165 m_numberOfNodesHasBeenSet = true;
166 m_numberOfNodes = value;
167 }
169 SetNumberOfNodes(value);
170 return *this;
171 }
173
175
179 inline WorkerType GetWorkerType() const { return m_workerType; }
180 inline void SetWorkerType(WorkerType value) {
181 m_workerTypeHasBeenSet = true;
182 m_workerType = value;
183 }
185 SetWorkerType(value);
186 return *this;
187 }
189
191
199 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
200 template <typename GlueVersionT = Aws::String>
201 void SetGlueVersion(GlueVersionT&& value) {
202 m_glueVersionHasBeenSet = true;
203 m_glueVersion = std::forward<GlueVersionT>(value);
204 }
205 template <typename GlueVersionT = Aws::String>
207 SetGlueVersion(std::forward<GlueVersionT>(value));
208 return *this;
209 }
211
213
217 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
218 inline void SetNumberOfWorkers(int value) {
219 m_numberOfWorkersHasBeenSet = true;
220 m_numberOfWorkers = value;
221 }
223 SetNumberOfWorkers(value);
224 return *this;
225 }
227
229
233 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
234 template <typename AvailabilityZoneT = Aws::String>
235 void SetAvailabilityZone(AvailabilityZoneT&& value) {
236 m_availabilityZoneHasBeenSet = true;
237 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
238 }
239 template <typename AvailabilityZoneT = Aws::String>
240 CreateDevEndpointResult& WithAvailabilityZone(AvailabilityZoneT&& value) {
241 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
242 return *this;
243 }
245
247
251 inline const Aws::String& GetVpcId() const { return m_vpcId; }
252 template <typename VpcIdT = Aws::String>
253 void SetVpcId(VpcIdT&& value) {
254 m_vpcIdHasBeenSet = true;
255 m_vpcId = std::forward<VpcIdT>(value);
256 }
257 template <typename VpcIdT = Aws::String>
259 SetVpcId(std::forward<VpcIdT>(value));
260 return *this;
261 }
263
265
269 inline const Aws::String& GetExtraPythonLibsS3Path() const { return m_extraPythonLibsS3Path; }
270 template <typename ExtraPythonLibsS3PathT = Aws::String>
271 void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
272 m_extraPythonLibsS3PathHasBeenSet = true;
273 m_extraPythonLibsS3Path = std::forward<ExtraPythonLibsS3PathT>(value);
274 }
275 template <typename ExtraPythonLibsS3PathT = Aws::String>
276 CreateDevEndpointResult& WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) {
277 SetExtraPythonLibsS3Path(std::forward<ExtraPythonLibsS3PathT>(value));
278 return *this;
279 }
281
283
287 inline const Aws::String& GetExtraJarsS3Path() const { return m_extraJarsS3Path; }
288 template <typename ExtraJarsS3PathT = Aws::String>
289 void SetExtraJarsS3Path(ExtraJarsS3PathT&& value) {
290 m_extraJarsS3PathHasBeenSet = true;
291 m_extraJarsS3Path = std::forward<ExtraJarsS3PathT>(value);
292 }
293 template <typename ExtraJarsS3PathT = Aws::String>
294 CreateDevEndpointResult& WithExtraJarsS3Path(ExtraJarsS3PathT&& value) {
295 SetExtraJarsS3Path(std::forward<ExtraJarsS3PathT>(value));
296 return *this;
297 }
299
301
304 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
305 template <typename FailureReasonT = Aws::String>
306 void SetFailureReason(FailureReasonT&& value) {
307 m_failureReasonHasBeenSet = true;
308 m_failureReason = std::forward<FailureReasonT>(value);
309 }
310 template <typename FailureReasonT = Aws::String>
312 SetFailureReason(std::forward<FailureReasonT>(value));
313 return *this;
314 }
316
318
322 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
323 template <typename SecurityConfigurationT = Aws::String>
324 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
325 m_securityConfigurationHasBeenSet = true;
326 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
327 }
328 template <typename SecurityConfigurationT = Aws::String>
329 CreateDevEndpointResult& WithSecurityConfiguration(SecurityConfigurationT&& value) {
330 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
331 return *this;
332 }
334
336
339 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
340 template <typename CreatedTimestampT = Aws::Utils::DateTime>
341 void SetCreatedTimestamp(CreatedTimestampT&& value) {
342 m_createdTimestampHasBeenSet = true;
343 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
344 }
345 template <typename CreatedTimestampT = Aws::Utils::DateTime>
346 CreateDevEndpointResult& WithCreatedTimestamp(CreatedTimestampT&& value) {
347 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
348 return *this;
349 }
351
353
361 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
362 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
363 void SetArguments(ArgumentsT&& value) {
364 m_argumentsHasBeenSet = true;
365 m_arguments = std::forward<ArgumentsT>(value);
366 }
367 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
369 SetArguments(std::forward<ArgumentsT>(value));
370 return *this;
371 }
372 template <typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
373 CreateDevEndpointResult& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
374 m_argumentsHasBeenSet = true;
375 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
376 return *this;
377 }
379
381
382 inline const Aws::String& GetRequestId() const { return m_requestId; }
383 template <typename RequestIdT = Aws::String>
384 void SetRequestId(RequestIdT&& value) {
385 m_requestIdHasBeenSet = true;
386 m_requestId = std::forward<RequestIdT>(value);
387 }
388 template <typename RequestIdT = Aws::String>
390 SetRequestId(std::forward<RequestIdT>(value));
391 return *this;
392 }
394 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
395
396 private:
397 Aws::String m_endpointName;
398
399 Aws::String m_status;
400
401 Aws::Vector<Aws::String> m_securityGroupIds;
402
403 Aws::String m_subnetId;
404
405 Aws::String m_roleArn;
406
407 Aws::String m_yarnEndpointAddress;
408
409 int m_zeppelinRemoteSparkInterpreterPort{0};
410
411 int m_numberOfNodes{0};
412
413 WorkerType m_workerType{WorkerType::NOT_SET};
414
415 Aws::String m_glueVersion;
416
417 int m_numberOfWorkers{0};
418
419 Aws::String m_availabilityZone;
420
421 Aws::String m_vpcId;
422
423 Aws::String m_extraPythonLibsS3Path;
424
425 Aws::String m_extraJarsS3Path;
426
427 Aws::String m_failureReason;
428
429 Aws::String m_securityConfiguration;
430
431 Aws::Utils::DateTime m_createdTimestamp{};
432
434
435 Aws::String m_requestId;
436 Aws::Http::HttpResponseCode m_HttpResponseCode;
437 bool m_endpointNameHasBeenSet = false;
438 bool m_statusHasBeenSet = false;
439 bool m_securityGroupIdsHasBeenSet = false;
440 bool m_subnetIdHasBeenSet = false;
441 bool m_roleArnHasBeenSet = false;
442 bool m_yarnEndpointAddressHasBeenSet = false;
443 bool m_zeppelinRemoteSparkInterpreterPortHasBeenSet = false;
444 bool m_numberOfNodesHasBeenSet = false;
445 bool m_workerTypeHasBeenSet = false;
446 bool m_glueVersionHasBeenSet = false;
447 bool m_numberOfWorkersHasBeenSet = false;
448 bool m_availabilityZoneHasBeenSet = false;
449 bool m_vpcIdHasBeenSet = false;
450 bool m_extraPythonLibsS3PathHasBeenSet = false;
451 bool m_extraJarsS3PathHasBeenSet = false;
452 bool m_failureReasonHasBeenSet = false;
453 bool m_securityConfigurationHasBeenSet = false;
454 bool m_createdTimestampHasBeenSet = false;
455 bool m_argumentsHasBeenSet = false;
456 bool m_requestIdHasBeenSet = false;
457};
458
459} // namespace Model
460} // namespace Glue
461} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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