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>
46 template<
typename InstanceIdT = Aws::String>
47 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
48 template<
typename InstanceIdT = Aws::String>
58 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
59 void SetLayerIds(LayerIdsT&& value) { m_layerIdsHasBeenSet =
true; m_layerIds = std::forward<LayerIdsT>(value); }
60 template<
typename LayerIdsT = Aws::Vector<Aws::String>>
62 template<
typename LayerIdsT = Aws::String>
79 template<
typename InstanceTypeT = Aws::String>
80 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
81 template<
typename InstanceTypeT = Aws::String>
104 template<
typename HostnameT = Aws::String>
105 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet =
true; m_hostname = std::forward<HostnameT>(value); }
106 template<
typename HostnameT = Aws::String>
141 template<
typename OsT = Aws::String>
142 void SetOs(OsT&& value) { m_osHasBeenSet =
true; m_os = std::forward<OsT>(value); }
143 template<
typename OsT = Aws::String>
156 template<
typename AmiIdT = Aws::String>
157 void SetAmiId(AmiIdT&& value) { m_amiIdHasBeenSet =
true; m_amiId = std::forward<AmiIdT>(value); }
158 template<
typename AmiIdT = Aws::String>
168 template<
typename SshKeyNameT = Aws::String>
169 void SetSshKeyName(SshKeyNameT&& value) { m_sshKeyNameHasBeenSet =
true; m_sshKeyName = std::forward<SshKeyNameT>(value); }
170 template<
typename SshKeyNameT = Aws::String>
212 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
232 template<
typename AgentVersionT = Aws::String>
233 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet =
true; m_agentVersion = std::forward<AgentVersionT>(value); }
234 template<
typename AgentVersionT = Aws::String>
240 bool m_instanceIdHasBeenSet =
false;
243 bool m_layerIdsHasBeenSet =
false;
246 bool m_instanceTypeHasBeenSet =
false;
249 bool m_autoScalingTypeHasBeenSet =
false;
252 bool m_hostnameHasBeenSet =
false;
255 bool m_osHasBeenSet =
false;
258 bool m_amiIdHasBeenSet =
false;
261 bool m_sshKeyNameHasBeenSet =
false;
264 bool m_architectureHasBeenSet =
false;
266 bool m_installUpdatesOnBoot{
false};
267 bool m_installUpdatesOnBootHasBeenSet =
false;
269 bool m_ebsOptimized{
false};
270 bool m_ebsOptimizedHasBeenSet =
false;
273 bool m_agentVersionHasBeenSet =
false;
UpdateInstanceRequest & WithOs(OsT &&value)
UpdateInstanceRequest & WithArchitecture(Architecture value)
bool LayerIdsHasBeenSet() const
UpdateInstanceRequest & WithAutoScalingType(AutoScalingType value)
bool GetInstallUpdatesOnBoot() const
bool InstallUpdatesOnBootHasBeenSet() const
const Aws::String & GetAmiId() const
UpdateInstanceRequest & WithInstallUpdatesOnBoot(bool value)
UpdateInstanceRequest & WithAmiId(AmiIdT &&value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
UpdateInstanceRequest & WithInstanceType(InstanceTypeT &&value)
const Aws::String & GetAgentVersion() const
void SetAutoScalingType(AutoScalingType value)
const Aws::String & GetOs() const
bool ArchitectureHasBeenSet() const
void SetAgentVersion(AgentVersionT &&value)
bool SshKeyNameHasBeenSet() const
void SetAmiId(AmiIdT &&value)
AutoScalingType GetAutoScalingType() const
bool HostnameHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetSshKeyName(SshKeyNameT &&value)
void SetLayerIds(LayerIdsT &&value)
bool EbsOptimizedHasBeenSet() const
bool GetEbsOptimized() const
bool AutoScalingTypeHasBeenSet() const
void SetHostname(HostnameT &&value)
UpdateInstanceRequest & WithLayerIds(LayerIdsT &&value)
UpdateInstanceRequest & WithInstanceId(InstanceIdT &&value)
UpdateInstanceRequest & WithHostname(HostnameT &&value)
AWS_OPSWORKS_API UpdateInstanceRequest()=default
const Aws::String & GetHostname() const
Architecture GetArchitecture() const
const Aws::String & GetInstanceType() const
const Aws::String & GetSshKeyName() const
void SetInstanceType(InstanceTypeT &&value)
bool InstanceTypeHasBeenSet() const
void SetEbsOptimized(bool value)
bool OsHasBeenSet() const
void SetInstanceId(InstanceIdT &&value)
void SetInstallUpdatesOnBoot(bool value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInstanceRequest & WithEbsOptimized(bool value)
bool AgentVersionHasBeenSet() const
void SetArchitecture(Architecture value)
UpdateInstanceRequest & WithAgentVersion(AgentVersionT &&value)
bool InstanceIdHasBeenSet() const
bool AmiIdHasBeenSet() const
UpdateInstanceRequest & WithSshKeyName(SshKeyNameT &&value)
UpdateInstanceRequest & AddLayerIds(LayerIdsT &&value)
const Aws::Vector< Aws::String > & GetLayerIds() const
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