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>
49 template<
typename InstanceNamesT = Aws::Vector<Aws::String>>
50 void SetInstanceNames(InstanceNamesT&& value) { m_instanceNamesHasBeenSet =
true; m_instanceNames = std::forward<InstanceNamesT>(value); }
51 template<
typename InstanceNamesT = Aws::Vector<Aws::String>>
53 template<
typename InstanceNamesT = Aws::String>
68 template<
typename AvailabilityZoneT = Aws::String>
69 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
70 template<
typename AvailabilityZoneT = Aws::String>
86 template<
typename Bluepr
intIdT = Aws::String>
87 void SetBlueprintId(BlueprintIdT&& value) { m_blueprintIdHasBeenSet =
true; m_blueprintId = std::forward<BlueprintIdT>(value); }
88 template<
typename Bluepr
intIdT = Aws::String>
99 template<
typename BundleIdT = Aws::String>
100 void SetBundleId(BundleIdT&& value) { m_bundleIdHasBeenSet =
true; m_bundleId = std::forward<BundleIdT>(value); }
101 template<
typename BundleIdT = Aws::String>
118 template<
typename UserDataT = Aws::String>
119 void SetUserData(UserDataT&& value) { m_userDataHasBeenSet =
true; m_userData = std::forward<UserDataT>(value); }
120 template<
typename UserDataT = Aws::String>
130 template<
typename KeyPairNameT = Aws::String>
131 void SetKeyPairName(KeyPairNameT&& value) { m_keyPairNameHasBeenSet =
true; m_keyPairName = std::forward<KeyPairNameT>(value); }
132 template<
typename KeyPairNameT = Aws::String>
144 template<
typename TagsT = Aws::Vector<Tag>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Vector<Tag>>
148 template<
typename TagsT = Tag>
159 template<
typename AddOnsT = Aws::Vector<AddOnRequest>>
160 void SetAddOns(AddOnsT&& value) { m_addOnsHasBeenSet =
true; m_addOns = std::forward<AddOnsT>(value); }
161 template<
typename AddOnsT = Aws::Vector<AddOnRequest>>
163 template<
typename AddOnsT = AddOnRequest>
182 bool m_instanceNamesHasBeenSet =
false;
185 bool m_availabilityZoneHasBeenSet =
false;
188 bool m_blueprintIdHasBeenSet =
false;
191 bool m_bundleIdHasBeenSet =
false;
194 bool m_userDataHasBeenSet =
false;
197 bool m_keyPairNameHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
203 bool m_addOnsHasBeenSet =
false;
206 bool m_ipAddressTypeHasBeenSet =
false;
const Aws::Vector< AddOnRequest > & GetAddOns() const
CreateInstancesRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
CreateInstancesRequest & WithAddOns(AddOnsT &&value)
bool TagsHasBeenSet() const
IpAddressType GetIpAddressType() const
void SetTags(TagsT &&value)
void SetBundleId(BundleIdT &&value)
CreateInstancesRequest & WithBundleId(BundleIdT &&value)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetUserData() const
const Aws::String & GetAvailabilityZone() const
bool BundleIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetInstanceNames() const
CreateInstancesRequest & WithKeyPairName(KeyPairNameT &&value)
void SetUserData(UserDataT &&value)
CreateInstancesRequest & AddTags(TagsT &&value)
void SetIpAddressType(IpAddressType value)
CreateInstancesRequest & AddAddOns(AddOnsT &&value)
CreateInstancesRequest & WithIpAddressType(IpAddressType value)
const Aws::String & GetKeyPairName() const
void SetKeyPairName(KeyPairNameT &&value)
void SetBlueprintId(BlueprintIdT &&value)
bool BlueprintIdHasBeenSet() const
AWS_LIGHTSAIL_API CreateInstancesRequest()=default
CreateInstancesRequest & WithUserData(UserDataT &&value)
bool AddOnsHasBeenSet() const
CreateInstancesRequest & WithInstanceNames(InstanceNamesT &&value)
void SetInstanceNames(InstanceNamesT &&value)
CreateInstancesRequest & WithTags(TagsT &&value)
CreateInstancesRequest & WithBlueprintId(BlueprintIdT &&value)
CreateInstancesRequest & AddInstanceNames(InstanceNamesT &&value)
const Aws::String & GetBundleId() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool KeyPairNameHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool IpAddressTypeHasBeenSet() const
bool InstanceNamesHasBeenSet() const
bool UserDataHasBeenSet() const
const Aws::String & GetBlueprintId() const
virtual const char * GetServiceRequestName() const override
void SetAddOns(AddOnsT &&value)
const Aws::Vector< Tag > & GetTags() const
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