7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/ScheduledInstancesIamInstanceProfile.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/ScheduledInstancesMonitoring.h>
13#include <aws/ec2/model/ScheduledInstancesPlacement.h>
14#include <aws/ec2/model/ScheduledInstancesBlockDeviceMapping.h>
15#include <aws/ec2/model/ScheduledInstancesNetworkInterface.h>
75 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
99 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
113 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
127 inline void SetKernelId(
const char* value) { m_kernelIdHasBeenSet =
true; m_kernelId.assign(value); }
141 inline void SetKeyName(
const char* value) { m_keyNameHasBeenSet =
true; m_keyName.assign(value); }
193 inline void SetRamdiskId(
const char* value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId.assign(value); }
222 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
236 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
244 bool m_blockDeviceMappingsHasBeenSet =
false;
247 bool m_ebsOptimizedHasBeenSet =
false;
250 bool m_iamInstanceProfileHasBeenSet =
false;
253 bool m_imageIdHasBeenSet =
false;
256 bool m_instanceTypeHasBeenSet =
false;
259 bool m_kernelIdHasBeenSet =
false;
262 bool m_keyNameHasBeenSet =
false;
265 bool m_monitoringHasBeenSet =
false;
268 bool m_networkInterfacesHasBeenSet =
false;
271 bool m_placementHasBeenSet =
false;
274 bool m_ramdiskIdHasBeenSet =
false;
277 bool m_securityGroupIdsHasBeenSet =
false;
280 bool m_subnetIdHasBeenSet =
false;
283 bool m_userDataHasBeenSet =
false;
ScheduledInstancesLaunchSpecification & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool RamdiskIdHasBeenSet() const
void SetKernelId(const Aws::String &value)
ScheduledInstancesLaunchSpecification & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetImageId(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< ScheduledInstancesNetworkInterface > & GetNetworkInterfaces() const
ScheduledInstancesLaunchSpecification & WithMonitoring(const ScheduledInstancesMonitoring &value)
ScheduledInstancesLaunchSpecification & WithImageId(const char *value)
bool NetworkInterfacesHasBeenSet() const
const ScheduledInstancesPlacement & GetPlacement() const
void SetKeyName(const Aws::String &value)
void SetIamInstanceProfile(const ScheduledInstancesIamInstanceProfile &value)
ScheduledInstancesLaunchSpecification & AddSecurityGroupIds(const char *value)
void SetPlacement(ScheduledInstancesPlacement &&value)
const Aws::String & GetRamdiskId() const
const Aws::String & GetInstanceType() const
ScheduledInstancesLaunchSpecification & AddNetworkInterfaces(ScheduledInstancesNetworkInterface &&value)
bool KernelIdHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithIamInstanceProfile(ScheduledInstancesIamInstanceProfile &&value)
const ScheduledInstancesMonitoring & GetMonitoring() const
void SetNetworkInterfaces(Aws::Vector< ScheduledInstancesNetworkInterface > &&value)
ScheduledInstancesLaunchSpecification & AddNetworkInterfaces(const ScheduledInstancesNetworkInterface &value)
bool EbsOptimizedHasBeenSet() const
void SetKeyName(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetIamInstanceProfile(ScheduledInstancesIamInstanceProfile &&value)
bool UserDataHasBeenSet() const
ScheduledInstancesLaunchSpecification & AddBlockDeviceMappings(const ScheduledInstancesBlockDeviceMapping &value)
void SetBlockDeviceMappings(const Aws::Vector< ScheduledInstancesBlockDeviceMapping > &value)
bool SubnetIdHasBeenSet() const
void SetInstanceType(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithKernelId(Aws::String &&value)
void SetImageId(Aws::String &&value)
void SetUserData(const char *value)
ScheduledInstancesLaunchSpecification & WithRamdiskId(const char *value)
ScheduledInstancesLaunchSpecification & WithKeyName(const char *value)
ScheduledInstancesLaunchSpecification & WithUserData(const Aws::String &value)
bool PlacementHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithUserData(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstancesLaunchSpecification & WithBlockDeviceMappings(const Aws::Vector< ScheduledInstancesBlockDeviceMapping > &value)
void SetMonitoring(ScheduledInstancesMonitoring &&value)
ScheduledInstancesLaunchSpecification & WithRamdiskId(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithMonitoring(ScheduledInstancesMonitoring &&value)
ScheduledInstancesLaunchSpecification & WithKeyName(const Aws::String &value)
void SetUserData(const Aws::String &value)
void SetUserData(Aws::String &&value)
void SetKernelId(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithSubnetId(const char *value)
ScheduledInstancesLaunchSpecification & WithInstanceType(Aws::String &&value)
void SetSubnetId(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithSubnetId(Aws::String &&value)
bool MonitoringHasBeenSet() const
void SetInstanceType(const char *value)
void SetRamdiskId(const char *value)
ScheduledInstancesLaunchSpecification & AddSecurityGroupIds(const Aws::String &value)
ScheduledInstancesLaunchSpecification & WithInstanceType(const char *value)
ScheduledInstancesLaunchSpecification & WithInstanceType(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithNetworkInterfaces(Aws::Vector< ScheduledInstancesNetworkInterface > &&value)
void SetSubnetId(const Aws::String &value)
void SetKernelId(const char *value)
AWS_EC2_API ScheduledInstancesLaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ScheduledInstancesIamInstanceProfile & GetIamInstanceProfile() const
ScheduledInstancesLaunchSpecification & AddBlockDeviceMappings(ScheduledInstancesBlockDeviceMapping &&value)
bool BlockDeviceMappingsHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithPlacement(ScheduledInstancesPlacement &&value)
bool SecurityGroupIdsHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithPlacement(const ScheduledInstancesPlacement &value)
AWS_EC2_API ScheduledInstancesLaunchSpecification()
ScheduledInstancesLaunchSpecification & WithKernelId(const Aws::String &value)
void SetImageId(const char *value)
void SetSubnetId(const char *value)
bool KeyNameHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithIamInstanceProfile(const ScheduledInstancesIamInstanceProfile &value)
bool IamInstanceProfileHasBeenSet() const
const Aws::String & GetKeyName() const
void SetKeyName(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithSubnetId(const Aws::String &value)
const Aws::Vector< ScheduledInstancesBlockDeviceMapping > & GetBlockDeviceMappings() const
void SetRamdiskId(const Aws::String &value)
const Aws::String & GetUserData() const
ScheduledInstancesLaunchSpecification & WithEbsOptimized(bool value)
ScheduledInstancesLaunchSpecification & AddSecurityGroupIds(Aws::String &&value)
const Aws::String & GetKernelId() const
bool GetEbsOptimized() const
const Aws::String & GetImageId() const
void SetEbsOptimized(bool value)
void SetMonitoring(const ScheduledInstancesMonitoring &value)
void SetRamdiskId(Aws::String &&value)
void SetPlacement(const ScheduledInstancesPlacement &value)
AWS_EC2_API ScheduledInstancesLaunchSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstancesLaunchSpecification & WithImageId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::String & GetSubnetId() const
ScheduledInstancesLaunchSpecification & WithUserData(Aws::String &&value)
ScheduledInstancesLaunchSpecification & WithImageId(const Aws::String &value)
ScheduledInstancesLaunchSpecification & WithKernelId(const char *value)
void SetBlockDeviceMappings(Aws::Vector< ScheduledInstancesBlockDeviceMapping > &&value)
bool ImageIdHasBeenSet() const
ScheduledInstancesLaunchSpecification & WithNetworkInterfaces(const Aws::Vector< ScheduledInstancesNetworkInterface > &value)
ScheduledInstancesLaunchSpecification & WithKeyName(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ScheduledInstancesLaunchSpecification & WithBlockDeviceMappings(Aws::Vector< ScheduledInstancesBlockDeviceMapping > &&value)
ScheduledInstancesLaunchSpecification & WithRamdiskId(const Aws::String &value)
void SetNetworkInterfaces(const Aws::Vector< ScheduledInstancesNetworkInterface > &value)
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