AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
Instance.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/AddOn.h>
12#include <aws/lightsail/model/InstanceHardware.h>
13#include <aws/lightsail/model/InstanceHealthStatus.h>
14#include <aws/lightsail/model/InstanceMetadataOptions.h>
15#include <aws/lightsail/model/InstanceNetworking.h>
16#include <aws/lightsail/model/InstanceState.h>
17#include <aws/lightsail/model/IpAddressType.h>
18#include <aws/lightsail/model/ResourceLocation.h>
19#include <aws/lightsail/model/ResourceType.h>
20#include <aws/lightsail/model/Tag.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace Lightsail {
32namespace Model {
33
40class Instance {
41 public:
42 AWS_LIGHTSAIL_API Instance() = default;
43 AWS_LIGHTSAIL_API Instance(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LIGHTSAIL_API Instance& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template <typename NameT = Aws::String>
54 void SetName(NameT&& value) {
55 m_nameHasBeenSet = true;
56 m_name = std::forward<NameT>(value);
57 }
58 template <typename NameT = Aws::String>
59 Instance& WithName(NameT&& value) {
60 SetName(std::forward<NameT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetArn() const { return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 template <typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) {
74 m_arnHasBeenSet = true;
75 m_arn = std::forward<ArnT>(value);
76 }
77 template <typename ArnT = Aws::String>
78 Instance& WithArn(ArnT&& value) {
79 SetArn(std::forward<ArnT>(value));
80 return *this;
81 }
83
85
90 inline const Aws::String& GetSupportCode() const { return m_supportCode; }
91 inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
92 template <typename SupportCodeT = Aws::String>
93 void SetSupportCode(SupportCodeT&& value) {
94 m_supportCodeHasBeenSet = true;
95 m_supportCode = std::forward<SupportCodeT>(value);
96 }
97 template <typename SupportCodeT = Aws::String>
98 Instance& WithSupportCode(SupportCodeT&& value) {
99 SetSupportCode(std::forward<SupportCodeT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
110 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
111 template <typename CreatedAtT = Aws::Utils::DateTime>
112 void SetCreatedAt(CreatedAtT&& value) {
113 m_createdAtHasBeenSet = true;
114 m_createdAt = std::forward<CreatedAtT>(value);
115 }
116 template <typename CreatedAtT = Aws::Utils::DateTime>
117 Instance& WithCreatedAt(CreatedAtT&& value) {
118 SetCreatedAt(std::forward<CreatedAtT>(value));
119 return *this;
120 }
122
124
127 inline const ResourceLocation& GetLocation() const { return m_location; }
128 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
129 template <typename LocationT = ResourceLocation>
130 void SetLocation(LocationT&& value) {
131 m_locationHasBeenSet = true;
132 m_location = std::forward<LocationT>(value);
133 }
134 template <typename LocationT = ResourceLocation>
135 Instance& WithLocation(LocationT&& value) {
136 SetLocation(std::forward<LocationT>(value));
137 return *this;
138 }
140
142
145 inline ResourceType GetResourceType() const { return m_resourceType; }
146 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
147 inline void SetResourceType(ResourceType value) {
148 m_resourceTypeHasBeenSet = true;
149 m_resourceType = value;
150 }
152 SetResourceType(value);
153 return *this;
154 }
156
158
164 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 template <typename TagsT = Aws::Vector<Tag>>
167 void SetTags(TagsT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags = std::forward<TagsT>(value);
170 }
171 template <typename TagsT = Aws::Vector<Tag>>
172 Instance& WithTags(TagsT&& value) {
173 SetTags(std::forward<TagsT>(value));
174 return *this;
175 }
176 template <typename TagsT = Tag>
177 Instance& AddTags(TagsT&& value) {
178 m_tagsHasBeenSet = true;
179 m_tags.emplace_back(std::forward<TagsT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetBlueprintId() const { return m_blueprintId; }
189 inline bool BlueprintIdHasBeenSet() const { return m_blueprintIdHasBeenSet; }
190 template <typename BlueprintIdT = Aws::String>
191 void SetBlueprintId(BlueprintIdT&& value) {
192 m_blueprintIdHasBeenSet = true;
193 m_blueprintId = std::forward<BlueprintIdT>(value);
194 }
195 template <typename BlueprintIdT = Aws::String>
196 Instance& WithBlueprintId(BlueprintIdT&& value) {
197 SetBlueprintId(std::forward<BlueprintIdT>(value));
198 return *this;
199 }
201
203
206 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
207 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
208 template <typename BlueprintNameT = Aws::String>
209 void SetBlueprintName(BlueprintNameT&& value) {
210 m_blueprintNameHasBeenSet = true;
211 m_blueprintName = std::forward<BlueprintNameT>(value);
212 }
213 template <typename BlueprintNameT = Aws::String>
214 Instance& WithBlueprintName(BlueprintNameT&& value) {
215 SetBlueprintName(std::forward<BlueprintNameT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::String& GetBundleId() const { return m_bundleId; }
225 inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
226 template <typename BundleIdT = Aws::String>
227 void SetBundleId(BundleIdT&& value) {
228 m_bundleIdHasBeenSet = true;
229 m_bundleId = std::forward<BundleIdT>(value);
230 }
231 template <typename BundleIdT = Aws::String>
232 Instance& WithBundleId(BundleIdT&& value) {
233 SetBundleId(std::forward<BundleIdT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Vector<AddOn>& GetAddOns() const { return m_addOns; }
243 inline bool AddOnsHasBeenSet() const { return m_addOnsHasBeenSet; }
244 template <typename AddOnsT = Aws::Vector<AddOn>>
245 void SetAddOns(AddOnsT&& value) {
246 m_addOnsHasBeenSet = true;
247 m_addOns = std::forward<AddOnsT>(value);
248 }
249 template <typename AddOnsT = Aws::Vector<AddOn>>
250 Instance& WithAddOns(AddOnsT&& value) {
251 SetAddOns(std::forward<AddOnsT>(value));
252 return *this;
253 }
254 template <typename AddOnsT = AddOn>
255 Instance& AddAddOns(AddOnsT&& value) {
256 m_addOnsHasBeenSet = true;
257 m_addOns.emplace_back(std::forward<AddOnsT>(value));
258 return *this;
259 }
261
263
267 inline bool GetIsStaticIp() const { return m_isStaticIp; }
268 inline bool IsStaticIpHasBeenSet() const { return m_isStaticIpHasBeenSet; }
269 inline void SetIsStaticIp(bool value) {
270 m_isStaticIpHasBeenSet = true;
271 m_isStaticIp = value;
272 }
273 inline Instance& WithIsStaticIp(bool value) {
274 SetIsStaticIp(value);
275 return *this;
276 }
278
280
283 inline const Aws::String& GetPrivateIpAddress() const { return m_privateIpAddress; }
284 inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
285 template <typename PrivateIpAddressT = Aws::String>
286 void SetPrivateIpAddress(PrivateIpAddressT&& value) {
287 m_privateIpAddressHasBeenSet = true;
288 m_privateIpAddress = std::forward<PrivateIpAddressT>(value);
289 }
290 template <typename PrivateIpAddressT = Aws::String>
291 Instance& WithPrivateIpAddress(PrivateIpAddressT&& value) {
292 SetPrivateIpAddress(std::forward<PrivateIpAddressT>(value));
293 return *this;
294 }
296
298
301 inline const Aws::String& GetPublicIpAddress() const { return m_publicIpAddress; }
302 inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
303 template <typename PublicIpAddressT = Aws::String>
304 void SetPublicIpAddress(PublicIpAddressT&& value) {
305 m_publicIpAddressHasBeenSet = true;
306 m_publicIpAddress = std::forward<PublicIpAddressT>(value);
307 }
308 template <typename PublicIpAddressT = Aws::String>
309 Instance& WithPublicIpAddress(PublicIpAddressT&& value) {
310 SetPublicIpAddress(std::forward<PublicIpAddressT>(value));
311 return *this;
312 }
314
316
319 inline const Aws::Vector<Aws::String>& GetIpv6Addresses() const { return m_ipv6Addresses; }
320 inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
321 template <typename Ipv6AddressesT = Aws::Vector<Aws::String>>
322 void SetIpv6Addresses(Ipv6AddressesT&& value) {
323 m_ipv6AddressesHasBeenSet = true;
324 m_ipv6Addresses = std::forward<Ipv6AddressesT>(value);
325 }
326 template <typename Ipv6AddressesT = Aws::Vector<Aws::String>>
327 Instance& WithIpv6Addresses(Ipv6AddressesT&& value) {
328 SetIpv6Addresses(std::forward<Ipv6AddressesT>(value));
329 return *this;
330 }
331 template <typename Ipv6AddressesT = Aws::String>
332 Instance& AddIpv6Addresses(Ipv6AddressesT&& value) {
333 m_ipv6AddressesHasBeenSet = true;
334 m_ipv6Addresses.emplace_back(std::forward<Ipv6AddressesT>(value));
335 return *this;
336 }
338
340
345 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
346 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
347 inline void SetIpAddressType(IpAddressType value) {
348 m_ipAddressTypeHasBeenSet = true;
349 m_ipAddressType = value;
350 }
352 SetIpAddressType(value);
353 return *this;
354 }
356
358
361 inline const InstanceHardware& GetHardware() const { return m_hardware; }
362 inline bool HardwareHasBeenSet() const { return m_hardwareHasBeenSet; }
363 template <typename HardwareT = InstanceHardware>
364 void SetHardware(HardwareT&& value) {
365 m_hardwareHasBeenSet = true;
366 m_hardware = std::forward<HardwareT>(value);
367 }
368 template <typename HardwareT = InstanceHardware>
369 Instance& WithHardware(HardwareT&& value) {
370 SetHardware(std::forward<HardwareT>(value));
371 return *this;
372 }
374
376
380 inline const InstanceNetworking& GetNetworking() const { return m_networking; }
381 inline bool NetworkingHasBeenSet() const { return m_networkingHasBeenSet; }
382 template <typename NetworkingT = InstanceNetworking>
383 void SetNetworking(NetworkingT&& value) {
384 m_networkingHasBeenSet = true;
385 m_networking = std::forward<NetworkingT>(value);
386 }
387 template <typename NetworkingT = InstanceNetworking>
388 Instance& WithNetworking(NetworkingT&& value) {
389 SetNetworking(std::forward<NetworkingT>(value));
390 return *this;
391 }
393
395
398 inline const InstanceState& GetState() const { return m_state; }
399 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
400 template <typename StateT = InstanceState>
401 void SetState(StateT&& value) {
402 m_stateHasBeenSet = true;
403 m_state = std::forward<StateT>(value);
404 }
405 template <typename StateT = InstanceState>
406 Instance& WithState(StateT&& value) {
407 SetState(std::forward<StateT>(value));
408 return *this;
409 }
411
413
416 inline const Aws::String& GetUsername() const { return m_username; }
417 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
418 template <typename UsernameT = Aws::String>
419 void SetUsername(UsernameT&& value) {
420 m_usernameHasBeenSet = true;
421 m_username = std::forward<UsernameT>(value);
422 }
423 template <typename UsernameT = Aws::String>
424 Instance& WithUsername(UsernameT&& value) {
425 SetUsername(std::forward<UsernameT>(value));
426 return *this;
427 }
429
431
435 inline const Aws::String& GetSshKeyName() const { return m_sshKeyName; }
436 inline bool SshKeyNameHasBeenSet() const { return m_sshKeyNameHasBeenSet; }
437 template <typename SshKeyNameT = Aws::String>
438 void SetSshKeyName(SshKeyNameT&& value) {
439 m_sshKeyNameHasBeenSet = true;
440 m_sshKeyName = std::forward<SshKeyNameT>(value);
441 }
442 template <typename SshKeyNameT = Aws::String>
443 Instance& WithSshKeyName(SshKeyNameT&& value) {
444 SetSshKeyName(std::forward<SshKeyNameT>(value));
445 return *this;
446 }
448
450
453 inline const InstanceMetadataOptions& GetMetadataOptions() const { return m_metadataOptions; }
454 inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; }
455 template <typename MetadataOptionsT = InstanceMetadataOptions>
456 void SetMetadataOptions(MetadataOptionsT&& value) {
457 m_metadataOptionsHasBeenSet = true;
458 m_metadataOptions = std::forward<MetadataOptionsT>(value);
459 }
460 template <typename MetadataOptionsT = InstanceMetadataOptions>
461 Instance& WithMetadataOptions(MetadataOptionsT&& value) {
462 SetMetadataOptions(std::forward<MetadataOptionsT>(value));
463 return *this;
464 }
466
468
474 inline const InstanceHealthStatus& GetInstanceStatus() const { return m_instanceStatus; }
475 inline bool InstanceStatusHasBeenSet() const { return m_instanceStatusHasBeenSet; }
476 template <typename InstanceStatusT = InstanceHealthStatus>
477 void SetInstanceStatus(InstanceStatusT&& value) {
478 m_instanceStatusHasBeenSet = true;
479 m_instanceStatus = std::forward<InstanceStatusT>(value);
480 }
481 template <typename InstanceStatusT = InstanceHealthStatus>
482 Instance& WithInstanceStatus(InstanceStatusT&& value) {
483 SetInstanceStatus(std::forward<InstanceStatusT>(value));
484 return *this;
485 }
487
489
495 inline const InstanceHealthStatus& GetSystemStatus() const { return m_systemStatus; }
496 inline bool SystemStatusHasBeenSet() const { return m_systemStatusHasBeenSet; }
497 template <typename SystemStatusT = InstanceHealthStatus>
498 void SetSystemStatus(SystemStatusT&& value) {
499 m_systemStatusHasBeenSet = true;
500 m_systemStatus = std::forward<SystemStatusT>(value);
501 }
502 template <typename SystemStatusT = InstanceHealthStatus>
503 Instance& WithSystemStatus(SystemStatusT&& value) {
504 SetSystemStatus(std::forward<SystemStatusT>(value));
505 return *this;
506 }
508 private:
509 Aws::String m_name;
510
511 Aws::String m_arn;
512
513 Aws::String m_supportCode;
514
515 Aws::Utils::DateTime m_createdAt{};
516
517 ResourceLocation m_location;
518
519 ResourceType m_resourceType{ResourceType::NOT_SET};
520
521 Aws::Vector<Tag> m_tags;
522
523 Aws::String m_blueprintId;
524
525 Aws::String m_blueprintName;
526
527 Aws::String m_bundleId;
528
529 Aws::Vector<AddOn> m_addOns;
530
531 bool m_isStaticIp{false};
532
533 Aws::String m_privateIpAddress;
534
535 Aws::String m_publicIpAddress;
536
537 Aws::Vector<Aws::String> m_ipv6Addresses;
538
539 IpAddressType m_ipAddressType{IpAddressType::NOT_SET};
540
541 InstanceHardware m_hardware;
542
543 InstanceNetworking m_networking;
544
545 InstanceState m_state;
546
547 Aws::String m_username;
548
549 Aws::String m_sshKeyName;
550
551 InstanceMetadataOptions m_metadataOptions;
552
553 InstanceHealthStatus m_instanceStatus;
554
555 InstanceHealthStatus m_systemStatus;
556 bool m_nameHasBeenSet = false;
557 bool m_arnHasBeenSet = false;
558 bool m_supportCodeHasBeenSet = false;
559 bool m_createdAtHasBeenSet = false;
560 bool m_locationHasBeenSet = false;
561 bool m_resourceTypeHasBeenSet = false;
562 bool m_tagsHasBeenSet = false;
563 bool m_blueprintIdHasBeenSet = false;
564 bool m_blueprintNameHasBeenSet = false;
565 bool m_bundleIdHasBeenSet = false;
566 bool m_addOnsHasBeenSet = false;
567 bool m_isStaticIpHasBeenSet = false;
568 bool m_privateIpAddressHasBeenSet = false;
569 bool m_publicIpAddressHasBeenSet = false;
570 bool m_ipv6AddressesHasBeenSet = false;
571 bool m_ipAddressTypeHasBeenSet = false;
572 bool m_hardwareHasBeenSet = false;
573 bool m_networkingHasBeenSet = false;
574 bool m_stateHasBeenSet = false;
575 bool m_usernameHasBeenSet = false;
576 bool m_sshKeyNameHasBeenSet = false;
577 bool m_metadataOptionsHasBeenSet = false;
578 bool m_instanceStatusHasBeenSet = false;
579 bool m_systemStatusHasBeenSet = false;
580};
581
582} // namespace Model
583} // namespace Lightsail
584} // namespace Aws
void SetCreatedAt(CreatedAtT &&value)
Definition Instance.h:112
Instance & WithBlueprintId(BlueprintIdT &&value)
Definition Instance.h:196
void SetNetworking(NetworkingT &&value)
Definition Instance.h:383
const InstanceMetadataOptions & GetMetadataOptions() const
Definition Instance.h:453
bool InstanceStatusHasBeenSet() const
Definition Instance.h:475
bool Ipv6AddressesHasBeenSet() const
Definition Instance.h:320
Instance & AddAddOns(AddOnsT &&value)
Definition Instance.h:255
bool SystemStatusHasBeenSet() const
Definition Instance.h:496
bool IpAddressTypeHasBeenSet() const
Definition Instance.h:346
Instance & WithSshKeyName(SshKeyNameT &&value)
Definition Instance.h:443
void SetPrivateIpAddress(PrivateIpAddressT &&value)
Definition Instance.h:286
const Aws::String & GetBlueprintId() const
Definition Instance.h:188
const Aws::String & GetPublicIpAddress() const
Definition Instance.h:301
void SetTags(TagsT &&value)
Definition Instance.h:167
AWS_LIGHTSAIL_API Instance()=default
Instance & AddIpv6Addresses(Ipv6AddressesT &&value)
Definition Instance.h:332
const Aws::String & GetName() const
Definition Instance.h:51
Instance & WithState(StateT &&value)
Definition Instance.h:406
const ResourceLocation & GetLocation() const
Definition Instance.h:127
Instance & WithSupportCode(SupportCodeT &&value)
Definition Instance.h:98
const Aws::String & GetBundleId() const
Definition Instance.h:224
AWS_LIGHTSAIL_API Instance(Aws::Utils::Json::JsonView jsonValue)
Instance & WithIsStaticIp(bool value)
Definition Instance.h:273
const InstanceHardware & GetHardware() const
Definition Instance.h:361
Instance & WithBundleId(BundleIdT &&value)
Definition Instance.h:232
Instance & WithIpAddressType(IpAddressType value)
Definition Instance.h:351
Instance & WithInstanceStatus(InstanceStatusT &&value)
Definition Instance.h:482
ResourceType GetResourceType() const
Definition Instance.h:145
bool BlueprintNameHasBeenSet() const
Definition Instance.h:207
Instance & WithBlueprintName(BlueprintNameT &&value)
Definition Instance.h:214
void SetSystemStatus(SystemStatusT &&value)
Definition Instance.h:498
void SetSshKeyName(SshKeyNameT &&value)
Definition Instance.h:438
void SetUsername(UsernameT &&value)
Definition Instance.h:419
bool SupportCodeHasBeenSet() const
Definition Instance.h:91
const Aws::String & GetUsername() const
Definition Instance.h:416
void SetLocation(LocationT &&value)
Definition Instance.h:130
Instance & WithAddOns(AddOnsT &&value)
Definition Instance.h:250
void SetMetadataOptions(MetadataOptionsT &&value)
Definition Instance.h:456
bool ResourceTypeHasBeenSet() const
Definition Instance.h:146
bool PublicIpAddressHasBeenSet() const
Definition Instance.h:302
Instance & WithLocation(LocationT &&value)
Definition Instance.h:135
Instance & WithSystemStatus(SystemStatusT &&value)
Definition Instance.h:503
bool MetadataOptionsHasBeenSet() const
Definition Instance.h:454
const InstanceHealthStatus & GetSystemStatus() const
Definition Instance.h:495
void SetIpv6Addresses(Ipv6AddressesT &&value)
Definition Instance.h:322
Instance & WithResourceType(ResourceType value)
Definition Instance.h:151
Instance & WithName(NameT &&value)
Definition Instance.h:59
Instance & AddTags(TagsT &&value)
Definition Instance.h:177
const Aws::Vector< AddOn > & GetAddOns() const
Definition Instance.h:242
Instance & WithIpv6Addresses(Ipv6AddressesT &&value)
Definition Instance.h:327
void SetBundleId(BundleIdT &&value)
Definition Instance.h:227
Instance & WithPrivateIpAddress(PrivateIpAddressT &&value)
Definition Instance.h:291
const Aws::String & GetPrivateIpAddress() const
Definition Instance.h:283
bool PrivateIpAddressHasBeenSet() const
Definition Instance.h:284
void SetIsStaticIp(bool value)
Definition Instance.h:269
Instance & WithMetadataOptions(MetadataOptionsT &&value)
Definition Instance.h:461
Instance & WithPublicIpAddress(PublicIpAddressT &&value)
Definition Instance.h:309
const Aws::String & GetBlueprintName() const
Definition Instance.h:206
const Aws::String & GetSupportCode() const
Definition Instance.h:90
Instance & WithArn(ArnT &&value)
Definition Instance.h:78
void SetIpAddressType(IpAddressType value)
Definition Instance.h:347
const Aws::String & GetArn() const
Definition Instance.h:70
void SetAddOns(AddOnsT &&value)
Definition Instance.h:245
void SetHardware(HardwareT &&value)
Definition Instance.h:364
Instance & WithHardware(HardwareT &&value)
Definition Instance.h:369
const Aws::Vector< Tag > & GetTags() const
Definition Instance.h:164
void SetBlueprintId(BlueprintIdT &&value)
Definition Instance.h:191
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Instance.h:109
void SetBlueprintName(BlueprintNameT &&value)
Definition Instance.h:209
AWS_LIGHTSAIL_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSshKeyName() const
Definition Instance.h:435
IpAddressType GetIpAddressType() const
Definition Instance.h:345
void SetArn(ArnT &&value)
Definition Instance.h:73
const InstanceNetworking & GetNetworking() const
Definition Instance.h:380
void SetPublicIpAddress(PublicIpAddressT &&value)
Definition Instance.h:304
Instance & WithNetworking(NetworkingT &&value)
Definition Instance.h:388
void SetName(NameT &&value)
Definition Instance.h:54
void SetResourceType(ResourceType value)
Definition Instance.h:147
Instance & WithCreatedAt(CreatedAtT &&value)
Definition Instance.h:117
const InstanceState & GetState() const
Definition Instance.h:398
Instance & WithTags(TagsT &&value)
Definition Instance.h:172
void SetState(StateT &&value)
Definition Instance.h:401
void SetSupportCode(SupportCodeT &&value)
Definition Instance.h:93
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
Definition Instance.h:319
Instance & WithUsername(UsernameT &&value)
Definition Instance.h:424
const InstanceHealthStatus & GetInstanceStatus() const
Definition Instance.h:474
void SetInstanceStatus(InstanceStatusT &&value)
Definition Instance.h:477
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue