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>
50 inline void SetStackId(
const char* value) { m_stackIdHasBeenSet =
true; m_stackId.assign(value); }
86 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
115 inline void SetHostname(
const char* value) { m_hostnameHasBeenSet =
true; m_hostname.assign(value); }
154 inline void SetOs(
const char* value) { m_osHasBeenSet =
true; m_os.assign(value); }
172 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
186 inline void SetSshKeyName(
const char* value) { m_sshKeyNameHasBeenSet =
true; m_sshKeyName.assign(value); }
202 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
217 inline void SetVirtualizationType(
const char* value) { m_virtualizationTypeHasBeenSet =
true; m_virtualizationType.assign(value); }
233 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
311 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
332 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
358 inline void SetTenancy(
const char* value) { m_tenancyHasBeenSet =
true; m_tenancy.assign(value); }
366 bool m_stackIdHasBeenSet =
false;
369 bool m_layerIdsHasBeenSet =
false;
372 bool m_instanceTypeHasBeenSet =
false;
375 bool m_autoScalingTypeHasBeenSet =
false;
378 bool m_hostnameHasBeenSet =
false;
381 bool m_osHasBeenSet =
false;
384 bool m_amiIdHasBeenSet =
false;
387 bool m_sshKeyNameHasBeenSet =
false;
390 bool m_availabilityZoneHasBeenSet =
false;
393 bool m_virtualizationTypeHasBeenSet =
false;
396 bool m_subnetIdHasBeenSet =
false;
399 bool m_architectureHasBeenSet =
false;
402 bool m_rootDeviceTypeHasBeenSet =
false;
405 bool m_blockDeviceMappingsHasBeenSet =
false;
407 bool m_installUpdatesOnBoot;
408 bool m_installUpdatesOnBootHasBeenSet =
false;
411 bool m_ebsOptimizedHasBeenSet =
false;
414 bool m_agentVersionHasBeenSet =
false;
417 bool m_tenancyHasBeenSet =
false;
void SetVirtualizationType(const char *value)
void SetArchitecture(const Architecture &value)
bool AgentVersionHasBeenSet() const
void SetAmiId(const char *value)
CreateInstanceRequest & WithSshKeyName(const Aws::String &value)
void SetRootDeviceType(const RootDeviceType &value)
CreateInstanceRequest & WithSubnetId(const char *value)
void SetRootDeviceType(RootDeviceType &&value)
void SetSubnetId(Aws::String &&value)
CreateInstanceRequest & WithStackId(const Aws::String &value)
void SetVirtualizationType(const Aws::String &value)
const Aws::String & GetHostname() const
const Aws::String & GetSshKeyName() const
const AutoScalingType & GetAutoScalingType() const
void SetAutoScalingType(AutoScalingType &&value)
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetAgentVersion() const
CreateInstanceRequest & WithTenancy(const Aws::String &value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
bool EbsOptimizedHasBeenSet() const
CreateInstanceRequest & WithInstanceType(const Aws::String &value)
void SetSubnetId(const char *value)
CreateInstanceRequest & WithRootDeviceType(RootDeviceType &&value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetTenancy() const
CreateInstanceRequest & WithOs(Aws::String &&value)
CreateInstanceRequest & WithSubnetId(const Aws::String &value)
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
void SetStackId(const Aws::String &value)
CreateInstanceRequest & WithAvailabilityZone(Aws::String &&value)
CreateInstanceRequest & WithOs(const Aws::String &value)
bool LayerIdsHasBeenSet() const
void SetOs(const char *value)
bool TenancyHasBeenSet() const
CreateInstanceRequest & WithSubnetId(Aws::String &&value)
bool ArchitectureHasBeenSet() const
bool VirtualizationTypeHasBeenSet() const
void SetTenancy(Aws::String &&value)
void SetAgentVersion(const char *value)
bool RootDeviceTypeHasBeenSet() const
CreateInstanceRequest & AddBlockDeviceMappings(BlockDeviceMapping &&value)
void SetHostname(const Aws::String &value)
CreateInstanceRequest & WithAgentVersion(const char *value)
bool OsHasBeenSet() const
bool BlockDeviceMappingsHasBeenSet() const
void SetAvailabilityZone(const char *value)
void SetAmiId(Aws::String &&value)
void SetHostname(const char *value)
CreateInstanceRequest & WithAgentVersion(Aws::String &&value)
CreateInstanceRequest & AddBlockDeviceMappings(const BlockDeviceMapping &value)
CreateInstanceRequest & WithLayerIds(Aws::Vector< Aws::String > &&value)
void SetEbsOptimized(bool value)
bool InstanceTypeHasBeenSet() const
CreateInstanceRequest & WithVirtualizationType(const char *value)
bool AvailabilityZoneHasBeenSet() const
CreateInstanceRequest & WithRootDeviceType(const RootDeviceType &value)
CreateInstanceRequest & WithAmiId(const Aws::String &value)
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
void SetSshKeyName(Aws::String &&value)
const RootDeviceType & GetRootDeviceType() const
bool InstallUpdatesOnBootHasBeenSet() const
CreateInstanceRequest & WithAgentVersion(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
bool AutoScalingTypeHasBeenSet() const
void SetStackId(Aws::String &&value)
void SetSshKeyName(const char *value)
const Aws::String & GetVirtualizationType() const
bool StackIdHasBeenSet() const
void SetArchitecture(Architecture &&value)
void SetTenancy(const char *value)
void SetInstanceType(const char *value)
CreateInstanceRequest & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
CreateInstanceRequest & WithAmiId(Aws::String &&value)
CreateInstanceRequest & WithAmiId(const char *value)
bool SubnetIdHasBeenSet() const
const Aws::String & GetStackId() const
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetStackId(const char *value)
void SetVirtualizationType(Aws::String &&value)
CreateInstanceRequest & WithAutoScalingType(AutoScalingType &&value)
void SetLayerIds(Aws::Vector< Aws::String > &&value)
void SetAgentVersion(const Aws::String &value)
CreateInstanceRequest & WithHostname(Aws::String &&value)
CreateInstanceRequest & WithVirtualizationType(Aws::String &&value)
CreateInstanceRequest & WithAvailabilityZone(const char *value)
CreateInstanceRequest & WithInstanceType(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
CreateInstanceRequest & WithTenancy(const char *value)
bool AmiIdHasBeenSet() const
AWS_OPSWORKS_API CreateInstanceRequest()
CreateInstanceRequest & WithAvailabilityZone(const Aws::String &value)
void SetAutoScalingType(const AutoScalingType &value)
CreateInstanceRequest & WithVirtualizationType(const Aws::String &value)
CreateInstanceRequest & WithAutoScalingType(const AutoScalingType &value)
CreateInstanceRequest & AddLayerIds(Aws::String &&value)
void SetOs(const Aws::String &value)
CreateInstanceRequest & WithArchitecture(Architecture &&value)
void SetInstallUpdatesOnBoot(bool value)
void SetInstanceType(const Aws::String &value)
bool HostnameHasBeenSet() const
CreateInstanceRequest & WithSshKeyName(const char *value)
CreateInstanceRequest & WithInstallUpdatesOnBoot(bool value)
CreateInstanceRequest & WithInstanceType(const char *value)
bool SshKeyNameHasBeenSet() const
const Architecture & GetArchitecture() const
void SetOs(Aws::String &&value)
CreateInstanceRequest & WithTenancy(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetAgentVersion(Aws::String &&value)
CreateInstanceRequest & AddLayerIds(const Aws::String &value)
CreateInstanceRequest & WithEbsOptimized(bool value)
CreateInstanceRequest & WithLayerIds(const Aws::Vector< Aws::String > &value)
CreateInstanceRequest & AddLayerIds(const char *value)
const Aws::String & GetAmiId() const
CreateInstanceRequest & WithOs(const char *value)
const Aws::String & GetInstanceType() const
void SetHostname(Aws::String &&value)
void SetLayerIds(const Aws::Vector< Aws::String > &value)
bool GetEbsOptimized() const
void SetSshKeyName(const Aws::String &value)
const Aws::String & GetOs() const
void SetAmiId(const Aws::String &value)
void SetSubnetId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLayerIds() const
bool GetInstallUpdatesOnBoot() const
CreateInstanceRequest & WithArchitecture(const Architecture &value)
void SetTenancy(const Aws::String &value)
const Aws::String & GetSubnetId() const
CreateInstanceRequest & WithStackId(const char *value)
CreateInstanceRequest & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
CreateInstanceRequest & WithStackId(Aws::String &&value)
CreateInstanceRequest & WithSshKeyName(Aws::String &&value)
void SetInstanceType(Aws::String &&value)
CreateInstanceRequest & WithHostname(const char *value)
CreateInstanceRequest & WithHostname(const Aws::String &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