AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Instance.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/Architecture.h>
10#include <aws/opsworks/model/AutoScalingType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/opsworks/model/ReportedOs.h>
13#include <aws/opsworks/model/RootDeviceType.h>
14#include <aws/opsworks/model/VirtualizationType.h>
15#include <aws/opsworks/model/BlockDeviceMapping.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace OpsWorks
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_OPSWORKS_API Instance();
42 AWS_OPSWORKS_API Instance(Aws::Utils::Json::JsonView jsonValue);
43 AWS_OPSWORKS_API Instance& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; }
54 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
55 inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; }
56 inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); }
57 inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); }
58 inline Instance& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;}
59 inline Instance& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;}
60 inline Instance& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;}
62
64
70 inline const Aws::String& GetAmiId() const{ return m_amiId; }
71 inline bool AmiIdHasBeenSet() const { return m_amiIdHasBeenSet; }
72 inline void SetAmiId(const Aws::String& value) { m_amiIdHasBeenSet = true; m_amiId = value; }
73 inline void SetAmiId(Aws::String&& value) { m_amiIdHasBeenSet = true; m_amiId = std::move(value); }
74 inline void SetAmiId(const char* value) { m_amiIdHasBeenSet = true; m_amiId.assign(value); }
75 inline Instance& WithAmiId(const Aws::String& value) { SetAmiId(value); return *this;}
76 inline Instance& WithAmiId(Aws::String&& value) { SetAmiId(std::move(value)); return *this;}
77 inline Instance& WithAmiId(const char* value) { SetAmiId(value); return *this;}
79
81
84 inline const Architecture& GetArchitecture() const{ return m_architecture; }
85 inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
86 inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; }
87 inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
88 inline Instance& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;}
89 inline Instance& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetArn() const{ return m_arn; }
97 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
98 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
99 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
100 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
101 inline Instance& WithArn(const Aws::String& value) { SetArn(value); return *this;}
102 inline Instance& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 inline Instance& WithArn(const char* value) { SetArn(value); return *this;}
105
107
110 inline const AutoScalingType& GetAutoScalingType() const{ return m_autoScalingType; }
111 inline bool AutoScalingTypeHasBeenSet() const { return m_autoScalingTypeHasBeenSet; }
112 inline void SetAutoScalingType(const AutoScalingType& value) { m_autoScalingTypeHasBeenSet = true; m_autoScalingType = value; }
113 inline void SetAutoScalingType(AutoScalingType&& value) { m_autoScalingTypeHasBeenSet = true; m_autoScalingType = std::move(value); }
114 inline Instance& WithAutoScalingType(const AutoScalingType& value) { SetAutoScalingType(value); return *this;}
115 inline Instance& WithAutoScalingType(AutoScalingType&& value) { SetAutoScalingType(std::move(value)); return *this;}
117
119
124 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
125 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
126 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
127 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
128 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
129 inline Instance& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
130 inline Instance& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
131 inline Instance& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
133
135
139 inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
140 inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
141 inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
142 inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
145 inline Instance& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
146 inline Instance& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
148
150
153 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
154 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
155 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
156 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
157 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
158 inline Instance& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
159 inline Instance& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
160 inline Instance& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
162
164
167 inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
168 inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
169 inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
170 inline Instance& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
172
174
177 inline const Aws::String& GetEc2InstanceId() const{ return m_ec2InstanceId; }
178 inline bool Ec2InstanceIdHasBeenSet() const { return m_ec2InstanceIdHasBeenSet; }
179 inline void SetEc2InstanceId(const Aws::String& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = value; }
180 inline void SetEc2InstanceId(Aws::String&& value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId = std::move(value); }
181 inline void SetEc2InstanceId(const char* value) { m_ec2InstanceIdHasBeenSet = true; m_ec2InstanceId.assign(value); }
182 inline Instance& WithEc2InstanceId(const Aws::String& value) { SetEc2InstanceId(value); return *this;}
183 inline Instance& WithEc2InstanceId(Aws::String&& value) { SetEc2InstanceId(std::move(value)); return *this;}
184 inline Instance& WithEc2InstanceId(const char* value) { SetEc2InstanceId(value); return *this;}
186
188
191 inline const Aws::String& GetEcsClusterArn() const{ return m_ecsClusterArn; }
192 inline bool EcsClusterArnHasBeenSet() const { return m_ecsClusterArnHasBeenSet; }
193 inline void SetEcsClusterArn(const Aws::String& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = value; }
194 inline void SetEcsClusterArn(Aws::String&& value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn = std::move(value); }
195 inline void SetEcsClusterArn(const char* value) { m_ecsClusterArnHasBeenSet = true; m_ecsClusterArn.assign(value); }
196 inline Instance& WithEcsClusterArn(const Aws::String& value) { SetEcsClusterArn(value); return *this;}
197 inline Instance& WithEcsClusterArn(Aws::String&& value) { SetEcsClusterArn(std::move(value)); return *this;}
198 inline Instance& WithEcsClusterArn(const char* value) { SetEcsClusterArn(value); return *this;}
200
202
205 inline const Aws::String& GetEcsContainerInstanceArn() const{ return m_ecsContainerInstanceArn; }
206 inline bool EcsContainerInstanceArnHasBeenSet() const { return m_ecsContainerInstanceArnHasBeenSet; }
207 inline void SetEcsContainerInstanceArn(const Aws::String& value) { m_ecsContainerInstanceArnHasBeenSet = true; m_ecsContainerInstanceArn = value; }
208 inline void SetEcsContainerInstanceArn(Aws::String&& value) { m_ecsContainerInstanceArnHasBeenSet = true; m_ecsContainerInstanceArn = std::move(value); }
209 inline void SetEcsContainerInstanceArn(const char* value) { m_ecsContainerInstanceArnHasBeenSet = true; m_ecsContainerInstanceArn.assign(value); }
210 inline Instance& WithEcsContainerInstanceArn(const Aws::String& value) { SetEcsContainerInstanceArn(value); return *this;}
211 inline Instance& WithEcsContainerInstanceArn(Aws::String&& value) { SetEcsContainerInstanceArn(std::move(value)); return *this;}
212 inline Instance& WithEcsContainerInstanceArn(const char* value) { SetEcsContainerInstanceArn(value); return *this;}
214
216
221 inline const Aws::String& GetElasticIp() const{ return m_elasticIp; }
222 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
223 inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; }
224 inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); }
225 inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); }
226 inline Instance& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;}
227 inline Instance& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;}
228 inline Instance& WithElasticIp(const char* value) { SetElasticIp(value); return *this;}
230
232
237 inline const Aws::String& GetHostname() const{ return m_hostname; }
238 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
239 inline void SetHostname(const Aws::String& value) { m_hostnameHasBeenSet = true; m_hostname = value; }
240 inline void SetHostname(Aws::String&& value) { m_hostnameHasBeenSet = true; m_hostname = std::move(value); }
241 inline void SetHostname(const char* value) { m_hostnameHasBeenSet = true; m_hostname.assign(value); }
242 inline Instance& WithHostname(const Aws::String& value) { SetHostname(value); return *this;}
243 inline Instance& WithHostname(Aws::String&& value) { SetHostname(std::move(value)); return *this;}
244 inline Instance& WithHostname(const char* value) { SetHostname(value); return *this;}
246
248
252 inline const Aws::String& GetInfrastructureClass() const{ return m_infrastructureClass; }
253 inline bool InfrastructureClassHasBeenSet() const { return m_infrastructureClassHasBeenSet; }
254 inline void SetInfrastructureClass(const Aws::String& value) { m_infrastructureClassHasBeenSet = true; m_infrastructureClass = value; }
255 inline void SetInfrastructureClass(Aws::String&& value) { m_infrastructureClassHasBeenSet = true; m_infrastructureClass = std::move(value); }
256 inline void SetInfrastructureClass(const char* value) { m_infrastructureClassHasBeenSet = true; m_infrastructureClass.assign(value); }
257 inline Instance& WithInfrastructureClass(const Aws::String& value) { SetInfrastructureClass(value); return *this;}
258 inline Instance& WithInfrastructureClass(Aws::String&& value) { SetInfrastructureClass(std::move(value)); return *this;}
259 inline Instance& WithInfrastructureClass(const char* value) { SetInfrastructureClass(value); return *this;}
261
263
273 inline bool GetInstallUpdatesOnBoot() const{ return m_installUpdatesOnBoot; }
274 inline bool InstallUpdatesOnBootHasBeenSet() const { return m_installUpdatesOnBootHasBeenSet; }
275 inline void SetInstallUpdatesOnBoot(bool value) { m_installUpdatesOnBootHasBeenSet = true; m_installUpdatesOnBoot = value; }
276 inline Instance& WithInstallUpdatesOnBoot(bool value) { SetInstallUpdatesOnBoot(value); return *this;}
278
280
283 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
284 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
285 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
286 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
287 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
288 inline Instance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
289 inline Instance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
290 inline Instance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
292
294
300 inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; }
301 inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; }
302 inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; }
303 inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); }
304 inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); }
305 inline Instance& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;}
306 inline Instance& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;}
307 inline Instance& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;}
309
311
314 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
315 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
316 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
317 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
318 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
319 inline Instance& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
320 inline Instance& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
321 inline Instance& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
323
325
329 inline const Aws::String& GetLastServiceErrorId() const{ return m_lastServiceErrorId; }
330 inline bool LastServiceErrorIdHasBeenSet() const { return m_lastServiceErrorIdHasBeenSet; }
331 inline void SetLastServiceErrorId(const Aws::String& value) { m_lastServiceErrorIdHasBeenSet = true; m_lastServiceErrorId = value; }
332 inline void SetLastServiceErrorId(Aws::String&& value) { m_lastServiceErrorIdHasBeenSet = true; m_lastServiceErrorId = std::move(value); }
333 inline void SetLastServiceErrorId(const char* value) { m_lastServiceErrorIdHasBeenSet = true; m_lastServiceErrorId.assign(value); }
334 inline Instance& WithLastServiceErrorId(const Aws::String& value) { SetLastServiceErrorId(value); return *this;}
335 inline Instance& WithLastServiceErrorId(Aws::String&& value) { SetLastServiceErrorId(std::move(value)); return *this;}
336 inline Instance& WithLastServiceErrorId(const char* value) { SetLastServiceErrorId(value); return *this;}
338
340
343 inline const Aws::Vector<Aws::String>& GetLayerIds() const{ return m_layerIds; }
344 inline bool LayerIdsHasBeenSet() const { return m_layerIdsHasBeenSet; }
345 inline void SetLayerIds(const Aws::Vector<Aws::String>& value) { m_layerIdsHasBeenSet = true; m_layerIds = value; }
346 inline void SetLayerIds(Aws::Vector<Aws::String>&& value) { m_layerIdsHasBeenSet = true; m_layerIds = std::move(value); }
347 inline Instance& WithLayerIds(const Aws::Vector<Aws::String>& value) { SetLayerIds(value); return *this;}
348 inline Instance& WithLayerIds(Aws::Vector<Aws::String>&& value) { SetLayerIds(std::move(value)); return *this;}
349 inline Instance& AddLayerIds(const Aws::String& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
350 inline Instance& AddLayerIds(Aws::String&& value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(std::move(value)); return *this; }
351 inline Instance& AddLayerIds(const char* value) { m_layerIdsHasBeenSet = true; m_layerIds.push_back(value); return *this; }
353
355
358 inline const Aws::String& GetOs() const{ return m_os; }
359 inline bool OsHasBeenSet() const { return m_osHasBeenSet; }
360 inline void SetOs(const Aws::String& value) { m_osHasBeenSet = true; m_os = value; }
361 inline void SetOs(Aws::String&& value) { m_osHasBeenSet = true; m_os = std::move(value); }
362 inline void SetOs(const char* value) { m_osHasBeenSet = true; m_os.assign(value); }
363 inline Instance& WithOs(const Aws::String& value) { SetOs(value); return *this;}
364 inline Instance& WithOs(Aws::String&& value) { SetOs(std::move(value)); return *this;}
365 inline Instance& WithOs(const char* value) { SetOs(value); return *this;}
367
369
372 inline const Aws::String& GetPlatform() const{ return m_platform; }
373 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
374 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
375 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
376 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
377 inline Instance& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
378 inline Instance& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
379 inline Instance& WithPlatform(const char* value) { SetPlatform(value); return *this;}
381
383
386 inline const Aws::String& GetPrivateDns() const{ return m_privateDns; }
387 inline bool PrivateDnsHasBeenSet() const { return m_privateDnsHasBeenSet; }
388 inline void SetPrivateDns(const Aws::String& value) { m_privateDnsHasBeenSet = true; m_privateDns = value; }
389 inline void SetPrivateDns(Aws::String&& value) { m_privateDnsHasBeenSet = true; m_privateDns = std::move(value); }
390 inline void SetPrivateDns(const char* value) { m_privateDnsHasBeenSet = true; m_privateDns.assign(value); }
391 inline Instance& WithPrivateDns(const Aws::String& value) { SetPrivateDns(value); return *this;}
392 inline Instance& WithPrivateDns(Aws::String&& value) { SetPrivateDns(std::move(value)); return *this;}
393 inline Instance& WithPrivateDns(const char* value) { SetPrivateDns(value); return *this;}
395
397
400 inline const Aws::String& GetPrivateIp() const{ return m_privateIp; }
401 inline bool PrivateIpHasBeenSet() const { return m_privateIpHasBeenSet; }
402 inline void SetPrivateIp(const Aws::String& value) { m_privateIpHasBeenSet = true; m_privateIp = value; }
403 inline void SetPrivateIp(Aws::String&& value) { m_privateIpHasBeenSet = true; m_privateIp = std::move(value); }
404 inline void SetPrivateIp(const char* value) { m_privateIpHasBeenSet = true; m_privateIp.assign(value); }
405 inline Instance& WithPrivateIp(const Aws::String& value) { SetPrivateIp(value); return *this;}
406 inline Instance& WithPrivateIp(Aws::String&& value) { SetPrivateIp(std::move(value)); return *this;}
407 inline Instance& WithPrivateIp(const char* value) { SetPrivateIp(value); return *this;}
409
411
414 inline const Aws::String& GetPublicDns() const{ return m_publicDns; }
415 inline bool PublicDnsHasBeenSet() const { return m_publicDnsHasBeenSet; }
416 inline void SetPublicDns(const Aws::String& value) { m_publicDnsHasBeenSet = true; m_publicDns = value; }
417 inline void SetPublicDns(Aws::String&& value) { m_publicDnsHasBeenSet = true; m_publicDns = std::move(value); }
418 inline void SetPublicDns(const char* value) { m_publicDnsHasBeenSet = true; m_publicDns.assign(value); }
419 inline Instance& WithPublicDns(const Aws::String& value) { SetPublicDns(value); return *this;}
420 inline Instance& WithPublicDns(Aws::String&& value) { SetPublicDns(std::move(value)); return *this;}
421 inline Instance& WithPublicDns(const char* value) { SetPublicDns(value); return *this;}
423
425
428 inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
429 inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; }
430 inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; }
431 inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); }
432 inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); }
433 inline Instance& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
434 inline Instance& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
435 inline Instance& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
437
439
442 inline const Aws::String& GetRegisteredBy() const{ return m_registeredBy; }
443 inline bool RegisteredByHasBeenSet() const { return m_registeredByHasBeenSet; }
444 inline void SetRegisteredBy(const Aws::String& value) { m_registeredByHasBeenSet = true; m_registeredBy = value; }
445 inline void SetRegisteredBy(Aws::String&& value) { m_registeredByHasBeenSet = true; m_registeredBy = std::move(value); }
446 inline void SetRegisteredBy(const char* value) { m_registeredByHasBeenSet = true; m_registeredBy.assign(value); }
447 inline Instance& WithRegisteredBy(const Aws::String& value) { SetRegisteredBy(value); return *this;}
448 inline Instance& WithRegisteredBy(Aws::String&& value) { SetRegisteredBy(std::move(value)); return *this;}
449 inline Instance& WithRegisteredBy(const char* value) { SetRegisteredBy(value); return *this;}
451
453
456 inline const Aws::String& GetReportedAgentVersion() const{ return m_reportedAgentVersion; }
457 inline bool ReportedAgentVersionHasBeenSet() const { return m_reportedAgentVersionHasBeenSet; }
458 inline void SetReportedAgentVersion(const Aws::String& value) { m_reportedAgentVersionHasBeenSet = true; m_reportedAgentVersion = value; }
459 inline void SetReportedAgentVersion(Aws::String&& value) { m_reportedAgentVersionHasBeenSet = true; m_reportedAgentVersion = std::move(value); }
460 inline void SetReportedAgentVersion(const char* value) { m_reportedAgentVersionHasBeenSet = true; m_reportedAgentVersion.assign(value); }
461 inline Instance& WithReportedAgentVersion(const Aws::String& value) { SetReportedAgentVersion(value); return *this;}
462 inline Instance& WithReportedAgentVersion(Aws::String&& value) { SetReportedAgentVersion(std::move(value)); return *this;}
463 inline Instance& WithReportedAgentVersion(const char* value) { SetReportedAgentVersion(value); return *this;}
465
467
470 inline const ReportedOs& GetReportedOs() const{ return m_reportedOs; }
471 inline bool ReportedOsHasBeenSet() const { return m_reportedOsHasBeenSet; }
472 inline void SetReportedOs(const ReportedOs& value) { m_reportedOsHasBeenSet = true; m_reportedOs = value; }
473 inline void SetReportedOs(ReportedOs&& value) { m_reportedOsHasBeenSet = true; m_reportedOs = std::move(value); }
474 inline Instance& WithReportedOs(const ReportedOs& value) { SetReportedOs(value); return *this;}
475 inline Instance& WithReportedOs(ReportedOs&& value) { SetReportedOs(std::move(value)); return *this;}
477
479
484 inline const RootDeviceType& GetRootDeviceType() const{ return m_rootDeviceType; }
485 inline bool RootDeviceTypeHasBeenSet() const { return m_rootDeviceTypeHasBeenSet; }
486 inline void SetRootDeviceType(const RootDeviceType& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = value; }
487 inline void SetRootDeviceType(RootDeviceType&& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = std::move(value); }
488 inline Instance& WithRootDeviceType(const RootDeviceType& value) { SetRootDeviceType(value); return *this;}
489 inline Instance& WithRootDeviceType(RootDeviceType&& value) { SetRootDeviceType(std::move(value)); return *this;}
491
493
496 inline const Aws::String& GetRootDeviceVolumeId() const{ return m_rootDeviceVolumeId; }
497 inline bool RootDeviceVolumeIdHasBeenSet() const { return m_rootDeviceVolumeIdHasBeenSet; }
498 inline void SetRootDeviceVolumeId(const Aws::String& value) { m_rootDeviceVolumeIdHasBeenSet = true; m_rootDeviceVolumeId = value; }
499 inline void SetRootDeviceVolumeId(Aws::String&& value) { m_rootDeviceVolumeIdHasBeenSet = true; m_rootDeviceVolumeId = std::move(value); }
500 inline void SetRootDeviceVolumeId(const char* value) { m_rootDeviceVolumeIdHasBeenSet = true; m_rootDeviceVolumeId.assign(value); }
501 inline Instance& WithRootDeviceVolumeId(const Aws::String& value) { SetRootDeviceVolumeId(value); return *this;}
502 inline Instance& WithRootDeviceVolumeId(Aws::String&& value) { SetRootDeviceVolumeId(std::move(value)); return *this;}
503 inline Instance& WithRootDeviceVolumeId(const char* value) { SetRootDeviceVolumeId(value); return *this;}
505
507
510 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
511 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
512 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
513 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
514 inline Instance& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
515 inline Instance& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
516 inline Instance& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
517 inline Instance& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
518 inline Instance& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
520
522
525 inline const Aws::String& GetSshHostDsaKeyFingerprint() const{ return m_sshHostDsaKeyFingerprint; }
526 inline bool SshHostDsaKeyFingerprintHasBeenSet() const { return m_sshHostDsaKeyFingerprintHasBeenSet; }
527 inline void SetSshHostDsaKeyFingerprint(const Aws::String& value) { m_sshHostDsaKeyFingerprintHasBeenSet = true; m_sshHostDsaKeyFingerprint = value; }
528 inline void SetSshHostDsaKeyFingerprint(Aws::String&& value) { m_sshHostDsaKeyFingerprintHasBeenSet = true; m_sshHostDsaKeyFingerprint = std::move(value); }
529 inline void SetSshHostDsaKeyFingerprint(const char* value) { m_sshHostDsaKeyFingerprintHasBeenSet = true; m_sshHostDsaKeyFingerprint.assign(value); }
531 inline Instance& WithSshHostDsaKeyFingerprint(Aws::String&& value) { SetSshHostDsaKeyFingerprint(std::move(value)); return *this;}
532 inline Instance& WithSshHostDsaKeyFingerprint(const char* value) { SetSshHostDsaKeyFingerprint(value); return *this;}
534
536
539 inline const Aws::String& GetSshHostRsaKeyFingerprint() const{ return m_sshHostRsaKeyFingerprint; }
540 inline bool SshHostRsaKeyFingerprintHasBeenSet() const { return m_sshHostRsaKeyFingerprintHasBeenSet; }
541 inline void SetSshHostRsaKeyFingerprint(const Aws::String& value) { m_sshHostRsaKeyFingerprintHasBeenSet = true; m_sshHostRsaKeyFingerprint = value; }
542 inline void SetSshHostRsaKeyFingerprint(Aws::String&& value) { m_sshHostRsaKeyFingerprintHasBeenSet = true; m_sshHostRsaKeyFingerprint = std::move(value); }
543 inline void SetSshHostRsaKeyFingerprint(const char* value) { m_sshHostRsaKeyFingerprintHasBeenSet = true; m_sshHostRsaKeyFingerprint.assign(value); }
545 inline Instance& WithSshHostRsaKeyFingerprint(Aws::String&& value) { SetSshHostRsaKeyFingerprint(std::move(value)); return *this;}
546 inline Instance& WithSshHostRsaKeyFingerprint(const char* value) { SetSshHostRsaKeyFingerprint(value); return *this;}
548
550
553 inline const Aws::String& GetSshKeyName() const{ return m_sshKeyName; }
554 inline bool SshKeyNameHasBeenSet() const { return m_sshKeyNameHasBeenSet; }
555 inline void SetSshKeyName(const Aws::String& value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName = value; }
556 inline void SetSshKeyName(Aws::String&& value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName = std::move(value); }
557 inline void SetSshKeyName(const char* value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName.assign(value); }
558 inline Instance& WithSshKeyName(const Aws::String& value) { SetSshKeyName(value); return *this;}
559 inline Instance& WithSshKeyName(Aws::String&& value) { SetSshKeyName(std::move(value)); return *this;}
560 inline Instance& WithSshKeyName(const char* value) { SetSshKeyName(value); return *this;}
562
564
567 inline const Aws::String& GetStackId() const{ return m_stackId; }
568 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
569 inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
570 inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
571 inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
572 inline Instance& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
573 inline Instance& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
574 inline Instance& WithStackId(const char* value) { SetStackId(value); return *this;}
576
578
590 inline const Aws::String& GetStatus() const{ return m_status; }
591 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
592 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
593 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
594 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
595 inline Instance& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
596 inline Instance& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
597 inline Instance& WithStatus(const char* value) { SetStatus(value); return *this;}
599
601
605 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
606 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
607 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
608 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
609 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
610 inline Instance& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
611 inline Instance& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
612 inline Instance& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
614
616
620 inline const Aws::String& GetTenancy() const{ return m_tenancy; }
621 inline bool TenancyHasBeenSet() const { return m_tenancyHasBeenSet; }
622 inline void SetTenancy(const Aws::String& value) { m_tenancyHasBeenSet = true; m_tenancy = value; }
623 inline void SetTenancy(Aws::String&& value) { m_tenancyHasBeenSet = true; m_tenancy = std::move(value); }
624 inline void SetTenancy(const char* value) { m_tenancyHasBeenSet = true; m_tenancy.assign(value); }
625 inline Instance& WithTenancy(const Aws::String& value) { SetTenancy(value); return *this;}
626 inline Instance& WithTenancy(Aws::String&& value) { SetTenancy(std::move(value)); return *this;}
627 inline Instance& WithTenancy(const char* value) { SetTenancy(value); return *this;}
629
631
635 inline const VirtualizationType& GetVirtualizationType() const{ return m_virtualizationType; }
636 inline bool VirtualizationTypeHasBeenSet() const { return m_virtualizationTypeHasBeenSet; }
637 inline void SetVirtualizationType(const VirtualizationType& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = value; }
638 inline void SetVirtualizationType(VirtualizationType&& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = std::move(value); }
639 inline Instance& WithVirtualizationType(const VirtualizationType& value) { SetVirtualizationType(value); return *this;}
640 inline Instance& WithVirtualizationType(VirtualizationType&& value) { SetVirtualizationType(std::move(value)); return *this;}
642 private:
643
644 Aws::String m_agentVersion;
645 bool m_agentVersionHasBeenSet = false;
646
647 Aws::String m_amiId;
648 bool m_amiIdHasBeenSet = false;
649
650 Architecture m_architecture;
651 bool m_architectureHasBeenSet = false;
652
653 Aws::String m_arn;
654 bool m_arnHasBeenSet = false;
655
656 AutoScalingType m_autoScalingType;
657 bool m_autoScalingTypeHasBeenSet = false;
658
659 Aws::String m_availabilityZone;
660 bool m_availabilityZoneHasBeenSet = false;
661
662 Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
663 bool m_blockDeviceMappingsHasBeenSet = false;
664
665 Aws::String m_createdAt;
666 bool m_createdAtHasBeenSet = false;
667
668 bool m_ebsOptimized;
669 bool m_ebsOptimizedHasBeenSet = false;
670
671 Aws::String m_ec2InstanceId;
672 bool m_ec2InstanceIdHasBeenSet = false;
673
674 Aws::String m_ecsClusterArn;
675 bool m_ecsClusterArnHasBeenSet = false;
676
677 Aws::String m_ecsContainerInstanceArn;
678 bool m_ecsContainerInstanceArnHasBeenSet = false;
679
680 Aws::String m_elasticIp;
681 bool m_elasticIpHasBeenSet = false;
682
683 Aws::String m_hostname;
684 bool m_hostnameHasBeenSet = false;
685
686 Aws::String m_infrastructureClass;
687 bool m_infrastructureClassHasBeenSet = false;
688
689 bool m_installUpdatesOnBoot;
690 bool m_installUpdatesOnBootHasBeenSet = false;
691
692 Aws::String m_instanceId;
693 bool m_instanceIdHasBeenSet = false;
694
695 Aws::String m_instanceProfileArn;
696 bool m_instanceProfileArnHasBeenSet = false;
697
698 Aws::String m_instanceType;
699 bool m_instanceTypeHasBeenSet = false;
700
701 Aws::String m_lastServiceErrorId;
702 bool m_lastServiceErrorIdHasBeenSet = false;
703
704 Aws::Vector<Aws::String> m_layerIds;
705 bool m_layerIdsHasBeenSet = false;
706
707 Aws::String m_os;
708 bool m_osHasBeenSet = false;
709
710 Aws::String m_platform;
711 bool m_platformHasBeenSet = false;
712
713 Aws::String m_privateDns;
714 bool m_privateDnsHasBeenSet = false;
715
716 Aws::String m_privateIp;
717 bool m_privateIpHasBeenSet = false;
718
719 Aws::String m_publicDns;
720 bool m_publicDnsHasBeenSet = false;
721
722 Aws::String m_publicIp;
723 bool m_publicIpHasBeenSet = false;
724
725 Aws::String m_registeredBy;
726 bool m_registeredByHasBeenSet = false;
727
728 Aws::String m_reportedAgentVersion;
729 bool m_reportedAgentVersionHasBeenSet = false;
730
731 ReportedOs m_reportedOs;
732 bool m_reportedOsHasBeenSet = false;
733
734 RootDeviceType m_rootDeviceType;
735 bool m_rootDeviceTypeHasBeenSet = false;
736
737 Aws::String m_rootDeviceVolumeId;
738 bool m_rootDeviceVolumeIdHasBeenSet = false;
739
740 Aws::Vector<Aws::String> m_securityGroupIds;
741 bool m_securityGroupIdsHasBeenSet = false;
742
743 Aws::String m_sshHostDsaKeyFingerprint;
744 bool m_sshHostDsaKeyFingerprintHasBeenSet = false;
745
746 Aws::String m_sshHostRsaKeyFingerprint;
747 bool m_sshHostRsaKeyFingerprintHasBeenSet = false;
748
749 Aws::String m_sshKeyName;
750 bool m_sshKeyNameHasBeenSet = false;
751
752 Aws::String m_stackId;
753 bool m_stackIdHasBeenSet = false;
754
755 Aws::String m_status;
756 bool m_statusHasBeenSet = false;
757
758 Aws::String m_subnetId;
759 bool m_subnetIdHasBeenSet = false;
760
761 Aws::String m_tenancy;
762 bool m_tenancyHasBeenSet = false;
763
764 VirtualizationType m_virtualizationType;
765 bool m_virtualizationTypeHasBeenSet = false;
766 };
767
768} // namespace Model
769} // namespace OpsWorks
770} // namespace Aws
bool EbsOptimizedHasBeenSet() const
Definition Instance.h:168
Instance & WithCreatedAt(Aws::String &&value)
Definition Instance.h:159
const Aws::String & GetCreatedAt() const
Definition Instance.h:153
Instance & WithOs(const char *value)
Definition Instance.h:365
Instance & WithInstanceId(Aws::String &&value)
Definition Instance.h:289
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition Instance.h:510
Instance & WithInfrastructureClass(Aws::String &&value)
Definition Instance.h:258
bool InstallUpdatesOnBootHasBeenSet() const
Definition Instance.h:274
Instance & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Instance.h:515
AWS_OPSWORKS_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOs(const Aws::String &value)
Definition Instance.h:360
Instance & WithEc2InstanceId(Aws::String &&value)
Definition Instance.h:183
Instance & WithAmiId(const Aws::String &value)
Definition Instance.h:75
Instance & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Instance.h:514
void SetPublicIp(const Aws::String &value)
Definition Instance.h:430
bool ArchitectureHasBeenSet() const
Definition Instance.h:85
bool ReportedOsHasBeenSet() const
Definition Instance.h:471
void SetInstanceType(const Aws::String &value)
Definition Instance.h:316
Instance & WithOs(Aws::String &&value)
Definition Instance.h:364
void SetEcsClusterArn(Aws::String &&value)
Definition Instance.h:194
Instance & WithAmiId(const char *value)
Definition Instance.h:77
const Aws::String & GetAmiId() const
Definition Instance.h:70
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSshKeyName() const
Definition Instance.h:553
void SetAvailabilityZone(Aws::String &&value)
Definition Instance.h:127
void SetEc2InstanceId(Aws::String &&value)
Definition Instance.h:180
Instance & WithStatus(Aws::String &&value)
Definition Instance.h:596
Instance & WithLayerIds(Aws::Vector< Aws::String > &&value)
Definition Instance.h:348
Instance & AddSecurityGroupIds(Aws::String &&value)
Definition Instance.h:517
Instance & WithTenancy(const Aws::String &value)
Definition Instance.h:625
Instance & WithPlatform(const Aws::String &value)
Definition Instance.h:377
Instance & WithArchitecture(const Architecture &value)
Definition Instance.h:88
bool SshHostDsaKeyFingerprintHasBeenSet() const
Definition Instance.h:526
Instance & WithEc2InstanceId(const Aws::String &value)
Definition Instance.h:182
Instance & WithInfrastructureClass(const char *value)
Definition Instance.h:259
void SetSshHostDsaKeyFingerprint(const char *value)
Definition Instance.h:529
Instance & WithReportedAgentVersion(const Aws::String &value)
Definition Instance.h:461
void SetPrivateIp(Aws::String &&value)
Definition Instance.h:403
void SetAgentVersion(Aws::String &&value)
Definition Instance.h:56
const Aws::String & GetInfrastructureClass() const
Definition Instance.h:252
bool LastServiceErrorIdHasBeenSet() const
Definition Instance.h:330
Instance & WithStackId(const Aws::String &value)
Definition Instance.h:572
const Aws::String & GetSubnetId() const
Definition Instance.h:605
Instance & WithPublicIp(Aws::String &&value)
Definition Instance.h:434
const Aws::String & GetEcsContainerInstanceArn() const
Definition Instance.h:205
Instance & WithPrivateIp(const char *value)
Definition Instance.h:407
void SetAvailabilityZone(const Aws::String &value)
Definition Instance.h:126
Instance & WithPrivateDns(Aws::String &&value)
Definition Instance.h:392
const ReportedOs & GetReportedOs() const
Definition Instance.h:470
Instance & WithPublicDns(const Aws::String &value)
Definition Instance.h:419
Instance & WithReportedOs(const ReportedOs &value)
Definition Instance.h:474
const Aws::String & GetPublicIp() const
Definition Instance.h:428
const Aws::String & GetElasticIp() const
Definition Instance.h:221
void SetEc2InstanceId(const char *value)
Definition Instance.h:181
const Aws::String & GetInstanceType() const
Definition Instance.h:314
AWS_OPSWORKS_API Instance()
Instance & WithSshKeyName(const Aws::String &value)
Definition Instance.h:558
bool AgentVersionHasBeenSet() const
Definition Instance.h:54
Instance & WithAgentVersion(const char *value)
Definition Instance.h:60
void SetStackId(const char *value)
Definition Instance.h:571
Instance & WithElasticIp(Aws::String &&value)
Definition Instance.h:227
Instance & WithReportedAgentVersion(Aws::String &&value)
Definition Instance.h:462
void SetSshHostDsaKeyFingerprint(const Aws::String &value)
Definition Instance.h:527
void SetSshHostRsaKeyFingerprint(const char *value)
Definition Instance.h:543
Instance & WithArn(const char *value)
Definition Instance.h:103
Instance & WithSshHostDsaKeyFingerprint(const Aws::String &value)
Definition Instance.h:530
void SetSshHostRsaKeyFingerprint(Aws::String &&value)
Definition Instance.h:542
void SetEbsOptimized(bool value)
Definition Instance.h:169
void SetSshKeyName(const char *value)
Definition Instance.h:557
Instance & WithLastServiceErrorId(const char *value)
Definition Instance.h:336
Instance & WithElasticIp(const Aws::String &value)
Definition Instance.h:226
void SetAmiId(const Aws::String &value)
Definition Instance.h:72
Instance & WithSshHostRsaKeyFingerprint(const char *value)
Definition Instance.h:546
Instance & WithAvailabilityZone(const Aws::String &value)
Definition Instance.h:129
Instance & WithArn(const Aws::String &value)
Definition Instance.h:101
void SetPrivateDns(const char *value)
Definition Instance.h:390
Instance & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition Instance.h:143
const Aws::String & GetEc2InstanceId() const
Definition Instance.h:177
bool ReportedAgentVersionHasBeenSet() const
Definition Instance.h:457
bool InstanceProfileArnHasBeenSet() const
Definition Instance.h:301
const Aws::String & GetOs() const
Definition Instance.h:358
bool VirtualizationTypeHasBeenSet() const
Definition Instance.h:636
const Aws::String & GetInstanceId() const
Definition Instance.h:283
Instance & WithAgentVersion(Aws::String &&value)
Definition Instance.h:59
Instance & WithEcsContainerInstanceArn(const char *value)
Definition Instance.h:212
void SetSshHostDsaKeyFingerprint(Aws::String &&value)
Definition Instance.h:528
Instance & WithSubnetId(const Aws::String &value)
Definition Instance.h:610
void SetRootDeviceVolumeId(const Aws::String &value)
Definition Instance.h:498
void SetAutoScalingType(const AutoScalingType &value)
Definition Instance.h:112
AWS_OPSWORKS_API Instance(Aws::Utils::Json::JsonView jsonValue)
bool PrivateDnsHasBeenSet() const
Definition Instance.h:387
void SetReportedAgentVersion(const Aws::String &value)
Definition Instance.h:458
void SetInstanceId(Aws::String &&value)
Definition Instance.h:286
void SetSshKeyName(const Aws::String &value)
Definition Instance.h:555
Instance & WithInstanceType(const Aws::String &value)
Definition Instance.h:319
const Aws::String & GetTenancy() const
Definition Instance.h:620
void SetAgentVersion(const Aws::String &value)
Definition Instance.h:55
const Aws::String & GetArn() const
Definition Instance.h:96
const Aws::String & GetPublicDns() const
Definition Instance.h:414
void SetSubnetId(Aws::String &&value)
Definition Instance.h:608
void SetArn(const Aws::String &value)
Definition Instance.h:98
Instance & WithCreatedAt(const Aws::String &value)
Definition Instance.h:158
Instance & AddLayerIds(const char *value)
Definition Instance.h:351
bool AvailabilityZoneHasBeenSet() const
Definition Instance.h:125
Instance & WithEcsContainerInstanceArn(const Aws::String &value)
Definition Instance.h:210
void SetInstanceProfileArn(const Aws::String &value)
Definition Instance.h:302
const Aws::String & GetStackId() const
Definition Instance.h:567
bool RegisteredByHasBeenSet() const
Definition Instance.h:443
void SetPublicDns(const char *value)
Definition Instance.h:418
Instance & WithInstanceId(const char *value)
Definition Instance.h:290
const Aws::String & GetAgentVersion() const
Definition Instance.h:53
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Instance.h:513
Instance & WithInstanceId(const Aws::String &value)
Definition Instance.h:288
void SetInstanceType(const char *value)
Definition Instance.h:318
void SetSshHostRsaKeyFingerprint(const Aws::String &value)
Definition Instance.h:541
void SetEcsClusterArn(const char *value)
Definition Instance.h:195
Instance & WithEcsContainerInstanceArn(Aws::String &&value)
Definition Instance.h:211
Instance & WithEbsOptimized(bool value)
Definition Instance.h:170
Instance & WithPlatform(const char *value)
Definition Instance.h:379
const Aws::String & GetPlatform() const
Definition Instance.h:372
void SetSubnetId(const Aws::String &value)
Definition Instance.h:607
Instance & WithPrivateDns(const Aws::String &value)
Definition Instance.h:391
Instance & WithTenancy(Aws::String &&value)
Definition Instance.h:626
const Aws::String & GetSshHostRsaKeyFingerprint() const
Definition Instance.h:539
Instance & WithSshHostRsaKeyFingerprint(const Aws::String &value)
Definition Instance.h:544
void SetElasticIp(Aws::String &&value)
Definition Instance.h:224
Instance & WithReportedAgentVersion(const char *value)
Definition Instance.h:463
const Architecture & GetArchitecture() const
Definition Instance.h:84
void SetReportedOs(const ReportedOs &value)
Definition Instance.h:472
Instance & WithArn(Aws::String &&value)
Definition Instance.h:102
void SetPublicIp(const char *value)
Definition Instance.h:432
void SetPublicDns(const Aws::String &value)
Definition Instance.h:416
Instance & WithPlatform(Aws::String &&value)
Definition Instance.h:378
Instance & WithInfrastructureClass(const Aws::String &value)
Definition Instance.h:257
Instance & WithRootDeviceVolumeId(const char *value)
Definition Instance.h:503
Instance & AddLayerIds(const Aws::String &value)
Definition Instance.h:349
Instance & WithArchitecture(Architecture &&value)
Definition Instance.h:89
Instance & AddSecurityGroupIds(const Aws::String &value)
Definition Instance.h:516
void SetLastServiceErrorId(const char *value)
Definition Instance.h:333
Instance & WithPrivateDns(const char *value)
Definition Instance.h:393
void SetStatus(const char *value)
Definition Instance.h:594
void SetSshKeyName(Aws::String &&value)
Definition Instance.h:556
void SetReportedAgentVersion(Aws::String &&value)
Definition Instance.h:459
void SetPrivateIp(const char *value)
Definition Instance.h:404
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
Definition Instance.h:139
Instance & WithAutoScalingType(const AutoScalingType &value)
Definition Instance.h:114
void SetPlatform(Aws::String &&value)
Definition Instance.h:375
void SetAmiId(const char *value)
Definition Instance.h:74
void SetInstanceId(const char *value)
Definition Instance.h:287
Instance & WithReportedOs(ReportedOs &&value)
Definition Instance.h:475
Instance & WithVirtualizationType(const VirtualizationType &value)
Definition Instance.h:639
bool AutoScalingTypeHasBeenSet() const
Definition Instance.h:111
void SetInstanceProfileArn(Aws::String &&value)
Definition Instance.h:303
Instance & WithHostname(Aws::String &&value)
Definition Instance.h:243
void SetInstanceProfileArn(const char *value)
Definition Instance.h:304
Instance & AddBlockDeviceMappings(const BlockDeviceMapping &value)
Definition Instance.h:145
const Aws::String & GetReportedAgentVersion() const
Definition Instance.h:456
void SetCreatedAt(const Aws::String &value)
Definition Instance.h:155
Instance & WithOs(const Aws::String &value)
Definition Instance.h:363
void SetStackId(Aws::String &&value)
Definition Instance.h:570
void SetEcsClusterArn(const Aws::String &value)
Definition Instance.h:193
const Aws::String & GetHostname() const
Definition Instance.h:237
bool EcsClusterArnHasBeenSet() const
Definition Instance.h:192
Instance & WithVirtualizationType(VirtualizationType &&value)
Definition Instance.h:640
void SetStackId(const Aws::String &value)
Definition Instance.h:569
void SetLastServiceErrorId(Aws::String &&value)
Definition Instance.h:332
Instance & WithAgentVersion(const Aws::String &value)
Definition Instance.h:58
void SetCreatedAt(const char *value)
Definition Instance.h:157
void SetEc2InstanceId(const Aws::String &value)
Definition Instance.h:179
void SetHostname(Aws::String &&value)
Definition Instance.h:240
void SetTenancy(const Aws::String &value)
Definition Instance.h:622
const VirtualizationType & GetVirtualizationType() const
Definition Instance.h:635
Instance & WithCreatedAt(const char *value)
Definition Instance.h:160
Instance & WithSubnetId(const char *value)
Definition Instance.h:612
Instance & WithInstanceProfileArn(const char *value)
Definition Instance.h:307
void SetEcsContainerInstanceArn(const Aws::String &value)
Definition Instance.h:207
void SetArchitecture(Architecture &&value)
Definition Instance.h:87
void SetLayerIds(const Aws::Vector< Aws::String > &value)
Definition Instance.h:345
Instance & WithRootDeviceType(const RootDeviceType &value)
Definition Instance.h:488
Instance & WithSshKeyName(Aws::String &&value)
Definition Instance.h:559
Instance & WithSubnetId(Aws::String &&value)
Definition Instance.h:611
void SetAmiId(Aws::String &&value)
Definition Instance.h:73
Instance & WithInstanceProfileArn(Aws::String &&value)
Definition Instance.h:306
bool Ec2InstanceIdHasBeenSet() const
Definition Instance.h:178
Instance & WithPrivateIp(Aws::String &&value)
Definition Instance.h:406
void SetPublicDns(Aws::String &&value)
Definition Instance.h:417
Instance & WithPublicIp(const char *value)
Definition Instance.h:435
Instance & WithPublicDns(Aws::String &&value)
Definition Instance.h:420
Instance & WithHostname(const Aws::String &value)
Definition Instance.h:242
Instance & WithStatus(const Aws::String &value)
Definition Instance.h:595
void SetStatus(const Aws::String &value)
Definition Instance.h:592
void SetCreatedAt(Aws::String &&value)
Definition Instance.h:156
bool BlockDeviceMappingsHasBeenSet() const
Definition Instance.h:140
void SetInstallUpdatesOnBoot(bool value)
Definition Instance.h:275
void SetHostname(const Aws::String &value)
Definition Instance.h:239
void SetAgentVersion(const char *value)
Definition Instance.h:57
void SetOs(Aws::String &&value)
Definition Instance.h:361
void SetPlatform(const Aws::String &value)
Definition Instance.h:374
Instance & WithEcsClusterArn(const Aws::String &value)
Definition Instance.h:196
void SetPlatform(const char *value)
Definition Instance.h:376
void SetElasticIp(const char *value)
Definition Instance.h:225
void SetReportedOs(ReportedOs &&value)
Definition Instance.h:473
bool GetInstallUpdatesOnBoot() const
Definition Instance.h:273
bool RootDeviceVolumeIdHasBeenSet() const
Definition Instance.h:497
Instance & WithInstanceProfileArn(const Aws::String &value)
Definition Instance.h:305
Instance & AddLayerIds(Aws::String &&value)
Definition Instance.h:350
void SetEcsContainerInstanceArn(const char *value)
Definition Instance.h:209
Instance & WithRootDeviceVolumeId(const Aws::String &value)
Definition Instance.h:501
Instance & WithHostname(const char *value)
Definition Instance.h:244
bool InfrastructureClassHasBeenSet() const
Definition Instance.h:253
Instance & WithRootDeviceVolumeId(Aws::String &&value)
Definition Instance.h:502
Instance & WithPublicDns(const char *value)
Definition Instance.h:421
void SetPrivateDns(const Aws::String &value)
Definition Instance.h:388
void SetArn(const char *value)
Definition Instance.h:100
void SetArn(Aws::String &&value)
Definition Instance.h:99
bool InstanceTypeHasBeenSet() const
Definition Instance.h:315
const Aws::Vector< Aws::String > & GetLayerIds() const
Definition Instance.h:343
void SetRootDeviceType(const RootDeviceType &value)
Definition Instance.h:486
bool SshHostRsaKeyFingerprintHasBeenSet() const
Definition Instance.h:540
void SetPrivateDns(Aws::String &&value)
Definition Instance.h:389
void SetTenancy(const char *value)
Definition Instance.h:624
void SetTenancy(Aws::String &&value)
Definition Instance.h:623
Instance & WithStatus(const char *value)
Definition Instance.h:597
Instance & WithPublicIp(const Aws::String &value)
Definition Instance.h:433
void SetInstanceType(Aws::String &&value)
Definition Instance.h:317
void SetLastServiceErrorId(const Aws::String &value)
Definition Instance.h:331
bool SecurityGroupIdsHasBeenSet() const
Definition Instance.h:511
Instance & WithAvailabilityZone(Aws::String &&value)
Definition Instance.h:130
const Aws::String & GetPrivateDns() const
Definition Instance.h:386
Instance & WithInstallUpdatesOnBoot(bool value)
Definition Instance.h:276
void SetSubnetId(const char *value)
Definition Instance.h:609
bool EcsContainerInstanceArnHasBeenSet() const
Definition Instance.h:206
Instance & AddSecurityGroupIds(const char *value)
Definition Instance.h:518
void SetAvailabilityZone(const char *value)
Definition Instance.h:128
void SetHostname(const char *value)
Definition Instance.h:241
Instance & WithInstanceType(Aws::String &&value)
Definition Instance.h:320
void SetRegisteredBy(const Aws::String &value)
Definition Instance.h:444
const Aws::String & GetStatus() const
Definition Instance.h:590
Instance & WithEcsClusterArn(Aws::String &&value)
Definition Instance.h:197
const Aws::String & GetLastServiceErrorId() const
Definition Instance.h:329
Instance & WithAmiId(Aws::String &&value)
Definition Instance.h:76
Instance & WithRegisteredBy(const Aws::String &value)
Definition Instance.h:447
Instance & WithSshHostDsaKeyFingerprint(const char *value)
Definition Instance.h:532
Instance & WithInstanceType(const char *value)
Definition Instance.h:321
Instance & WithEc2InstanceId(const char *value)
Definition Instance.h:184
void SetPublicIp(Aws::String &&value)
Definition Instance.h:431
void SetInfrastructureClass(const char *value)
Definition Instance.h:256
Instance & WithLastServiceErrorId(const Aws::String &value)
Definition Instance.h:334
const AutoScalingType & GetAutoScalingType() const
Definition Instance.h:110
const Aws::String & GetInstanceProfileArn() const
Definition Instance.h:300
void SetAutoScalingType(AutoScalingType &&value)
Definition Instance.h:113
void SetInstanceId(const Aws::String &value)
Definition Instance.h:285
Instance & AddBlockDeviceMappings(BlockDeviceMapping &&value)
Definition Instance.h:146
void SetReportedAgentVersion(const char *value)
Definition Instance.h:460
bool RootDeviceTypeHasBeenSet() const
Definition Instance.h:485
void SetEcsContainerInstanceArn(Aws::String &&value)
Definition Instance.h:208
void SetOs(const char *value)
Definition Instance.h:362
Instance & WithRootDeviceType(RootDeviceType &&value)
Definition Instance.h:489
bool SshKeyNameHasBeenSet() const
Definition Instance.h:554
void SetStatus(Aws::String &&value)
Definition Instance.h:593
void SetVirtualizationType(VirtualizationType &&value)
Definition Instance.h:638
Instance & WithRegisteredBy(Aws::String &&value)
Definition Instance.h:448
const Aws::String & GetRootDeviceVolumeId() const
Definition Instance.h:496
void SetInfrastructureClass(Aws::String &&value)
Definition Instance.h:255
void SetRootDeviceVolumeId(const char *value)
Definition Instance.h:500
void SetVirtualizationType(const VirtualizationType &value)
Definition Instance.h:637
Instance & WithLastServiceErrorId(Aws::String &&value)
Definition Instance.h:335
const Aws::String & GetPrivateIp() const
Definition Instance.h:400
Instance & WithSshHostDsaKeyFingerprint(Aws::String &&value)
Definition Instance.h:531
const Aws::String & GetEcsClusterArn() const
Definition Instance.h:191
void SetElasticIp(const Aws::String &value)
Definition Instance.h:223
Instance & WithAvailabilityZone(const char *value)
Definition Instance.h:131
const Aws::String & GetAvailabilityZone() const
Definition Instance.h:124
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition Instance.h:142
Instance & WithRegisteredBy(const char *value)
Definition Instance.h:449
void SetRegisteredBy(const char *value)
Definition Instance.h:446
Instance & WithAutoScalingType(AutoScalingType &&value)
Definition Instance.h:115
void SetInfrastructureClass(const Aws::String &value)
Definition Instance.h:254
Instance & WithElasticIp(const char *value)
Definition Instance.h:228
const Aws::String & GetRegisteredBy() const
Definition Instance.h:442
const Aws::String & GetSshHostDsaKeyFingerprint() const
Definition Instance.h:525
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Instance.h:512
Instance & WithLayerIds(const Aws::Vector< Aws::String > &value)
Definition Instance.h:347
void SetRootDeviceType(RootDeviceType &&value)
Definition Instance.h:487
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition Instance.h:141
void SetLayerIds(Aws::Vector< Aws::String > &&value)
Definition Instance.h:346
Instance & WithPrivateIp(const Aws::String &value)
Definition Instance.h:405
Instance & WithTenancy(const char *value)
Definition Instance.h:627
void SetPrivateIp(const Aws::String &value)
Definition Instance.h:402
Instance & WithStackId(const char *value)
Definition Instance.h:574
Instance & WithSshKeyName(const char *value)
Definition Instance.h:560
Instance & WithEcsClusterArn(const char *value)
Definition Instance.h:198
Instance & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition Instance.h:144
void SetArchitecture(const Architecture &value)
Definition Instance.h:86
const RootDeviceType & GetRootDeviceType() const
Definition Instance.h:484
void SetRootDeviceVolumeId(Aws::String &&value)
Definition Instance.h:499
void SetRegisteredBy(Aws::String &&value)
Definition Instance.h:445
bool InstanceIdHasBeenSet() const
Definition Instance.h:284
Instance & WithSshHostRsaKeyFingerprint(Aws::String &&value)
Definition Instance.h:545
Instance & WithStackId(Aws::String &&value)
Definition Instance.h:573
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue