AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobFlowInstancesConfig.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/model/PlacementType.h>
11#include <aws/elasticmapreduce/model/InstanceGroupConfig.h>
12#include <aws/elasticmapreduce/model/InstanceFleetConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace EMR
26{
27namespace Model
28{
29
41 {
42 public:
47
48
50
53 inline const Aws::String& GetMasterInstanceType() const{ return m_masterInstanceType; }
54 inline bool MasterInstanceTypeHasBeenSet() const { return m_masterInstanceTypeHasBeenSet; }
55 inline void SetMasterInstanceType(const Aws::String& value) { m_masterInstanceTypeHasBeenSet = true; m_masterInstanceType = value; }
56 inline void SetMasterInstanceType(Aws::String&& value) { m_masterInstanceTypeHasBeenSet = true; m_masterInstanceType = std::move(value); }
57 inline void SetMasterInstanceType(const char* value) { m_masterInstanceTypeHasBeenSet = true; m_masterInstanceType.assign(value); }
59 inline JobFlowInstancesConfig& WithMasterInstanceType(Aws::String&& value) { SetMasterInstanceType(std::move(value)); return *this;}
60 inline JobFlowInstancesConfig& WithMasterInstanceType(const char* value) { SetMasterInstanceType(value); return *this;}
62
64
67 inline const Aws::String& GetSlaveInstanceType() const{ return m_slaveInstanceType; }
68 inline bool SlaveInstanceTypeHasBeenSet() const { return m_slaveInstanceTypeHasBeenSet; }
69 inline void SetSlaveInstanceType(const Aws::String& value) { m_slaveInstanceTypeHasBeenSet = true; m_slaveInstanceType = value; }
70 inline void SetSlaveInstanceType(Aws::String&& value) { m_slaveInstanceTypeHasBeenSet = true; m_slaveInstanceType = std::move(value); }
71 inline void SetSlaveInstanceType(const char* value) { m_slaveInstanceTypeHasBeenSet = true; m_slaveInstanceType.assign(value); }
73 inline JobFlowInstancesConfig& WithSlaveInstanceType(Aws::String&& value) { SetSlaveInstanceType(std::move(value)); return *this;}
74 inline JobFlowInstancesConfig& WithSlaveInstanceType(const char* value) { SetSlaveInstanceType(value); return *this;}
76
78
81 inline int GetInstanceCount() const{ return m_instanceCount; }
82 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
83 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
84 inline JobFlowInstancesConfig& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
86
88
91 inline const Aws::Vector<InstanceGroupConfig>& GetInstanceGroups() const{ return m_instanceGroups; }
92 inline bool InstanceGroupsHasBeenSet() const { return m_instanceGroupsHasBeenSet; }
93 inline void SetInstanceGroups(const Aws::Vector<InstanceGroupConfig>& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = value; }
94 inline void SetInstanceGroups(Aws::Vector<InstanceGroupConfig>&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = std::move(value); }
97 inline JobFlowInstancesConfig& AddInstanceGroups(const InstanceGroupConfig& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(value); return *this; }
98 inline JobFlowInstancesConfig& AddInstanceGroups(InstanceGroupConfig&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(std::move(value)); return *this; }
100
102
108 inline const Aws::Vector<InstanceFleetConfig>& GetInstanceFleets() const{ return m_instanceFleets; }
109 inline bool InstanceFleetsHasBeenSet() const { return m_instanceFleetsHasBeenSet; }
110 inline void SetInstanceFleets(const Aws::Vector<InstanceFleetConfig>& value) { m_instanceFleetsHasBeenSet = true; m_instanceFleets = value; }
111 inline void SetInstanceFleets(Aws::Vector<InstanceFleetConfig>&& value) { m_instanceFleetsHasBeenSet = true; m_instanceFleets = std::move(value); }
114 inline JobFlowInstancesConfig& AddInstanceFleets(const InstanceFleetConfig& value) { m_instanceFleetsHasBeenSet = true; m_instanceFleets.push_back(value); return *this; }
115 inline JobFlowInstancesConfig& AddInstanceFleets(InstanceFleetConfig&& value) { m_instanceFleetsHasBeenSet = true; m_instanceFleets.push_back(std::move(value)); return *this; }
117
119
123 inline const Aws::String& GetEc2KeyName() const{ return m_ec2KeyName; }
124 inline bool Ec2KeyNameHasBeenSet() const { return m_ec2KeyNameHasBeenSet; }
125 inline void SetEc2KeyName(const Aws::String& value) { m_ec2KeyNameHasBeenSet = true; m_ec2KeyName = value; }
126 inline void SetEc2KeyName(Aws::String&& value) { m_ec2KeyNameHasBeenSet = true; m_ec2KeyName = std::move(value); }
127 inline void SetEc2KeyName(const char* value) { m_ec2KeyNameHasBeenSet = true; m_ec2KeyName.assign(value); }
128 inline JobFlowInstancesConfig& WithEc2KeyName(const Aws::String& value) { SetEc2KeyName(value); return *this;}
129 inline JobFlowInstancesConfig& WithEc2KeyName(Aws::String&& value) { SetEc2KeyName(std::move(value)); return *this;}
130 inline JobFlowInstancesConfig& WithEc2KeyName(const char* value) { SetEc2KeyName(value); return *this;}
132
134
137 inline const PlacementType& GetPlacement() const{ return m_placement; }
138 inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
139 inline void SetPlacement(const PlacementType& value) { m_placementHasBeenSet = true; m_placement = value; }
140 inline void SetPlacement(PlacementType&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
141 inline JobFlowInstancesConfig& WithPlacement(const PlacementType& value) { SetPlacement(value); return *this;}
142 inline JobFlowInstancesConfig& WithPlacement(PlacementType&& value) { SetPlacement(std::move(value)); return *this;}
144
146
153 inline bool GetKeepJobFlowAliveWhenNoSteps() const{ return m_keepJobFlowAliveWhenNoSteps; }
154 inline bool KeepJobFlowAliveWhenNoStepsHasBeenSet() const { return m_keepJobFlowAliveWhenNoStepsHasBeenSet; }
155 inline void SetKeepJobFlowAliveWhenNoSteps(bool value) { m_keepJobFlowAliveWhenNoStepsHasBeenSet = true; m_keepJobFlowAliveWhenNoSteps = value; }
158
160
165 inline bool GetTerminationProtected() const{ return m_terminationProtected; }
166 inline bool TerminationProtectedHasBeenSet() const { return m_terminationProtectedHasBeenSet; }
167 inline void SetTerminationProtected(bool value) { m_terminationProtectedHasBeenSet = true; m_terminationProtected = value; }
170
172
176 inline bool GetUnhealthyNodeReplacement() const{ return m_unhealthyNodeReplacement; }
177 inline bool UnhealthyNodeReplacementHasBeenSet() const { return m_unhealthyNodeReplacementHasBeenSet; }
178 inline void SetUnhealthyNodeReplacement(bool value) { m_unhealthyNodeReplacementHasBeenSet = true; m_unhealthyNodeReplacement = value; }
181
183
191 inline const Aws::String& GetHadoopVersion() const{ return m_hadoopVersion; }
192 inline bool HadoopVersionHasBeenSet() const { return m_hadoopVersionHasBeenSet; }
193 inline void SetHadoopVersion(const Aws::String& value) { m_hadoopVersionHasBeenSet = true; m_hadoopVersion = value; }
194 inline void SetHadoopVersion(Aws::String&& value) { m_hadoopVersionHasBeenSet = true; m_hadoopVersion = std::move(value); }
195 inline void SetHadoopVersion(const char* value) { m_hadoopVersionHasBeenSet = true; m_hadoopVersion.assign(value); }
196 inline JobFlowInstancesConfig& WithHadoopVersion(const Aws::String& value) { SetHadoopVersion(value); return *this;}
197 inline JobFlowInstancesConfig& WithHadoopVersion(Aws::String&& value) { SetHadoopVersion(std::move(value)); return *this;}
198 inline JobFlowInstancesConfig& WithHadoopVersion(const char* value) { SetHadoopVersion(value); return *this;}
200
202
209 inline const Aws::String& GetEc2SubnetId() const{ return m_ec2SubnetId; }
210 inline bool Ec2SubnetIdHasBeenSet() const { return m_ec2SubnetIdHasBeenSet; }
211 inline void SetEc2SubnetId(const Aws::String& value) { m_ec2SubnetIdHasBeenSet = true; m_ec2SubnetId = value; }
212 inline void SetEc2SubnetId(Aws::String&& value) { m_ec2SubnetIdHasBeenSet = true; m_ec2SubnetId = std::move(value); }
213 inline void SetEc2SubnetId(const char* value) { m_ec2SubnetIdHasBeenSet = true; m_ec2SubnetId.assign(value); }
214 inline JobFlowInstancesConfig& WithEc2SubnetId(const Aws::String& value) { SetEc2SubnetId(value); return *this;}
215 inline JobFlowInstancesConfig& WithEc2SubnetId(Aws::String&& value) { SetEc2SubnetId(std::move(value)); return *this;}
216 inline JobFlowInstancesConfig& WithEc2SubnetId(const char* value) { SetEc2SubnetId(value); return *this;}
218
220
227 inline const Aws::Vector<Aws::String>& GetEc2SubnetIds() const{ return m_ec2SubnetIds; }
228 inline bool Ec2SubnetIdsHasBeenSet() const { return m_ec2SubnetIdsHasBeenSet; }
229 inline void SetEc2SubnetIds(const Aws::Vector<Aws::String>& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds = value; }
230 inline void SetEc2SubnetIds(Aws::Vector<Aws::String>&& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds = std::move(value); }
232 inline JobFlowInstancesConfig& WithEc2SubnetIds(Aws::Vector<Aws::String>&& value) { SetEc2SubnetIds(std::move(value)); return *this;}
233 inline JobFlowInstancesConfig& AddEc2SubnetIds(const Aws::String& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(value); return *this; }
234 inline JobFlowInstancesConfig& AddEc2SubnetIds(Aws::String&& value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(std::move(value)); return *this; }
235 inline JobFlowInstancesConfig& AddEc2SubnetIds(const char* value) { m_ec2SubnetIdsHasBeenSet = true; m_ec2SubnetIds.push_back(value); return *this; }
237
239
244 inline const Aws::String& GetEmrManagedMasterSecurityGroup() const{ return m_emrManagedMasterSecurityGroup; }
245 inline bool EmrManagedMasterSecurityGroupHasBeenSet() const { return m_emrManagedMasterSecurityGroupHasBeenSet; }
246 inline void SetEmrManagedMasterSecurityGroup(const Aws::String& value) { m_emrManagedMasterSecurityGroupHasBeenSet = true; m_emrManagedMasterSecurityGroup = value; }
247 inline void SetEmrManagedMasterSecurityGroup(Aws::String&& value) { m_emrManagedMasterSecurityGroupHasBeenSet = true; m_emrManagedMasterSecurityGroup = std::move(value); }
248 inline void SetEmrManagedMasterSecurityGroup(const char* value) { m_emrManagedMasterSecurityGroupHasBeenSet = true; m_emrManagedMasterSecurityGroup.assign(value); }
253
255
260 inline const Aws::String& GetEmrManagedSlaveSecurityGroup() const{ return m_emrManagedSlaveSecurityGroup; }
261 inline bool EmrManagedSlaveSecurityGroupHasBeenSet() const { return m_emrManagedSlaveSecurityGroupHasBeenSet; }
262 inline void SetEmrManagedSlaveSecurityGroup(const Aws::String& value) { m_emrManagedSlaveSecurityGroupHasBeenSet = true; m_emrManagedSlaveSecurityGroup = value; }
263 inline void SetEmrManagedSlaveSecurityGroup(Aws::String&& value) { m_emrManagedSlaveSecurityGroupHasBeenSet = true; m_emrManagedSlaveSecurityGroup = std::move(value); }
264 inline void SetEmrManagedSlaveSecurityGroup(const char* value) { m_emrManagedSlaveSecurityGroupHasBeenSet = true; m_emrManagedSlaveSecurityGroup.assign(value); }
269
271
275 inline const Aws::String& GetServiceAccessSecurityGroup() const{ return m_serviceAccessSecurityGroup; }
276 inline bool ServiceAccessSecurityGroupHasBeenSet() const { return m_serviceAccessSecurityGroupHasBeenSet; }
277 inline void SetServiceAccessSecurityGroup(const Aws::String& value) { m_serviceAccessSecurityGroupHasBeenSet = true; m_serviceAccessSecurityGroup = value; }
278 inline void SetServiceAccessSecurityGroup(Aws::String&& value) { m_serviceAccessSecurityGroupHasBeenSet = true; m_serviceAccessSecurityGroup = std::move(value); }
279 inline void SetServiceAccessSecurityGroup(const char* value) { m_serviceAccessSecurityGroupHasBeenSet = true; m_serviceAccessSecurityGroup.assign(value); }
284
286
289 inline const Aws::Vector<Aws::String>& GetAdditionalMasterSecurityGroups() const{ return m_additionalMasterSecurityGroups; }
290 inline bool AdditionalMasterSecurityGroupsHasBeenSet() const { return m_additionalMasterSecurityGroupsHasBeenSet; }
291 inline void SetAdditionalMasterSecurityGroups(const Aws::Vector<Aws::String>& value) { m_additionalMasterSecurityGroupsHasBeenSet = true; m_additionalMasterSecurityGroups = value; }
292 inline void SetAdditionalMasterSecurityGroups(Aws::Vector<Aws::String>&& value) { m_additionalMasterSecurityGroupsHasBeenSet = true; m_additionalMasterSecurityGroups = std::move(value); }
295 inline JobFlowInstancesConfig& AddAdditionalMasterSecurityGroups(const Aws::String& value) { m_additionalMasterSecurityGroupsHasBeenSet = true; m_additionalMasterSecurityGroups.push_back(value); return *this; }
296 inline JobFlowInstancesConfig& AddAdditionalMasterSecurityGroups(Aws::String&& value) { m_additionalMasterSecurityGroupsHasBeenSet = true; m_additionalMasterSecurityGroups.push_back(std::move(value)); return *this; }
297 inline JobFlowInstancesConfig& AddAdditionalMasterSecurityGroups(const char* value) { m_additionalMasterSecurityGroupsHasBeenSet = true; m_additionalMasterSecurityGroups.push_back(value); return *this; }
299
301
305 inline const Aws::Vector<Aws::String>& GetAdditionalSlaveSecurityGroups() const{ return m_additionalSlaveSecurityGroups; }
306 inline bool AdditionalSlaveSecurityGroupsHasBeenSet() const { return m_additionalSlaveSecurityGroupsHasBeenSet; }
307 inline void SetAdditionalSlaveSecurityGroups(const Aws::Vector<Aws::String>& value) { m_additionalSlaveSecurityGroupsHasBeenSet = true; m_additionalSlaveSecurityGroups = value; }
308 inline void SetAdditionalSlaveSecurityGroups(Aws::Vector<Aws::String>&& value) { m_additionalSlaveSecurityGroupsHasBeenSet = true; m_additionalSlaveSecurityGroups = std::move(value); }
311 inline JobFlowInstancesConfig& AddAdditionalSlaveSecurityGroups(const Aws::String& value) { m_additionalSlaveSecurityGroupsHasBeenSet = true; m_additionalSlaveSecurityGroups.push_back(value); return *this; }
312 inline JobFlowInstancesConfig& AddAdditionalSlaveSecurityGroups(Aws::String&& value) { m_additionalSlaveSecurityGroupsHasBeenSet = true; m_additionalSlaveSecurityGroups.push_back(std::move(value)); return *this; }
313 inline JobFlowInstancesConfig& AddAdditionalSlaveSecurityGroups(const char* value) { m_additionalSlaveSecurityGroupsHasBeenSet = true; m_additionalSlaveSecurityGroups.push_back(value); return *this; }
315 private:
316
317 Aws::String m_masterInstanceType;
318 bool m_masterInstanceTypeHasBeenSet = false;
319
320 Aws::String m_slaveInstanceType;
321 bool m_slaveInstanceTypeHasBeenSet = false;
322
323 int m_instanceCount;
324 bool m_instanceCountHasBeenSet = false;
325
326 Aws::Vector<InstanceGroupConfig> m_instanceGroups;
327 bool m_instanceGroupsHasBeenSet = false;
328
329 Aws::Vector<InstanceFleetConfig> m_instanceFleets;
330 bool m_instanceFleetsHasBeenSet = false;
331
332 Aws::String m_ec2KeyName;
333 bool m_ec2KeyNameHasBeenSet = false;
334
335 PlacementType m_placement;
336 bool m_placementHasBeenSet = false;
337
338 bool m_keepJobFlowAliveWhenNoSteps;
339 bool m_keepJobFlowAliveWhenNoStepsHasBeenSet = false;
340
341 bool m_terminationProtected;
342 bool m_terminationProtectedHasBeenSet = false;
343
344 bool m_unhealthyNodeReplacement;
345 bool m_unhealthyNodeReplacementHasBeenSet = false;
346
347 Aws::String m_hadoopVersion;
348 bool m_hadoopVersionHasBeenSet = false;
349
350 Aws::String m_ec2SubnetId;
351 bool m_ec2SubnetIdHasBeenSet = false;
352
353 Aws::Vector<Aws::String> m_ec2SubnetIds;
354 bool m_ec2SubnetIdsHasBeenSet = false;
355
356 Aws::String m_emrManagedMasterSecurityGroup;
357 bool m_emrManagedMasterSecurityGroupHasBeenSet = false;
358
359 Aws::String m_emrManagedSlaveSecurityGroup;
360 bool m_emrManagedSlaveSecurityGroupHasBeenSet = false;
361
362 Aws::String m_serviceAccessSecurityGroup;
363 bool m_serviceAccessSecurityGroupHasBeenSet = false;
364
365 Aws::Vector<Aws::String> m_additionalMasterSecurityGroups;
366 bool m_additionalMasterSecurityGroupsHasBeenSet = false;
367
368 Aws::Vector<Aws::String> m_additionalSlaveSecurityGroups;
369 bool m_additionalSlaveSecurityGroupsHasBeenSet = false;
370 };
371
372} // namespace Model
373} // namespace EMR
374} // namespace Aws
void SetAdditionalSlaveSecurityGroups(const Aws::Vector< Aws::String > &value)
JobFlowInstancesConfig & WithKeepJobFlowAliveWhenNoSteps(bool value)
const Aws::Vector< Aws::String > & GetEc2SubnetIds() const
JobFlowInstancesConfig & WithTerminationProtected(bool value)
void SetAdditionalMasterSecurityGroups(Aws::Vector< Aws::String > &&value)
JobFlowInstancesConfig & AddAdditionalSlaveSecurityGroups(const Aws::String &value)
JobFlowInstancesConfig & WithEmrManagedMasterSecurityGroup(const Aws::String &value)
void SetInstanceFleets(const Aws::Vector< InstanceFleetConfig > &value)
JobFlowInstancesConfig & WithAdditionalSlaveSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetEc2SubnetIds(const Aws::Vector< Aws::String > &value)
JobFlowInstancesConfig & WithEc2KeyName(Aws::String &&value)
JobFlowInstancesConfig & WithUnhealthyNodeReplacement(bool value)
JobFlowInstancesConfig & WithEmrManagedSlaveSecurityGroup(const Aws::String &value)
void SetAdditionalSlaveSecurityGroups(Aws::Vector< Aws::String > &&value)
JobFlowInstancesConfig & WithPlacement(const PlacementType &value)
void SetInstanceGroups(Aws::Vector< InstanceGroupConfig > &&value)
const Aws::Vector< InstanceGroupConfig > & GetInstanceGroups() const
JobFlowInstancesConfig & WithEmrManagedMasterSecurityGroup(const char *value)
JobFlowInstancesConfig & WithServiceAccessSecurityGroup(const Aws::String &value)
JobFlowInstancesConfig & WithEmrManagedMasterSecurityGroup(Aws::String &&value)
JobFlowInstancesConfig & WithSlaveInstanceType(const char *value)
const Aws::Vector< InstanceFleetConfig > & GetInstanceFleets() const
JobFlowInstancesConfig & WithMasterInstanceType(const Aws::String &value)
JobFlowInstancesConfig & WithEc2SubnetId(const char *value)
JobFlowInstancesConfig & AddInstanceGroups(const InstanceGroupConfig &value)
void SetEmrManagedMasterSecurityGroup(Aws::String &&value)
const Aws::String & GetSlaveInstanceType() const
JobFlowInstancesConfig & WithSlaveInstanceType(Aws::String &&value)
const Aws::String & GetServiceAccessSecurityGroup() const
JobFlowInstancesConfig & AddEc2SubnetIds(Aws::String &&value)
JobFlowInstancesConfig & AddAdditionalSlaveSecurityGroups(Aws::String &&value)
JobFlowInstancesConfig & WithInstanceFleets(const Aws::Vector< InstanceFleetConfig > &value)
JobFlowInstancesConfig & WithEc2SubnetIds(Aws::Vector< Aws::String > &&value)
void SetPlacement(const PlacementType &value)
void SetAdditionalMasterSecurityGroups(const Aws::Vector< Aws::String > &value)
JobFlowInstancesConfig & WithEc2KeyName(const char *value)
JobFlowInstancesConfig & WithServiceAccessSecurityGroup(Aws::String &&value)
JobFlowInstancesConfig & WithMasterInstanceType(const char *value)
void SetEmrManagedMasterSecurityGroup(const Aws::String &value)
JobFlowInstancesConfig & WithEmrManagedSlaveSecurityGroup(const char *value)
void SetServiceAccessSecurityGroup(const Aws::String &value)
void SetInstanceFleets(Aws::Vector< InstanceFleetConfig > &&value)
JobFlowInstancesConfig & WithMasterInstanceType(Aws::String &&value)
JobFlowInstancesConfig & WithSlaveInstanceType(const Aws::String &value)
JobFlowInstancesConfig & WithInstanceFleets(Aws::Vector< InstanceFleetConfig > &&value)
void SetEmrManagedSlaveSecurityGroup(Aws::String &&value)
JobFlowInstancesConfig & WithHadoopVersion(const Aws::String &value)
JobFlowInstancesConfig & WithInstanceGroups(const Aws::Vector< InstanceGroupConfig > &value)
JobFlowInstancesConfig & AddEc2SubnetIds(const char *value)
JobFlowInstancesConfig & WithHadoopVersion(const char *value)
const Aws::Vector< Aws::String > & GetAdditionalMasterSecurityGroups() const
void SetEc2SubnetIds(Aws::Vector< Aws::String > &&value)
JobFlowInstancesConfig & AddAdditionalMasterSecurityGroups(const Aws::String &value)
void SetServiceAccessSecurityGroup(Aws::String &&value)
JobFlowInstancesConfig & WithPlacement(PlacementType &&value)
JobFlowInstancesConfig & AddAdditionalMasterSecurityGroups(const char *value)
JobFlowInstancesConfig & WithInstanceGroups(Aws::Vector< InstanceGroupConfig > &&value)
JobFlowInstancesConfig & AddEc2SubnetIds(const Aws::String &value)
JobFlowInstancesConfig & WithEc2SubnetId(Aws::String &&value)
JobFlowInstancesConfig & WithInstanceCount(int value)
void SetInstanceGroups(const Aws::Vector< InstanceGroupConfig > &value)
JobFlowInstancesConfig & AddAdditionalMasterSecurityGroups(Aws::String &&value)
const Aws::String & GetEmrManagedSlaveSecurityGroup() const
JobFlowInstancesConfig & WithHadoopVersion(Aws::String &&value)
JobFlowInstancesConfig & WithServiceAccessSecurityGroup(const char *value)
JobFlowInstancesConfig & WithAdditionalSlaveSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetEc2KeyName(const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
JobFlowInstancesConfig & WithAdditionalMasterSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetHadoopVersion(const Aws::String &value)
JobFlowInstancesConfig & WithEc2SubnetId(const Aws::String &value)
JobFlowInstancesConfig & WithAdditionalMasterSecurityGroups(const Aws::Vector< Aws::String > &value)
AWS_EMR_API JobFlowInstancesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMasterInstanceType() const
void SetEmrManagedSlaveSecurityGroup(const Aws::String &value)
void SetSlaveInstanceType(const Aws::String &value)
AWS_EMR_API JobFlowInstancesConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEmrManagedMasterSecurityGroup() const
void SetEc2SubnetId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAdditionalSlaveSecurityGroups() const
JobFlowInstancesConfig & AddAdditionalSlaveSecurityGroups(const char *value)
JobFlowInstancesConfig & AddInstanceGroups(InstanceGroupConfig &&value)
JobFlowInstancesConfig & AddInstanceFleets(InstanceFleetConfig &&value)
JobFlowInstancesConfig & WithEc2SubnetIds(const Aws::Vector< Aws::String > &value)
JobFlowInstancesConfig & WithEc2KeyName(const Aws::String &value)
JobFlowInstancesConfig & AddInstanceFleets(const InstanceFleetConfig &value)
JobFlowInstancesConfig & WithEmrManagedSlaveSecurityGroup(Aws::String &&value)
void SetMasterInstanceType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue