AWS SDK for C++  1.9.132
AWS SDK for C++
LaunchSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
18 #include <utility>
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Xml
25 {
26  class XmlNode;
27 } // namespace Xml
28 } // namespace Utils
29 namespace EC2
30 {
31 namespace Model
32 {
33 
41  {
42  public:
46 
47  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48  void OutputToStream(Aws::OStream& oStream, const char* location) const;
49 
50 
54  inline const Aws::String& GetUserData() const{ return m_userData; }
55 
59  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
60 
64  inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; }
65 
69  inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
70 
74  inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); }
75 
79  inline LaunchSpecification& WithUserData(const Aws::String& value) { SetUserData(value); return *this;}
80 
84  inline LaunchSpecification& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;}
85 
89  inline LaunchSpecification& WithUserData(const char* value) { SetUserData(value); return *this;}
90 
91 
97  inline const Aws::Vector<GroupIdentifier>& GetSecurityGroups() const{ return m_securityGroups; }
98 
104  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
105 
111  inline void SetSecurityGroups(const Aws::Vector<GroupIdentifier>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
112 
118  inline void SetSecurityGroups(Aws::Vector<GroupIdentifier>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
119 
125  inline LaunchSpecification& WithSecurityGroups(const Aws::Vector<GroupIdentifier>& value) { SetSecurityGroups(value); return *this;}
126 
132  inline LaunchSpecification& WithSecurityGroups(Aws::Vector<GroupIdentifier>&& value) { SetSecurityGroups(std::move(value)); return *this;}
133 
139  inline LaunchSpecification& AddSecurityGroups(const GroupIdentifier& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
140 
146  inline LaunchSpecification& AddSecurityGroups(GroupIdentifier&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
147 
148 
152  inline const Aws::String& GetAddressingType() const{ return m_addressingType; }
153 
157  inline bool AddressingTypeHasBeenSet() const { return m_addressingTypeHasBeenSet; }
158 
162  inline void SetAddressingType(const Aws::String& value) { m_addressingTypeHasBeenSet = true; m_addressingType = value; }
163 
167  inline void SetAddressingType(Aws::String&& value) { m_addressingTypeHasBeenSet = true; m_addressingType = std::move(value); }
168 
172  inline void SetAddressingType(const char* value) { m_addressingTypeHasBeenSet = true; m_addressingType.assign(value); }
173 
177  inline LaunchSpecification& WithAddressingType(const Aws::String& value) { SetAddressingType(value); return *this;}
178 
182  inline LaunchSpecification& WithAddressingType(Aws::String&& value) { SetAddressingType(std::move(value)); return *this;}
183 
187  inline LaunchSpecification& WithAddressingType(const char* value) { SetAddressingType(value); return *this;}
188 
189 
193  inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
194 
198  inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
199 
203  inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
204 
208  inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
209 
213  inline LaunchSpecification& WithBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { SetBlockDeviceMappings(value); return *this;}
214 
218  inline LaunchSpecification& WithBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { SetBlockDeviceMappings(std::move(value)); return *this;}
219 
223  inline LaunchSpecification& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
224 
228  inline LaunchSpecification& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
229 
230 
238  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
239 
247  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
248 
256  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
257 
265  inline LaunchSpecification& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
266 
267 
271  inline const IamInstanceProfileSpecification& GetIamInstanceProfile() const{ return m_iamInstanceProfile; }
272 
276  inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; }
277 
281  inline void SetIamInstanceProfile(const IamInstanceProfileSpecification& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; }
282 
286  inline void SetIamInstanceProfile(IamInstanceProfileSpecification&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); }
287 
291  inline LaunchSpecification& WithIamInstanceProfile(const IamInstanceProfileSpecification& value) { SetIamInstanceProfile(value); return *this;}
292 
296  inline LaunchSpecification& WithIamInstanceProfile(IamInstanceProfileSpecification&& value) { SetIamInstanceProfile(std::move(value)); return *this;}
297 
298 
302  inline const Aws::String& GetImageId() const{ return m_imageId; }
303 
307  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
308 
312  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
313 
317  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
318 
322  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
323 
327  inline LaunchSpecification& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
328 
332  inline LaunchSpecification& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
333 
337  inline LaunchSpecification& WithImageId(const char* value) { SetImageId(value); return *this;}
338 
339 
343  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
344 
348  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
349 
353  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
354 
358  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
359 
363  inline LaunchSpecification& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
364 
368  inline LaunchSpecification& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
369 
370 
374  inline const Aws::String& GetKernelId() const{ return m_kernelId; }
375 
379  inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; }
380 
384  inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
385 
389  inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); }
390 
394  inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); }
395 
399  inline LaunchSpecification& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;}
400 
404  inline LaunchSpecification& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;}
405 
409  inline LaunchSpecification& WithKernelId(const char* value) { SetKernelId(value); return *this;}
410 
411 
415  inline const Aws::String& GetKeyName() const{ return m_keyName; }
416 
420  inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
421 
425  inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
426 
430  inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
431 
435  inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
436 
440  inline LaunchSpecification& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
441 
445  inline LaunchSpecification& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
446 
450  inline LaunchSpecification& WithKeyName(const char* value) { SetKeyName(value); return *this;}
451 
452 
457  inline const Aws::Vector<InstanceNetworkInterfaceSpecification>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
458 
463  inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
464 
469  inline void SetNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
470 
475  inline void SetNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
476 
481  inline LaunchSpecification& WithNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { SetNetworkInterfaces(value); return *this;}
482 
487  inline LaunchSpecification& WithNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
488 
493  inline LaunchSpecification& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
494 
499  inline LaunchSpecification& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
500 
501 
505  inline const SpotPlacement& GetPlacement() const{ return m_placement; }
506 
510  inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
511 
515  inline void SetPlacement(const SpotPlacement& value) { m_placementHasBeenSet = true; m_placement = value; }
516 
520  inline void SetPlacement(SpotPlacement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
521 
525  inline LaunchSpecification& WithPlacement(const SpotPlacement& value) { SetPlacement(value); return *this;}
526 
530  inline LaunchSpecification& WithPlacement(SpotPlacement&& value) { SetPlacement(std::move(value)); return *this;}
531 
532 
536  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
537 
541  inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; }
542 
546  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
547 
551  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); }
552 
556  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
557 
561  inline LaunchSpecification& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
562 
566  inline LaunchSpecification& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;}
567 
571  inline LaunchSpecification& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
572 
573 
577  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
578 
582  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
583 
587  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
588 
592  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
593 
597  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
598 
602  inline LaunchSpecification& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
603 
607  inline LaunchSpecification& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
608 
612  inline LaunchSpecification& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
613 
614 
615 
616  inline const RunInstancesMonitoringEnabled& GetMonitoring() const{ return m_monitoring; }
617 
618 
619  inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
620 
621 
622  inline void SetMonitoring(const RunInstancesMonitoringEnabled& value) { m_monitoringHasBeenSet = true; m_monitoring = value; }
623 
624 
625  inline void SetMonitoring(RunInstancesMonitoringEnabled&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); }
626 
627 
628  inline LaunchSpecification& WithMonitoring(const RunInstancesMonitoringEnabled& value) { SetMonitoring(value); return *this;}
629 
630 
631  inline LaunchSpecification& WithMonitoring(RunInstancesMonitoringEnabled&& value) { SetMonitoring(std::move(value)); return *this;}
632 
633  private:
634 
635  Aws::String m_userData;
636  bool m_userDataHasBeenSet;
637 
638  Aws::Vector<GroupIdentifier> m_securityGroups;
639  bool m_securityGroupsHasBeenSet;
640 
641  Aws::String m_addressingType;
642  bool m_addressingTypeHasBeenSet;
643 
644  Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
645  bool m_blockDeviceMappingsHasBeenSet;
646 
647  bool m_ebsOptimized;
648  bool m_ebsOptimizedHasBeenSet;
649 
650  IamInstanceProfileSpecification m_iamInstanceProfile;
651  bool m_iamInstanceProfileHasBeenSet;
652 
653  Aws::String m_imageId;
654  bool m_imageIdHasBeenSet;
655 
656  InstanceType m_instanceType;
657  bool m_instanceTypeHasBeenSet;
658 
659  Aws::String m_kernelId;
660  bool m_kernelIdHasBeenSet;
661 
662  Aws::String m_keyName;
663  bool m_keyNameHasBeenSet;
664 
666  bool m_networkInterfacesHasBeenSet;
667 
668  SpotPlacement m_placement;
669  bool m_placementHasBeenSet;
670 
671  Aws::String m_ramdiskId;
672  bool m_ramdiskIdHasBeenSet;
673 
674  Aws::String m_subnetId;
675  bool m_subnetIdHasBeenSet;
676 
677  RunInstancesMonitoringEnabled m_monitoring;
678  bool m_monitoringHasBeenSet;
679  };
680 
681 } // namespace Model
682 } // namespace EC2
683 } // namespace Aws
Aws::EC2::Model::LaunchSpecification::SetImageId
void SetImageId(Aws::String &&value)
Definition: LaunchSpecification.h:317
Aws::EC2::Model::LaunchSpecification::WithImageId
LaunchSpecification & WithImageId(const char *value)
Definition: LaunchSpecification.h:337
Aws::EC2::Model::LaunchSpecification::GetRamdiskId
const Aws::String & GetRamdiskId() const
Definition: LaunchSpecification.h:536
Aws::EC2::Model::LaunchSpecification::LaunchSpecification
LaunchSpecification()
Aws::EC2::Model::LaunchSpecification::WithKeyName
LaunchSpecification & WithKeyName(const Aws::String &value)
Definition: LaunchSpecification.h:440
Aws::EC2::Model::LaunchSpecification::SetNetworkInterfaces
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: LaunchSpecification.h:475
Aws::EC2::Model::LaunchSpecification::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: LaunchSpecification.h:104
InstanceNetworkInterfaceSpecification.h
Aws::EC2::Model::LaunchSpecification::GetIamInstanceProfile
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
Definition: LaunchSpecification.h:271
Aws::EC2::Model::LaunchSpecification::SetKeyName
void SetKeyName(const char *value)
Definition: LaunchSpecification.h:435
Aws::EC2::Model::LaunchSpecification::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: LaunchSpecification.h:111
Aws::EC2::Model::LaunchSpecification::WithInstanceType
LaunchSpecification & WithInstanceType(InstanceType &&value)
Definition: LaunchSpecification.h:368
Aws::EC2::Model::LaunchSpecification::WithImageId
LaunchSpecification & WithImageId(Aws::String &&value)
Definition: LaunchSpecification.h:332
Aws::EC2::Model::LaunchSpecification::WithKernelId
LaunchSpecification & WithKernelId(const Aws::String &value)
Definition: LaunchSpecification.h:399
Aws::EC2::Model::LaunchSpecification::SetMonitoring
void SetMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: LaunchSpecification.h:625
Aws::EC2::Model::LaunchSpecification::WithSubnetId
LaunchSpecification & WithSubnetId(Aws::String &&value)
Definition: LaunchSpecification.h:607
BlockDeviceMapping.h
Aws::EC2::Model::LaunchSpecification::RamdiskIdHasBeenSet
bool RamdiskIdHasBeenSet() const
Definition: LaunchSpecification.h:541
Aws::EC2::Model::LaunchSpecification::WithKernelId
LaunchSpecification & WithKernelId(const char *value)
Definition: LaunchSpecification.h:409
Aws::EC2::Model::LaunchSpecification::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::LaunchSpecification::WithRamdiskId
LaunchSpecification & WithRamdiskId(const char *value)
Definition: LaunchSpecification.h:571
Aws::EC2::Model::LaunchSpecification::GetImageId
const Aws::String & GetImageId() const
Definition: LaunchSpecification.h:302
Aws::EC2::Model::LaunchSpecification::GetAddressingType
const Aws::String & GetAddressingType() const
Definition: LaunchSpecification.h:152
Aws::EC2::Model::LaunchSpecification::GetKeyName
const Aws::String & GetKeyName() const
Definition: LaunchSpecification.h:415
SpotPlacement.h
Aws::EC2::Model::LaunchSpecification::SetBlockDeviceMappings
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: LaunchSpecification.h:208
Aws::EC2::Model::LaunchSpecification::LaunchSpecification
LaunchSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
GroupIdentifier.h
Aws::EC2::Model::LaunchSpecification::SetPlacement
void SetPlacement(SpotPlacement &&value)
Definition: LaunchSpecification.h:520
Aws::EC2::Model::LaunchSpecification::WithAddressingType
LaunchSpecification & WithAddressingType(Aws::String &&value)
Definition: LaunchSpecification.h:182
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::LaunchSpecification::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: LaunchSpecification.h:348
Aws::EC2::Model::LaunchSpecification::WithRamdiskId
LaunchSpecification & WithRamdiskId(const Aws::String &value)
Definition: LaunchSpecification.h:561
Aws::EC2::Model::LaunchSpecification::SetIamInstanceProfile
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: LaunchSpecification.h:281
Aws::EC2::Model::LaunchSpecification::AddBlockDeviceMappings
LaunchSpecification & AddBlockDeviceMappings(const BlockDeviceMapping &value)
Definition: LaunchSpecification.h:223
Aws::EC2::Model::LaunchSpecification::WithBlockDeviceMappings
LaunchSpecification & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: LaunchSpecification.h:213
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::LaunchSpecification::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: LaunchSpecification.h:592
AWSStreamFwd.h
Aws::EC2::Model::LaunchSpecification::SetKernelId
void SetKernelId(const Aws::String &value)
Definition: LaunchSpecification.h:384
Aws::EC2::Model::LaunchSpecification::GetMonitoring
const RunInstancesMonitoringEnabled & GetMonitoring() const
Definition: LaunchSpecification.h:616
Aws::EC2::Model::LaunchSpecification::SetRamdiskId
void SetRamdiskId(Aws::String &&value)
Definition: LaunchSpecification.h:551
Aws::EC2::Model::InstanceNetworkInterfaceSpecification
Definition: InstanceNetworkInterfaceSpecification.h:37
Aws::EC2::Model::LaunchSpecification::SetAddressingType
void SetAddressingType(const Aws::String &value)
Definition: LaunchSpecification.h:162
AWSVector.h
Aws::EC2::Model::LaunchSpecification::operator=
LaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LaunchSpecification::WithInstanceType
LaunchSpecification & WithInstanceType(const InstanceType &value)
Definition: LaunchSpecification.h:363
Aws::EC2::Model::LaunchSpecification::AddressingTypeHasBeenSet
bool AddressingTypeHasBeenSet() const
Definition: LaunchSpecification.h:157
Aws::EC2::Model::LaunchSpecification::WithKernelId
LaunchSpecification & WithKernelId(Aws::String &&value)
Definition: LaunchSpecification.h:404
Aws::EC2::Model::LaunchSpecification::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::LaunchSpecification::WithRamdiskId
LaunchSpecification & WithRamdiskId(Aws::String &&value)
Definition: LaunchSpecification.h:566
Aws::EC2::Model::LaunchSpecification::WithSecurityGroups
LaunchSpecification & WithSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: LaunchSpecification.h:132
Aws::EC2::Model::LaunchSpecification::WithPlacement
LaunchSpecification & WithPlacement(const SpotPlacement &value)
Definition: LaunchSpecification.h:525
Aws::EC2::Model::LaunchSpecification::WithUserData
LaunchSpecification & WithUserData(const char *value)
Definition: LaunchSpecification.h:89
Aws::EC2::Model::LaunchSpecification::GetBlockDeviceMappings
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
Definition: LaunchSpecification.h:193
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::LaunchSpecification::WithKeyName
LaunchSpecification & WithKeyName(Aws::String &&value)
Definition: LaunchSpecification.h:445
Aws::EC2::Model::LaunchSpecification::SetNetworkInterfaces
void SetNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: LaunchSpecification.h:469
Aws::EC2::Model::LaunchSpecification::WithIamInstanceProfile
LaunchSpecification & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: LaunchSpecification.h:291
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::LaunchSpecification::SetPlacement
void SetPlacement(const SpotPlacement &value)
Definition: LaunchSpecification.h:515
Aws::EC2::Model::LaunchSpecification::PlacementHasBeenSet
bool PlacementHasBeenSet() const
Definition: LaunchSpecification.h:510
Aws::EC2::Model::LaunchSpecification::AddNetworkInterfaces
LaunchSpecification & AddNetworkInterfaces(InstanceNetworkInterfaceSpecification &&value)
Definition: LaunchSpecification.h:499
Aws::EC2::Model::LaunchSpecification::MonitoringHasBeenSet
bool MonitoringHasBeenSet() const
Definition: LaunchSpecification.h:619
Aws::EC2::Model::LaunchSpecification::SetKernelId
void SetKernelId(const char *value)
Definition: LaunchSpecification.h:394
Aws::EC2::Model::LaunchSpecification::GetKernelId
const Aws::String & GetKernelId() const
Definition: LaunchSpecification.h:374
IamInstanceProfileSpecification.h
Aws::EC2::Model::LaunchSpecification::SetUserData
void SetUserData(const char *value)
Definition: LaunchSpecification.h:74
Aws::EC2::Model::LaunchSpecification::WithMonitoring
LaunchSpecification & WithMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: LaunchSpecification.h:631
Aws::EC2::Model::LaunchSpecification::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: LaunchSpecification.h:587
Aws::EC2::Model::LaunchSpecification::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: LaunchSpecification.h:353
Aws::EC2::Model::RunInstancesMonitoringEnabled
Definition: RunInstancesMonitoringEnabled.h:30
Aws::EC2::Model::LaunchSpecification::WithIamInstanceProfile
LaunchSpecification & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: LaunchSpecification.h:296
Aws::EC2::Model::LaunchSpecification::WithUserData
LaunchSpecification & WithUserData(Aws::String &&value)
Definition: LaunchSpecification.h:84
AWSString.h
Aws::EC2::Model::LaunchSpecification::AddSecurityGroups
LaunchSpecification & AddSecurityGroups(const GroupIdentifier &value)
Definition: LaunchSpecification.h:139
Aws::EC2::Model::LaunchSpecification::IamInstanceProfileHasBeenSet
bool IamInstanceProfileHasBeenSet() const
Definition: LaunchSpecification.h:276
Aws::EC2::Model::LaunchSpecification::KernelIdHasBeenSet
bool KernelIdHasBeenSet() const
Definition: LaunchSpecification.h:379
Aws::EC2::Model::LaunchSpecification::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: LaunchSpecification.h:343
Aws::EC2::Model::GroupIdentifier
Definition: GroupIdentifier.h:32
Aws::EC2::Model::LaunchSpecification::SetImageId
void SetImageId(const Aws::String &value)
Definition: LaunchSpecification.h:312
Aws::EC2::Model::LaunchSpecification::WithBlockDeviceMappings
LaunchSpecification & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: LaunchSpecification.h:218
Aws::EC2::Model::LaunchSpecification::BlockDeviceMappingsHasBeenSet
bool BlockDeviceMappingsHasBeenSet() const
Definition: LaunchSpecification.h:198
Aws::EC2::Model::LaunchSpecification::AddBlockDeviceMappings
LaunchSpecification & AddBlockDeviceMappings(BlockDeviceMapping &&value)
Definition: LaunchSpecification.h:228
Aws::EC2::Model::LaunchSpecification::WithSubnetId
LaunchSpecification & WithSubnetId(const char *value)
Definition: LaunchSpecification.h:612
Aws::EC2::Model::LaunchSpecification::SetSubnetId
void SetSubnetId(const char *value)
Definition: LaunchSpecification.h:597
Aws::EC2::Model::LaunchSpecification::AddSecurityGroups
LaunchSpecification & AddSecurityGroups(GroupIdentifier &&value)
Definition: LaunchSpecification.h:146
Aws::EC2::Model::LaunchSpecification::SetAddressingType
void SetAddressingType(const char *value)
Definition: LaunchSpecification.h:172
Aws::EC2::Model::LaunchSpecification::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: LaunchSpecification.h:59
Aws::EC2::Model::LaunchSpecification::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: LaunchSpecification.h:307
Aws::EC2::Model::LaunchSpecification::WithUserData
LaunchSpecification & WithUserData(const Aws::String &value)
Definition: LaunchSpecification.h:79
Aws::EC2::Model::LaunchSpecification::WithImageId
LaunchSpecification & WithImageId(const Aws::String &value)
Definition: LaunchSpecification.h:327
Aws::EC2::Model::SpotPlacement
Definition: SpotPlacement.h:33
Aws::EC2::Model::LaunchSpecification::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: LaunchSpecification.h:577
InstanceType.h
Aws::EC2::Model::LaunchSpecification::WithSecurityGroups
LaunchSpecification & WithSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: LaunchSpecification.h:125
Aws::EC2::Model::BlockDeviceMapping
Definition: BlockDeviceMapping.h:34
Aws::EC2::Model::LaunchSpecification::SetRamdiskId
void SetRamdiskId(const char *value)
Definition: LaunchSpecification.h:556
Aws::EC2::Model::LaunchSpecification::WithPlacement
LaunchSpecification & WithPlacement(SpotPlacement &&value)
Definition: LaunchSpecification.h:530
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::LaunchSpecification::WithNetworkInterfaces
LaunchSpecification & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: LaunchSpecification.h:487
Aws::EC2::Model::LaunchSpecification::GetSecurityGroups
const Aws::Vector< GroupIdentifier > & GetSecurityGroups() const
Definition: LaunchSpecification.h:97
Aws::EC2::Model::LaunchSpecification::SetAddressingType
void SetAddressingType(Aws::String &&value)
Definition: LaunchSpecification.h:167
Aws::EC2::Model::LaunchSpecification::SetIamInstanceProfile
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: LaunchSpecification.h:286
Aws::EC2::Model::LaunchSpecification::SetKeyName
void SetKeyName(const Aws::String &value)
Definition: LaunchSpecification.h:425
Aws::EC2::Model::LaunchSpecification::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: LaunchSpecification.h:118
Aws::EC2::Model::LaunchSpecification::WithAddressingType
LaunchSpecification & WithAddressingType(const char *value)
Definition: LaunchSpecification.h:187
Aws::EC2::Model::LaunchSpecification::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: LaunchSpecification.h:247
Aws::EC2::Model::LaunchSpecification::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: LaunchSpecification.h:582
Aws::EC2::Model::IamInstanceProfileSpecification
Definition: IamInstanceProfileSpecification.h:32
Aws::EC2::Model::LaunchSpecification::WithNetworkInterfaces
LaunchSpecification & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: LaunchSpecification.h:481
Aws::EC2::Model::LaunchSpecification::SetKernelId
void SetKernelId(Aws::String &&value)
Definition: LaunchSpecification.h:389
Aws::EC2::Model::LaunchSpecification::SetUserData
void SetUserData(Aws::String &&value)
Definition: LaunchSpecification.h:69
Aws::EC2::Model::LaunchSpecification::SetKeyName
void SetKeyName(Aws::String &&value)
Definition: LaunchSpecification.h:430
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::LaunchSpecification::GetPlacement
const SpotPlacement & GetPlacement() const
Definition: LaunchSpecification.h:505
Aws::EC2::Model::LaunchSpecification::AddNetworkInterfaces
LaunchSpecification & AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification &value)
Definition: LaunchSpecification.h:493
Aws::EC2::Model::LaunchSpecification::WithSubnetId
LaunchSpecification & WithSubnetId(const Aws::String &value)
Definition: LaunchSpecification.h:602
Aws::EC2::Model::LaunchSpecification::KeyNameHasBeenSet
bool KeyNameHasBeenSet() const
Definition: LaunchSpecification.h:420
Aws::EC2::Model::LaunchSpecification::WithEbsOptimized
LaunchSpecification & WithEbsOptimized(bool value)
Definition: LaunchSpecification.h:265
Aws::EC2::Model::LaunchSpecification::GetUserData
const Aws::String & GetUserData() const
Definition: LaunchSpecification.h:54
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::LaunchSpecification::SetImageId
void SetImageId(const char *value)
Definition: LaunchSpecification.h:322
Aws::EC2::Model::LaunchSpecification::SetUserData
void SetUserData(const Aws::String &value)
Definition: LaunchSpecification.h:64
Aws::EC2::Model::LaunchSpecification::WithAddressingType
LaunchSpecification & WithAddressingType(const Aws::String &value)
Definition: LaunchSpecification.h:177
Aws::EC2::Model::LaunchSpecification::NetworkInterfacesHasBeenSet
bool NetworkInterfacesHasBeenSet() const
Definition: LaunchSpecification.h:463
Aws::EC2::Model::LaunchSpecification::SetMonitoring
void SetMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: LaunchSpecification.h:622
Aws::EC2::Model::LaunchSpecification::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: LaunchSpecification.h:256
Aws::EC2::Model::LaunchSpecification::SetBlockDeviceMappings
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: LaunchSpecification.h:203
Aws::EC2::Model::LaunchSpecification::GetEbsOptimized
bool GetEbsOptimized() const
Definition: LaunchSpecification.h:238
EC2_EXPORTS.h
Aws::EC2::Model::LaunchSpecification::WithMonitoring
LaunchSpecification & WithMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: LaunchSpecification.h:628
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::LaunchSpecification::SetRamdiskId
void SetRamdiskId(const Aws::String &value)
Definition: LaunchSpecification.h:546
Aws::EC2::Model::LaunchSpecification::WithKeyName
LaunchSpecification & WithKeyName(const char *value)
Definition: LaunchSpecification.h:450
Aws::EC2::Model::LaunchSpecification::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: LaunchSpecification.h:358
Aws::EC2::Model::LaunchSpecification
Definition: LaunchSpecification.h:41
RunInstancesMonitoringEnabled.h
Aws::EC2::Model::LaunchSpecification::GetNetworkInterfaces
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
Definition: LaunchSpecification.h:457