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>
48 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
84 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
113 inline void SetHostname(
const char* value) { m_hostnameHasBeenSet =
true; m_hostname.assign(value); }
152 inline void SetOs(
const char* value) { m_osHasBeenSet =
true; m_os.assign(value); }
169 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
183 inline void SetSshKeyName(
const char* value) { m_sshKeyNameHasBeenSet =
true; m_sshKeyName.assign(value); }
229 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
251 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
259 bool m_instanceIdHasBeenSet =
false;
262 bool m_layerIdsHasBeenSet =
false;
265 bool m_instanceTypeHasBeenSet =
false;
268 bool m_autoScalingTypeHasBeenSet =
false;
271 bool m_hostnameHasBeenSet =
false;
274 bool m_osHasBeenSet =
false;
277 bool m_amiIdHasBeenSet =
false;
280 bool m_sshKeyNameHasBeenSet =
false;
283 bool m_architectureHasBeenSet =
false;
285 bool m_installUpdatesOnBoot;
286 bool m_installUpdatesOnBootHasBeenSet =
false;
289 bool m_ebsOptimizedHasBeenSet =
false;
292 bool m_agentVersionHasBeenSet =
false;
UpdateInstanceRequest & WithOs(Aws::String &&value)
bool LayerIdsHasBeenSet() const
bool GetInstallUpdatesOnBoot() const
bool InstallUpdatesOnBootHasBeenSet() const
const Aws::String & GetAmiId() const
UpdateInstanceRequest & WithInstallUpdatesOnBoot(bool value)
UpdateInstanceRequest & WithInstanceId(const Aws::String &value)
AWS_OPSWORKS_API UpdateInstanceRequest()
void SetSshKeyName(Aws::String &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
UpdateInstanceRequest & WithOs(const char *value)
const Aws::String & GetAgentVersion() const
void SetSshKeyName(const Aws::String &value)
UpdateInstanceRequest & WithLayerIds(const Aws::Vector< Aws::String > &value)
UpdateInstanceRequest & WithAmiId(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
void SetLayerIds(Aws::Vector< Aws::String > &&value)
UpdateInstanceRequest & WithAgentVersion(Aws::String &&value)
UpdateInstanceRequest & WithAmiId(Aws::String &&value)
void SetHostname(Aws::String &&value)
const Aws::String & GetOs() const
void SetAgentVersion(Aws::String &&value)
void SetArchitecture(Architecture &&value)
bool ArchitectureHasBeenSet() const
UpdateInstanceRequest & WithInstanceType(const Aws::String &value)
UpdateInstanceRequest & WithAgentVersion(const char *value)
UpdateInstanceRequest & WithInstanceId(const char *value)
void SetInstanceId(const char *value)
void SetInstanceType(const Aws::String &value)
UpdateInstanceRequest & WithInstanceType(const char *value)
bool SshKeyNameHasBeenSet() const
UpdateInstanceRequest & WithHostname(const Aws::String &value)
bool HostnameHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetHostname(const char *value)
UpdateInstanceRequest & WithSshKeyName(const Aws::String &value)
UpdateInstanceRequest & WithInstanceId(Aws::String &&value)
void SetSshKeyName(const char *value)
UpdateInstanceRequest & WithAgentVersion(const Aws::String &value)
UpdateInstanceRequest & WithArchitecture(const Architecture &value)
void SetAutoScalingType(const AutoScalingType &value)
void SetAmiId(const Aws::String &value)
bool EbsOptimizedHasBeenSet() const
bool GetEbsOptimized() const
bool AutoScalingTypeHasBeenSet() const
UpdateInstanceRequest & WithArchitecture(Architecture &&value)
void SetAutoScalingType(AutoScalingType &&value)
UpdateInstanceRequest & WithHostname(Aws::String &&value)
UpdateInstanceRequest & WithInstanceType(Aws::String &&value)
const Aws::String & GetHostname() const
const Aws::String & GetInstanceType() const
void SetArchitecture(const Architecture &value)
const Aws::String & GetSshKeyName() const
UpdateInstanceRequest & WithSshKeyName(const char *value)
bool InstanceTypeHasBeenSet() const
void SetLayerIds(const Aws::Vector< Aws::String > &value)
void SetOs(Aws::String &&value)
void SetHostname(const Aws::String &value)
UpdateInstanceRequest & WithOs(const Aws::String &value)
void SetEbsOptimized(bool value)
UpdateInstanceRequest & WithAutoScalingType(const AutoScalingType &value)
UpdateInstanceRequest & AddLayerIds(const char *value)
bool OsHasBeenSet() const
UpdateInstanceRequest & AddLayerIds(Aws::String &&value)
void SetOs(const char *value)
void SetInstallUpdatesOnBoot(bool value)
UpdateInstanceRequest & WithAmiId(const char *value)
void SetOs(const Aws::String &value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInstanceRequest & WithEbsOptimized(bool value)
void SetAmiId(Aws::String &&value)
bool AgentVersionHasBeenSet() const
void SetInstanceId(const Aws::String &value)
void SetAgentVersion(const Aws::String &value)
UpdateInstanceRequest & WithLayerIds(Aws::Vector< Aws::String > &&value)
const Architecture & GetArchitecture() const
void SetInstanceType(const char *value)
UpdateInstanceRequest & WithHostname(const char *value)
bool InstanceIdHasBeenSet() const
bool AmiIdHasBeenSet() const
UpdateInstanceRequest & WithSshKeyName(Aws::String &&value)
UpdateInstanceRequest & AddLayerIds(const Aws::String &value)
void SetAmiId(const char *value)
void SetInstanceId(Aws::String &&value)
const AutoScalingType & GetAutoScalingType() const
UpdateInstanceRequest & WithAutoScalingType(AutoScalingType &&value)
const Aws::Vector< Aws::String > & GetLayerIds() const
void SetAgentVersion(const char *value)
virtual const char * GetServiceRequestName() const override
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