7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/LightsailRequest.h>
10#include <aws/lightsail/Lightsail_EXPORTS.h>
11#include <aws/lightsail/model/AddOnRequest.h>
12#include <aws/lightsail/model/IpAddressType.h>
13#include <aws/lightsail/model/Tag.h>
45 template <
typename InstanceNamesT = Aws::Vector<Aws::String>>
47 m_instanceNamesHasBeenSet =
true;
48 m_instanceNames = std::forward<InstanceNamesT>(value);
50 template <
typename InstanceNamesT = Aws::Vector<Aws::String>>
55 template <
typename InstanceNamesT = Aws::String>
57 m_instanceNamesHasBeenSet =
true;
58 m_instanceNames.emplace_back(std::forward<InstanceNamesT>(value));
74 template <
typename AvailabilityZoneT = Aws::String>
76 m_availabilityZoneHasBeenSet =
true;
77 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
79 template <
typename AvailabilityZoneT = Aws::String>
98 template <
typename Bluepr
intIdT = Aws::String>
100 m_blueprintIdHasBeenSet =
true;
101 m_blueprintId = std::forward<BlueprintIdT>(value);
103 template <
typename Bluepr
intIdT = Aws::String>
117 template <
typename BundleIdT = Aws::String>
119 m_bundleIdHasBeenSet =
true;
120 m_bundleId = std::forward<BundleIdT>(value);
122 template <
typename BundleIdT = Aws::String>
142 template <
typename UserDataT = Aws::String>
144 m_userDataHasBeenSet =
true;
145 m_userData = std::forward<UserDataT>(value);
147 template <
typename UserDataT = Aws::String>
160 template <
typename KeyPairNameT = Aws::String>
162 m_keyPairNameHasBeenSet =
true;
163 m_keyPairName = std::forward<KeyPairNameT>(value);
165 template <
typename KeyPairNameT = Aws::String>
180 template <
typename TagsT = Aws::Vector<Tag>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Vector<Tag>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsT = Tag>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace_back(std::forward<TagsT>(value));
205 template <
typename AddOnsT = Aws::Vector<AddOnRequest>>
207 m_addOnsHasBeenSet =
true;
208 m_addOns = std::forward<AddOnsT>(value);
210 template <
typename AddOnsT = Aws::Vector<AddOnRequest>>
215 template <
typename AddOnsT = AddOnRequest>
217 m_addOnsHasBeenSet =
true;
218 m_addOns.emplace_back(std::forward<AddOnsT>(value));
233 m_ipAddressTypeHasBeenSet =
true;
234 m_ipAddressType = value;
259 bool m_instanceNamesHasBeenSet =
false;
260 bool m_availabilityZoneHasBeenSet =
false;
261 bool m_blueprintIdHasBeenSet =
false;
262 bool m_bundleIdHasBeenSet =
false;
263 bool m_userDataHasBeenSet =
false;
264 bool m_keyPairNameHasBeenSet =
false;
265 bool m_tagsHasBeenSet =
false;
266 bool m_addOnsHasBeenSet =
false;
267 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