AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SpotInstanceRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/SpotInstanceStateFault.h>
12#include <aws/ec2/model/LaunchSpecification.h>
13#include <aws/ec2/model/RIProductDescription.h>
14#include <aws/ec2/model/SpotInstanceState.h>
15#include <aws/ec2/model/SpotInstanceStatus.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/ec2/model/SpotInstanceType.h>
18#include <aws/ec2/model/InstanceInterruptionBehavior.h>
19#include <aws/ec2/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Xml
27{
28 class XmlNode;
29} // namespace Xml
30} // namespace Utils
31namespace EC2
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_EC2_API SpotInstanceRequest();
45 AWS_EC2_API SpotInstanceRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
56 inline const Aws::String& GetActualBlockHourlyPrice() const{ return m_actualBlockHourlyPrice; }
57 inline bool ActualBlockHourlyPriceHasBeenSet() const { return m_actualBlockHourlyPriceHasBeenSet; }
58 inline void SetActualBlockHourlyPrice(const Aws::String& value) { m_actualBlockHourlyPriceHasBeenSet = true; m_actualBlockHourlyPrice = value; }
59 inline void SetActualBlockHourlyPrice(Aws::String&& value) { m_actualBlockHourlyPriceHasBeenSet = true; m_actualBlockHourlyPrice = std::move(value); }
60 inline void SetActualBlockHourlyPrice(const char* value) { m_actualBlockHourlyPriceHasBeenSet = true; m_actualBlockHourlyPrice.assign(value); }
62 inline SpotInstanceRequest& WithActualBlockHourlyPrice(Aws::String&& value) { SetActualBlockHourlyPrice(std::move(value)); return *this;}
63 inline SpotInstanceRequest& WithActualBlockHourlyPrice(const char* value) { SetActualBlockHourlyPrice(value); return *this;}
65
67
72 inline const Aws::String& GetAvailabilityZoneGroup() const{ return m_availabilityZoneGroup; }
73 inline bool AvailabilityZoneGroupHasBeenSet() const { return m_availabilityZoneGroupHasBeenSet; }
74 inline void SetAvailabilityZoneGroup(const Aws::String& value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup = value; }
75 inline void SetAvailabilityZoneGroup(Aws::String&& value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup = std::move(value); }
76 inline void SetAvailabilityZoneGroup(const char* value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup.assign(value); }
78 inline SpotInstanceRequest& WithAvailabilityZoneGroup(Aws::String&& value) { SetAvailabilityZoneGroup(std::move(value)); return *this;}
79 inline SpotInstanceRequest& WithAvailabilityZoneGroup(const char* value) { SetAvailabilityZoneGroup(value); return *this;}
81
83
86 inline int GetBlockDurationMinutes() const{ return m_blockDurationMinutes; }
87 inline bool BlockDurationMinutesHasBeenSet() const { return m_blockDurationMinutesHasBeenSet; }
88 inline void SetBlockDurationMinutes(int value) { m_blockDurationMinutesHasBeenSet = true; m_blockDurationMinutes = value; }
89 inline SpotInstanceRequest& WithBlockDurationMinutes(int value) { SetBlockDurationMinutes(value); return *this;}
91
93
98 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
101 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
102 inline SpotInstanceRequest& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
103 inline SpotInstanceRequest& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
105
107
110 inline const SpotInstanceStateFault& GetFault() const{ return m_fault; }
111 inline bool FaultHasBeenSet() const { return m_faultHasBeenSet; }
112 inline void SetFault(const SpotInstanceStateFault& value) { m_faultHasBeenSet = true; m_fault = value; }
113 inline void SetFault(SpotInstanceStateFault&& value) { m_faultHasBeenSet = true; m_fault = std::move(value); }
114 inline SpotInstanceRequest& WithFault(const SpotInstanceStateFault& value) { SetFault(value); return *this;}
115 inline SpotInstanceRequest& WithFault(SpotInstanceStateFault&& value) { SetFault(std::move(value)); return *this;}
117
119
123 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
124 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
125 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
126 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
127 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
128 inline SpotInstanceRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
129 inline SpotInstanceRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
130 inline SpotInstanceRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
132
134
138 inline const Aws::String& GetLaunchGroup() const{ return m_launchGroup; }
139 inline bool LaunchGroupHasBeenSet() const { return m_launchGroupHasBeenSet; }
140 inline void SetLaunchGroup(const Aws::String& value) { m_launchGroupHasBeenSet = true; m_launchGroup = value; }
141 inline void SetLaunchGroup(Aws::String&& value) { m_launchGroupHasBeenSet = true; m_launchGroup = std::move(value); }
142 inline void SetLaunchGroup(const char* value) { m_launchGroupHasBeenSet = true; m_launchGroup.assign(value); }
143 inline SpotInstanceRequest& WithLaunchGroup(const Aws::String& value) { SetLaunchGroup(value); return *this;}
144 inline SpotInstanceRequest& WithLaunchGroup(Aws::String&& value) { SetLaunchGroup(std::move(value)); return *this;}
145 inline SpotInstanceRequest& WithLaunchGroup(const char* value) { SetLaunchGroup(value); return *this;}
147
149
152 inline const LaunchSpecification& GetLaunchSpecification() const{ return m_launchSpecification; }
153 inline bool LaunchSpecificationHasBeenSet() const { return m_launchSpecificationHasBeenSet; }
154 inline void SetLaunchSpecification(const LaunchSpecification& value) { m_launchSpecificationHasBeenSet = true; m_launchSpecification = value; }
155 inline void SetLaunchSpecification(LaunchSpecification&& value) { m_launchSpecificationHasBeenSet = true; m_launchSpecification = std::move(value); }
159
161
164 inline const Aws::String& GetLaunchedAvailabilityZone() const{ return m_launchedAvailabilityZone; }
165 inline bool LaunchedAvailabilityZoneHasBeenSet() const { return m_launchedAvailabilityZoneHasBeenSet; }
166 inline void SetLaunchedAvailabilityZone(const Aws::String& value) { m_launchedAvailabilityZoneHasBeenSet = true; m_launchedAvailabilityZone = value; }
167 inline void SetLaunchedAvailabilityZone(Aws::String&& value) { m_launchedAvailabilityZoneHasBeenSet = true; m_launchedAvailabilityZone = std::move(value); }
168 inline void SetLaunchedAvailabilityZone(const char* value) { m_launchedAvailabilityZoneHasBeenSet = true; m_launchedAvailabilityZone.assign(value); }
171 inline SpotInstanceRequest& WithLaunchedAvailabilityZone(const char* value) { SetLaunchedAvailabilityZone(value); return *this;}
173
175
178 inline const RIProductDescription& GetProductDescription() const{ return m_productDescription; }
179 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
180 inline void SetProductDescription(const RIProductDescription& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
181 inline void SetProductDescription(RIProductDescription&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
185
187
190 inline const Aws::String& GetSpotInstanceRequestId() const{ return m_spotInstanceRequestId; }
191 inline bool SpotInstanceRequestIdHasBeenSet() const { return m_spotInstanceRequestIdHasBeenSet; }
192 inline void SetSpotInstanceRequestId(const Aws::String& value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId = value; }
193 inline void SetSpotInstanceRequestId(Aws::String&& value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId = std::move(value); }
194 inline void SetSpotInstanceRequestId(const char* value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId.assign(value); }
196 inline SpotInstanceRequest& WithSpotInstanceRequestId(Aws::String&& value) { SetSpotInstanceRequestId(std::move(value)); return *this;}
197 inline SpotInstanceRequest& WithSpotInstanceRequestId(const char* value) { SetSpotInstanceRequestId(value); return *this;}
199
201
209 inline const Aws::String& GetSpotPrice() const{ return m_spotPrice; }
210 inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; }
211 inline void SetSpotPrice(const Aws::String& value) { m_spotPriceHasBeenSet = true; m_spotPrice = value; }
212 inline void SetSpotPrice(Aws::String&& value) { m_spotPriceHasBeenSet = true; m_spotPrice = std::move(value); }
213 inline void SetSpotPrice(const char* value) { m_spotPriceHasBeenSet = true; m_spotPrice.assign(value); }
214 inline SpotInstanceRequest& WithSpotPrice(const Aws::String& value) { SetSpotPrice(value); return *this;}
215 inline SpotInstanceRequest& WithSpotPrice(Aws::String&& value) { SetSpotPrice(std::move(value)); return *this;}
216 inline SpotInstanceRequest& WithSpotPrice(const char* value) { SetSpotPrice(value); return *this;}
218
220
226 inline const SpotInstanceState& GetState() const{ return m_state; }
227 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
228 inline void SetState(const SpotInstanceState& value) { m_stateHasBeenSet = true; m_state = value; }
229 inline void SetState(SpotInstanceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
230 inline SpotInstanceRequest& WithState(const SpotInstanceState& value) { SetState(value); return *this;}
231 inline SpotInstanceRequest& WithState(SpotInstanceState&& value) { SetState(std::move(value)); return *this;}
233
235
238 inline const SpotInstanceStatus& GetStatus() const{ return m_status; }
239 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
240 inline void SetStatus(const SpotInstanceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
241 inline void SetStatus(SpotInstanceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
242 inline SpotInstanceRequest& WithStatus(const SpotInstanceStatus& value) { SetStatus(value); return *this;}
243 inline SpotInstanceRequest& WithStatus(SpotInstanceStatus&& value) { SetStatus(std::move(value)); return *this;}
245
247
250 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
251 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
252 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
253 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
254 inline SpotInstanceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
255 inline SpotInstanceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
256 inline SpotInstanceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
257 inline SpotInstanceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
259
261
264 inline const SpotInstanceType& GetType() const{ return m_type; }
265 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
266 inline void SetType(const SpotInstanceType& value) { m_typeHasBeenSet = true; m_type = value; }
267 inline void SetType(SpotInstanceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
268 inline SpotInstanceRequest& WithType(const SpotInstanceType& value) { SetType(value); return *this;}
269 inline SpotInstanceRequest& WithType(SpotInstanceType&& value) { SetType(std::move(value)); return *this;}
271
273
278 inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
279 inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
280 inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
281 inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
282 inline SpotInstanceRequest& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
283 inline SpotInstanceRequest& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
285
287
297 inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
298 inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
299 inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
300 inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
301 inline SpotInstanceRequest& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
302 inline SpotInstanceRequest& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
304
306
309 inline const InstanceInterruptionBehavior& GetInstanceInterruptionBehavior() const{ return m_instanceInterruptionBehavior; }
310 inline bool InstanceInterruptionBehaviorHasBeenSet() const { return m_instanceInterruptionBehaviorHasBeenSet; }
311 inline void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = value; }
312 inline void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior&& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = std::move(value); }
316 private:
317
318 Aws::String m_actualBlockHourlyPrice;
319 bool m_actualBlockHourlyPriceHasBeenSet = false;
320
321 Aws::String m_availabilityZoneGroup;
322 bool m_availabilityZoneGroupHasBeenSet = false;
323
324 int m_blockDurationMinutes;
325 bool m_blockDurationMinutesHasBeenSet = false;
326
327 Aws::Utils::DateTime m_createTime;
328 bool m_createTimeHasBeenSet = false;
329
331 bool m_faultHasBeenSet = false;
332
333 Aws::String m_instanceId;
334 bool m_instanceIdHasBeenSet = false;
335
336 Aws::String m_launchGroup;
337 bool m_launchGroupHasBeenSet = false;
338
339 LaunchSpecification m_launchSpecification;
340 bool m_launchSpecificationHasBeenSet = false;
341
342 Aws::String m_launchedAvailabilityZone;
343 bool m_launchedAvailabilityZoneHasBeenSet = false;
344
345 RIProductDescription m_productDescription;
346 bool m_productDescriptionHasBeenSet = false;
347
348 Aws::String m_spotInstanceRequestId;
349 bool m_spotInstanceRequestIdHasBeenSet = false;
350
351 Aws::String m_spotPrice;
352 bool m_spotPriceHasBeenSet = false;
353
354 SpotInstanceState m_state;
355 bool m_stateHasBeenSet = false;
356
357 SpotInstanceStatus m_status;
358 bool m_statusHasBeenSet = false;
359
360 Aws::Vector<Tag> m_tags;
361 bool m_tagsHasBeenSet = false;
362
363 SpotInstanceType m_type;
364 bool m_typeHasBeenSet = false;
365
366 Aws::Utils::DateTime m_validFrom;
367 bool m_validFromHasBeenSet = false;
368
369 Aws::Utils::DateTime m_validUntil;
370 bool m_validUntilHasBeenSet = false;
371
372 InstanceInterruptionBehavior m_instanceInterruptionBehavior;
373 bool m_instanceInterruptionBehaviorHasBeenSet = false;
374 };
375
376} // namespace Model
377} // namespace EC2
378} // namespace Aws
void SetLaunchSpecification(const LaunchSpecification &value)
SpotInstanceRequest & WithStatus(SpotInstanceStatus &&value)
void SetType(SpotInstanceType &&value)
SpotInstanceRequest & WithValidUntil(Aws::Utils::DateTime &&value)
SpotInstanceRequest & WithInstanceId(Aws::String &&value)
void SetProductDescription(RIProductDescription &&value)
SpotInstanceRequest & WithLaunchedAvailabilityZone(Aws::String &&value)
void SetAvailabilityZoneGroup(Aws::String &&value)
SpotInstanceRequest & WithType(const SpotInstanceType &value)
SpotInstanceRequest & WithLaunchGroup(const Aws::String &value)
SpotInstanceRequest & WithLaunchedAvailabilityZone(const char *value)
SpotInstanceRequest & WithStatus(const SpotInstanceStatus &value)
SpotInstanceRequest & WithInstanceId(const Aws::String &value)
SpotInstanceRequest & WithValidUntil(const Aws::Utils::DateTime &value)
SpotInstanceRequest & AddTags(Tag &&value)
void SetFault(SpotInstanceStateFault &&value)
SpotInstanceRequest & WithLaunchSpecification(LaunchSpecification &&value)
SpotInstanceRequest & WithSpotPrice(Aws::String &&value)
void SetSpotInstanceRequestId(Aws::String &&value)
SpotInstanceRequest & WithLaunchedAvailabilityZone(const Aws::String &value)
SpotInstanceRequest & WithSpotInstanceRequestId(const char *value)
void SetCreateTime(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SpotInstanceRequest & WithInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetValidFrom(const Aws::Utils::DateTime &value)
SpotInstanceRequest & WithSpotPrice(const Aws::String &value)
void SetState(const SpotInstanceState &value)
SpotInstanceRequest & WithLaunchSpecification(const LaunchSpecification &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetSpotPrice(const Aws::String &value)
const SpotInstanceStatus & GetStatus() const
SpotInstanceRequest & WithCreateTime(const Aws::Utils::DateTime &value)
const SpotInstanceStateFault & GetFault() const
const Aws::Utils::DateTime & GetCreateTime() const
void SetActualBlockHourlyPrice(const Aws::String &value)
SpotInstanceRequest & WithActualBlockHourlyPrice(const Aws::String &value)
SpotInstanceRequest & WithSpotPrice(const char *value)
void SetLaunchedAvailabilityZone(Aws::String &&value)
AWS_EC2_API SpotInstanceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCreateTime(const Aws::Utils::DateTime &value)
const SpotInstanceState & GetState() const
SpotInstanceRequest & WithState(SpotInstanceState &&value)
const Aws::String & GetActualBlockHourlyPrice() const
const Aws::Utils::DateTime & GetValidUntil() const
const Aws::String & GetLaunchGroup() const
void SetState(SpotInstanceState &&value)
void SetType(const SpotInstanceType &value)
void SetStatus(SpotInstanceStatus &&value)
const LaunchSpecification & GetLaunchSpecification() const
void SetLaunchedAvailabilityZone(const char *value)
SpotInstanceRequest & WithProductDescription(RIProductDescription &&value)
void SetAvailabilityZoneGroup(const Aws::String &value)
AWS_EC2_API SpotInstanceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SpotInstanceRequest & WithInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
void SetValidUntil(const Aws::Utils::DateTime &value)
void SetValidUntil(Aws::Utils::DateTime &&value)
const Aws::Vector< Tag > & GetTags() const
SpotInstanceRequest & WithAvailabilityZoneGroup(const char *value)
SpotInstanceRequest & WithAvailabilityZoneGroup(Aws::String &&value)
void SetProductDescription(const RIProductDescription &value)
SpotInstanceRequest & WithAvailabilityZoneGroup(const Aws::String &value)
SpotInstanceRequest & WithCreateTime(Aws::Utils::DateTime &&value)
SpotInstanceRequest & WithTags(Aws::Vector< Tag > &&value)
SpotInstanceRequest & WithLaunchGroup(const char *value)
SpotInstanceRequest & WithActualBlockHourlyPrice(Aws::String &&value)
SpotInstanceRequest & WithActualBlockHourlyPrice(const char *value)
void SetValidFrom(Aws::Utils::DateTime &&value)
SpotInstanceRequest & WithValidFrom(const Aws::Utils::DateTime &value)
SpotInstanceRequest & WithType(SpotInstanceType &&value)
const Aws::String & GetLaunchedAvailabilityZone() const
SpotInstanceRequest & WithSpotInstanceRequestId(const Aws::String &value)
void SetAvailabilityZoneGroup(const char *value)
SpotInstanceRequest & WithLaunchGroup(Aws::String &&value)
const InstanceInterruptionBehavior & GetInstanceInterruptionBehavior() const
const Aws::String & GetInstanceId() const
SpotInstanceRequest & WithSpotInstanceRequestId(Aws::String &&value)
SpotInstanceRequest & WithTags(const Aws::Vector< Tag > &value)
const RIProductDescription & GetProductDescription() const
void SetSpotInstanceRequestId(const Aws::String &value)
void SetActualBlockHourlyPrice(const char *value)
SpotInstanceRequest & WithBlockDurationMinutes(int value)
void SetLaunchSpecification(LaunchSpecification &&value)
SpotInstanceRequest & WithFault(SpotInstanceStateFault &&value)
void SetLaunchedAvailabilityZone(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
SpotInstanceRequest & WithState(const SpotInstanceState &value)
const SpotInstanceType & GetType() const
void SetTags(const Aws::Vector< Tag > &value)
void SetLaunchGroup(const Aws::String &value)
const Aws::Utils::DateTime & GetValidFrom() const
void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
void SetFault(const SpotInstanceStateFault &value)
SpotInstanceRequest & WithValidFrom(Aws::Utils::DateTime &&value)
const Aws::String & GetSpotPrice() const
void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
SpotInstanceRequest & WithInstanceId(const char *value)
void SetStatus(const SpotInstanceStatus &value)
const Aws::String & GetAvailabilityZoneGroup() const
SpotInstanceRequest & AddTags(const Tag &value)
const Aws::String & GetSpotInstanceRequestId() const
void SetSpotInstanceRequestId(const char *value)
void SetActualBlockHourlyPrice(Aws::String &&value)
SpotInstanceRequest & WithProductDescription(const RIProductDescription &value)
SpotInstanceRequest & WithFault(const SpotInstanceStateFault &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream