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>
52 inline void SetLaunchConfigurationName(
const char* value) { m_launchConfigurationNameHasBeenSet =
true; m_launchConfigurationName.assign(value); }
71 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
88 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
121 inline void SetClassicLinkVPCId(
const char* value) { m_classicLinkVPCIdHasBeenSet =
true; m_classicLinkVPCId.assign(value); }
158 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
178 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
197 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
215 inline void SetKernelId(
const char* value) { m_kernelIdHasBeenSet =
true; m_kernelId.assign(value); }
233 inline void SetRamdiskId(
const char* value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId.assign(value); }
294 inline void SetSpotPrice(
const char* value) { m_spotPriceHasBeenSet =
true; m_spotPrice.assign(value); }
313 inline void SetIamInstanceProfile(
const char* value) { m_iamInstanceProfileHasBeenSet =
true; m_iamInstanceProfile.assign(value); }
334 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
376 inline void SetPlacementTenancy(
const char* value) { m_placementTenancyHasBeenSet =
true; m_placementTenancy.assign(value); }
399 bool m_launchConfigurationNameHasBeenSet =
false;
402 bool m_imageIdHasBeenSet =
false;
405 bool m_keyNameHasBeenSet =
false;
408 bool m_securityGroupsHasBeenSet =
false;
411 bool m_classicLinkVPCIdHasBeenSet =
false;
414 bool m_classicLinkVPCSecurityGroupsHasBeenSet =
false;
417 bool m_userDataHasBeenSet =
false;
420 bool m_instanceIdHasBeenSet =
false;
423 bool m_instanceTypeHasBeenSet =
false;
426 bool m_kernelIdHasBeenSet =
false;
429 bool m_ramdiskIdHasBeenSet =
false;
432 bool m_blockDeviceMappingsHasBeenSet =
false;
435 bool m_instanceMonitoringHasBeenSet =
false;
438 bool m_spotPriceHasBeenSet =
false;
441 bool m_iamInstanceProfileHasBeenSet =
false;
444 bool m_ebsOptimizedHasBeenSet =
false;
446 bool m_associatePublicIpAddress;
447 bool m_associatePublicIpAddressHasBeenSet =
false;
450 bool m_placementTenancyHasBeenSet =
false;
453 bool m_metadataOptionsHasBeenSet =
false;
void SetIamInstanceProfile(const Aws::String &value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
CreateLaunchConfigurationRequest & WithClassicLinkVPCId(const Aws::String &value)
void SetPlacementTenancy(Aws::String &&value)
const Aws::String & GetKernelId() const
void SetLaunchConfigurationName(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
bool SpotPriceHasBeenSet() const
bool RamdiskIdHasBeenSet() const
void SetIamInstanceProfile(const char *value)
CreateLaunchConfigurationRequest & WithKeyName(Aws::String &&value)
CreateLaunchConfigurationRequest & WithClassicLinkVPCId(Aws::String &&value)
CreateLaunchConfigurationRequest & AddSecurityGroups(Aws::String &&value)
bool SecurityGroupsHasBeenSet() const
CreateLaunchConfigurationRequest & WithInstanceMonitoring(InstanceMonitoring &&value)
CreateLaunchConfigurationRequest & WithClassicLinkVPCId(const char *value)
const InstanceMonitoring & GetInstanceMonitoring() const
CreateLaunchConfigurationRequest & WithUserData(const char *value)
CreateLaunchConfigurationRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::String & GetKeyName() const
void SetEbsOptimized(bool value)
void SetLaunchConfigurationName(const Aws::String &value)
const Aws::String & GetImageId() const
CreateLaunchConfigurationRequest & WithRamdiskId(const char *value)
void SetRamdiskId(const char *value)
void SetClassicLinkVPCSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateLaunchConfigurationRequest & WithImageId(const char *value)
CreateLaunchConfigurationRequest & AddSecurityGroups(const Aws::String &value)
CreateLaunchConfigurationRequest & WithUserData(Aws::String &&value)
bool GetEbsOptimized() const
CreateLaunchConfigurationRequest & WithSpotPrice(Aws::String &&value)
void SetSpotPrice(Aws::String &&value)
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
CreateLaunchConfigurationRequest & WithUserData(const Aws::String &value)
CreateLaunchConfigurationRequest & WithInstanceId(const char *value)
void SetInstanceType(const Aws::String &value)
bool ClassicLinkVPCIdHasBeenSet() const
CreateLaunchConfigurationRequest & AddSecurityGroups(const char *value)
void SetClassicLinkVPCSecurityGroups(Aws::Vector< Aws::String > &&value)
CreateLaunchConfigurationRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetInstanceMonitoring(const InstanceMonitoring &value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
CreateLaunchConfigurationRequest & AddBlockDeviceMappings(BlockDeviceMapping &&value)
CreateLaunchConfigurationRequest & WithKernelId(const char *value)
void SetPlacementTenancy(const char *value)
const Aws::String & GetRamdiskId() const
bool BlockDeviceMappingsHasBeenSet() const
CreateLaunchConfigurationRequest & WithPlacementTenancy(const Aws::String &value)
CreateLaunchConfigurationRequest & WithLaunchConfigurationName(Aws::String &&value)
void SetUserData(const char *value)
void SetKernelId(const char *value)
const Aws::String & GetInstanceId() const
CreateLaunchConfigurationRequest & WithInstanceMonitoring(const InstanceMonitoring &value)
CreateLaunchConfigurationRequest & WithKernelId(Aws::String &&value)
CreateLaunchConfigurationRequest & WithPlacementTenancy(Aws::String &&value)
void SetUserData(const Aws::String &value)
void SetMetadataOptions(InstanceMetadataOptions &&value)
void SetInstanceMonitoring(InstanceMonitoring &&value)
AWS_AUTOSCALING_API CreateLaunchConfigurationRequest()
CreateLaunchConfigurationRequest & WithMetadataOptions(InstanceMetadataOptions &&value)
void SetIamInstanceProfile(Aws::String &&value)
bool AssociatePublicIpAddressHasBeenSet() const
CreateLaunchConfigurationRequest & AddClassicLinkVPCSecurityGroups(const Aws::String &value)
void SetClassicLinkVPCId(const char *value)
CreateLaunchConfigurationRequest & AddClassicLinkVPCSecurityGroups(const char *value)
void SetClassicLinkVPCId(Aws::String &&value)
void SetSpotPrice(const Aws::String &value)
void SetKeyName(const char *value)
void SetAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationRequest & WithIamInstanceProfile(Aws::String &&value)
CreateLaunchConfigurationRequest & WithImageId(Aws::String &&value)
void SetInstanceType(const char *value)
CreateLaunchConfigurationRequest & WithPlacementTenancy(const char *value)
bool GetAssociatePublicIpAddress() const
CreateLaunchConfigurationRequest & WithClassicLinkVPCSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateLaunchConfigurationRequest & WithInstanceType(const char *value)
bool InstanceMonitoringHasBeenSet() const
bool KernelIdHasBeenSet() const
void SetUserData(Aws::String &&value)
CreateLaunchConfigurationRequest & WithInstanceId(const Aws::String &value)
void SetSpotPrice(const char *value)
CreateLaunchConfigurationRequest & WithInstanceType(const Aws::String &value)
CreateLaunchConfigurationRequest & WithRamdiskId(const Aws::String &value)
CreateLaunchConfigurationRequest & WithImageId(const Aws::String &value)
CreateLaunchConfigurationRequest & WithSpotPrice(const Aws::String &value)
CreateLaunchConfigurationRequest & WithEbsOptimized(bool value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateLaunchConfigurationRequest & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
const Aws::Vector< Aws::String > & GetClassicLinkVPCSecurityGroups() const
bool LaunchConfigurationNameHasBeenSet() const
CreateLaunchConfigurationRequest & WithKeyName(const char *value)
CreateLaunchConfigurationRequest & WithAssociatePublicIpAddress(bool value)
void SetInstanceId(const char *value)
const Aws::String & GetInstanceType() const
bool MetadataOptionsHasBeenSet() const
void SetRamdiskId(Aws::String &&value)
bool UserDataHasBeenSet() const
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetImageId(const Aws::String &value)
CreateLaunchConfigurationRequest & WithClassicLinkVPCSecurityGroups(Aws::Vector< Aws::String > &&value)
bool PlacementTenancyHasBeenSet() const
void SetClassicLinkVPCId(const Aws::String &value)
bool IamInstanceProfileHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLaunchConfigurationRequest & WithRamdiskId(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
CreateLaunchConfigurationRequest & WithInstanceType(Aws::String &&value)
CreateLaunchConfigurationRequest & WithIamInstanceProfile(const Aws::String &value)
CreateLaunchConfigurationRequest & WithInstanceId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
CreateLaunchConfigurationRequest & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
const Aws::String & GetUserData() const
bool InstanceIdHasBeenSet() const
CreateLaunchConfigurationRequest & WithLaunchConfigurationName(const Aws::String &value)
bool EbsOptimizedHasBeenSet() const
const Aws::String & GetSpotPrice() const
void SetKeyName(const Aws::String &value)
bool ImageIdHasBeenSet() const
void SetKernelId(Aws::String &&value)
bool KeyNameHasBeenSet() const
const Aws::String & GetLaunchConfigurationName() const
void SetLaunchConfigurationName(const char *value)
CreateLaunchConfigurationRequest & WithKernelId(const Aws::String &value)
const InstanceMetadataOptions & GetMetadataOptions() const
void SetPlacementTenancy(const Aws::String &value)
void SetMetadataOptions(const InstanceMetadataOptions &value)
void SetRamdiskId(const Aws::String &value)
const Aws::String & GetIamInstanceProfile() const
CreateLaunchConfigurationRequest & WithMetadataOptions(const InstanceMetadataOptions &value)
const Aws::String & GetClassicLinkVPCId() const
void SetImageId(const char *value)
void SetInstanceType(Aws::String &&value)
void SetKernelId(const Aws::String &value)
bool ClassicLinkVPCSecurityGroupsHasBeenSet() const
void SetInstanceId(const Aws::String &value)
CreateLaunchConfigurationRequest & WithIamInstanceProfile(const char *value)
const Aws::String & GetPlacementTenancy() const
void SetKeyName(Aws::String &&value)
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
void SetImageId(Aws::String &&value)
CreateLaunchConfigurationRequest & AddClassicLinkVPCSecurityGroups(Aws::String &&value)
CreateLaunchConfigurationRequest & WithSpotPrice(const char *value)
CreateLaunchConfigurationRequest & WithKeyName(const Aws::String &value)
CreateLaunchConfigurationRequest & AddBlockDeviceMappings(const BlockDeviceMapping &value)
CreateLaunchConfigurationRequest & WithLaunchConfigurationName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector