AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateDevEndpointResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/model/WorkerType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Glue
28{
29namespace Model
30{
32 {
33 public:
34 AWS_GLUE_API CreateDevEndpointResult() = default;
37
38
40
43 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
44 template<typename EndpointNameT = Aws::String>
45 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
46 template<typename EndpointNameT = Aws::String>
47 CreateDevEndpointResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetStatus() const { return m_status; }
55 template<typename StatusT = Aws::String>
56 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
57 template<typename StatusT = Aws::String>
58 CreateDevEndpointResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
60
62
65 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
66 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
67 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
68 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
69 CreateDevEndpointResult& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
70 template<typename SecurityGroupIdsT = Aws::String>
71 CreateDevEndpointResult& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
73
75
78 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
79 template<typename SubnetIdT = Aws::String>
80 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
81 template<typename SubnetIdT = Aws::String>
82 CreateDevEndpointResult& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
84
86
90 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
91 template<typename RoleArnT = Aws::String>
92 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
93 template<typename RoleArnT = Aws::String>
94 CreateDevEndpointResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
96
98
101 inline const Aws::String& GetYarnEndpointAddress() const { return m_yarnEndpointAddress; }
102 template<typename YarnEndpointAddressT = Aws::String>
103 void SetYarnEndpointAddress(YarnEndpointAddressT&& value) { m_yarnEndpointAddressHasBeenSet = true; m_yarnEndpointAddress = std::forward<YarnEndpointAddressT>(value); }
104 template<typename YarnEndpointAddressT = Aws::String>
105 CreateDevEndpointResult& WithYarnEndpointAddress(YarnEndpointAddressT&& value) { SetYarnEndpointAddress(std::forward<YarnEndpointAddressT>(value)); return *this;}
107
109
112 inline int GetZeppelinRemoteSparkInterpreterPort() const { return m_zeppelinRemoteSparkInterpreterPort; }
113 inline void SetZeppelinRemoteSparkInterpreterPort(int value) { m_zeppelinRemoteSparkInterpreterPortHasBeenSet = true; m_zeppelinRemoteSparkInterpreterPort = value; }
116
118
122 inline int GetNumberOfNodes() const { return m_numberOfNodes; }
123 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
124 inline CreateDevEndpointResult& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
126
128
132 inline WorkerType GetWorkerType() const { return m_workerType; }
133 inline void SetWorkerType(WorkerType value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
134 inline CreateDevEndpointResult& WithWorkerType(WorkerType value) { SetWorkerType(value); return *this;}
136
138
146 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
147 template<typename GlueVersionT = Aws::String>
148 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::forward<GlueVersionT>(value); }
149 template<typename GlueVersionT = Aws::String>
150 CreateDevEndpointResult& WithGlueVersion(GlueVersionT&& value) { SetGlueVersion(std::forward<GlueVersionT>(value)); return *this;}
152
154
158 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
159 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
160 inline CreateDevEndpointResult& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
162
164
168 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
169 template<typename AvailabilityZoneT = Aws::String>
170 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
171 template<typename AvailabilityZoneT = Aws::String>
172 CreateDevEndpointResult& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
174
176
180 inline const Aws::String& GetVpcId() const { return m_vpcId; }
181 template<typename VpcIdT = Aws::String>
182 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
183 template<typename VpcIdT = Aws::String>
184 CreateDevEndpointResult& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
186
188
192 inline const Aws::String& GetExtraPythonLibsS3Path() const { return m_extraPythonLibsS3Path; }
193 template<typename ExtraPythonLibsS3PathT = Aws::String>
194 void SetExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) { m_extraPythonLibsS3PathHasBeenSet = true; m_extraPythonLibsS3Path = std::forward<ExtraPythonLibsS3PathT>(value); }
195 template<typename ExtraPythonLibsS3PathT = Aws::String>
196 CreateDevEndpointResult& WithExtraPythonLibsS3Path(ExtraPythonLibsS3PathT&& value) { SetExtraPythonLibsS3Path(std::forward<ExtraPythonLibsS3PathT>(value)); return *this;}
198
200
204 inline const Aws::String& GetExtraJarsS3Path() const { return m_extraJarsS3Path; }
205 template<typename ExtraJarsS3PathT = Aws::String>
206 void SetExtraJarsS3Path(ExtraJarsS3PathT&& value) { m_extraJarsS3PathHasBeenSet = true; m_extraJarsS3Path = std::forward<ExtraJarsS3PathT>(value); }
207 template<typename ExtraJarsS3PathT = Aws::String>
208 CreateDevEndpointResult& WithExtraJarsS3Path(ExtraJarsS3PathT&& value) { SetExtraJarsS3Path(std::forward<ExtraJarsS3PathT>(value)); return *this;}
210
212
215 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
216 template<typename FailureReasonT = Aws::String>
217 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
218 template<typename FailureReasonT = Aws::String>
219 CreateDevEndpointResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
221
223
227 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
228 template<typename SecurityConfigurationT = Aws::String>
229 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
230 template<typename SecurityConfigurationT = Aws::String>
231 CreateDevEndpointResult& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
233
235
238 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
239 template<typename CreatedTimestampT = Aws::Utils::DateTime>
240 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
241 template<typename CreatedTimestampT = Aws::Utils::DateTime>
242 CreateDevEndpointResult& WithCreatedTimestamp(CreatedTimestampT&& value) { SetCreatedTimestamp(std::forward<CreatedTimestampT>(value)); return *this;}
244
246
254 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
255 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
256 void SetArguments(ArgumentsT&& value) { m_argumentsHasBeenSet = true; m_arguments = std::forward<ArgumentsT>(value); }
257 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
258 CreateDevEndpointResult& WithArguments(ArgumentsT&& value) { SetArguments(std::forward<ArgumentsT>(value)); return *this;}
259 template<typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
260 CreateDevEndpointResult& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
261 m_argumentsHasBeenSet = true; m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value)); return *this;
262 }
264
266
267 inline const Aws::String& GetRequestId() const { return m_requestId; }
268 template<typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
270 template<typename RequestIdT = Aws::String>
271 CreateDevEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
273 private:
274
275 Aws::String m_endpointName;
276 bool m_endpointNameHasBeenSet = false;
277
278 Aws::String m_status;
279 bool m_statusHasBeenSet = false;
280
281 Aws::Vector<Aws::String> m_securityGroupIds;
282 bool m_securityGroupIdsHasBeenSet = false;
283
284 Aws::String m_subnetId;
285 bool m_subnetIdHasBeenSet = false;
286
287 Aws::String m_roleArn;
288 bool m_roleArnHasBeenSet = false;
289
290 Aws::String m_yarnEndpointAddress;
291 bool m_yarnEndpointAddressHasBeenSet = false;
292
293 int m_zeppelinRemoteSparkInterpreterPort{0};
294 bool m_zeppelinRemoteSparkInterpreterPortHasBeenSet = false;
295
296 int m_numberOfNodes{0};
297 bool m_numberOfNodesHasBeenSet = false;
298
299 WorkerType m_workerType{WorkerType::NOT_SET};
300 bool m_workerTypeHasBeenSet = false;
301
302 Aws::String m_glueVersion;
303 bool m_glueVersionHasBeenSet = false;
304
305 int m_numberOfWorkers{0};
306 bool m_numberOfWorkersHasBeenSet = false;
307
308 Aws::String m_availabilityZone;
309 bool m_availabilityZoneHasBeenSet = false;
310
311 Aws::String m_vpcId;
312 bool m_vpcIdHasBeenSet = false;
313
314 Aws::String m_extraPythonLibsS3Path;
315 bool m_extraPythonLibsS3PathHasBeenSet = false;
316
317 Aws::String m_extraJarsS3Path;
318 bool m_extraJarsS3PathHasBeenSet = false;
319
320 Aws::String m_failureReason;
321 bool m_failureReasonHasBeenSet = false;
322
323 Aws::String m_securityConfiguration;
324 bool m_securityConfigurationHasBeenSet = false;
325
326 Aws::Utils::DateTime m_createdTimestamp{};
327 bool m_createdTimestampHasBeenSet = false;
328
330 bool m_argumentsHasBeenSet = false;
331
332 Aws::String m_requestId;
333 bool m_requestIdHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace Glue
338} // 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