7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/ArchitectureValues.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/UserData.h>
13#include <aws/ec2/model/InstanceType.h>
14#include <aws/ec2/model/Placement.h>
15#include <aws/ec2/model/ShutdownBehavior.h>
99 inline void SetAdditionalInfo(
const char* value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo.assign(value); }
150 inline void SetMonitoring(
bool value) { m_monitoringHasBeenSet =
true; m_monitoring = value; }
162 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
190 inline void SetPrivateIpAddress(
const char* value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress.assign(value); }
198 bool m_architectureHasBeenSet =
false;
201 bool m_groupNamesHasBeenSet =
false;
204 bool m_groupIdsHasBeenSet =
false;
207 bool m_additionalInfoHasBeenSet =
false;
210 bool m_userDataHasBeenSet =
false;
213 bool m_instanceTypeHasBeenSet =
false;
216 bool m_placementHasBeenSet =
false;
219 bool m_monitoringHasBeenSet =
false;
222 bool m_subnetIdHasBeenSet =
false;
225 bool m_instanceInitiatedShutdownBehaviorHasBeenSet =
false;
228 bool m_privateIpAddressHasBeenSet =
false;
bool PlacementHasBeenSet() const
void SetSubnetId(Aws::String &&value)
ImportInstanceLaunchSpecification & AddGroupNames(Aws::String &&value)
ImportInstanceLaunchSpecification & WithSubnetId(const Aws::String &value)
ImportInstanceLaunchSpecification & AddGroupIds(Aws::String &&value)
ImportInstanceLaunchSpecification & WithGroupNames(Aws::Vector< Aws::String > &&value)
void SetPlacement(Placement &&value)
void SetGroupNames(const Aws::Vector< Aws::String > &value)
void SetUserData(const UserData &value)
const InstanceType & GetInstanceType() const
void SetPrivateIpAddress(const char *value)
bool MonitoringHasBeenSet() const
bool GetMonitoring() const
bool InstanceTypeHasBeenSet() const
ImportInstanceLaunchSpecification & WithAdditionalInfo(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGroupIds(const Aws::Vector< Aws::String > &value)
void SetAdditionalInfo(Aws::String &&value)
ImportInstanceLaunchSpecification & AddGroupNames(const char *value)
void SetPlacement(const Placement &value)
const Aws::Vector< Aws::String > & GetGroupNames() const
const Aws::String & GetAdditionalInfo() const
AWS_EC2_API ImportInstanceLaunchSpecification()
ImportInstanceLaunchSpecification & WithAdditionalInfo(Aws::String &&value)
bool GroupIdsHasBeenSet() const
bool AdditionalInfoHasBeenSet() const
void SetArchitecture(const ArchitectureValues &value)
void SetInstanceType(InstanceType &&value)
ImportInstanceLaunchSpecification & WithPrivateIpAddress(const Aws::String &value)
const ShutdownBehavior & GetInstanceInitiatedShutdownBehavior() const
void SetGroupIds(Aws::Vector< Aws::String > &&value)
ImportInstanceLaunchSpecification & WithPlacement(const Placement &value)
void SetMonitoring(bool value)
ImportInstanceLaunchSpecification & WithGroupNames(const Aws::Vector< Aws::String > &value)
ImportInstanceLaunchSpecification & WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
ImportInstanceLaunchSpecification & WithSubnetId(const char *value)
const UserData & GetUserData() const
ImportInstanceLaunchSpecification & WithInstanceType(InstanceType &&value)
void SetGroupNames(Aws::Vector< Aws::String > &&value)
void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
AWS_EC2_API ImportInstanceLaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ImportInstanceLaunchSpecification & WithGroupIds(Aws::Vector< Aws::String > &&value)
bool UserDataHasBeenSet() const
ImportInstanceLaunchSpecification & WithPrivateIpAddress(const char *value)
const Placement & GetPlacement() const
bool PrivateIpAddressHasBeenSet() const
const Aws::String & GetPrivateIpAddress() const
ImportInstanceLaunchSpecification & AddGroupIds(const Aws::String &value)
void SetInstanceType(const InstanceType &value)
void SetUserData(UserData &&value)
void SetAdditionalInfo(const Aws::String &value)
void SetPrivateIpAddress(Aws::String &&value)
ImportInstanceLaunchSpecification & AddGroupNames(const Aws::String &value)
ImportInstanceLaunchSpecification & WithGroupIds(const Aws::Vector< Aws::String > &value)
bool ArchitectureHasBeenSet() const
bool GroupNamesHasBeenSet() const
void SetSubnetId(const char *value)
ImportInstanceLaunchSpecification & WithUserData(const UserData &value)
ImportInstanceLaunchSpecification & WithAdditionalInfo(const Aws::String &value)
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
void SetSubnetId(const Aws::String &value)
ImportInstanceLaunchSpecification & WithInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
const Aws::String & GetSubnetId() const
ImportInstanceLaunchSpecification & WithMonitoring(bool value)
ImportInstanceLaunchSpecification & WithSubnetId(Aws::String &&value)
ImportInstanceLaunchSpecification & WithPrivateIpAddress(Aws::String &&value)
void SetPrivateIpAddress(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGroupIds() const
void SetArchitecture(ArchitectureValues &&value)
const ArchitectureValues & GetArchitecture() const
ImportInstanceLaunchSpecification & WithArchitecture(ArchitectureValues &&value)
void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ImportInstanceLaunchSpecification & WithPlacement(Placement &&value)
ImportInstanceLaunchSpecification & WithInstanceType(const InstanceType &value)
bool SubnetIdHasBeenSet() const
ImportInstanceLaunchSpecification & WithArchitecture(const ArchitectureValues &value)
void SetAdditionalInfo(const char *value)
ImportInstanceLaunchSpecification & AddGroupIds(const char *value)
ImportInstanceLaunchSpecification & WithUserData(UserData &&value)
AWS_EC2_API ImportInstanceLaunchSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
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