AWS SDK for C++  1.9.104
AWS SDK for C++
Instance.h
Go to the documentation of this file.
1 
6 #pragma once
19 #include <utility>
20 
21 namespace Aws
22 {
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28  class JsonView;
29 } // namespace Json
30 } // namespace Utils
31 namespace Lightsail
32 {
33 namespace Model
34 {
35 
43  {
44  public:
49 
50 
55  inline const Aws::String& GetName() const{ return m_name; }
56 
61  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 
67  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 
73  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 
79  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 
85  inline Instance& WithName(const Aws::String& value) { SetName(value); return *this;}
86 
91  inline Instance& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 
97  inline Instance& WithName(const char* value) { SetName(value); return *this;}
98 
99 
104  inline const Aws::String& GetArn() const{ return m_arn; }
105 
110  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
111 
116  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
117 
122  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
123 
128  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
129 
134  inline Instance& WithArn(const Aws::String& value) { SetArn(value); return *this;}
135 
140  inline Instance& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
141 
146  inline Instance& WithArn(const char* value) { SetArn(value); return *this;}
147 
148 
154  inline const Aws::String& GetSupportCode() const{ return m_supportCode; }
155 
161  inline bool SupportCodeHasBeenSet() const { return m_supportCodeHasBeenSet; }
162 
168  inline void SetSupportCode(const Aws::String& value) { m_supportCodeHasBeenSet = true; m_supportCode = value; }
169 
175  inline void SetSupportCode(Aws::String&& value) { m_supportCodeHasBeenSet = true; m_supportCode = std::move(value); }
176 
182  inline void SetSupportCode(const char* value) { m_supportCodeHasBeenSet = true; m_supportCode.assign(value); }
183 
189  inline Instance& WithSupportCode(const Aws::String& value) { SetSupportCode(value); return *this;}
190 
196  inline Instance& WithSupportCode(Aws::String&& value) { SetSupportCode(std::move(value)); return *this;}
197 
203  inline Instance& WithSupportCode(const char* value) { SetSupportCode(value); return *this;}
204 
205 
210  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
211 
216  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
217 
222  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
223 
228  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
229 
234  inline Instance& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
235 
240  inline Instance& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
241 
242 
246  inline const ResourceLocation& GetLocation() const{ return m_location; }
247 
251  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
252 
256  inline void SetLocation(const ResourceLocation& value) { m_locationHasBeenSet = true; m_location = value; }
257 
261  inline void SetLocation(ResourceLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
262 
266  inline Instance& WithLocation(const ResourceLocation& value) { SetLocation(value); return *this;}
267 
271  inline Instance& WithLocation(ResourceLocation&& value) { SetLocation(std::move(value)); return *this;}
272 
273 
277  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
278 
282  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
283 
287  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
288 
292  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
293 
297  inline Instance& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
298 
302  inline Instance& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
303 
304 
311  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
312 
319  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
320 
327  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
328 
335  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
336 
343  inline Instance& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
344 
351  inline Instance& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
352 
359  inline Instance& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
360 
367  inline Instance& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
368 
369 
373  inline const Aws::String& GetBlueprintId() const{ return m_blueprintId; }
374 
378  inline bool BlueprintIdHasBeenSet() const { return m_blueprintIdHasBeenSet; }
379 
383  inline void SetBlueprintId(const Aws::String& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = value; }
384 
388  inline void SetBlueprintId(Aws::String&& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = std::move(value); }
389 
393  inline void SetBlueprintId(const char* value) { m_blueprintIdHasBeenSet = true; m_blueprintId.assign(value); }
394 
398  inline Instance& WithBlueprintId(const Aws::String& value) { SetBlueprintId(value); return *this;}
399 
403  inline Instance& WithBlueprintId(Aws::String&& value) { SetBlueprintId(std::move(value)); return *this;}
404 
408  inline Instance& WithBlueprintId(const char* value) { SetBlueprintId(value); return *this;}
409 
410 
414  inline const Aws::String& GetBlueprintName() const{ return m_blueprintName; }
415 
419  inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
420 
424  inline void SetBlueprintName(const Aws::String& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = value; }
425 
429  inline void SetBlueprintName(Aws::String&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::move(value); }
430 
434  inline void SetBlueprintName(const char* value) { m_blueprintNameHasBeenSet = true; m_blueprintName.assign(value); }
435 
439  inline Instance& WithBlueprintName(const Aws::String& value) { SetBlueprintName(value); return *this;}
440 
444  inline Instance& WithBlueprintName(Aws::String&& value) { SetBlueprintName(std::move(value)); return *this;}
445 
449  inline Instance& WithBlueprintName(const char* value) { SetBlueprintName(value); return *this;}
450 
451 
455  inline const Aws::String& GetBundleId() const{ return m_bundleId; }
456 
460  inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
461 
465  inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
466 
470  inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
471 
475  inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
476 
480  inline Instance& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
481 
485  inline Instance& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
486 
490  inline Instance& WithBundleId(const char* value) { SetBundleId(value); return *this;}
491 
492 
496  inline const Aws::Vector<AddOn>& GetAddOns() const{ return m_addOns; }
497 
501  inline bool AddOnsHasBeenSet() const { return m_addOnsHasBeenSet; }
502 
506  inline void SetAddOns(const Aws::Vector<AddOn>& value) { m_addOnsHasBeenSet = true; m_addOns = value; }
507 
511  inline void SetAddOns(Aws::Vector<AddOn>&& value) { m_addOnsHasBeenSet = true; m_addOns = std::move(value); }
512 
516  inline Instance& WithAddOns(const Aws::Vector<AddOn>& value) { SetAddOns(value); return *this;}
517 
521  inline Instance& WithAddOns(Aws::Vector<AddOn>&& value) { SetAddOns(std::move(value)); return *this;}
522 
526  inline Instance& AddAddOns(const AddOn& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(value); return *this; }
527 
531  inline Instance& AddAddOns(AddOn&& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(std::move(value)); return *this; }
532 
533 
538  inline bool GetIsStaticIp() const{ return m_isStaticIp; }
539 
544  inline bool IsStaticIpHasBeenSet() const { return m_isStaticIpHasBeenSet; }
545 
550  inline void SetIsStaticIp(bool value) { m_isStaticIpHasBeenSet = true; m_isStaticIp = value; }
551 
556  inline Instance& WithIsStaticIp(bool value) { SetIsStaticIp(value); return *this;}
557 
558 
562  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
563 
567  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
568 
572  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
573 
577  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
578 
582  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
583 
587  inline Instance& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
588 
592  inline Instance& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
593 
597  inline Instance& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
598 
599 
603  inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; }
604 
608  inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
609 
613  inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; }
614 
618  inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); }
619 
623  inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); }
624 
628  inline Instance& WithPublicIpAddress(const Aws::String& value) { SetPublicIpAddress(value); return *this;}
629 
633  inline Instance& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;}
634 
638  inline Instance& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;}
639 
640 
644  inline const Aws::Vector<Aws::String>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
645 
649  inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
650 
654  inline void SetIpv6Addresses(const Aws::Vector<Aws::String>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
655 
659  inline void SetIpv6Addresses(Aws::Vector<Aws::String>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
660 
664  inline Instance& WithIpv6Addresses(const Aws::Vector<Aws::String>& value) { SetIpv6Addresses(value); return *this;}
665 
669  inline Instance& WithIpv6Addresses(Aws::Vector<Aws::String>&& value) { SetIpv6Addresses(std::move(value)); return *this;}
670 
674  inline Instance& AddIpv6Addresses(const Aws::String& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
675 
679  inline Instance& AddIpv6Addresses(Aws::String&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
680 
684  inline Instance& AddIpv6Addresses(const char* value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
685 
686 
692  inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
693 
699  inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
700 
706  inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
707 
713  inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
714 
720  inline Instance& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
721 
727  inline Instance& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
728 
729 
733  inline const InstanceHardware& GetHardware() const{ return m_hardware; }
734 
738  inline bool HardwareHasBeenSet() const { return m_hardwareHasBeenSet; }
739 
743  inline void SetHardware(const InstanceHardware& value) { m_hardwareHasBeenSet = true; m_hardware = value; }
744 
748  inline void SetHardware(InstanceHardware&& value) { m_hardwareHasBeenSet = true; m_hardware = std::move(value); }
749 
753  inline Instance& WithHardware(const InstanceHardware& value) { SetHardware(value); return *this;}
754 
758  inline Instance& WithHardware(InstanceHardware&& value) { SetHardware(std::move(value)); return *this;}
759 
760 
765  inline const InstanceNetworking& GetNetworking() const{ return m_networking; }
766 
771  inline bool NetworkingHasBeenSet() const { return m_networkingHasBeenSet; }
772 
777  inline void SetNetworking(const InstanceNetworking& value) { m_networkingHasBeenSet = true; m_networking = value; }
778 
783  inline void SetNetworking(InstanceNetworking&& value) { m_networkingHasBeenSet = true; m_networking = std::move(value); }
784 
789  inline Instance& WithNetworking(const InstanceNetworking& value) { SetNetworking(value); return *this;}
790 
795  inline Instance& WithNetworking(InstanceNetworking&& value) { SetNetworking(std::move(value)); return *this;}
796 
797 
802  inline const InstanceState& GetState() const{ return m_state; }
803 
808  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
809 
814  inline void SetState(const InstanceState& value) { m_stateHasBeenSet = true; m_state = value; }
815 
820  inline void SetState(InstanceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
821 
826  inline Instance& WithState(const InstanceState& value) { SetState(value); return *this;}
827 
832  inline Instance& WithState(InstanceState&& value) { SetState(std::move(value)); return *this;}
833 
834 
839  inline const Aws::String& GetUsername() const{ return m_username; }
840 
845  inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
846 
851  inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
852 
857  inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
858 
863  inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
864 
869  inline Instance& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
870 
875  inline Instance& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
876 
881  inline Instance& WithUsername(const char* value) { SetUsername(value); return *this;}
882 
883 
888  inline const Aws::String& GetSshKeyName() const{ return m_sshKeyName; }
889 
894  inline bool SshKeyNameHasBeenSet() const { return m_sshKeyNameHasBeenSet; }
895 
900  inline void SetSshKeyName(const Aws::String& value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName = value; }
901 
906  inline void SetSshKeyName(Aws::String&& value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName = std::move(value); }
907 
912  inline void SetSshKeyName(const char* value) { m_sshKeyNameHasBeenSet = true; m_sshKeyName.assign(value); }
913 
918  inline Instance& WithSshKeyName(const Aws::String& value) { SetSshKeyName(value); return *this;}
919 
924  inline Instance& WithSshKeyName(Aws::String&& value) { SetSshKeyName(std::move(value)); return *this;}
925 
930  inline Instance& WithSshKeyName(const char* value) { SetSshKeyName(value); return *this;}
931 
932  private:
933 
934  Aws::String m_name;
935  bool m_nameHasBeenSet;
936 
937  Aws::String m_arn;
938  bool m_arnHasBeenSet;
939 
940  Aws::String m_supportCode;
941  bool m_supportCodeHasBeenSet;
942 
943  Aws::Utils::DateTime m_createdAt;
944  bool m_createdAtHasBeenSet;
945 
946  ResourceLocation m_location;
947  bool m_locationHasBeenSet;
948 
949  ResourceType m_resourceType;
950  bool m_resourceTypeHasBeenSet;
951 
952  Aws::Vector<Tag> m_tags;
953  bool m_tagsHasBeenSet;
954 
955  Aws::String m_blueprintId;
956  bool m_blueprintIdHasBeenSet;
957 
958  Aws::String m_blueprintName;
959  bool m_blueprintNameHasBeenSet;
960 
961  Aws::String m_bundleId;
962  bool m_bundleIdHasBeenSet;
963 
964  Aws::Vector<AddOn> m_addOns;
965  bool m_addOnsHasBeenSet;
966 
967  bool m_isStaticIp;
968  bool m_isStaticIpHasBeenSet;
969 
970  Aws::String m_privateIpAddress;
971  bool m_privateIpAddressHasBeenSet;
972 
973  Aws::String m_publicIpAddress;
974  bool m_publicIpAddressHasBeenSet;
975 
976  Aws::Vector<Aws::String> m_ipv6Addresses;
977  bool m_ipv6AddressesHasBeenSet;
978 
979  IpAddressType m_ipAddressType;
980  bool m_ipAddressTypeHasBeenSet;
981 
982  InstanceHardware m_hardware;
983  bool m_hardwareHasBeenSet;
984 
985  InstanceNetworking m_networking;
986  bool m_networkingHasBeenSet;
987 
988  InstanceState m_state;
989  bool m_stateHasBeenSet;
990 
991  Aws::String m_username;
992  bool m_usernameHasBeenSet;
993 
994  Aws::String m_sshKeyName;
995  bool m_sshKeyNameHasBeenSet;
996  };
997 
998 } // namespace Model
999 } // namespace Lightsail
1000 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::Instance::SetSshKeyName
void SetSshKeyName(Aws::String &&value)
Definition: Instance.h:906
Aws::Lightsail::Model::IpAddressType
IpAddressType
Definition: IpAddressType.h:17
Aws::Lightsail::Model::Instance::SetArn
void SetArn(Aws::String &&value)
Definition: Instance.h:122
Aws::Lightsail::Model::Instance::SetSupportCode
void SetSupportCode(const Aws::String &value)
Definition: Instance.h:168
Aws::Lightsail::Model::Instance::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: Instance.h:251
Aws::Lightsail::Model::Instance::SetBlueprintName
void SetBlueprintName(const Aws::String &value)
Definition: Instance.h:424
Aws::Lightsail::Model::Instance::SetUsername
void SetUsername(const char *value)
Definition: Instance.h:863
Aws::Lightsail::Model::Instance::GetNetworking
const InstanceNetworking & GetNetworking() const
Definition: Instance.h:765
ResourceType.h
Aws::Lightsail::Model::Instance::WithBlueprintName
Instance & WithBlueprintName(const char *value)
Definition: Instance.h:449
Aws::Lightsail::Model::Instance::GetArn
const Aws::String & GetArn() const
Definition: Instance.h:104
Aws::Lightsail::Model::Instance::WithBundleId
Instance & WithBundleId(const char *value)
Definition: Instance.h:490
Aws::Lightsail::Model::Instance::AddIpv6Addresses
Instance & AddIpv6Addresses(Aws::String &&value)
Definition: Instance.h:679
Aws::Lightsail::Model::InstanceHardware
Definition: InstanceHardware.h:33
Aws::Lightsail::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: Instance.h:572
InstanceState.h
Aws::Lightsail::Model::Instance::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: Instance.h:567
Aws::Lightsail::Model::Instance::BlueprintIdHasBeenSet
bool BlueprintIdHasBeenSet() const
Definition: Instance.h:378
Aws::Lightsail::Model::Instance::SetIpv6Addresses
void SetIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: Instance.h:659
Aws::Lightsail::Model::Instance::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::Instance::SetSshKeyName
void SetSshKeyName(const char *value)
Definition: Instance.h:912
Aws::Lightsail::Model::Instance::GetBlueprintName
const Aws::String & GetBlueprintName() const
Definition: Instance.h:414
Aws::Lightsail::Model::Instance::WithLocation
Instance & WithLocation(const ResourceLocation &value)
Definition: Instance.h:266
DateTime.h
Aws::Lightsail::Model::Instance::AddTags
Instance & AddTags(const Tag &value)
Definition: Instance.h:359
Aws::Lightsail::Model::Instance::GetUsername
const Aws::String & GetUsername() const
Definition: Instance.h:839
Aws::Lightsail::Model::Instance::SetHardware
void SetHardware(InstanceHardware &&value)
Definition: Instance.h:748
Aws::Lightsail::Model::Instance::SetIpAddressType
void SetIpAddressType(IpAddressType &&value)
Definition: Instance.h:713
Aws::Lightsail::Model::Instance::NetworkingHasBeenSet
bool NetworkingHasBeenSet() const
Definition: Instance.h:771
Aws::Lightsail::Model::Instance::BundleIdHasBeenSet
bool BundleIdHasBeenSet() const
Definition: Instance.h:460
Aws::Lightsail::Model::Instance::WithBlueprintId
Instance & WithBlueprintId(const char *value)
Definition: Instance.h:408
Aws::Lightsail::Model::Instance::SetIpv6Addresses
void SetIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: Instance.h:654
Aws::Lightsail::Model::Instance::GetResourceType
const ResourceType & GetResourceType() const
Definition: Instance.h:277
Aws::Lightsail::Model::Instance::SetHardware
void SetHardware(const InstanceHardware &value)
Definition: Instance.h:743
Aws::Lightsail::Model::Instance::AddIpv6Addresses
Instance & AddIpv6Addresses(const char *value)
Definition: Instance.h:684
Aws::Lightsail::Model::Instance::SetAddOns
void SetAddOns(const Aws::Vector< AddOn > &value)
Definition: Instance.h:506
Aws::Lightsail::Model::Instance::WithName
Instance & WithName(const char *value)
Definition: Instance.h:97
Aws::Lightsail::Model::Instance::SetSupportCode
void SetSupportCode(Aws::String &&value)
Definition: Instance.h:175
Aws::Lightsail::Model::Instance::SetName
void SetName(const Aws::String &value)
Definition: Instance.h:67
Aws::Lightsail::Model::Instance::WithCreatedAt
Instance & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Instance.h:240
Aws::Lightsail::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(const char *value)
Definition: Instance.h:597
Aws::Lightsail::Model::Instance::WithIpAddressType
Instance & WithIpAddressType(const IpAddressType &value)
Definition: Instance.h:720
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::Instance::AddOnsHasBeenSet
bool AddOnsHasBeenSet() const
Definition: Instance.h:501
Aws::Lightsail::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(const Aws::String &value)
Definition: Instance.h:628
Aws::Lightsail::Model::Instance::BlueprintNameHasBeenSet
bool BlueprintNameHasBeenSet() const
Definition: Instance.h:419
Aws::Lightsail::Model::Instance::SetLocation
void SetLocation(const ResourceLocation &value)
Definition: Instance.h:256
Aws::Lightsail::Model::Instance::WithUsername
Instance & WithUsername(Aws::String &&value)
Definition: Instance.h:875
InstanceNetworking.h
AddOn.h
Aws::Lightsail::Model::Instance::SetBlueprintId
void SetBlueprintId(const char *value)
Definition: Instance.h:393
Aws::Lightsail::Model::Instance::WithAddOns
Instance & WithAddOns(const Aws::Vector< AddOn > &value)
Definition: Instance.h:516
Aws::Lightsail::Model::Instance::WithHardware
Instance & WithHardware(const InstanceHardware &value)
Definition: Instance.h:753
Aws::Lightsail::Model::Instance::SetName
void SetName(const char *value)
Definition: Instance.h:79
AWSVector.h
Aws::Lightsail::Model::Instance::SetIpAddressType
void SetIpAddressType(const IpAddressType &value)
Definition: Instance.h:706
Aws::Lightsail::Model::Instance::SetSshKeyName
void SetSshKeyName(const Aws::String &value)
Definition: Instance.h:900
Aws::Lightsail::Model::Instance::WithSshKeyName
Instance & WithSshKeyName(const char *value)
Definition: Instance.h:930
Aws::Lightsail::Model::Instance::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: Instance.h:562
Aws::Lightsail::Model::InstanceState
Definition: InstanceState.h:33
Aws::Lightsail::Model::Instance::WithBundleId
Instance & WithBundleId(const Aws::String &value)
Definition: Instance.h:480
Aws::Lightsail::Model::Instance::WithUsername
Instance & WithUsername(const char *value)
Definition: Instance.h:881
Aws::Lightsail::Model::Instance::WithSshKeyName
Instance & WithSshKeyName(Aws::String &&value)
Definition: Instance.h:924
Aws::Lightsail::Model::Instance::WithIpAddressType
Instance & WithIpAddressType(IpAddressType &&value)
Definition: Instance.h:727
Aws::Lightsail::Model::Instance::AddIpv6Addresses
Instance & AddIpv6Addresses(const Aws::String &value)
Definition: Instance.h:674
Aws::Lightsail::Model::Instance::SetUsername
void SetUsername(const Aws::String &value)
Definition: Instance.h:851
Aws::Lightsail::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(const Aws::String &value)
Definition: Instance.h:613
Aws::Lightsail::Model::Instance::WithResourceType
Instance & WithResourceType(const ResourceType &value)
Definition: Instance.h:297
Aws::Lightsail::Model::Instance
Definition: Instance.h:43
Aws::Lightsail::Model::Instance::SetArn
void SetArn(const char *value)
Definition: Instance.h:128
Aws::Lightsail::Model::Instance::WithLocation
Instance & WithLocation(ResourceLocation &&value)
Definition: Instance.h:271
Aws::Lightsail::Model::Instance::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Instance.h:210
Aws::Lightsail::Model::Instance::AddAddOns
Instance & AddAddOns(AddOn &&value)
Definition: Instance.h:531
Aws::Lightsail::Model::Instance::WithTags
Instance & WithTags(Aws::Vector< Tag > &&value)
Definition: Instance.h:351
Aws::Lightsail::Model::Instance::WithSshKeyName
Instance & WithSshKeyName(const Aws::String &value)
Definition: Instance.h:918
Aws::Lightsail::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: Instance.h:582
Aws::Lightsail::Model::Instance::WithName
Instance & WithName(Aws::String &&value)
Definition: Instance.h:91
Aws::Lightsail::Model::Instance::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Instance.h:335
Aws::Lightsail::Model::Instance::WithState
Instance & WithState(const InstanceState &value)
Definition: Instance.h:826
Aws::Lightsail::Model::Instance::WithSupportCode
Instance & WithSupportCode(const Aws::String &value)
Definition: Instance.h:189
Aws::Lightsail::Model::Instance::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: Instance.h:292
Aws::Lightsail::Model::Instance::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: Instance.h:282
Aws::Lightsail::Model::Instance::WithIpv6Addresses
Instance & WithIpv6Addresses(Aws::Vector< Aws::String > &&value)
Definition: Instance.h:669
Aws::Lightsail::Model::Instance::WithResourceType
Instance & WithResourceType(ResourceType &&value)
Definition: Instance.h:302
Aws::Lightsail::Model::Instance::WithAddOns
Instance & WithAddOns(Aws::Vector< AddOn > &&value)
Definition: Instance.h:521
Aws::Lightsail::Model::Instance::SetBlueprintName
void SetBlueprintName(const char *value)
Definition: Instance.h:434
Aws::Lightsail::Model::Instance::IpAddressTypeHasBeenSet
bool IpAddressTypeHasBeenSet() const
Definition: Instance.h:699
Aws::Lightsail::Model::Instance::WithSupportCode
Instance & WithSupportCode(Aws::String &&value)
Definition: Instance.h:196
Aws::Lightsail::Model::Instance::SetLocation
void SetLocation(ResourceLocation &&value)
Definition: Instance.h:261
Aws::Lightsail::Model::Instance::SetNetworking
void SetNetworking(const InstanceNetworking &value)
Definition: Instance.h:777
Tag.h
Aws::Lightsail::Model::Instance::WithBlueprintName
Instance & WithBlueprintName(Aws::String &&value)
Definition: Instance.h:444
Aws::Lightsail::Model::Instance::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Instance.h:228
Aws::Lightsail::Model::ResourceLocation
Definition: ResourceLocation.h:33
Aws::Lightsail::Model::Instance::AddTags
Instance & AddTags(Tag &&value)
Definition: Instance.h:367
Aws::Lightsail::Model::Instance::SetAddOns
void SetAddOns(Aws::Vector< AddOn > &&value)
Definition: Instance.h:511
Aws::Lightsail::Model::Instance::WithNetworking
Instance & WithNetworking(const InstanceNetworking &value)
Definition: Instance.h:789
Aws::Lightsail::Model::Instance::SshKeyNameHasBeenSet
bool SshKeyNameHasBeenSet() const
Definition: Instance.h:894
Aws::Lightsail::Model::Instance::HardwareHasBeenSet
bool HardwareHasBeenSet() const
Definition: Instance.h:738
Aws::Lightsail::Model::Instance::SetName
void SetName(Aws::String &&value)
Definition: Instance.h:73
Aws::Lightsail::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(Aws::String &&value)
Definition: Instance.h:633
Aws::Lightsail::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(Aws::String &&value)
Definition: Instance.h:618
Aws::Lightsail::Model::Instance::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Instance.h:327
InstanceHardware.h
Aws::Lightsail::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: Instance.h:577
Aws::Lightsail::Model::Instance::GetBlueprintId
const Aws::String & GetBlueprintId() const
Definition: Instance.h:373
Aws::Lightsail::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(const char *value)
Definition: Instance.h:623
Aws::Lightsail::Model::Instance::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Instance.h:110
Aws::Lightsail::Model::Instance::WithBundleId
Instance & WithBundleId(Aws::String &&value)
Definition: Instance.h:485
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::Instance::WithName
Instance & WithName(const Aws::String &value)
Definition: Instance.h:85
Aws::Lightsail::Model::Instance::SetBlueprintName
void SetBlueprintName(Aws::String &&value)
Definition: Instance.h:429
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::Instance::SetBlueprintId
void SetBlueprintId(Aws::String &&value)
Definition: Instance.h:388
Aws::Lightsail::Model::Instance::SetIsStaticIp
void SetIsStaticIp(bool value)
Definition: Instance.h:550
Aws::Lightsail::Model::Instance::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Instance.h:319
Aws::Lightsail::Model::Instance::WithArn
Instance & WithArn(Aws::String &&value)
Definition: Instance.h:140
Aws::Lightsail::Model::Instance::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Instance.h:216
Aws::Lightsail::Model::Instance::GetPublicIpAddress
const Aws::String & GetPublicIpAddress() const
Definition: Instance.h:603
Aws::Lightsail::Model::Instance::GetIpv6Addresses
const Aws::Vector< Aws::String > & GetIpv6Addresses() const
Definition: Instance.h:644
Aws::Lightsail::Model::Instance::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Instance.h:311
Lightsail_EXPORTS.h
Aws::Lightsail::Model::Instance::SetBundleId
void SetBundleId(const char *value)
Definition: Instance.h:475
Aws::Lightsail::Model::Instance::operator=
Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(Aws::String &&value)
Definition: Instance.h:592
Aws::Lightsail::Model::Instance::GetIpAddressType
const IpAddressType & GetIpAddressType() const
Definition: Instance.h:692
Aws::Lightsail::Model::Instance::WithTags
Instance & WithTags(const Aws::Vector< Tag > &value)
Definition: Instance.h:343
Aws::Lightsail::Model::Instance::WithHardware
Instance & WithHardware(InstanceHardware &&value)
Definition: Instance.h:758
Aws::Lightsail::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(const Aws::String &value)
Definition: Instance.h:587
Aws::Lightsail::Model::Instance::GetHardware
const InstanceHardware & GetHardware() const
Definition: Instance.h:733
Aws::Lightsail::Model::Instance::Instance
Instance(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::Instance::WithBlueprintId
Instance & WithBlueprintId(Aws::String &&value)
Definition: Instance.h:403
Aws::Lightsail::Model::Instance::GetLocation
const ResourceLocation & GetLocation() const
Definition: Instance.h:246
Aws::Lightsail::Model::Instance::SetBlueprintId
void SetBlueprintId(const Aws::String &value)
Definition: Instance.h:383
Aws::Lightsail::Model::Instance::WithCreatedAt
Instance & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Instance.h:234
Aws::Lightsail::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
ResourceLocation.h
Aws::Lightsail::Model::Instance::SetState
void SetState(const InstanceState &value)
Definition: Instance.h:814
Aws::Lightsail::Model::Instance::Ipv6AddressesHasBeenSet
bool Ipv6AddressesHasBeenSet() const
Definition: Instance.h:649
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::Instance::Instance
Instance()
Aws::Lightsail::Model::Instance::WithState
Instance & WithState(InstanceState &&value)
Definition: Instance.h:832
Aws::Lightsail::Model::Instance::WithArn
Instance & WithArn(const char *value)
Definition: Instance.h:146
Aws::Lightsail::Model::Instance::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Instance.h:808
Aws::Lightsail::Model::Instance::SetSupportCode
void SetSupportCode(const char *value)
Definition: Instance.h:182
Aws::Lightsail::Model::Instance::UsernameHasBeenSet
bool UsernameHasBeenSet() const
Definition: Instance.h:845
Aws::Lightsail::Model::Instance::GetIsStaticIp
bool GetIsStaticIp() const
Definition: Instance.h:538
Aws::Lightsail::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(const char *value)
Definition: Instance.h:638
Aws::Lightsail::Model::Instance::SetNetworking
void SetNetworking(InstanceNetworking &&value)
Definition: Instance.h:783
Aws::Lightsail::Model::Instance::WithSupportCode
Instance & WithSupportCode(const char *value)
Definition: Instance.h:203
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::InstanceNetworking
Definition: InstanceNetworking.h:35
Aws::Lightsail::Model::Instance::GetName
const Aws::String & GetName() const
Definition: Instance.h:55
Aws::Lightsail::Model::Instance::WithIpv6Addresses
Instance & WithIpv6Addresses(const Aws::Vector< Aws::String > &value)
Definition: Instance.h:664
Aws::Lightsail::Model::Instance::GetState
const InstanceState & GetState() const
Definition: Instance.h:802
Aws::Lightsail::Model::Instance::GetBundleId
const Aws::String & GetBundleId() const
Definition: Instance.h:455
Aws::Lightsail::Model::Instance::SetArn
void SetArn(const Aws::String &value)
Definition: Instance.h:116
Aws::Lightsail::Model::Instance::GetAddOns
const Aws::Vector< AddOn > & GetAddOns() const
Definition: Instance.h:496
Aws::Lightsail::Model::Instance::SetUsername
void SetUsername(Aws::String &&value)
Definition: Instance.h:857
Aws::Lightsail::Model::Instance::SetBundleId
void SetBundleId(const Aws::String &value)
Definition: Instance.h:465
Aws::Lightsail::Model::Instance::SupportCodeHasBeenSet
bool SupportCodeHasBeenSet() const
Definition: Instance.h:161
IpAddressType.h
Aws::Lightsail::Model::Instance::WithBlueprintId
Instance & WithBlueprintId(const Aws::String &value)
Definition: Instance.h:398
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::Instance::PublicIpAddressHasBeenSet
bool PublicIpAddressHasBeenSet() const
Definition: Instance.h:608
Aws::Lightsail::Model::Instance::GetSupportCode
const Aws::String & GetSupportCode() const
Definition: Instance.h:154
Aws::Lightsail::Model::Instance::AddAddOns
Instance & AddAddOns(const AddOn &value)
Definition: Instance.h:526
Aws::Lightsail::Model::Instance::WithIsStaticIp
Instance & WithIsStaticIp(bool value)
Definition: Instance.h:556
Aws::Lightsail::Model::Instance::SetBundleId
void SetBundleId(Aws::String &&value)
Definition: Instance.h:470
Aws::Lightsail::Model::Instance::IsStaticIpHasBeenSet
bool IsStaticIpHasBeenSet() const
Definition: Instance.h:544
Aws::Lightsail::Model::Instance::WithArn
Instance & WithArn(const Aws::String &value)
Definition: Instance.h:134
Aws::Lightsail::Model::Instance::SetState
void SetState(InstanceState &&value)
Definition: Instance.h:820
Aws::Lightsail::Model::Instance::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: Instance.h:287
Aws::Lightsail::Model::Instance::WithNetworking
Instance & WithNetworking(InstanceNetworking &&value)
Definition: Instance.h:795
Aws::Lightsail::Model::Instance::GetSshKeyName
const Aws::String & GetSshKeyName() const
Definition: Instance.h:888
Aws::Lightsail::Model::Instance::WithBlueprintName
Instance & WithBlueprintName(const Aws::String &value)
Definition: Instance.h:439
Aws::Lightsail::Model::Instance::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Instance.h:61
Aws::Lightsail::Model::AddOn
Definition: AddOn.h:33
Aws::Lightsail::Model::Instance::WithUsername
Instance & WithUsername(const Aws::String &value)
Definition: Instance.h:869
Aws::Lightsail::Model::Instance::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Instance.h:222