7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/opsworks/model/AutoScalingType.h>
12#include <aws/opsworks/model/Architecture.h>
13#include <aws/opsworks/model/RootDeviceType.h>
14#include <aws/opsworks/model/BlockDeviceMapping.h>
48 template<
typename StackIdT = Aws::String>
49 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet =
true; m_stackId = std::forward<StackIdT>(value); }
50 template<
typename StackIdT = Aws::String>
60 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
61 void SetLayerIds(LayerIdsT&& value) { m_layerIdsHasBeenSet =
true; m_layerIds = std::forward<LayerIdsT>(value); }
62 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
64 template<
typename LayerIdsT = Aws::String>
81 template<
typename InstanceTypeT = Aws::String>
82 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
83 template<
typename InstanceTypeT = Aws::String>
106 template<
typename HostnameT = Aws::String>
107 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet =
true; m_hostname = std::forward<HostnameT>(value); }
108 template<
typename HostnameT = Aws::String>
143 template<
typename OsT = Aws::String>
144 void SetOs(OsT&& value) { m_osHasBeenSet =
true; m_os = std::forward<OsT>(value); }
145 template<
typename OsT = Aws::String>
159 template<
typename AmiIdT = Aws::String>
160 void SetAmiId(AmiIdT&& value) { m_amiIdHasBeenSet =
true; m_amiId = std::forward<AmiIdT>(value); }
161 template<
typename AmiIdT = Aws::String>
171 template<
typename SshKeyNameT = Aws::String>
172 void SetSshKeyName(SshKeyNameT&& value) { m_sshKeyNameHasBeenSet =
true; m_sshKeyName = std::forward<SshKeyNameT>(value); }
173 template<
typename SshKeyNameT = Aws::String>
185 template<
typename AvailabilityZoneT = Aws::String>
186 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
187 template<
typename AvailabilityZoneT = Aws::String>
198 template<
typename VirtualizationTypeT = Aws::String>
199 void SetVirtualizationType(VirtualizationTypeT&& value) { m_virtualizationTypeHasBeenSet =
true; m_virtualizationType = std::forward<VirtualizationTypeT>(value); }
200 template<
typename VirtualizationTypeT = Aws::String>
212 template<
typename SubnetIdT = Aws::String>
213 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
214 template<
typename SubnetIdT = Aws::String>
254 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
255 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
256 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
258 template<
typename BlockDeviceMappingsT = BlockDeviceMapping>
286 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
305 template<
typename AgentVersionT = Aws::String>
306 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
307 template<
typename AgentVersionT = Aws::String>
329 template<
typename TenancyT = Aws::String>
330 void SetTenancy(TenancyT&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::forward<TenancyT>(value); }
331 template<
typename TenancyT = Aws::String>
337 bool m_stackIdHasBeenSet =
false;
340 bool m_layerIdsHasBeenSet =
false;
343 bool m_instanceTypeHasBeenSet =
false;
346 bool m_autoScalingTypeHasBeenSet =
false;
349 bool m_hostnameHasBeenSet =
false;
352 bool m_osHasBeenSet =
false;
355 bool m_amiIdHasBeenSet =
false;
358 bool m_sshKeyNameHasBeenSet =
false;
361 bool m_availabilityZoneHasBeenSet =
false;
364 bool m_virtualizationTypeHasBeenSet =
false;
367 bool m_subnetIdHasBeenSet =
false;
370 bool m_architectureHasBeenSet =
false;
373 bool m_rootDeviceTypeHasBeenSet =
false;
376 bool m_blockDeviceMappingsHasBeenSet =
false;
378 bool m_installUpdatesOnBoot{
false};
379 bool m_installUpdatesOnBootHasBeenSet =
false;
381 bool m_ebsOptimized{
false};
382 bool m_ebsOptimizedHasBeenSet =
false;
385 bool m_agentVersionHasBeenSet =
false;
388 bool m_tenancyHasBeenSet =
false;
void SetVirtualizationType(VirtualizationTypeT &&value)
bool AgentVersionHasBeenSet() const
void SetAutoScalingType(AutoScalingType value)
const Aws::String & GetHostname() const
const Aws::String & GetSshKeyName() const
const Aws::String & GetAgentVersion() const
CreateInstanceRequest & WithStackId(StackIdT &&value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
bool EbsOptimizedHasBeenSet() const
void SetLayerIds(LayerIdsT &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetTenancy() const
bool LayerIdsHasBeenSet() const
bool TenancyHasBeenSet() const
bool ArchitectureHasBeenSet() const
bool VirtualizationTypeHasBeenSet() const
bool RootDeviceTypeHasBeenSet() const
void SetHostname(HostnameT &&value)
CreateInstanceRequest & WithOs(OsT &&value)
bool OsHasBeenSet() const
bool BlockDeviceMappingsHasBeenSet() const
AutoScalingType GetAutoScalingType() const
void SetSshKeyName(SshKeyNameT &&value)
CreateInstanceRequest & WithVirtualizationType(VirtualizationTypeT &&value)
CreateInstanceRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetEbsOptimized(bool value)
CreateInstanceRequest & WithSubnetId(SubnetIdT &&value)
bool InstanceTypeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
CreateInstanceRequest & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
bool InstallUpdatesOnBootHasBeenSet() const
CreateInstanceRequest & WithAutoScalingType(AutoScalingType value)
bool AutoScalingTypeHasBeenSet() const
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
CreateInstanceRequest & WithLayerIds(LayerIdsT &&value)
CreateInstanceRequest & WithAgentVersion(AgentVersionT &&value)
const Aws::String & GetVirtualizationType() const
bool StackIdHasBeenSet() const
AWS_OPSWORKS_API CreateInstanceRequest()=default
CreateInstanceRequest & WithInstanceType(InstanceTypeT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool SubnetIdHasBeenSet() const
const Aws::String & GetStackId() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
Architecture GetArchitecture() const
void SetStackId(StackIdT &&value)
CreateInstanceRequest & WithTenancy(TenancyT &&value)
const Aws::String & GetAvailabilityZone() const
bool AmiIdHasBeenSet() const
void SetSubnetId(SubnetIdT &&value)
void SetTenancy(TenancyT &&value)
CreateInstanceRequest & WithRootDeviceType(RootDeviceType value)
void SetInstallUpdatesOnBoot(bool value)
bool HostnameHasBeenSet() const
CreateInstanceRequest & WithAmiId(AmiIdT &&value)
CreateInstanceRequest & WithInstallUpdatesOnBoot(bool value)
bool SshKeyNameHasBeenSet() const
CreateInstanceRequest & WithHostname(HostnameT &&value)
CreateInstanceRequest & WithSshKeyName(SshKeyNameT &&value)
void SetAmiId(AmiIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateInstanceRequest & WithEbsOptimized(bool value)
RootDeviceType GetRootDeviceType() const
const Aws::String & GetAmiId() const
const Aws::String & GetInstanceType() const
void SetArchitecture(Architecture value)
CreateInstanceRequest & AddLayerIds(LayerIdsT &&value)
bool GetEbsOptimized() const
CreateInstanceRequest & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
const Aws::String & GetOs() const
void SetAgentVersion(AgentVersionT &&value)
const Aws::Vector< Aws::String > & GetLayerIds() const
CreateInstanceRequest & WithArchitecture(Architecture value)
bool GetInstallUpdatesOnBoot() const
const Aws::String & GetSubnetId() const
void SetRootDeviceType(RootDeviceType value)
void SetInstanceType(InstanceTypeT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector