7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/lightsail/model/IpAddressType.h>
13#include <aws/lightsail/model/Tag.h>
14#include <aws/lightsail/model/AddOnRequest.h>
15#include <aws/lightsail/model/DiskMap.h>
89 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
108 inline void SetInstanceSnapshotName(
const char* value) { m_instanceSnapshotNameHasBeenSet =
true; m_instanceSnapshotName.assign(value); }
123 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
144 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
158 inline void SetKeyPairName(
const char* value) { m_keyPairNameHasBeenSet =
true; m_keyPairName.assign(value); }
226 inline void SetSourceInstanceName(
const char* value) { m_sourceInstanceNameHasBeenSet =
true; m_sourceInstanceName.assign(value); }
250 inline void SetRestoreDate(
const char* value) { m_restoreDateHasBeenSet =
true; m_restoreDate.assign(value); }
275 bool m_instanceNamesHasBeenSet =
false;
278 bool m_attachedDiskMappingHasBeenSet =
false;
281 bool m_availabilityZoneHasBeenSet =
false;
284 bool m_instanceSnapshotNameHasBeenSet =
false;
287 bool m_bundleIdHasBeenSet =
false;
290 bool m_userDataHasBeenSet =
false;
293 bool m_keyPairNameHasBeenSet =
false;
296 bool m_tagsHasBeenSet =
false;
299 bool m_addOnsHasBeenSet =
false;
302 bool m_ipAddressTypeHasBeenSet =
false;
305 bool m_sourceInstanceNameHasBeenSet =
false;
308 bool m_restoreDateHasBeenSet =
false;
310 bool m_useLatestRestorableAutoSnapshot;
311 bool m_useLatestRestorableAutoSnapshotHasBeenSet =
false;
void SetInstanceSnapshotName(const Aws::String &value)
void SetUserData(const char *value)
CreateInstancesFromSnapshotRequest & WithBundleId(const Aws::String &value)
bool InstanceSnapshotNameHasBeenSet() const
const Aws::String & GetRestoreDate() const
void SetBundleId(const char *value)
const Aws::String & GetKeyPairName() const
CreateInstancesFromSnapshotRequest & WithKeyPairName(Aws::String &&value)
bool UseLatestRestorableAutoSnapshotHasBeenSet() const
void SetUserData(Aws::String &&value)
const Aws::String & GetInstanceSnapshotName() const
CreateInstancesFromSnapshotRequest & WithRestoreDate(const char *value)
bool InstanceNamesHasBeenSet() const
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(const char *value)
void SetUseLatestRestorableAutoSnapshot(bool value)
const Aws::String & GetAvailabilityZone() const
void SetAttachedDiskMapping(Aws::Map< Aws::String, Aws::Vector< DiskMap > > &&value)
void SetInstanceNames(const Aws::Vector< Aws::String > &value)
CreateInstancesFromSnapshotRequest & WithUserData(Aws::String &&value)
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
CreateInstancesFromSnapshotRequest & WithInstanceNames(Aws::Vector< Aws::String > &&value)
void SetRestoreDate(Aws::String &&value)
CreateInstancesFromSnapshotRequest & WithBundleId(const char *value)
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(const Aws::String &value)
bool UserDataHasBeenSet() const
CreateInstancesFromSnapshotRequest & WithUserData(const char *value)
void SetSourceInstanceName(const char *value)
void SetAttachedDiskMapping(const Aws::Map< Aws::String, Aws::Vector< DiskMap > > &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const Aws::String &key, const Aws::Vector< DiskMap > &value)
void SetAddOns(Aws::Vector< AddOnRequest > &&value)
void SetAvailabilityZone(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateInstancesFromSnapshotRequest & WithBundleId(Aws::String &&value)
void SetSourceInstanceName(Aws::String &&value)
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(Aws::String &&value)
bool AddOnsHasBeenSet() const
void SetBundleId(const Aws::String &value)
void SetBundleId(Aws::String &&value)
void SetIpAddressType(IpAddressType &&value)
virtual const char * GetServiceRequestName() const override
CreateInstancesFromSnapshotRequest & WithSourceInstanceName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< DiskMap > > & GetAttachedDiskMapping() const
bool KeyPairNameHasBeenSet() const
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(const char *value)
CreateInstancesFromSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
bool AttachedDiskMappingHasBeenSet() const
void SetAddOns(const Aws::Vector< AddOnRequest > &value)
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const char *key, Aws::Vector< DiskMap > &&value)
CreateInstancesFromSnapshotRequest & WithInstanceNames(const Aws::Vector< Aws::String > &value)
void SetInstanceSnapshotName(Aws::String &&value)
void SetInstanceSnapshotName(const char *value)
bool IpAddressTypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceNames() const
void SetIpAddressType(const IpAddressType &value)
CreateInstancesFromSnapshotRequest & WithIpAddressType(IpAddressType &&value)
CreateInstancesFromSnapshotRequest & AddInstanceNames(const char *value)
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(Aws::String &&key, const Aws::Vector< DiskMap > &value)
CreateInstancesFromSnapshotRequest & WithAttachedDiskMapping(Aws::Map< Aws::String, Aws::Vector< DiskMap > > &&value)
CreateInstancesFromSnapshotRequest & AddAddOns(AddOnRequest &&value)
CreateInstancesFromSnapshotRequest & WithAddOns(Aws::Vector< AddOnRequest > &&value)
CreateInstancesFromSnapshotRequest & AddInstanceNames(const Aws::String &value)
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const Aws::String &key, Aws::Vector< DiskMap > &&value)
const Aws::String & GetBundleId() const
CreateInstancesFromSnapshotRequest & WithInstanceSnapshotName(Aws::String &&value)
bool GetUseLatestRestorableAutoSnapshot() const
void SetTags(Aws::Vector< Tag > &&value)
CreateInstancesFromSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetUserData() const
const Aws::Vector< AddOnRequest > & GetAddOns() const
bool AvailabilityZoneHasBeenSet() const
CreateInstancesFromSnapshotRequest & WithUseLatestRestorableAutoSnapshot(bool value)
CreateInstancesFromSnapshotRequest & WithRestoreDate(const Aws::String &value)
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(Aws::String &&key, Aws::Vector< DiskMap > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
CreateInstancesFromSnapshotRequest & AddAttachedDiskMapping(const char *key, const Aws::Vector< DiskMap > &value)
const Aws::String & GetSourceInstanceName() const
void SetInstanceNames(Aws::Vector< Aws::String > &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(Aws::String &&value)
void SetKeyPairName(Aws::String &&value)
CreateInstancesFromSnapshotRequest & AddTags(const Tag &value)
CreateInstancesFromSnapshotRequest & WithKeyPairName(const char *value)
CreateInstancesFromSnapshotRequest & WithKeyPairName(const Aws::String &value)
CreateInstancesFromSnapshotRequest & AddAddOns(const AddOnRequest &value)
CreateInstancesFromSnapshotRequest & AddInstanceNames(Aws::String &&value)
CreateInstancesFromSnapshotRequest & WithAvailabilityZone(const char *value)
void SetRestoreDate(const char *value)
void SetSourceInstanceName(const Aws::String &value)
bool RestoreDateHasBeenSet() const
void SetKeyPairName(const Aws::String &value)
bool BundleIdHasBeenSet() const
CreateInstancesFromSnapshotRequest & WithIpAddressType(const IpAddressType &value)
void SetKeyPairName(const char *value)
CreateInstancesFromSnapshotRequest & WithAddOns(const Aws::Vector< AddOnRequest > &value)
void SetUserData(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateInstancesFromSnapshotRequest & WithAttachedDiskMapping(const Aws::Map< Aws::String, Aws::Vector< DiskMap > > &value)
bool SourceInstanceNameHasBeenSet() const
const IpAddressType & GetIpAddressType() const
CreateInstancesFromSnapshotRequest & WithUserData(const Aws::String &value)
CreateInstancesFromSnapshotRequest & WithRestoreDate(Aws::String &&value)
bool TagsHasBeenSet() const
AWS_LIGHTSAIL_API CreateInstancesFromSnapshotRequest()
CreateInstancesFromSnapshotRequest & AddTags(Tag &&value)
void SetRestoreDate(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector