7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/IamInstanceProfileSpecification.h>
12#include <aws/ec2/model/InstanceType.h>
13#include <aws/ec2/model/SpotFleetMonitoring.h>
14#include <aws/ec2/model/SpotPlacement.h>
15#include <aws/ec2/model/InstanceRequirements.h>
16#include <aws/ec2/model/BlockDeviceMapping.h>
17#include <aws/ec2/model/InstanceNetworkInterfaceSpecification.h>
18#include <aws/ec2/model/SpotFleetTagSpecification.h>
19#include <aws/ec2/model/GroupIdentifier.h>
65 inline void SetAddressingType(
const char* value) { m_addressingTypeHasBeenSet =
true; m_addressingType.assign(value); }
99 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
123 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
149 inline void SetKernelId(
const char* value) { m_kernelIdHasBeenSet =
true; m_kernelId.assign(value); }
163 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
222 inline void SetRamdiskId(
const char* value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId.assign(value); }
241 inline void SetSpotPrice(
const char* value) { m_spotPriceHasBeenSet =
true; m_spotPrice.assign(value); }
259 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
274 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
296 inline void SetWeightedCapacity(
double value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity = value; }
347 bool m_addressingTypeHasBeenSet =
false;
350 bool m_blockDeviceMappingsHasBeenSet =
false;
353 bool m_ebsOptimizedHasBeenSet =
false;
356 bool m_iamInstanceProfileHasBeenSet =
false;
359 bool m_imageIdHasBeenSet =
false;
362 bool m_instanceTypeHasBeenSet =
false;
365 bool m_kernelIdHasBeenSet =
false;
368 bool m_keyNameHasBeenSet =
false;
371 bool m_monitoringHasBeenSet =
false;
374 bool m_networkInterfacesHasBeenSet =
false;
377 bool m_placementHasBeenSet =
false;
380 bool m_ramdiskIdHasBeenSet =
false;
383 bool m_spotPriceHasBeenSet =
false;
386 bool m_subnetIdHasBeenSet =
false;
389 bool m_userDataHasBeenSet =
false;
391 double m_weightedCapacity;
392 bool m_weightedCapacityHasBeenSet =
false;
395 bool m_tagSpecificationsHasBeenSet =
false;
398 bool m_instanceRequirementsHasBeenSet =
false;
401 bool m_securityGroupsHasBeenSet =
false;
SpotFleetLaunchSpecification & WithMonitoring(SpotFleetMonitoring &&value)
SpotFleetLaunchSpecification & AddBlockDeviceMappings(const BlockDeviceMapping &value)
void SetKeyName(Aws::String &&value)
bool SpotPriceHasBeenSet() const
void SetImageId(Aws::String &&value)
const Aws::String & GetSpotPrice() const
bool MonitoringHasBeenSet() const
SpotFleetLaunchSpecification & WithRamdiskId(const Aws::String &value)
void SetEbsOptimized(bool value)
SpotFleetLaunchSpecification & WithUserData(Aws::String &&value)
bool KeyNameHasBeenSet() const
void SetKernelId(const Aws::String &value)
SpotFleetLaunchSpecification & WithInstanceRequirements(const InstanceRequirements &value)
SpotFleetLaunchSpecification & WithImageId(const char *value)
void SetKeyName(const Aws::String &value)
bool AddressingTypeHasBeenSet() const
SpotFleetLaunchSpecification & AddNetworkInterfaces(InstanceNetworkInterfaceSpecification &&value)
SpotFleetLaunchSpecification & WithPlacement(SpotPlacement &&value)
const Aws::String & GetImageId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
SpotFleetLaunchSpecification & AddTagSpecifications(const SpotFleetTagSpecification &value)
void SetAddressingType(Aws::String &&value)
SpotFleetLaunchSpecification & WithRamdiskId(const char *value)
const Aws::String & GetUserData() const
SpotFleetLaunchSpecification & WithRamdiskId(Aws::String &&value)
SpotFleetLaunchSpecification & WithMonitoring(const SpotFleetMonitoring &value)
SpotFleetLaunchSpecification & WithInstanceRequirements(InstanceRequirements &&value)
SpotFleetLaunchSpecification & AddSecurityGroups(const GroupIdentifier &value)
void SetImageId(const Aws::String &value)
void SetTagSpecifications(Aws::Vector< SpotFleetTagSpecification > &&value)
void SetSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
bool IamInstanceProfileHasBeenSet() const
void SetSubnetId(const char *value)
SpotFleetLaunchSpecification & WithInstanceType(const InstanceType &value)
bool NetworkInterfacesHasBeenSet() const
SpotFleetLaunchSpecification & WithTagSpecifications(Aws::Vector< SpotFleetTagSpecification > &&value)
SpotFleetLaunchSpecification & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
SpotFleetLaunchSpecification & AddBlockDeviceMappings(BlockDeviceMapping &&value)
bool RamdiskIdHasBeenSet() const
void SetSpotPrice(Aws::String &&value)
SpotFleetLaunchSpecification & WithSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
void SetUserData(const Aws::String &value)
bool EbsOptimizedHasBeenSet() const
SpotFleetLaunchSpecification & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
AWS_EC2_API SpotFleetLaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRamdiskId(const Aws::String &value)
SpotFleetLaunchSpecification & WithTagSpecifications(const Aws::Vector< SpotFleetTagSpecification > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GetEbsOptimized() const
void SetKeyName(const char *value)
bool InstanceTypeHasBeenSet() const
SpotFleetLaunchSpecification & WithSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
SpotFleetLaunchSpecification & WithImageId(const Aws::String &value)
const Aws::String & GetRamdiskId() const
SpotFleetLaunchSpecification & WithPlacement(const SpotPlacement &value)
const Aws::Vector< GroupIdentifier > & GetSecurityGroups() const
void SetRamdiskId(const char *value)
SpotFleetLaunchSpecification & WithKeyName(Aws::String &&value)
SpotFleetLaunchSpecification & WithSpotPrice(const char *value)
SpotFleetLaunchSpecification & WithKernelId(const char *value)
void SetUserData(Aws::String &&value)
void SetInstanceType(const InstanceType &value)
double GetWeightedCapacity() const
bool TagSpecificationsHasBeenSet() const
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
bool UserDataHasBeenSet() const
SpotFleetLaunchSpecification & WithSpotPrice(const Aws::String &value)
SpotFleetLaunchSpecification & AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification &value)
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
SpotFleetLaunchSpecification & WithAddressingType(const Aws::String &value)
const SpotPlacement & GetPlacement() const
SpotFleetLaunchSpecification & AddTagSpecifications(SpotFleetTagSpecification &&value)
void SetUserData(const char *value)
SpotFleetLaunchSpecification & WithKernelId(const Aws::String &value)
const InstanceType & GetInstanceType() const
AWS_EC2_API SpotFleetLaunchSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
SpotFleetLaunchSpecification & WithSubnetId(const Aws::String &value)
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
SpotFleetLaunchSpecification & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
void SetPlacement(SpotPlacement &&value)
void SetSpotPrice(const char *value)
void SetMonitoring(const SpotFleetMonitoring &value)
void SetAddressingType(const Aws::String &value)
void SetWeightedCapacity(double value)
void SetSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
const Aws::String & GetKernelId() const
SpotFleetLaunchSpecification & WithImageId(Aws::String &&value)
SpotFleetLaunchSpecification & AddSecurityGroups(GroupIdentifier &&value)
SpotFleetLaunchSpecification & WithSpotPrice(Aws::String &&value)
void SetSpotPrice(const Aws::String &value)
const SpotFleetMonitoring & GetMonitoring() const
SpotFleetLaunchSpecification & WithWeightedCapacity(double value)
void SetInstanceType(InstanceType &&value)
const Aws::String & GetAddressingType() const
void SetMonitoring(SpotFleetMonitoring &&value)
SpotFleetLaunchSpecification & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
SpotFleetLaunchSpecification & WithAddressingType(const char *value)
void SetInstanceRequirements(const InstanceRequirements &value)
void SetInstanceRequirements(InstanceRequirements &&value)
bool ImageIdHasBeenSet() const
const Aws::String & GetKeyName() const
void SetAddressingType(const char *value)
void SetImageId(const char *value)
SpotFleetLaunchSpecification & WithUserData(const char *value)
bool SecurityGroupsHasBeenSet() const
SpotFleetLaunchSpecification & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
SpotFleetLaunchSpecification & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
void SetTagSpecifications(const Aws::Vector< SpotFleetTagSpecification > &value)
SpotFleetLaunchSpecification & WithSubnetId(Aws::String &&value)
SpotFleetLaunchSpecification & WithSubnetId(const char *value)
const InstanceRequirements & GetInstanceRequirements() const
bool WeightedCapacityHasBeenSet() const
SpotFleetLaunchSpecification & WithUserData(const Aws::String &value)
SpotFleetLaunchSpecification & WithKeyName(const Aws::String &value)
bool InstanceRequirementsHasBeenSet() const
void SetPlacement(const SpotPlacement &value)
const Aws::Vector< SpotFleetTagSpecification > & GetTagSpecifications() const
SpotFleetLaunchSpecification & WithInstanceType(InstanceType &&value)
bool KernelIdHasBeenSet() const
SpotFleetLaunchSpecification & WithKernelId(Aws::String &&value)
bool PlacementHasBeenSet() const
void SetRamdiskId(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
void SetKernelId(const char *value)
SpotFleetLaunchSpecification & WithEbsOptimized(bool value)
void SetKernelId(Aws::String &&value)
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
SpotFleetLaunchSpecification & WithKeyName(const char *value)
bool BlockDeviceMappingsHasBeenSet() const
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
SpotFleetLaunchSpecification & WithAddressingType(Aws::String &&value)
const Aws::String & GetSubnetId() const
bool SubnetIdHasBeenSet() const
void SetSubnetId(Aws::String &&value)
AWS_EC2_API SpotFleetLaunchSpecification()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream