AWS SDK for C++  1.9.70
AWS SDK for C++
RequestSpotLaunchSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlNode;
26 } // namespace Xml
27 } // namespace Utils
28 namespace EC2
29 {
30 namespace Model
31 {
32 
40  {
41  public:
45 
46  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47  void OutputToStream(Aws::OStream& oStream, const char* location) const;
48 
49 
53  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
54 
58  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
59 
63  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
64 
68  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
69 
73  inline RequestSpotLaunchSpecification& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
74 
78  inline RequestSpotLaunchSpecification& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
79 
83  inline RequestSpotLaunchSpecification& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
84 
88  inline RequestSpotLaunchSpecification& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
89 
93  inline RequestSpotLaunchSpecification& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
94 
95 
101  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
102 
108  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
109 
115  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
116 
122  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
123 
129  inline RequestSpotLaunchSpecification& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
130 
136  inline RequestSpotLaunchSpecification& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
137 
143  inline RequestSpotLaunchSpecification& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
144 
150  inline RequestSpotLaunchSpecification& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
151 
157  inline RequestSpotLaunchSpecification& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
158 
159 
163  inline const Aws::String& GetAddressingType() const{ return m_addressingType; }
164 
168  inline bool AddressingTypeHasBeenSet() const { return m_addressingTypeHasBeenSet; }
169 
173  inline void SetAddressingType(const Aws::String& value) { m_addressingTypeHasBeenSet = true; m_addressingType = value; }
174 
178  inline void SetAddressingType(Aws::String&& value) { m_addressingTypeHasBeenSet = true; m_addressingType = std::move(value); }
179 
183  inline void SetAddressingType(const char* value) { m_addressingTypeHasBeenSet = true; m_addressingType.assign(value); }
184 
188  inline RequestSpotLaunchSpecification& WithAddressingType(const Aws::String& value) { SetAddressingType(value); return *this;}
189 
193  inline RequestSpotLaunchSpecification& WithAddressingType(Aws::String&& value) { SetAddressingType(std::move(value)); return *this;}
194 
198  inline RequestSpotLaunchSpecification& WithAddressingType(const char* value) { SetAddressingType(value); return *this;}
199 
200 
207  inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
208 
215  inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
216 
223  inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
224 
231  inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
232 
239  inline RequestSpotLaunchSpecification& WithBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { SetBlockDeviceMappings(value); return *this;}
240 
247  inline RequestSpotLaunchSpecification& WithBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { SetBlockDeviceMappings(std::move(value)); return *this;}
248 
255  inline RequestSpotLaunchSpecification& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
256 
263  inline RequestSpotLaunchSpecification& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
264 
265 
273  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
274 
282  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
283 
291  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
292 
300  inline RequestSpotLaunchSpecification& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
301 
302 
306  inline const IamInstanceProfileSpecification& GetIamInstanceProfile() const{ return m_iamInstanceProfile; }
307 
311  inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; }
312 
316  inline void SetIamInstanceProfile(const IamInstanceProfileSpecification& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; }
317 
321  inline void SetIamInstanceProfile(IamInstanceProfileSpecification&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); }
322 
326  inline RequestSpotLaunchSpecification& WithIamInstanceProfile(const IamInstanceProfileSpecification& value) { SetIamInstanceProfile(value); return *this;}
327 
331  inline RequestSpotLaunchSpecification& WithIamInstanceProfile(IamInstanceProfileSpecification&& value) { SetIamInstanceProfile(std::move(value)); return *this;}
332 
333 
337  inline const Aws::String& GetImageId() const{ return m_imageId; }
338 
342  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
343 
347  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
348 
352  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
353 
357  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
358 
362  inline RequestSpotLaunchSpecification& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
363 
367  inline RequestSpotLaunchSpecification& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
368 
372  inline RequestSpotLaunchSpecification& WithImageId(const char* value) { SetImageId(value); return *this;}
373 
374 
378  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
379 
383  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
384 
388  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
389 
393  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
394 
398  inline RequestSpotLaunchSpecification& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
399 
403  inline RequestSpotLaunchSpecification& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
404 
405 
409  inline const Aws::String& GetKernelId() const{ return m_kernelId; }
410 
414  inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; }
415 
419  inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
420 
424  inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); }
425 
429  inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); }
430 
434  inline RequestSpotLaunchSpecification& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;}
435 
439  inline RequestSpotLaunchSpecification& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;}
440 
444  inline RequestSpotLaunchSpecification& WithKernelId(const char* value) { SetKernelId(value); return *this;}
445 
446 
450  inline const Aws::String& GetKeyName() const{ return m_keyName; }
451 
455  inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
456 
460  inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
461 
465  inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
466 
470  inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
471 
475  inline RequestSpotLaunchSpecification& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
476 
480  inline RequestSpotLaunchSpecification& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
481 
485  inline RequestSpotLaunchSpecification& WithKeyName(const char* value) { SetKeyName(value); return *this;}
486 
487 
492  inline const RunInstancesMonitoringEnabled& GetMonitoring() const{ return m_monitoring; }
493 
498  inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
499 
504  inline void SetMonitoring(const RunInstancesMonitoringEnabled& value) { m_monitoringHasBeenSet = true; m_monitoring = value; }
505 
510  inline void SetMonitoring(RunInstancesMonitoringEnabled&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); }
511 
516  inline RequestSpotLaunchSpecification& WithMonitoring(const RunInstancesMonitoringEnabled& value) { SetMonitoring(value); return *this;}
517 
522  inline RequestSpotLaunchSpecification& WithMonitoring(RunInstancesMonitoringEnabled&& value) { SetMonitoring(std::move(value)); return *this;}
523 
524 
529  inline const Aws::Vector<InstanceNetworkInterfaceSpecification>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
530 
535  inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
536 
541  inline void SetNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
542 
547  inline void SetNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
548 
553  inline RequestSpotLaunchSpecification& WithNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { SetNetworkInterfaces(value); return *this;}
554 
559  inline RequestSpotLaunchSpecification& WithNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
560 
565  inline RequestSpotLaunchSpecification& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
566 
571  inline RequestSpotLaunchSpecification& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
572 
573 
577  inline const SpotPlacement& GetPlacement() const{ return m_placement; }
578 
582  inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
583 
587  inline void SetPlacement(const SpotPlacement& value) { m_placementHasBeenSet = true; m_placement = value; }
588 
592  inline void SetPlacement(SpotPlacement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
593 
597  inline RequestSpotLaunchSpecification& WithPlacement(const SpotPlacement& value) { SetPlacement(value); return *this;}
598 
602  inline RequestSpotLaunchSpecification& WithPlacement(SpotPlacement&& value) { SetPlacement(std::move(value)); return *this;}
603 
604 
608  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
609 
613  inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; }
614 
618  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
619 
623  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); }
624 
628  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
629 
633  inline RequestSpotLaunchSpecification& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
634 
638  inline RequestSpotLaunchSpecification& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;}
639 
643  inline RequestSpotLaunchSpecification& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
644 
645 
649  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
650 
654  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
655 
659  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
660 
664  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
665 
669  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
670 
674  inline RequestSpotLaunchSpecification& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
675 
679  inline RequestSpotLaunchSpecification& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
680 
684  inline RequestSpotLaunchSpecification& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
685 
686 
691  inline const Aws::String& GetUserData() const{ return m_userData; }
692 
697  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
698 
703  inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; }
704 
709  inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
710 
715  inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); }
716 
721  inline RequestSpotLaunchSpecification& WithUserData(const Aws::String& value) { SetUserData(value); return *this;}
722 
727  inline RequestSpotLaunchSpecification& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;}
728 
733  inline RequestSpotLaunchSpecification& WithUserData(const char* value) { SetUserData(value); return *this;}
734 
735  private:
736 
737  Aws::Vector<Aws::String> m_securityGroupIds;
738  bool m_securityGroupIdsHasBeenSet;
739 
740  Aws::Vector<Aws::String> m_securityGroups;
741  bool m_securityGroupsHasBeenSet;
742 
743  Aws::String m_addressingType;
744  bool m_addressingTypeHasBeenSet;
745 
746  Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
747  bool m_blockDeviceMappingsHasBeenSet;
748 
749  bool m_ebsOptimized;
750  bool m_ebsOptimizedHasBeenSet;
751 
752  IamInstanceProfileSpecification m_iamInstanceProfile;
753  bool m_iamInstanceProfileHasBeenSet;
754 
755  Aws::String m_imageId;
756  bool m_imageIdHasBeenSet;
757 
758  InstanceType m_instanceType;
759  bool m_instanceTypeHasBeenSet;
760 
761  Aws::String m_kernelId;
762  bool m_kernelIdHasBeenSet;
763 
764  Aws::String m_keyName;
765  bool m_keyNameHasBeenSet;
766 
767  RunInstancesMonitoringEnabled m_monitoring;
768  bool m_monitoringHasBeenSet;
769 
771  bool m_networkInterfacesHasBeenSet;
772 
773  SpotPlacement m_placement;
774  bool m_placementHasBeenSet;
775 
776  Aws::String m_ramdiskId;
777  bool m_ramdiskIdHasBeenSet;
778 
779  Aws::String m_subnetId;
780  bool m_subnetIdHasBeenSet;
781 
782  Aws::String m_userData;
783  bool m_userDataHasBeenSet;
784  };
785 
786 } // namespace Model
787 } // namespace EC2
788 } // namespace Aws
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKeyName
RequestSpotLaunchSpecification & WithKeyName(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:475
Aws::EC2::Model::RequestSpotLaunchSpecification::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:383
Aws::EC2::Model::RequestSpotLaunchSpecification::RequestSpotLaunchSpecification
RequestSpotLaunchSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroups
RequestSpotLaunchSpecification & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: RequestSpotLaunchSpecification.h:129
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:659
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSubnetId
RequestSpotLaunchSpecification & WithSubnetId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:674
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKernelId
RequestSpotLaunchSpecification & WithKernelId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:434
Aws::EC2::Model::RequestSpotLaunchSpecification::GetBlockDeviceMappings
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
Definition: RequestSpotLaunchSpecification.h:207
Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType
RequestSpotLaunchSpecification & WithAddressingType(const char *value)
Definition: RequestSpotLaunchSpecification.h:198
Aws::EC2::Model::RequestSpotLaunchSpecification::WithMonitoring
RequestSpotLaunchSpecification & WithMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: RequestSpotLaunchSpecification.h:522
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds
RequestSpotLaunchSpecification & AddSecurityGroupIds(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:88
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: RequestSpotLaunchSpecification.h:115
Aws::EC2::Model::RequestSpotLaunchSpecification::GetPlacement
const SpotPlacement & GetPlacement() const
Definition: RequestSpotLaunchSpecification.h:577
Aws::EC2::Model::RequestSpotLaunchSpecification::AddBlockDeviceMappings
RequestSpotLaunchSpecification & AddBlockDeviceMappings(const BlockDeviceMapping &value)
Definition: RequestSpotLaunchSpecification.h:255
Aws::EC2::Model::RequestSpotLaunchSpecification::SetBlockDeviceMappings
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: RequestSpotLaunchSpecification.h:231
Aws::EC2::Model::RequestSpotLaunchSpecification::WithIamInstanceProfile
RequestSpotLaunchSpecification & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: RequestSpotLaunchSpecification.h:331
InstanceNetworkInterfaceSpecification.h
Aws::EC2::Model::RequestSpotLaunchSpecification::SetImageId
void SetImageId(const char *value)
Definition: RequestSpotLaunchSpecification.h:357
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroups
RequestSpotLaunchSpecification & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RequestSpotLaunchSpecification.h:136
Aws::EC2::Model::RequestSpotLaunchSpecification::NetworkInterfacesHasBeenSet
bool NetworkInterfacesHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:535
Aws::EC2::Model::RequestSpotLaunchSpecification::WithInstanceType
RequestSpotLaunchSpecification & WithInstanceType(const InstanceType &value)
Definition: RequestSpotLaunchSpecification.h:398
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups
RequestSpotLaunchSpecification & AddSecurityGroups(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:150
Aws::EC2::Model::RequestSpotLaunchSpecification::SetImageId
void SetImageId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:352
Aws::EC2::Model::RequestSpotLaunchSpecification::SetPlacement
void SetPlacement(const SpotPlacement &value)
Definition: RequestSpotLaunchSpecification.h:587
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKeyName
RequestSpotLaunchSpecification & WithKeyName(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:480
BlockDeviceMapping.h
Aws::EC2::Model::RequestSpotLaunchSpecification::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: RequestSpotLaunchSpecification.h:291
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKeyName
void SetKeyName(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:460
Aws::EC2::Model::RequestSpotLaunchSpecification::GetAddressingType
const Aws::String & GetAddressingType() const
Definition: RequestSpotLaunchSpecification.h:163
Aws::EC2::Model::RequestSpotLaunchSpecification::WithEbsOptimized
RequestSpotLaunchSpecification & WithEbsOptimized(bool value)
Definition: RequestSpotLaunchSpecification.h:300
Aws::EC2::Model::RequestSpotLaunchSpecification
Definition: RequestSpotLaunchSpecification.h:40
SpotPlacement.h
Aws::EC2::Model::RequestSpotLaunchSpecification::GetKeyName
const Aws::String & GetKeyName() const
Definition: RequestSpotLaunchSpecification.h:450
Aws::EC2::Model::RequestSpotLaunchSpecification::WithRamdiskId
RequestSpotLaunchSpecification & WithRamdiskId(const char *value)
Definition: RequestSpotLaunchSpecification.h:643
Aws::EC2::Model::RequestSpotLaunchSpecification::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:654
Aws::EC2::Model::RequestSpotLaunchSpecification::RamdiskIdHasBeenSet
bool RamdiskIdHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:613
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::RequestSpotLaunchSpecification::WithImageId
RequestSpotLaunchSpecification & WithImageId(const char *value)
Definition: RequestSpotLaunchSpecification.h:372
Aws::EC2::Model::RequestSpotLaunchSpecification::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: RequestSpotLaunchSpecification.h:649
Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData
void SetUserData(const char *value)
Definition: RequestSpotLaunchSpecification.h:715
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroupIds
RequestSpotLaunchSpecification & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RequestSpotLaunchSpecification.h:78
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RequestSpotLaunchSpecification.h:122
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKeyName
RequestSpotLaunchSpecification & WithKeyName(const char *value)
Definition: RequestSpotLaunchSpecification.h:485
Aws::EC2::Model::RequestSpotLaunchSpecification::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:282
Aws::EC2::Model::RequestSpotLaunchSpecification::WithNetworkInterfaces
RequestSpotLaunchSpecification & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RequestSpotLaunchSpecification.h:559
AWSStreamFwd.h
Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType
RequestSpotLaunchSpecification & WithAddressingType(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:193
Aws::EC2::Model::RequestSpotLaunchSpecification::PlacementHasBeenSet
bool PlacementHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:582
Aws::EC2::Model::InstanceNetworkInterfaceSpecification
Definition: InstanceNetworkInterfaceSpecification.h:37
AWSVector.h
Aws::EC2::Model::RequestSpotLaunchSpecification::SetRamdiskId
void SetRamdiskId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:623
Aws::EC2::Model::RequestSpotLaunchSpecification::GetUserData
const Aws::String & GetUserData() const
Definition: RequestSpotLaunchSpecification.h:691
Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData
void SetUserData(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:703
Aws::EC2::Model::RequestSpotLaunchSpecification::WithMonitoring
RequestSpotLaunchSpecification & WithMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: RequestSpotLaunchSpecification.h:516
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKeyName
void SetKeyName(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:465
Aws::EC2::Model::RequestSpotLaunchSpecification::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::RequestSpotLaunchSpecification::AddBlockDeviceMappings
RequestSpotLaunchSpecification & AddBlockDeviceMappings(BlockDeviceMapping &&value)
Definition: RequestSpotLaunchSpecification.h:263
Aws::EC2::Model::RequestSpotLaunchSpecification::SetIamInstanceProfile
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RequestSpotLaunchSpecification.h:316
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::RequestSpotLaunchSpecification::WithPlacement
RequestSpotLaunchSpecification & WithPlacement(const SpotPlacement &value)
Definition: RequestSpotLaunchSpecification.h:597
Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData
void SetUserData(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:709
Aws::EC2::Model::RequestSpotLaunchSpecification::WithBlockDeviceMappings
RequestSpotLaunchSpecification & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: RequestSpotLaunchSpecification.h:239
Aws::EC2::Model::RequestSpotLaunchSpecification::AddNetworkInterfaces
RequestSpotLaunchSpecification & AddNetworkInterfaces(InstanceNetworkInterfaceSpecification &&value)
Definition: RequestSpotLaunchSpecification.h:571
Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData
RequestSpotLaunchSpecification & WithUserData(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:727
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKernelId
void SetKernelId(const char *value)
Definition: RequestSpotLaunchSpecification.h:429
Aws::EC2::Model::RequestSpotLaunchSpecification::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: RequestSpotLaunchSpecification.h:53
Aws::EC2::Model::RequestSpotLaunchSpecification::KeyNameHasBeenSet
bool KeyNameHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:455
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::RequestSpotLaunchSpecification::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:58
Aws::EC2::Model::RequestSpotLaunchSpecification::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:108
Aws::EC2::Model::RequestSpotLaunchSpecification::RequestSpotLaunchSpecification
RequestSpotLaunchSpecification()
Aws::EC2::Model::RequestSpotLaunchSpecification::WithImageId
RequestSpotLaunchSpecification & WithImageId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:367
Aws::EC2::Model::RequestSpotLaunchSpecification::WithInstanceType
RequestSpotLaunchSpecification & WithInstanceType(InstanceType &&value)
Definition: RequestSpotLaunchSpecification.h:403
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds
RequestSpotLaunchSpecification & AddSecurityGroupIds(const char *value)
Definition: RequestSpotLaunchSpecification.h:93
Aws::EC2::Model::RequestSpotLaunchSpecification::GetKernelId
const Aws::String & GetKernelId() const
Definition: RequestSpotLaunchSpecification.h:409
Aws::EC2::Model::RequestSpotLaunchSpecification::GetEbsOptimized
bool GetEbsOptimized() const
Definition: RequestSpotLaunchSpecification.h:273
Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType
void SetAddressingType(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:173
Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType
void SetAddressingType(const char *value)
Definition: RequestSpotLaunchSpecification.h:183
IamInstanceProfileSpecification.h
Aws::EC2::Model::RequestSpotLaunchSpecification::GetRamdiskId
const Aws::String & GetRamdiskId() const
Definition: RequestSpotLaunchSpecification.h:608
Aws::EC2::Model::RequestSpotLaunchSpecification::SetMonitoring
void SetMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: RequestSpotLaunchSpecification.h:510
Aws::EC2::Model::RequestSpotLaunchSpecification::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: RequestSpotLaunchSpecification.h:101
Aws::EC2::Model::RequestSpotLaunchSpecification::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: RequestSpotLaunchSpecification.h:388
Aws::EC2::Model::RequestSpotLaunchSpecification::SetRamdiskId
void SetRamdiskId(const char *value)
Definition: RequestSpotLaunchSpecification.h:628
Aws::EC2::Model::RequestSpotLaunchSpecification::SetImageId
void SetImageId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:347
Aws::EC2::Model::RequestSpotLaunchSpecification::WithNetworkInterfaces
RequestSpotLaunchSpecification & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: RequestSpotLaunchSpecification.h:553
Aws::EC2::Model::RequestSpotLaunchSpecification::WithRamdiskId
RequestSpotLaunchSpecification & WithRamdiskId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:633
Aws::EC2::Model::RequestSpotLaunchSpecification::IamInstanceProfileHasBeenSet
bool IamInstanceProfileHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:311
Aws::EC2::Model::RequestSpotLaunchSpecification::WithRamdiskId
RequestSpotLaunchSpecification & WithRamdiskId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:638
Aws::EC2::Model::RequestSpotLaunchSpecification::SetPlacement
void SetPlacement(SpotPlacement &&value)
Definition: RequestSpotLaunchSpecification.h:592
Aws::EC2::Model::RunInstancesMonitoringEnabled
Definition: RunInstancesMonitoringEnabled.h:30
Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData
RequestSpotLaunchSpecification & WithUserData(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:721
Aws::EC2::Model::RequestSpotLaunchSpecification::GetIamInstanceProfile
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
Definition: RequestSpotLaunchSpecification.h:306
AWSString.h
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: RequestSpotLaunchSpecification.h:63
Aws::EC2::Model::RequestSpotLaunchSpecification::AddNetworkInterfaces
RequestSpotLaunchSpecification & AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification &value)
Definition: RequestSpotLaunchSpecification.h:565
Aws::EC2::Model::RequestSpotLaunchSpecification::WithImageId
RequestSpotLaunchSpecification & WithImageId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:362
Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData
RequestSpotLaunchSpecification & WithUserData(const char *value)
Definition: RequestSpotLaunchSpecification.h:733
Aws::EC2::Model::RequestSpotLaunchSpecification::AddressingTypeHasBeenSet
bool AddressingTypeHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:168
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSubnetId
RequestSpotLaunchSpecification & WithSubnetId(const char *value)
Definition: RequestSpotLaunchSpecification.h:684
Aws::EC2::Model::RequestSpotLaunchSpecification::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:342
Aws::EC2::Model::RequestSpotLaunchSpecification::KernelIdHasBeenSet
bool KernelIdHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:414
Aws::EC2::Model::SpotPlacement
Definition: SpotPlacement.h:33
Aws::EC2::Model::RequestSpotLaunchSpecification::SetRamdiskId
void SetRamdiskId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:618
InstanceType.h
Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType
RequestSpotLaunchSpecification & WithAddressingType(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:188
Aws::EC2::Model::BlockDeviceMapping
Definition: BlockDeviceMapping.h:33
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKernelId
void SetKernelId(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:419
Aws::EC2::Model::RequestSpotLaunchSpecification::MonitoringHasBeenSet
bool MonitoringHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:498
Aws::EC2::Model::RequestSpotLaunchSpecification::SetBlockDeviceMappings
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: RequestSpotLaunchSpecification.h:223
Aws::EC2::Model::RequestSpotLaunchSpecification::GetImageId
const Aws::String & GetImageId() const
Definition: RequestSpotLaunchSpecification.h:337
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSubnetId
void SetSubnetId(const char *value)
Definition: RequestSpotLaunchSpecification.h:669
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKernelId
void SetKernelId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:424
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKernelId
RequestSpotLaunchSpecification & WithKernelId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:439
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds
RequestSpotLaunchSpecification & AddSecurityGroupIds(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:83
Aws::EC2::Model::RequestSpotLaunchSpecification::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: RequestSpotLaunchSpecification.h:378
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups
RequestSpotLaunchSpecification & AddSecurityGroups(const Aws::String &value)
Definition: RequestSpotLaunchSpecification.h:143
Aws::EC2::Model::IamInstanceProfileSpecification
Definition: IamInstanceProfileSpecification.h:32
Aws::EC2::Model::RequestSpotLaunchSpecification::GetMonitoring
const RunInstancesMonitoringEnabled & GetMonitoring() const
Definition: RequestSpotLaunchSpecification.h:492
Aws::EC2::Model::RequestSpotLaunchSpecification::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroupIds
RequestSpotLaunchSpecification & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: RequestSpotLaunchSpecification.h:73
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:664
Aws::EC2::Model::RequestSpotLaunchSpecification::SetNetworkInterfaces
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RequestSpotLaunchSpecification.h:547
Aws::EC2::Model::RequestSpotLaunchSpecification::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: RequestSpotLaunchSpecification.h:393
Aws::EC2::Model::RequestSpotLaunchSpecification::WithIamInstanceProfile
RequestSpotLaunchSpecification & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RequestSpotLaunchSpecification.h:326
Aws::EC2::Model::RequestSpotLaunchSpecification::WithSubnetId
RequestSpotLaunchSpecification & WithSubnetId(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:679
Aws::EC2::Model::RequestSpotLaunchSpecification::WithBlockDeviceMappings
RequestSpotLaunchSpecification & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: RequestSpotLaunchSpecification.h:247
Aws::EC2::Model::RequestSpotLaunchSpecification::GetNetworkInterfaces
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
Definition: RequestSpotLaunchSpecification.h:529
Aws::EC2::Model::RequestSpotLaunchSpecification::SetNetworkInterfaces
void SetNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: RequestSpotLaunchSpecification.h:541
EC2_EXPORTS.h
Aws::EC2::Model::RequestSpotLaunchSpecification::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:697
Aws::EC2::Model::RequestSpotLaunchSpecification::operator=
RequestSpotLaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::RequestSpotLaunchSpecification::WithPlacement
RequestSpotLaunchSpecification & WithPlacement(SpotPlacement &&value)
Definition: RequestSpotLaunchSpecification.h:602
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::RequestSpotLaunchSpecification::SetKeyName
void SetKeyName(const char *value)
Definition: RequestSpotLaunchSpecification.h:470
Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RequestSpotLaunchSpecification.h:68
Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType
void SetAddressingType(Aws::String &&value)
Definition: RequestSpotLaunchSpecification.h:178
RunInstancesMonitoringEnabled.h
Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups
RequestSpotLaunchSpecification & AddSecurityGroups(const char *value)
Definition: RequestSpotLaunchSpecification.h:157
Aws::EC2::Model::RequestSpotLaunchSpecification::WithKernelId
RequestSpotLaunchSpecification & WithKernelId(const char *value)
Definition: RequestSpotLaunchSpecification.h:444
Aws::EC2::Model::RequestSpotLaunchSpecification::SetIamInstanceProfile
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: RequestSpotLaunchSpecification.h:321
Aws::EC2::Model::RequestSpotLaunchSpecification::BlockDeviceMappingsHasBeenSet
bool BlockDeviceMappingsHasBeenSet() const
Definition: RequestSpotLaunchSpecification.h:215
Aws::EC2::Model::RequestSpotLaunchSpecification::SetMonitoring
void SetMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: RequestSpotLaunchSpecification.h:504