7#include <aws/autoscaling/AutoScalingRequest.h>
8#include <aws/autoscaling/AutoScaling_EXPORTS.h>
9#include <aws/autoscaling/model/BlockDeviceMapping.h>
10#include <aws/autoscaling/model/InstanceMetadataOptions.h>
11#include <aws/autoscaling/model/InstanceMonitoring.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace AutoScaling {
46 template <
typename LaunchConfigurationNameT = Aws::String>
48 m_launchConfigurationNameHasBeenSet =
true;
49 m_launchConfigurationName = std::forward<LaunchConfigurationNameT>(value);
51 template <
typename LaunchConfigurationNameT = Aws::String>
68 template <
typename ImageIdT = Aws::String>
70 m_imageIdHasBeenSet =
true;
71 m_imageId = std::forward<ImageIdT>(value);
73 template <
typename ImageIdT = Aws::String>
89 template <
typename KeyNameT = Aws::String>
91 m_keyNameHasBeenSet =
true;
92 m_keyName = std::forward<KeyNameT>(value);
94 template <
typename KeyNameT = Aws::String>
111 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
113 m_securityGroupsHasBeenSet =
true;
114 m_securityGroups = std::forward<SecurityGroupsT>(value);
116 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
121 template <
typename SecurityGroupsT = Aws::String>
123 m_securityGroupsHasBeenSet =
true;
124 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
135 template <
typename ClassicLinkVPCIdT = Aws::String>
137 m_classicLinkVPCIdHasBeenSet =
true;
138 m_classicLinkVPCId = std::forward<ClassicLinkVPCIdT>(value);
140 template <
typename ClassicLinkVPCIdT = Aws::String>
153 template <
typename ClassicLinkVPCSecurityGroupsT = Aws::Vector<Aws::String>>
155 m_classicLinkVPCSecurityGroupsHasBeenSet =
true;
156 m_classicLinkVPCSecurityGroups = std::forward<ClassicLinkVPCSecurityGroupsT>(value);
158 template <
typename ClassicLinkVPCSecurityGroupsT = Aws::Vector<Aws::String>>
163 template <
typename ClassicLinkVPCSecurityGroupsT = Aws::String>
165 m_classicLinkVPCSecurityGroupsHasBeenSet =
true;
166 m_classicLinkVPCSecurityGroups.emplace_back(std::forward<ClassicLinkVPCSecurityGroupsT>(value));
185 template <
typename UserDataT = Aws::String>
187 m_userDataHasBeenSet =
true;
188 m_userData = std::forward<UserDataT>(value);
190 template <
typename UserDataT = Aws::String>
209 template <
typename InstanceIdT = Aws::String>
211 m_instanceIdHasBeenSet =
true;
212 m_instanceId = std::forward<InstanceIdT>(value);
214 template <
typename InstanceIdT = Aws::String>
231 template <
typename InstanceTypeT = Aws::String>
233 m_instanceTypeHasBeenSet =
true;
234 m_instanceType = std::forward<InstanceTypeT>(value);
236 template <
typename InstanceTypeT = Aws::String>
252 template <
typename KernelIdT = Aws::String>
254 m_kernelIdHasBeenSet =
true;
255 m_kernelId = std::forward<KernelIdT>(value);
257 template <
typename KernelIdT = Aws::String>
273 template <
typename RamdiskIdT = Aws::String>
275 m_ramdiskIdHasBeenSet =
true;
276 m_ramdiskId = std::forward<RamdiskIdT>(value);
278 template <
typename RamdiskIdT = Aws::String>
295 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
297 m_blockDeviceMappingsHasBeenSet =
true;
298 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
300 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
305 template <
typename BlockDeviceMappingsT = BlockDeviceMapping>
307 m_blockDeviceMappingsHasBeenSet =
true;
308 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
327 template <
typename InstanceMonitoringT = InstanceMonitoring>
329 m_instanceMonitoringHasBeenSet =
true;
330 m_instanceMonitoring = std::forward<InstanceMonitoringT>(value);
332 template <
typename InstanceMonitoringT = InstanceMonitoring>
354 template <
typename SpotPriceT = Aws::String>
356 m_spotPriceHasBeenSet =
true;
357 m_spotPrice = std::forward<SpotPriceT>(value);
359 template <
typename SpotPriceT = Aws::String>
377 template <
typename IamInstanceProfileT = Aws::String>
379 m_iamInstanceProfileHasBeenSet =
true;
380 m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value);
382 template <
typename IamInstanceProfileT = Aws::String>
405 m_ebsOptimizedHasBeenSet =
true;
406 m_ebsOptimized = value;
433 m_associatePublicIpAddressHasBeenSet =
true;
434 m_associatePublicIpAddress = value;
456 template <
typename PlacementTenancyT = Aws::String>
458 m_placementTenancyHasBeenSet =
true;
459 m_placementTenancy = std::forward<PlacementTenancyT>(value);
461 template <
typename PlacementTenancyT = Aws::String>
477 template <
typename MetadataOptionsT = InstanceMetadataOptions>
479 m_metadataOptionsHasBeenSet =
true;
480 m_metadataOptions = std::forward<MetadataOptionsT>(value);
482 template <
typename MetadataOptionsT = InstanceMetadataOptions>
519 bool m_ebsOptimized{
false};
521 bool m_associatePublicIpAddress{
false};
525 InstanceMetadataOptions m_metadataOptions;
526 bool m_launchConfigurationNameHasBeenSet =
false;
527 bool m_imageIdHasBeenSet =
false;
528 bool m_keyNameHasBeenSet =
false;
529 bool m_securityGroupsHasBeenSet =
false;
530 bool m_classicLinkVPCIdHasBeenSet =
false;
531 bool m_classicLinkVPCSecurityGroupsHasBeenSet =
false;
532 bool m_userDataHasBeenSet =
false;
533 bool m_instanceIdHasBeenSet =
false;
534 bool m_instanceTypeHasBeenSet =
false;
535 bool m_kernelIdHasBeenSet =
false;
536 bool m_ramdiskIdHasBeenSet =
false;
537 bool m_blockDeviceMappingsHasBeenSet =
false;
538 bool m_instanceMonitoringHasBeenSet =
false;
539 bool m_spotPriceHasBeenSet =
false;
540 bool m_iamInstanceProfileHasBeenSet =
false;
541 bool m_ebsOptimizedHasBeenSet =
false;
542 bool m_associatePublicIpAddressHasBeenSet =
false;
543 bool m_placementTenancyHasBeenSet =
false;
544 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