7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ArchitectureValues.h>
12#include <aws/ec2/model/InstanceType.h>
13#include <aws/ec2/model/Placement.h>
14#include <aws/ec2/model/ShutdownBehavior.h>
15#include <aws/ec2/model/UserData.h>
50 m_architectureHasBeenSet =
true;
51 m_architecture = value;
65 template <
typename GroupNamesT = Aws::Vector<Aws::String>>
67 m_groupNamesHasBeenSet =
true;
68 m_groupNames = std::forward<GroupNamesT>(value);
70 template <
typename GroupNamesT = Aws::Vector<Aws::String>>
75 template <
typename GroupNamesT = Aws::String>
77 m_groupNamesHasBeenSet =
true;
78 m_groupNames.emplace_back(std::forward<GroupNamesT>(value));
89 template <
typename GroupIdsT = Aws::Vector<Aws::String>>
91 m_groupIdsHasBeenSet =
true;
92 m_groupIds = std::forward<GroupIdsT>(value);
94 template <
typename GroupIdsT = Aws::Vector<Aws::String>>
99 template <
typename GroupIdsT = Aws::String>
101 m_groupIdsHasBeenSet =
true;
102 m_groupIds.emplace_back(std::forward<GroupIdsT>(value));
113 template <
typename AdditionalInfoT = Aws::String>
115 m_additionalInfoHasBeenSet =
true;
116 m_additionalInfo = std::forward<AdditionalInfoT>(value);
118 template <
typename AdditionalInfoT = Aws::String>
131 template <
typename UserDataT = UserData>
133 m_userDataHasBeenSet =
true;
134 m_userData = std::forward<UserDataT>(value);
136 template <
typename UserDataT = UserData>
153 m_instanceTypeHasBeenSet =
true;
154 m_instanceType = value;
168 template <
typename PlacementT = Placement>
170 m_placementHasBeenSet =
true;
171 m_placement = std::forward<PlacementT>(value);
173 template <
typename PlacementT = Placement>
187 m_monitoringHasBeenSet =
true;
188 m_monitoring = value;
202 template <
typename SubnetIdT = Aws::String>
204 m_subnetIdHasBeenSet =
true;
205 m_subnetId = std::forward<SubnetIdT>(value);
207 template <
typename SubnetIdT = Aws::String>
222 m_instanceInitiatedShutdownBehaviorHasBeenSet =
true;
223 m_instanceInitiatedShutdownBehavior = value;
238 template <
typename PrivateIpAddressT = Aws::String>
240 m_privateIpAddressHasBeenSet =
true;
241 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
243 template <
typename PrivateIpAddressT = Aws::String>
262 Placement m_placement;
264 bool m_monitoring{
false};
271 bool m_architectureHasBeenSet =
false;
272 bool m_groupNamesHasBeenSet =
false;
273 bool m_groupIdsHasBeenSet =
false;
274 bool m_additionalInfoHasBeenSet =
false;
275 bool m_userDataHasBeenSet =
false;
276 bool m_instanceTypeHasBeenSet =
false;
277 bool m_placementHasBeenSet =
false;
278 bool m_monitoringHasBeenSet =
false;
279 bool m_subnetIdHasBeenSet =
false;
280 bool m_instanceInitiatedShutdownBehaviorHasBeenSet =
false;
281 bool m_privateIpAddressHasBeenSet =
false;
bool PlacementHasBeenSet() const
bool MonitoringHasBeenSet() const
void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior value)
bool GetMonitoring() const
AWS_EC2_API ImportInstanceLaunchSpecification()=default
bool InstanceTypeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAdditionalInfo(AdditionalInfoT &&value)
ImportInstanceLaunchSpecification & AddGroupNames(GroupNamesT &&value)
void SetInstanceType(InstanceType value)
const Aws::Vector< Aws::String > & GetGroupNames() const
const Aws::String & GetAdditionalInfo() const
void SetGroupIds(GroupIdsT &&value)
bool GroupIdsHasBeenSet() const
bool AdditionalInfoHasBeenSet() const
ImportInstanceLaunchSpecification & WithPlacement(PlacementT &&value)
void SetPrivateIpAddress(PrivateIpAddressT &&value)
ShutdownBehavior GetInstanceInitiatedShutdownBehavior() const
void SetMonitoring(bool value)
const UserData & GetUserData() const
void SetGroupNames(GroupNamesT &&value)
AWS_EC2_API ImportInstanceLaunchSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ImportInstanceLaunchSpecification & AddGroupIds(GroupIdsT &&value)
ImportInstanceLaunchSpecification & WithSubnetId(SubnetIdT &&value)
bool UserDataHasBeenSet() const
const Placement & GetPlacement() const
void SetArchitecture(ArchitectureValues value)
bool PrivateIpAddressHasBeenSet() const
ImportInstanceLaunchSpecification & WithPrivateIpAddress(PrivateIpAddressT &&value)
const Aws::String & GetPrivateIpAddress() const
ImportInstanceLaunchSpecification & WithAdditionalInfo(AdditionalInfoT &&value)
void SetSubnetId(SubnetIdT &&value)
void SetPlacement(PlacementT &&value)
ImportInstanceLaunchSpecification & WithInstanceType(InstanceType value)
ImportInstanceLaunchSpecification & WithGroupIds(GroupIdsT &&value)
InstanceType GetInstanceType() const
bool ArchitectureHasBeenSet() const
bool GroupNamesHasBeenSet() const
ImportInstanceLaunchSpecification & WithArchitecture(ArchitectureValues value)
ImportInstanceLaunchSpecification & WithGroupNames(GroupNamesT &&value)
ImportInstanceLaunchSpecification & WithUserData(UserDataT &&value)
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
const Aws::String & GetSubnetId() const
ImportInstanceLaunchSpecification & WithMonitoring(bool value)
void SetUserData(UserDataT &&value)
ImportInstanceLaunchSpecification & WithInstanceInitiatedShutdownBehavior(ShutdownBehavior value)
const Aws::Vector< Aws::String > & GetGroupIds() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ArchitectureValues GetArchitecture() const
bool SubnetIdHasBeenSet() const
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