AWS SDK for C++  1.9.104
AWS SDK for C++
CreateInstancesFromSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Lightsail
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateInstancesFromSnapshot"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
46  inline const Aws::Vector<Aws::String>& GetInstanceNames() const{ return m_instanceNames; }
47 
51  inline bool InstanceNamesHasBeenSet() const { return m_instanceNamesHasBeenSet; }
52 
56  inline void SetInstanceNames(const Aws::Vector<Aws::String>& value) { m_instanceNamesHasBeenSet = true; m_instanceNames = value; }
57 
61  inline void SetInstanceNames(Aws::Vector<Aws::String>&& value) { m_instanceNamesHasBeenSet = true; m_instanceNames = std::move(value); }
62 
66  inline CreateInstancesFromSnapshotRequest& WithInstanceNames(const Aws::Vector<Aws::String>& value) { SetInstanceNames(value); return *this;}
67 
71  inline CreateInstancesFromSnapshotRequest& WithInstanceNames(Aws::Vector<Aws::String>&& value) { SetInstanceNames(std::move(value)); return *this;}
72 
76  inline CreateInstancesFromSnapshotRequest& AddInstanceNames(const Aws::String& value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(value); return *this; }
77 
81  inline CreateInstancesFromSnapshotRequest& AddInstanceNames(Aws::String&& value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(std::move(value)); return *this; }
82 
86  inline CreateInstancesFromSnapshotRequest& AddInstanceNames(const char* value) { m_instanceNamesHasBeenSet = true; m_instanceNames.push_back(value); return *this; }
87 
88 
92  inline const Aws::Map<Aws::String, Aws::Vector<DiskMap>>& GetAttachedDiskMapping() const{ return m_attachedDiskMapping; }
93 
97  inline bool AttachedDiskMappingHasBeenSet() const { return m_attachedDiskMappingHasBeenSet; }
98 
102  inline void SetAttachedDiskMapping(const Aws::Map<Aws::String, Aws::Vector<DiskMap>>& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping = value; }
103 
107  inline void SetAttachedDiskMapping(Aws::Map<Aws::String, Aws::Vector<DiskMap>>&& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping = std::move(value); }
108 
112  inline CreateInstancesFromSnapshotRequest& WithAttachedDiskMapping(const Aws::Map<Aws::String, Aws::Vector<DiskMap>>& value) { SetAttachedDiskMapping(value); return *this;}
113 
117  inline CreateInstancesFromSnapshotRequest& WithAttachedDiskMapping(Aws::Map<Aws::String, Aws::Vector<DiskMap>>&& value) { SetAttachedDiskMapping(std::move(value)); return *this;}
118 
122  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(const Aws::String& key, const Aws::Vector<DiskMap>& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(key, value); return *this; }
123 
127  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(Aws::String&& key, const Aws::Vector<DiskMap>& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(std::move(key), value); return *this; }
128 
132  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(const Aws::String& key, Aws::Vector<DiskMap>&& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(key, std::move(value)); return *this; }
133 
137  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(Aws::String&& key, Aws::Vector<DiskMap>&& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(std::move(key), std::move(value)); return *this; }
138 
142  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(const char* key, Aws::Vector<DiskMap>&& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(key, std::move(value)); return *this; }
143 
147  inline CreateInstancesFromSnapshotRequest& AddAttachedDiskMapping(const char* key, const Aws::Vector<DiskMap>& value) { m_attachedDiskMappingHasBeenSet = true; m_attachedDiskMapping.emplace(key, value); return *this; }
148 
149 
158  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
159 
168  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
169 
178  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
179 
188  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
189 
198  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
199 
208  inline CreateInstancesFromSnapshotRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
209 
218  inline CreateInstancesFromSnapshotRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
219 
228  inline CreateInstancesFromSnapshotRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
229 
230 
239  inline const Aws::String& GetInstanceSnapshotName() const{ return m_instanceSnapshotName; }
240 
249  inline bool InstanceSnapshotNameHasBeenSet() const { return m_instanceSnapshotNameHasBeenSet; }
250 
259  inline void SetInstanceSnapshotName(const Aws::String& value) { m_instanceSnapshotNameHasBeenSet = true; m_instanceSnapshotName = value; }
260 
269  inline void SetInstanceSnapshotName(Aws::String&& value) { m_instanceSnapshotNameHasBeenSet = true; m_instanceSnapshotName = std::move(value); }
270 
279  inline void SetInstanceSnapshotName(const char* value) { m_instanceSnapshotNameHasBeenSet = true; m_instanceSnapshotName.assign(value); }
280 
289  inline CreateInstancesFromSnapshotRequest& WithInstanceSnapshotName(const Aws::String& value) { SetInstanceSnapshotName(value); return *this;}
290 
299  inline CreateInstancesFromSnapshotRequest& WithInstanceSnapshotName(Aws::String&& value) { SetInstanceSnapshotName(std::move(value)); return *this;}
300 
309  inline CreateInstancesFromSnapshotRequest& WithInstanceSnapshotName(const char* value) { SetInstanceSnapshotName(value); return *this;}
310 
311 
316  inline const Aws::String& GetBundleId() const{ return m_bundleId; }
317 
322  inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
323 
328  inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
329 
334  inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
335 
340  inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
341 
346  inline CreateInstancesFromSnapshotRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
347 
352  inline CreateInstancesFromSnapshotRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
353 
358  inline CreateInstancesFromSnapshotRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
359 
360 
371  inline const Aws::String& GetUserData() const{ return m_userData; }
372 
383  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
384 
395  inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; }
396 
407  inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
408 
419  inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); }
420 
431  inline CreateInstancesFromSnapshotRequest& WithUserData(const Aws::String& value) { SetUserData(value); return *this;}
432 
443  inline CreateInstancesFromSnapshotRequest& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;}
444 
455  inline CreateInstancesFromSnapshotRequest& WithUserData(const char* value) { SetUserData(value); return *this;}
456 
457 
461  inline const Aws::String& GetKeyPairName() const{ return m_keyPairName; }
462 
466  inline bool KeyPairNameHasBeenSet() const { return m_keyPairNameHasBeenSet; }
467 
471  inline void SetKeyPairName(const Aws::String& value) { m_keyPairNameHasBeenSet = true; m_keyPairName = value; }
472 
476  inline void SetKeyPairName(Aws::String&& value) { m_keyPairNameHasBeenSet = true; m_keyPairName = std::move(value); }
477 
481  inline void SetKeyPairName(const char* value) { m_keyPairNameHasBeenSet = true; m_keyPairName.assign(value); }
482 
486  inline CreateInstancesFromSnapshotRequest& WithKeyPairName(const Aws::String& value) { SetKeyPairName(value); return *this;}
487 
491  inline CreateInstancesFromSnapshotRequest& WithKeyPairName(Aws::String&& value) { SetKeyPairName(std::move(value)); return *this;}
492 
496  inline CreateInstancesFromSnapshotRequest& WithKeyPairName(const char* value) { SetKeyPairName(value); return *this;}
497 
498 
504  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
505 
511  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
512 
518  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
519 
525  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
526 
532  inline CreateInstancesFromSnapshotRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
533 
539  inline CreateInstancesFromSnapshotRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
540 
546  inline CreateInstancesFromSnapshotRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
547 
553  inline CreateInstancesFromSnapshotRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
554 
555 
560  inline const Aws::Vector<AddOnRequest>& GetAddOns() const{ return m_addOns; }
561 
566  inline bool AddOnsHasBeenSet() const { return m_addOnsHasBeenSet; }
567 
572  inline void SetAddOns(const Aws::Vector<AddOnRequest>& value) { m_addOnsHasBeenSet = true; m_addOns = value; }
573 
578  inline void SetAddOns(Aws::Vector<AddOnRequest>&& value) { m_addOnsHasBeenSet = true; m_addOns = std::move(value); }
579 
584  inline CreateInstancesFromSnapshotRequest& WithAddOns(const Aws::Vector<AddOnRequest>& value) { SetAddOns(value); return *this;}
585 
590  inline CreateInstancesFromSnapshotRequest& WithAddOns(Aws::Vector<AddOnRequest>&& value) { SetAddOns(std::move(value)); return *this;}
591 
596  inline CreateInstancesFromSnapshotRequest& AddAddOns(const AddOnRequest& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(value); return *this; }
597 
602  inline CreateInstancesFromSnapshotRequest& AddAddOns(AddOnRequest&& value) { m_addOnsHasBeenSet = true; m_addOns.push_back(std::move(value)); return *this; }
603 
604 
610  inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
611 
617  inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
618 
624  inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
625 
631  inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
632 
638  inline CreateInstancesFromSnapshotRequest& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
639 
645  inline CreateInstancesFromSnapshotRequest& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
646 
647 
659  inline const Aws::String& GetSourceInstanceName() const{ return m_sourceInstanceName; }
660 
672  inline bool SourceInstanceNameHasBeenSet() const { return m_sourceInstanceNameHasBeenSet; }
673 
685  inline void SetSourceInstanceName(const Aws::String& value) { m_sourceInstanceNameHasBeenSet = true; m_sourceInstanceName = value; }
686 
698  inline void SetSourceInstanceName(Aws::String&& value) { m_sourceInstanceNameHasBeenSet = true; m_sourceInstanceName = std::move(value); }
699 
711  inline void SetSourceInstanceName(const char* value) { m_sourceInstanceNameHasBeenSet = true; m_sourceInstanceName.assign(value); }
712 
724  inline CreateInstancesFromSnapshotRequest& WithSourceInstanceName(const Aws::String& value) { SetSourceInstanceName(value); return *this;}
725 
737  inline CreateInstancesFromSnapshotRequest& WithSourceInstanceName(Aws::String&& value) { SetSourceInstanceName(std::move(value)); return *this;}
738 
750  inline CreateInstancesFromSnapshotRequest& WithSourceInstanceName(const char* value) { SetSourceInstanceName(value); return *this;}
751 
752 
766  inline const Aws::String& GetRestoreDate() const{ return m_restoreDate; }
767 
781  inline bool RestoreDateHasBeenSet() const { return m_restoreDateHasBeenSet; }
782 
796  inline void SetRestoreDate(const Aws::String& value) { m_restoreDateHasBeenSet = true; m_restoreDate = value; }
797 
811  inline void SetRestoreDate(Aws::String&& value) { m_restoreDateHasBeenSet = true; m_restoreDate = std::move(value); }
812 
826  inline void SetRestoreDate(const char* value) { m_restoreDateHasBeenSet = true; m_restoreDate.assign(value); }
827 
841  inline CreateInstancesFromSnapshotRequest& WithRestoreDate(const Aws::String& value) { SetRestoreDate(value); return *this;}
842 
856  inline CreateInstancesFromSnapshotRequest& WithRestoreDate(Aws::String&& value) { SetRestoreDate(std::move(value)); return *this;}
857 
871  inline CreateInstancesFromSnapshotRequest& WithRestoreDate(const char* value) { SetRestoreDate(value); return *this;}
872 
873 
884  inline bool GetUseLatestRestorableAutoSnapshot() const{ return m_useLatestRestorableAutoSnapshot; }
885 
896  inline bool UseLatestRestorableAutoSnapshotHasBeenSet() const { return m_useLatestRestorableAutoSnapshotHasBeenSet; }
897 
908  inline void SetUseLatestRestorableAutoSnapshot(bool value) { m_useLatestRestorableAutoSnapshotHasBeenSet = true; m_useLatestRestorableAutoSnapshot = value; }
909 
920  inline CreateInstancesFromSnapshotRequest& WithUseLatestRestorableAutoSnapshot(bool value) { SetUseLatestRestorableAutoSnapshot(value); return *this;}
921 
922  private:
923 
924  Aws::Vector<Aws::String> m_instanceNames;
925  bool m_instanceNamesHasBeenSet;
926 
927  Aws::Map<Aws::String, Aws::Vector<DiskMap>> m_attachedDiskMapping;
928  bool m_attachedDiskMappingHasBeenSet;
929 
930  Aws::String m_availabilityZone;
931  bool m_availabilityZoneHasBeenSet;
932 
933  Aws::String m_instanceSnapshotName;
934  bool m_instanceSnapshotNameHasBeenSet;
935 
936  Aws::String m_bundleId;
937  bool m_bundleIdHasBeenSet;
938 
939  Aws::String m_userData;
940  bool m_userDataHasBeenSet;
941 
942  Aws::String m_keyPairName;
943  bool m_keyPairNameHasBeenSet;
944 
945  Aws::Vector<Tag> m_tags;
946  bool m_tagsHasBeenSet;
947 
948  Aws::Vector<AddOnRequest> m_addOns;
949  bool m_addOnsHasBeenSet;
950 
951  IpAddressType m_ipAddressType;
952  bool m_ipAddressTypeHasBeenSet;
953 
954  Aws::String m_sourceInstanceName;
955  bool m_sourceInstanceNameHasBeenSet;
956 
957  Aws::String m_restoreDate;
958  bool m_restoreDateHasBeenSet;
959 
960  bool m_useLatestRestorableAutoSnapshot;
961  bool m_useLatestRestorableAutoSnapshotHasBeenSet;
962  };
963 
964 } // namespace Model
965 } // namespace Lightsail
966 } // namespace Aws
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:299
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:178
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceNames
const Aws::Vector< Aws::String > & GetInstanceNames() const
Definition: CreateInstancesFromSnapshotRequest.h:46
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName
void SetInstanceSnapshotName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:269
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns
CreateInstancesFromSnapshotRequest & WithAddOns(const Aws::Vector< AddOnRequest > &value)
Definition: CreateInstancesFromSnapshotRequest.h:584
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId
CreateInstancesFromSnapshotRequest & WithBundleId(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:346
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const char *key, const Aws::Vector< DiskMap > &value)
Definition: CreateInstancesFromSnapshotRequest.h:147
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId
void SetBundleId(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:328
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName
void SetKeyPairName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:481
Aws::Lightsail::Model::IpAddressType
IpAddressType
Definition: IpAddressType.h:17
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const char *key, Aws::Vector< DiskMap > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:142
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetIpAddressType
void SetIpAddressType(const IpAddressType &value)
Definition: CreateInstancesFromSnapshotRequest.h:624
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithIpAddressType
CreateInstancesFromSnapshotRequest & WithIpAddressType(IpAddressType &&value)
Definition: CreateInstancesFromSnapshotRequest.h:645
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUseLatestRestorableAutoSnapshot
void SetUseLatestRestorableAutoSnapshot(bool value)
Definition: CreateInstancesFromSnapshotRequest.h:908
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AttachedDiskMappingHasBeenSet
bool AttachedDiskMappingHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:97
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags
CreateInstancesFromSnapshotRequest & AddTags(Tag &&value)
Definition: CreateInstancesFromSnapshotRequest.h:553
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames
CreateInstancesFromSnapshotRequest & WithInstanceNames(const Aws::Vector< Aws::String > &value)
Definition: CreateInstancesFromSnapshotRequest.h:66
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: CreateInstancesFromSnapshotRequest.h:158
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetIpAddressType
const IpAddressType & GetIpAddressType() const
Definition: CreateInstancesFromSnapshotRequest.h:610
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping
CreateInstancesFromSnapshotRequest & WithAttachedDiskMapping(const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
Definition: CreateInstancesFromSnapshotRequest.h:112
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns
CreateInstancesFromSnapshotRequest & AddAddOns(AddOnRequest &&value)
Definition: CreateInstancesFromSnapshotRequest.h:602
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:811
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithIpAddressType
CreateInstancesFromSnapshotRequest & WithIpAddressType(const IpAddressType &value)
Definition: CreateInstancesFromSnapshotRequest.h:638
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAttachedDiskMapping
CreateInstancesFromSnapshotRequest & WithAttachedDiskMapping(Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
Definition: CreateInstancesFromSnapshotRequest.h:117
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::RestoreDateHasBeenSet
bool RestoreDateHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:781
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetBundleId
const Aws::String & GetBundleId() const
Definition: CreateInstancesFromSnapshotRequest.h:316
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate
CreateInstancesFromSnapshotRequest & WithRestoreDate(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:841
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddOnsHasBeenSet
bool AddOnsHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:566
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceNames
CreateInstancesFromSnapshotRequest & WithInstanceNames(Aws::Vector< Aws::String > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:71
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName
void SetInstanceSnapshotName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:279
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUseLatestRestorableAutoSnapshot
bool GetUseLatestRestorableAutoSnapshot() const
Definition: CreateInstancesFromSnapshotRequest.h:884
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName
void SetSourceInstanceName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:685
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:525
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName
void SetKeyPairName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:476
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:737
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames
CreateInstancesFromSnapshotRequest & AddInstanceNames(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:86
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames
CreateInstancesFromSnapshotRequest & AddInstanceNames(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:81
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateInstancesFromSnapshotRequest.h:504
AddOnRequest.h
AWSVector.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName
CreateInstancesFromSnapshotRequest & WithKeyPairName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:486
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName
CreateInstancesFromSnapshotRequest & WithKeyPairName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:496
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping
void SetAttachedDiskMapping(Aws::Map< Aws::String, Aws::Vector< DiskMap >> &&value)
Definition: CreateInstancesFromSnapshotRequest.h:107
LightsailRequest.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:188
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:796
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName
void SetSourceInstanceName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:711
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData
void SetUserData(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:395
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAttachedDiskMapping
void SetAttachedDiskMapping(const Aws::Map< Aws::String, Aws::Vector< DiskMap >> &value)
Definition: CreateInstancesFromSnapshotRequest.h:102
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(Aws::String &&key, const Aws::Vector< DiskMap > &value)
Definition: CreateInstancesFromSnapshotRequest.h:127
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const Aws::String &key, Aws::Vector< DiskMap > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:132
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAddOns
CreateInstancesFromSnapshotRequest & AddAddOns(const AddOnRequest &value)
Definition: CreateInstancesFromSnapshotRequest.h:596
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData
void SetUserData(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:407
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SourceInstanceNameHasBeenSet
bool SourceInstanceNameHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:672
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns
void SetAddOns(const Aws::Vector< AddOnRequest > &value)
Definition: CreateInstancesFromSnapshotRequest.h:572
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData
CreateInstancesFromSnapshotRequest & WithUserData(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:443
Tag.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAddOns
const Aws::Vector< AddOnRequest > & GetAddOns() const
Definition: CreateInstancesFromSnapshotRequest.h:560
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetUserData
void SetUserData(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:419
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId
CreateInstancesFromSnapshotRequest & WithBundleId(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:358
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateInstancesFromSnapshotRequest.h:518
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const Aws::String &key, const Aws::Vector< DiskMap > &value)
Definition: CreateInstancesFromSnapshotRequest.h:122
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddInstanceNames
CreateInstancesFromSnapshotRequest & AddInstanceNames(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:76
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateInstancesFromSnapshotRequest.h:36
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUseLatestRestorableAutoSnapshot
CreateInstancesFromSnapshotRequest & WithUseLatestRestorableAutoSnapshot(bool value)
Definition: CreateInstancesFromSnapshotRequest.h:920
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRestoreDate
const Aws::String & GetRestoreDate() const
Definition: CreateInstancesFromSnapshotRequest.h:766
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAddOns
CreateInstancesFromSnapshotRequest & WithAddOns(Aws::Vector< AddOnRequest > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:590
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames
void SetInstanceNames(const Aws::Vector< Aws::String > &value)
Definition: CreateInstancesFromSnapshotRequest.h:56
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::KeyPairNameHasBeenSet
bool KeyPairNameHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:466
DiskMap.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate
CreateInstancesFromSnapshotRequest & WithRestoreDate(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:856
Aws::Lightsail::Model::AddOnRequest
Definition: AddOnRequest.h:37
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetInstanceSnapshotName
const Aws::String & GetInstanceSnapshotName() const
Definition: CreateInstancesFromSnapshotRequest.h:239
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddAttachedDiskMapping
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(Aws::String &&key, Aws::Vector< DiskMap > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:137
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetKeyPairName
const Aws::String & GetKeyPairName() const
Definition: CreateInstancesFromSnapshotRequest.h:461
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::CreateInstancesFromSnapshotRequest
CreateInstancesFromSnapshotRequest()
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:511
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceNamesHasBeenSet
bool InstanceNamesHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:51
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId
void SetBundleId(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:334
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData
CreateInstancesFromSnapshotRequest & WithUserData(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:431
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetBundleId
void SetBundleId(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:340
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:289
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UseLatestRestorableAutoSnapshotHasBeenSet
bool UseLatestRestorableAutoSnapshotHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:896
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetAttachedDiskMapping
const Aws::Map< Aws::String, Aws::Vector< DiskMap > > & GetAttachedDiskMapping() const
Definition: CreateInstancesFromSnapshotRequest.h:92
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithUserData
CreateInstancesFromSnapshotRequest & WithUserData(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:455
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:198
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetRestoreDate
void SetRestoreDate(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:826
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithRestoreDate
CreateInstancesFromSnapshotRequest & WithRestoreDate(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:871
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::IpAddressTypeHasBeenSet
bool IpAddressTypeHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:617
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:218
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::BundleIdHasBeenSet
bool BundleIdHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:322
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:168
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:750
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetSourceInstanceName
const Aws::String & GetSourceInstanceName() const
Definition: CreateInstancesFromSnapshotRequest.h:659
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::GetUserData
const Aws::String & GetUserData() const
Definition: CreateInstancesFromSnapshotRequest.h:371
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags
CreateInstancesFromSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:539
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetIpAddressType
void SetIpAddressType(IpAddressType &&value)
Definition: CreateInstancesFromSnapshotRequest.h:631
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:228
IpAddressType.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::InstanceSnapshotNameHasBeenSet
bool InstanceSnapshotNameHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:249
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::AddTags
CreateInstancesFromSnapshotRequest & AddTags(const Tag &value)
Definition: CreateInstancesFromSnapshotRequest.h:546
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithSourceInstanceName
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:724
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetAddOns
void SetAddOns(Aws::Vector< AddOnRequest > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:578
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithInstanceSnapshotName
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(const char *value)
Definition: CreateInstancesFromSnapshotRequest.h:309
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceSnapshotName
void SetInstanceSnapshotName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:259
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetInstanceNames
void SetInstanceNames(Aws::Vector< Aws::String > &&value)
Definition: CreateInstancesFromSnapshotRequest.h:61
AWSMap.h
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: CreateInstancesFromSnapshotRequest.h:383
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithAvailabilityZone
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:208
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest
Definition: CreateInstancesFromSnapshotRequest.h:28
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithKeyPairName
CreateInstancesFromSnapshotRequest & WithKeyPairName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:491
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithBundleId
CreateInstancesFromSnapshotRequest & WithBundleId(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:352
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetSourceInstanceName
void SetSourceInstanceName(Aws::String &&value)
Definition: CreateInstancesFromSnapshotRequest.h:698
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::WithTags
CreateInstancesFromSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateInstancesFromSnapshotRequest.h:532
Aws::Lightsail::Model::CreateInstancesFromSnapshotRequest::SetKeyPairName
void SetKeyPairName(const Aws::String &value)
Definition: CreateInstancesFromSnapshotRequest.h:471