7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/autoscaling/model/InstanceMonitoring.h>
12#include <aws/autoscaling/model/InstanceMetadataOptions.h>
13#include <aws/autoscaling/model/BlockDeviceMapping.h>
50 template<
typename LaunchConfigurationNameT = Aws::String>
51 void SetLaunchConfigurationName(LaunchConfigurationNameT&& value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName = std::forward<LaunchConfigurationNameT>(value); }
52 template<
typename LaunchConfigurationNameT = Aws::String>
66 template<
typename ImageIdT = Aws::String>
67 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
68 template<
typename ImageIdT = Aws::String>
81 template<
typename KeyNameT = Aws::String>
82 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
83 template<
typename KeyNameT = Aws::String>
97 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
98 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
99 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
101 template<
typename SecurityGroupsT = Aws::String>
111 template<
typename ClassicLinkVPCIdT = Aws::String>
112 void SetClassicLinkVPCId(ClassicLinkVPCIdT&& value) { m_classicLinkVPCIdHasBeenSet =
true; m_classicLinkVPCId = std::forward<ClassicLinkVPCIdT>(value); }
113 template<
typename ClassicLinkVPCIdT = Aws::String>
123 template<
typename ClassicLinkVPCSecurityGroupsT = Aws::Vector<Aws::String>>
124 void SetClassicLinkVPCSecurityGroups(ClassicLinkVPCSecurityGroupsT&& value) { m_classicLinkVPCSecurityGroupsHasBeenSet =
true; m_classicLinkVPCSecurityGroups = std::forward<ClassicLinkVPCSecurityGroupsT>(value); }
125 template<
typename ClassicLinkVPCSecurityGroupsT = Aws::Vector<Aws::String>>
127 template<
typename ClassicLinkVPCSecurityGroupsT = Aws::String>
145 template<
typename UserDataT = Aws::String>
146 void SetUserData(UserDataT&& value) { m_userDataHasBeenSet =
true; m_userData = std::forward<UserDataT>(value); }
147 template<
typename UserDataT = Aws::String>
163 template<
typename InstanceIdT = Aws::String>
164 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
165 template<
typename InstanceIdT = Aws::String>
179 template<
typename InstanceTypeT = Aws::String>
180 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
181 template<
typename InstanceTypeT = Aws::String>
194 template<
typename KernelIdT = Aws::String>
195 void SetKernelId(KernelIdT&& value) { m_kernelIdHasBeenSet =
true; m_kernelId = std::forward<KernelIdT>(value); }
196 template<
typename KernelIdT = Aws::String>
209 template<
typename RamdiskIdT = Aws::String>
210 void SetRamdiskId(RamdiskIdT&& value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId = std::forward<RamdiskIdT>(value); }
211 template<
typename RamdiskIdT = Aws::String>
225 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
226 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
227 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
229 template<
typename BlockDeviceMappingsT = BlockDeviceMapping>
247 template<
typename InstanceMonitoringT = InstanceMonitoring>
248 void SetInstanceMonitoring(InstanceMonitoringT&& value) { m_instanceMonitoringHasBeenSet =
true; m_instanceMonitoring = std::forward<InstanceMonitoringT>(value); }
249 template<
typename InstanceMonitoringT = InstanceMonitoring>
268 template<
typename SpotPriceT = Aws::String>
269 void SetSpotPrice(SpotPriceT&& value) { m_spotPriceHasBeenSet =
true; m_spotPrice = std::forward<SpotPriceT>(value); }
270 template<
typename SpotPriceT = Aws::String>
285 template<
typename IamInstanceProfileT = Aws::String>
286 void SetIamInstanceProfile(IamInstanceProfileT&& value) { m_iamInstanceProfileHasBeenSet =
true; m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value); }
287 template<
typename IamInstanceProfileT = Aws::String>
306 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
346 template<
typename PlacementTenancyT = Aws::String>
347 void SetPlacementTenancy(PlacementTenancyT&& value) { m_placementTenancyHasBeenSet =
true; m_placementTenancy = std::forward<PlacementTenancyT>(value); }
348 template<
typename PlacementTenancyT = Aws::String>
361 template<
typename MetadataOptionsT = InstanceMetadataOptions>
362 void SetMetadataOptions(MetadataOptionsT&& value) { m_metadataOptionsHasBeenSet =
true; m_metadataOptions = std::forward<MetadataOptionsT>(value); }
363 template<
typename MetadataOptionsT = InstanceMetadataOptions>
369 bool m_launchConfigurationNameHasBeenSet =
false;
372 bool m_imageIdHasBeenSet =
false;
375 bool m_keyNameHasBeenSet =
false;
378 bool m_securityGroupsHasBeenSet =
false;
381 bool m_classicLinkVPCIdHasBeenSet =
false;
384 bool m_classicLinkVPCSecurityGroupsHasBeenSet =
false;
387 bool m_userDataHasBeenSet =
false;
390 bool m_instanceIdHasBeenSet =
false;
393 bool m_instanceTypeHasBeenSet =
false;
396 bool m_kernelIdHasBeenSet =
false;
399 bool m_ramdiskIdHasBeenSet =
false;
402 bool m_blockDeviceMappingsHasBeenSet =
false;
405 bool m_instanceMonitoringHasBeenSet =
false;
408 bool m_spotPriceHasBeenSet =
false;
411 bool m_iamInstanceProfileHasBeenSet =
false;
413 bool m_ebsOptimized{
false};
414 bool m_ebsOptimizedHasBeenSet =
false;
416 bool m_associatePublicIpAddress{
false};
417 bool m_associatePublicIpAddressHasBeenSet =
false;
420 bool m_placementTenancyHasBeenSet =
false;
422 InstanceMetadataOptions m_metadataOptions;
423 bool m_metadataOptionsHasBeenSet =
false;
CreateLaunchConfigurationRequest & WithKernelId(KernelIdT &&value)
void SetUserData(UserDataT &&value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
void SetClassicLinkVPCSecurityGroups(ClassicLinkVPCSecurityGroupsT &&value)
void SetInstanceId(InstanceIdT &&value)
void SetSpotPrice(SpotPriceT &&value)
const Aws::String & GetKernelId() const
bool InstanceTypeHasBeenSet() const
bool SpotPriceHasBeenSet() const
bool RamdiskIdHasBeenSet() const
CreateLaunchConfigurationRequest & AddClassicLinkVPCSecurityGroups(ClassicLinkVPCSecurityGroupsT &&value)
bool SecurityGroupsHasBeenSet() const
const InstanceMonitoring & GetInstanceMonitoring() const
const Aws::String & GetKeyName() const
void SetEbsOptimized(bool value)
CreateLaunchConfigurationRequest & WithClassicLinkVPCId(ClassicLinkVPCIdT &&value)
const Aws::String & GetImageId() const
CreateLaunchConfigurationRequest & WithInstanceType(InstanceTypeT &&value)
bool GetEbsOptimized() const
void SetPlacementTenancy(PlacementTenancyT &&value)
void SetKeyName(KeyNameT &&value)
bool ClassicLinkVPCIdHasBeenSet() const
CreateLaunchConfigurationRequest & AddSecurityGroups(SecurityGroupsT &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
const Aws::String & GetRamdiskId() const
bool BlockDeviceMappingsHasBeenSet() const
CreateLaunchConfigurationRequest & WithIamInstanceProfile(IamInstanceProfileT &&value)
CreateLaunchConfigurationRequest & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetInstanceId() const
CreateLaunchConfigurationRequest & WithSpotPrice(SpotPriceT &&value)
bool AssociatePublicIpAddressHasBeenSet() const
void SetAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationRequest & WithSecurityGroups(SecurityGroupsT &&value)
bool GetAssociatePublicIpAddress() const
CreateLaunchConfigurationRequest & WithClassicLinkVPCSecurityGroups(ClassicLinkVPCSecurityGroupsT &&value)
bool InstanceMonitoringHasBeenSet() const
bool KernelIdHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
void SetClassicLinkVPCId(ClassicLinkVPCIdT &&value)
CreateLaunchConfigurationRequest & WithRamdiskId(RamdiskIdT &&value)
CreateLaunchConfigurationRequest & WithEbsOptimized(bool value)
AWS_AUTOSCALING_API CreateLaunchConfigurationRequest()=default
CreateLaunchConfigurationRequest & WithInstanceId(InstanceIdT &&value)
const Aws::Vector< Aws::String > & GetClassicLinkVPCSecurityGroups() const
bool LaunchConfigurationNameHasBeenSet() const
CreateLaunchConfigurationRequest & WithAssociatePublicIpAddress(bool value)
const Aws::String & GetInstanceType() const
CreateLaunchConfigurationRequest & WithLaunchConfigurationName(LaunchConfigurationNameT &&value)
bool MetadataOptionsHasBeenSet() const
CreateLaunchConfigurationRequest & WithKeyName(KeyNameT &&value)
bool UserDataHasBeenSet() const
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMetadataOptions(MetadataOptionsT &&value)
void SetIamInstanceProfile(IamInstanceProfileT &&value)
bool PlacementTenancyHasBeenSet() const
void SetRamdiskId(RamdiskIdT &&value)
bool IamInstanceProfileHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetImageId(ImageIdT &&value)
CreateLaunchConfigurationRequest & WithUserData(UserDataT &&value)
const Aws::String & GetUserData() const
void SetKernelId(KernelIdT &&value)
CreateLaunchConfigurationRequest & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
bool InstanceIdHasBeenSet() const
CreateLaunchConfigurationRequest & WithImageId(ImageIdT &&value)
bool EbsOptimizedHasBeenSet() const
const Aws::String & GetSpotPrice() const
bool ImageIdHasBeenSet() const
bool KeyNameHasBeenSet() const
const Aws::String & GetLaunchConfigurationName() const
const InstanceMetadataOptions & GetMetadataOptions() const
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetInstanceMonitoring(InstanceMonitoringT &&value)
void SetLaunchConfigurationName(LaunchConfigurationNameT &&value)
const Aws::String & GetIamInstanceProfile() const
const Aws::String & GetClassicLinkVPCId() const
bool ClassicLinkVPCSecurityGroupsHasBeenSet() const
const Aws::String & GetPlacementTenancy() const
CreateLaunchConfigurationRequest & WithPlacementTenancy(PlacementTenancyT &&value)
CreateLaunchConfigurationRequest & WithMetadataOptions(MetadataOptionsT &&value)
CreateLaunchConfigurationRequest & WithInstanceMonitoring(InstanceMonitoringT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector