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/AWSString.h>
11#include <aws/lightsail/model/IpAddressType.h>
12#include <aws/lightsail/model/Tag.h>
13#include <aws/lightsail/model/AddOnRequest.h>
71 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
91 inline void SetBlueprintId(
const char* value) { m_blueprintIdHasBeenSet =
true; m_blueprintId.assign(value); }
106 inline void SetBundleId(
const char* value) { m_bundleIdHasBeenSet =
true; m_bundleId.assign(value); }
127 inline void SetUserData(
const char* value) { m_userDataHasBeenSet =
true; m_userData.assign(value); }
141 inline void SetKeyPairName(
const char* value) { m_keyPairNameHasBeenSet =
true; m_keyPairName.assign(value); }
195 bool m_instanceNamesHasBeenSet =
false;
198 bool m_availabilityZoneHasBeenSet =
false;
201 bool m_blueprintIdHasBeenSet =
false;
204 bool m_bundleIdHasBeenSet =
false;
207 bool m_userDataHasBeenSet =
false;
210 bool m_keyPairNameHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
216 bool m_addOnsHasBeenSet =
false;
219 bool m_ipAddressTypeHasBeenSet =
false;
const Aws::Vector< AddOnRequest > & GetAddOns() const
CreateInstancesRequest & AddInstanceNames(const Aws::String &value)
CreateInstancesRequest & WithInstanceNames(Aws::Vector< Aws::String > &&value)
CreateInstancesRequest & WithAvailabilityZone(Aws::String &&value)
CreateInstancesRequest & WithTags(const Aws::Vector< Tag > &value)
CreateInstancesRequest & WithAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetBlueprintId(Aws::String &&value)
void SetBundleId(const Aws::String &value)
void SetKeyPairName(const Aws::String &value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
CreateInstancesRequest & WithTags(Aws::Vector< Tag > &&value)
CreateInstancesRequest & WithUserData(const char *value)
bool AvailabilityZoneHasBeenSet() const
void SetIpAddressType(IpAddressType &&value)
CreateInstancesRequest & WithBlueprintId(const Aws::String &value)
CreateInstancesRequest & AddAddOns(const AddOnRequest &value)
void SetIpAddressType(const IpAddressType &value)
void SetAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(const char *value)
void SetUserData(Aws::String &&value)
CreateInstancesRequest & WithAddOns(const Aws::Vector< AddOnRequest > &value)
CreateInstancesRequest & WithInstanceNames(const Aws::Vector< Aws::String > &value)
CreateInstancesRequest & AddTags(const Tag &value)
const Aws::String & GetUserData() const
const Aws::String & GetAvailabilityZone() const
void SetTags(const Aws::Vector< Tag > &value)
CreateInstancesRequest & WithIpAddressType(IpAddressType &&value)
const IpAddressType & GetIpAddressType() const
bool BundleIdHasBeenSet() const
CreateInstancesRequest & AddTags(Tag &&value)
CreateInstancesRequest & WithBlueprintId(Aws::String &&value)
void SetBundleId(const char *value)
CreateInstancesRequest & WithAvailabilityZone(const char *value)
const Aws::Vector< Aws::String > & GetInstanceNames() const
CreateInstancesRequest & AddInstanceNames(const char *value)
void SetUserData(const char *value)
CreateInstancesRequest & WithAddOns(Aws::Vector< AddOnRequest > &&value)
void SetKeyPairName(const char *value)
void SetKeyPairName(Aws::String &&value)
CreateInstancesRequest & WithBlueprintId(const char *value)
CreateInstancesRequest & WithKeyPairName(const char *value)
CreateInstancesRequest & WithBundleId(const Aws::String &value)
const Aws::String & GetKeyPairName() const
void SetAddOns(Aws::Vector< AddOnRequest > &&value)
bool BlueprintIdHasBeenSet() const
void SetInstanceNames(const Aws::Vector< Aws::String > &value)
CreateInstancesRequest & AddInstanceNames(Aws::String &&value)
bool AddOnsHasBeenSet() const
void SetBundleId(Aws::String &&value)
CreateInstancesRequest & WithBundleId(const char *value)
void SetInstanceNames(Aws::Vector< Aws::String > &&value)
void SetAddOns(const Aws::Vector< AddOnRequest > &value)
CreateInstancesRequest & WithUserData(Aws::String &&value)
const Aws::String & GetBundleId() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateInstancesRequest & WithKeyPairName(const Aws::String &value)
CreateInstancesRequest & WithKeyPairName(Aws::String &&value)
bool KeyPairNameHasBeenSet() const
CreateInstancesRequest & WithBundleId(Aws::String &&value)
bool IpAddressTypeHasBeenSet() const
CreateInstancesRequest & WithIpAddressType(const IpAddressType &value)
bool InstanceNamesHasBeenSet() const
void SetBlueprintId(const Aws::String &value)
bool UserDataHasBeenSet() const
void SetUserData(const Aws::String &value)
void SetBlueprintId(const char *value)
CreateInstancesRequest & AddAddOns(AddOnRequest &&value)
const Aws::String & GetBlueprintId() const
AWS_LIGHTSAIL_API CreateInstancesRequest()
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
CreateInstancesRequest & WithUserData(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector