AWS SDK for C++  1.9.109
AWS SDK for C++
ScheduledInstance.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
48 
52  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
53 
57  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
58 
62  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
63 
67  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
68 
72  inline ScheduledInstance& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
73 
77  inline ScheduledInstance& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
78 
82  inline ScheduledInstance& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
83 
84 
88  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
89 
93  inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
94 
98  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
99 
103  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
104 
108  inline ScheduledInstance& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
109 
113  inline ScheduledInstance& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetHourlyPrice() const{ return m_hourlyPrice; }
120 
124  inline bool HourlyPriceHasBeenSet() const { return m_hourlyPriceHasBeenSet; }
125 
129  inline void SetHourlyPrice(const Aws::String& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = value; }
130 
134  inline void SetHourlyPrice(Aws::String&& value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice = std::move(value); }
135 
139  inline void SetHourlyPrice(const char* value) { m_hourlyPriceHasBeenSet = true; m_hourlyPrice.assign(value); }
140 
144  inline ScheduledInstance& WithHourlyPrice(const Aws::String& value) { SetHourlyPrice(value); return *this;}
145 
149  inline ScheduledInstance& WithHourlyPrice(Aws::String&& value) { SetHourlyPrice(std::move(value)); return *this;}
150 
154  inline ScheduledInstance& WithHourlyPrice(const char* value) { SetHourlyPrice(value); return *this;}
155 
156 
160  inline int GetInstanceCount() const{ return m_instanceCount; }
161 
165  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
166 
170  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
171 
175  inline ScheduledInstance& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
176 
177 
181  inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
182 
186  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
187 
191  inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
192 
196  inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
197 
201  inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
202 
206  inline ScheduledInstance& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
207 
211  inline ScheduledInstance& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
212 
216  inline ScheduledInstance& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
217 
218 
222  inline const Aws::String& GetNetworkPlatform() const{ return m_networkPlatform; }
223 
227  inline bool NetworkPlatformHasBeenSet() const { return m_networkPlatformHasBeenSet; }
228 
232  inline void SetNetworkPlatform(const Aws::String& value) { m_networkPlatformHasBeenSet = true; m_networkPlatform = value; }
233 
237  inline void SetNetworkPlatform(Aws::String&& value) { m_networkPlatformHasBeenSet = true; m_networkPlatform = std::move(value); }
238 
242  inline void SetNetworkPlatform(const char* value) { m_networkPlatformHasBeenSet = true; m_networkPlatform.assign(value); }
243 
247  inline ScheduledInstance& WithNetworkPlatform(const Aws::String& value) { SetNetworkPlatform(value); return *this;}
248 
252  inline ScheduledInstance& WithNetworkPlatform(Aws::String&& value) { SetNetworkPlatform(std::move(value)); return *this;}
253 
257  inline ScheduledInstance& WithNetworkPlatform(const char* value) { SetNetworkPlatform(value); return *this;}
258 
259 
263  inline const Aws::Utils::DateTime& GetNextSlotStartTime() const{ return m_nextSlotStartTime; }
264 
268  inline bool NextSlotStartTimeHasBeenSet() const { return m_nextSlotStartTimeHasBeenSet; }
269 
273  inline void SetNextSlotStartTime(const Aws::Utils::DateTime& value) { m_nextSlotStartTimeHasBeenSet = true; m_nextSlotStartTime = value; }
274 
278  inline void SetNextSlotStartTime(Aws::Utils::DateTime&& value) { m_nextSlotStartTimeHasBeenSet = true; m_nextSlotStartTime = std::move(value); }
279 
283  inline ScheduledInstance& WithNextSlotStartTime(const Aws::Utils::DateTime& value) { SetNextSlotStartTime(value); return *this;}
284 
288  inline ScheduledInstance& WithNextSlotStartTime(Aws::Utils::DateTime&& value) { SetNextSlotStartTime(std::move(value)); return *this;}
289 
290 
294  inline const Aws::String& GetPlatform() const{ return m_platform; }
295 
299  inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
300 
304  inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
305 
309  inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
310 
314  inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
315 
319  inline ScheduledInstance& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
320 
324  inline ScheduledInstance& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
325 
329  inline ScheduledInstance& WithPlatform(const char* value) { SetPlatform(value); return *this;}
330 
331 
335  inline const Aws::Utils::DateTime& GetPreviousSlotEndTime() const{ return m_previousSlotEndTime; }
336 
340  inline bool PreviousSlotEndTimeHasBeenSet() const { return m_previousSlotEndTimeHasBeenSet; }
341 
345  inline void SetPreviousSlotEndTime(const Aws::Utils::DateTime& value) { m_previousSlotEndTimeHasBeenSet = true; m_previousSlotEndTime = value; }
346 
350  inline void SetPreviousSlotEndTime(Aws::Utils::DateTime&& value) { m_previousSlotEndTimeHasBeenSet = true; m_previousSlotEndTime = std::move(value); }
351 
355  inline ScheduledInstance& WithPreviousSlotEndTime(const Aws::Utils::DateTime& value) { SetPreviousSlotEndTime(value); return *this;}
356 
360  inline ScheduledInstance& WithPreviousSlotEndTime(Aws::Utils::DateTime&& value) { SetPreviousSlotEndTime(std::move(value)); return *this;}
361 
362 
366  inline const ScheduledInstanceRecurrence& GetRecurrence() const{ return m_recurrence; }
367 
371  inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
372 
376  inline void SetRecurrence(const ScheduledInstanceRecurrence& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
377 
381  inline void SetRecurrence(ScheduledInstanceRecurrence&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
382 
386  inline ScheduledInstance& WithRecurrence(const ScheduledInstanceRecurrence& value) { SetRecurrence(value); return *this;}
387 
391  inline ScheduledInstance& WithRecurrence(ScheduledInstanceRecurrence&& value) { SetRecurrence(std::move(value)); return *this;}
392 
393 
397  inline const Aws::String& GetScheduledInstanceId() const{ return m_scheduledInstanceId; }
398 
402  inline bool ScheduledInstanceIdHasBeenSet() const { return m_scheduledInstanceIdHasBeenSet; }
403 
407  inline void SetScheduledInstanceId(const Aws::String& value) { m_scheduledInstanceIdHasBeenSet = true; m_scheduledInstanceId = value; }
408 
412  inline void SetScheduledInstanceId(Aws::String&& value) { m_scheduledInstanceIdHasBeenSet = true; m_scheduledInstanceId = std::move(value); }
413 
417  inline void SetScheduledInstanceId(const char* value) { m_scheduledInstanceIdHasBeenSet = true; m_scheduledInstanceId.assign(value); }
418 
422  inline ScheduledInstance& WithScheduledInstanceId(const Aws::String& value) { SetScheduledInstanceId(value); return *this;}
423 
427  inline ScheduledInstance& WithScheduledInstanceId(Aws::String&& value) { SetScheduledInstanceId(std::move(value)); return *this;}
428 
432  inline ScheduledInstance& WithScheduledInstanceId(const char* value) { SetScheduledInstanceId(value); return *this;}
433 
434 
438  inline int GetSlotDurationInHours() const{ return m_slotDurationInHours; }
439 
443  inline bool SlotDurationInHoursHasBeenSet() const { return m_slotDurationInHoursHasBeenSet; }
444 
448  inline void SetSlotDurationInHours(int value) { m_slotDurationInHoursHasBeenSet = true; m_slotDurationInHours = value; }
449 
453  inline ScheduledInstance& WithSlotDurationInHours(int value) { SetSlotDurationInHours(value); return *this;}
454 
455 
459  inline const Aws::Utils::DateTime& GetTermEndDate() const{ return m_termEndDate; }
460 
464  inline bool TermEndDateHasBeenSet() const { return m_termEndDateHasBeenSet; }
465 
469  inline void SetTermEndDate(const Aws::Utils::DateTime& value) { m_termEndDateHasBeenSet = true; m_termEndDate = value; }
470 
474  inline void SetTermEndDate(Aws::Utils::DateTime&& value) { m_termEndDateHasBeenSet = true; m_termEndDate = std::move(value); }
475 
479  inline ScheduledInstance& WithTermEndDate(const Aws::Utils::DateTime& value) { SetTermEndDate(value); return *this;}
480 
484  inline ScheduledInstance& WithTermEndDate(Aws::Utils::DateTime&& value) { SetTermEndDate(std::move(value)); return *this;}
485 
486 
490  inline const Aws::Utils::DateTime& GetTermStartDate() const{ return m_termStartDate; }
491 
495  inline bool TermStartDateHasBeenSet() const { return m_termStartDateHasBeenSet; }
496 
500  inline void SetTermStartDate(const Aws::Utils::DateTime& value) { m_termStartDateHasBeenSet = true; m_termStartDate = value; }
501 
505  inline void SetTermStartDate(Aws::Utils::DateTime&& value) { m_termStartDateHasBeenSet = true; m_termStartDate = std::move(value); }
506 
510  inline ScheduledInstance& WithTermStartDate(const Aws::Utils::DateTime& value) { SetTermStartDate(value); return *this;}
511 
515  inline ScheduledInstance& WithTermStartDate(Aws::Utils::DateTime&& value) { SetTermStartDate(std::move(value)); return *this;}
516 
517 
521  inline int GetTotalScheduledInstanceHours() const{ return m_totalScheduledInstanceHours; }
522 
526  inline bool TotalScheduledInstanceHoursHasBeenSet() const { return m_totalScheduledInstanceHoursHasBeenSet; }
527 
531  inline void SetTotalScheduledInstanceHours(int value) { m_totalScheduledInstanceHoursHasBeenSet = true; m_totalScheduledInstanceHours = value; }
532 
536  inline ScheduledInstance& WithTotalScheduledInstanceHours(int value) { SetTotalScheduledInstanceHours(value); return *this;}
537 
538  private:
539 
540  Aws::String m_availabilityZone;
541  bool m_availabilityZoneHasBeenSet;
542 
543  Aws::Utils::DateTime m_createDate;
544  bool m_createDateHasBeenSet;
545 
546  Aws::String m_hourlyPrice;
547  bool m_hourlyPriceHasBeenSet;
548 
549  int m_instanceCount;
550  bool m_instanceCountHasBeenSet;
551 
552  Aws::String m_instanceType;
553  bool m_instanceTypeHasBeenSet;
554 
555  Aws::String m_networkPlatform;
556  bool m_networkPlatformHasBeenSet;
557 
558  Aws::Utils::DateTime m_nextSlotStartTime;
559  bool m_nextSlotStartTimeHasBeenSet;
560 
561  Aws::String m_platform;
562  bool m_platformHasBeenSet;
563 
564  Aws::Utils::DateTime m_previousSlotEndTime;
565  bool m_previousSlotEndTimeHasBeenSet;
566 
567  ScheduledInstanceRecurrence m_recurrence;
568  bool m_recurrenceHasBeenSet;
569 
570  Aws::String m_scheduledInstanceId;
571  bool m_scheduledInstanceIdHasBeenSet;
572 
573  int m_slotDurationInHours;
574  bool m_slotDurationInHoursHasBeenSet;
575 
576  Aws::Utils::DateTime m_termEndDate;
577  bool m_termEndDateHasBeenSet;
578 
579  Aws::Utils::DateTime m_termStartDate;
580  bool m_termStartDateHasBeenSet;
581 
582  int m_totalScheduledInstanceHours;
583  bool m_totalScheduledInstanceHoursHasBeenSet;
584  };
585 
586 } // namespace Model
587 } // namespace EC2
588 } // namespace Aws
Aws::EC2::Model::ScheduledInstance::SetScheduledInstanceId
void SetScheduledInstanceId(const Aws::String &value)
Definition: ScheduledInstance.h:407
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::ScheduledInstance::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: ScheduledInstance.h:62
Aws::EC2::Model::ScheduledInstance::GetNextSlotStartTime
const Aws::Utils::DateTime & GetNextSlotStartTime() const
Definition: ScheduledInstance.h:263
Aws::EC2::Model::ScheduledInstance::GetTotalScheduledInstanceHours
int GetTotalScheduledInstanceHours() const
Definition: ScheduledInstance.h:521
Aws::EC2::Model::ScheduledInstance::NextSlotStartTimeHasBeenSet
bool NextSlotStartTimeHasBeenSet() const
Definition: ScheduledInstance.h:268
Aws::EC2::Model::ScheduledInstance::SetNetworkPlatform
void SetNetworkPlatform(const Aws::String &value)
Definition: ScheduledInstance.h:232
Aws::EC2::Model::ScheduledInstance::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ScheduledInstance::WithScheduledInstanceId
ScheduledInstance & WithScheduledInstanceId(const char *value)
Definition: ScheduledInstance.h:432
Aws::EC2::Model::ScheduledInstance::WithPreviousSlotEndTime
ScheduledInstance & WithPreviousSlotEndTime(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:360
Aws::EC2::Model::ScheduledInstance::SetInstanceType
void SetInstanceType(const char *value)
Definition: ScheduledInstance.h:201
Aws::EC2::Model::ScheduledInstance::SetPreviousSlotEndTime
void SetPreviousSlotEndTime(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:350
Aws::EC2::Model::ScheduledInstance::ScheduledInstance
ScheduledInstance()
Aws::EC2::Model::ScheduledInstance::WithInstanceType
ScheduledInstance & WithInstanceType(Aws::String &&value)
Definition: ScheduledInstance.h:211
Aws::EC2::Model::ScheduledInstance::SetPlatform
void SetPlatform(Aws::String &&value)
Definition: ScheduledInstance.h:309
Aws::EC2::Model::ScheduledInstance::SetInstanceCount
void SetInstanceCount(int value)
Definition: ScheduledInstance.h:170
Aws::EC2::Model::ScheduledInstance::SetCreateDate
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:98
DateTime.h
Aws::EC2::Model::ScheduledInstance::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ScheduledInstance::SetHourlyPrice
void SetHourlyPrice(const char *value)
Definition: ScheduledInstance.h:139
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::ScheduledInstance::SetTermEndDate
void SetTermEndDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:469
Aws::EC2::Model::ScheduledInstance::PlatformHasBeenSet
bool PlatformHasBeenSet() const
Definition: ScheduledInstance.h:299
Aws::EC2::Model::ScheduledInstance::SetNextSlotStartTime
void SetNextSlotStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:278
Aws::EC2::Model::ScheduledInstance::WithAvailabilityZone
ScheduledInstance & WithAvailabilityZone(Aws::String &&value)
Definition: ScheduledInstance.h:77
Aws::EC2::Model::ScheduledInstance::WithTermStartDate
ScheduledInstance & WithTermStartDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:515
Aws::EC2::Model::ScheduledInstance::PreviousSlotEndTimeHasBeenSet
bool PreviousSlotEndTimeHasBeenSet() const
Definition: ScheduledInstance.h:340
AWSStreamFwd.h
Aws::EC2::Model::ScheduledInstance::SetRecurrence
void SetRecurrence(ScheduledInstanceRecurrence &&value)
Definition: ScheduledInstance.h:381
Aws::EC2::Model::ScheduledInstance::SetHourlyPrice
void SetHourlyPrice(const Aws::String &value)
Definition: ScheduledInstance.h:129
Aws::EC2::Model::ScheduledInstance::WithPreviousSlotEndTime
ScheduledInstance & WithPreviousSlotEndTime(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:355
Aws::EC2::Model::ScheduledInstance::WithInstanceType
ScheduledInstance & WithInstanceType(const Aws::String &value)
Definition: ScheduledInstance.h:206
Aws::EC2::Model::ScheduledInstance::WithHourlyPrice
ScheduledInstance & WithHourlyPrice(const char *value)
Definition: ScheduledInstance.h:154
Aws::EC2::Model::ScheduledInstance::TotalScheduledInstanceHoursHasBeenSet
bool TotalScheduledInstanceHoursHasBeenSet() const
Definition: ScheduledInstance.h:526
Aws::EC2::Model::ScheduledInstance::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: ScheduledInstance.h:47
Aws::EC2::Model::ScheduledInstance::GetNetworkPlatform
const Aws::String & GetNetworkPlatform() const
Definition: ScheduledInstance.h:222
Aws::EC2::Model::ScheduledInstance::GetInstanceType
const Aws::String & GetInstanceType() const
Definition: ScheduledInstance.h:181
Aws::EC2::Model::ScheduledInstance::SetPreviousSlotEndTime
void SetPreviousSlotEndTime(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:345
Aws::EC2::Model::ScheduledInstance::WithAvailabilityZone
ScheduledInstance & WithAvailabilityZone(const char *value)
Definition: ScheduledInstance.h:82
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ScheduledInstance::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ScheduledInstance.h:186
Aws::EC2::Model::ScheduledInstance::WithRecurrence
ScheduledInstance & WithRecurrence(const ScheduledInstanceRecurrence &value)
Definition: ScheduledInstance.h:386
Aws::EC2::Model::ScheduledInstance::SetTotalScheduledInstanceHours
void SetTotalScheduledInstanceHours(int value)
Definition: ScheduledInstance.h:531
Aws::EC2::Model::ScheduledInstance::WithTermEndDate
ScheduledInstance & WithTermEndDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:484
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ScheduledInstance
Definition: ScheduledInstance.h:34
Aws::EC2::Model::ScheduledInstance::SetCreateDate
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:103
Aws::EC2::Model::ScheduledInstance::WithRecurrence
ScheduledInstance & WithRecurrence(ScheduledInstanceRecurrence &&value)
Definition: ScheduledInstance.h:391
Aws::EC2::Model::ScheduledInstance::WithTermStartDate
ScheduledInstance & WithTermStartDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:510
Aws::EC2::Model::ScheduledInstance::WithSlotDurationInHours
ScheduledInstance & WithSlotDurationInHours(int value)
Definition: ScheduledInstance.h:453
Aws::EC2::Model::ScheduledInstance::WithHourlyPrice
ScheduledInstance & WithHourlyPrice(const Aws::String &value)
Definition: ScheduledInstance.h:144
Aws::EC2::Model::ScheduledInstance::SetRecurrence
void SetRecurrence(const ScheduledInstanceRecurrence &value)
Definition: ScheduledInstance.h:376
Aws::EC2::Model::ScheduledInstanceRecurrence
Definition: ScheduledInstanceRecurrence.h:34
Aws::EC2::Model::ScheduledInstance::WithInstanceCount
ScheduledInstance & WithInstanceCount(int value)
Definition: ScheduledInstance.h:175
Aws::EC2::Model::ScheduledInstance::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: ScheduledInstance.h:57
Aws::EC2::Model::ScheduledInstance::WithAvailabilityZone
ScheduledInstance & WithAvailabilityZone(const Aws::String &value)
Definition: ScheduledInstance.h:72
Aws::EC2::Model::ScheduledInstance::TermEndDateHasBeenSet
bool TermEndDateHasBeenSet() const
Definition: ScheduledInstance.h:464
Aws::EC2::Model::ScheduledInstance::CreateDateHasBeenSet
bool CreateDateHasBeenSet() const
Definition: ScheduledInstance.h:93
Aws::EC2::Model::ScheduledInstance::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: ScheduledInstance.h:52
Aws::EC2::Model::ScheduledInstance::SetPlatform
void SetPlatform(const Aws::String &value)
Definition: ScheduledInstance.h:304
Aws::EC2::Model::ScheduledInstance::GetPlatform
const Aws::String & GetPlatform() const
Definition: ScheduledInstance.h:294
Aws::EC2::Model::ScheduledInstance::WithTermEndDate
ScheduledInstance & WithTermEndDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:479
AWSString.h
Aws::EC2::Model::ScheduledInstance::SetSlotDurationInHours
void SetSlotDurationInHours(int value)
Definition: ScheduledInstance.h:448
Aws::EC2::Model::ScheduledInstance::SetInstanceType
void SetInstanceType(const Aws::String &value)
Definition: ScheduledInstance.h:191
Aws::EC2::Model::ScheduledInstance::SetNetworkPlatform
void SetNetworkPlatform(const char *value)
Definition: ScheduledInstance.h:242
Aws::EC2::Model::ScheduledInstance::GetTermStartDate
const Aws::Utils::DateTime & GetTermStartDate() const
Definition: ScheduledInstance.h:490
Aws::EC2::Model::ScheduledInstance::SetScheduledInstanceId
void SetScheduledInstanceId(Aws::String &&value)
Definition: ScheduledInstance.h:412
Aws::EC2::Model::ScheduledInstance::GetSlotDurationInHours
int GetSlotDurationInHours() const
Definition: ScheduledInstance.h:438
Aws::EC2::Model::ScheduledInstance::SetNextSlotStartTime
void SetNextSlotStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:273
Aws::EC2::Model::ScheduledInstance::RecurrenceHasBeenSet
bool RecurrenceHasBeenSet() const
Definition: ScheduledInstance.h:371
Aws::EC2::Model::ScheduledInstance::GetRecurrence
const ScheduledInstanceRecurrence & GetRecurrence() const
Definition: ScheduledInstance.h:366
Aws::EC2::Model::ScheduledInstance::GetCreateDate
const Aws::Utils::DateTime & GetCreateDate() const
Definition: ScheduledInstance.h:88
Aws::EC2::Model::ScheduledInstance::WithPlatform
ScheduledInstance & WithPlatform(const char *value)
Definition: ScheduledInstance.h:329
Aws::EC2::Model::ScheduledInstance::WithScheduledInstanceId
ScheduledInstance & WithScheduledInstanceId(const Aws::String &value)
Definition: ScheduledInstance.h:422
Aws::EC2::Model::ScheduledInstance::GetInstanceCount
int GetInstanceCount() const
Definition: ScheduledInstance.h:160
Aws::EC2::Model::ScheduledInstance::SetPlatform
void SetPlatform(const char *value)
Definition: ScheduledInstance.h:314
Aws::EC2::Model::ScheduledInstance::SlotDurationInHoursHasBeenSet
bool SlotDurationInHoursHasBeenSet() const
Definition: ScheduledInstance.h:443
Aws::EC2::Model::ScheduledInstance::WithScheduledInstanceId
ScheduledInstance & WithScheduledInstanceId(Aws::String &&value)
Definition: ScheduledInstance.h:427
Aws::EC2::Model::ScheduledInstance::ScheduledInstanceIdHasBeenSet
bool ScheduledInstanceIdHasBeenSet() const
Definition: ScheduledInstance.h:402
Aws::EC2::Model::ScheduledInstance::GetScheduledInstanceId
const Aws::String & GetScheduledInstanceId() const
Definition: ScheduledInstance.h:397
Aws::EC2::Model::ScheduledInstance::WithCreateDate
ScheduledInstance & WithCreateDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:113
Aws::EC2::Model::ScheduledInstance::WithNetworkPlatform
ScheduledInstance & WithNetworkPlatform(const char *value)
Definition: ScheduledInstance.h:257
Aws::EC2::Model::ScheduledInstance::WithTotalScheduledInstanceHours
ScheduledInstance & WithTotalScheduledInstanceHours(int value)
Definition: ScheduledInstance.h:536
Aws::EC2::Model::ScheduledInstance::SetNetworkPlatform
void SetNetworkPlatform(Aws::String &&value)
Definition: ScheduledInstance.h:237
Aws::EC2::Model::ScheduledInstance::TermStartDateHasBeenSet
bool TermStartDateHasBeenSet() const
Definition: ScheduledInstance.h:495
ScheduledInstanceRecurrence.h
Aws::EC2::Model::ScheduledInstance::WithNextSlotStartTime
ScheduledInstance & WithNextSlotStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:288
Aws::EC2::Model::ScheduledInstance::SetInstanceType
void SetInstanceType(Aws::String &&value)
Definition: ScheduledInstance.h:196
Aws::EC2::Model::ScheduledInstance::WithCreateDate
ScheduledInstance & WithCreateDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:108
Aws::EC2::Model::ScheduledInstance::SetHourlyPrice
void SetHourlyPrice(Aws::String &&value)
Definition: ScheduledInstance.h:134
Aws::EC2::Model::ScheduledInstance::GetHourlyPrice
const Aws::String & GetHourlyPrice() const
Definition: ScheduledInstance.h:119
Aws::EC2::Model::ScheduledInstance::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: ScheduledInstance.h:67
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ScheduledInstance::WithInstanceType
ScheduledInstance & WithInstanceType(const char *value)
Definition: ScheduledInstance.h:216
Aws::EC2::Model::ScheduledInstance::GetPreviousSlotEndTime
const Aws::Utils::DateTime & GetPreviousSlotEndTime() const
Definition: ScheduledInstance.h:335
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ScheduledInstance::WithPlatform
ScheduledInstance & WithPlatform(Aws::String &&value)
Definition: ScheduledInstance.h:324
Aws::EC2::Model::ScheduledInstance::GetTermEndDate
const Aws::Utils::DateTime & GetTermEndDate() const
Definition: ScheduledInstance.h:459
Aws::EC2::Model::ScheduledInstance::HourlyPriceHasBeenSet
bool HourlyPriceHasBeenSet() const
Definition: ScheduledInstance.h:124
Aws::EC2::Model::ScheduledInstance::ScheduledInstance
ScheduledInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ScheduledInstance::WithHourlyPrice
ScheduledInstance & WithHourlyPrice(Aws::String &&value)
Definition: ScheduledInstance.h:149
Aws::EC2::Model::ScheduledInstance::SetTermStartDate
void SetTermStartDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:505
Aws::EC2::Model::ScheduledInstance::WithPlatform
ScheduledInstance & WithPlatform(const Aws::String &value)
Definition: ScheduledInstance.h:319
Aws::EC2::Model::ScheduledInstance::SetTermStartDate
void SetTermStartDate(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:500
Aws::EC2::Model::ScheduledInstance::operator=
ScheduledInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ScheduledInstance::WithNetworkPlatform
ScheduledInstance & WithNetworkPlatform(const Aws::String &value)
Definition: ScheduledInstance.h:247
EC2_EXPORTS.h
Aws::EC2::Model::ScheduledInstance::SetTermEndDate
void SetTermEndDate(Aws::Utils::DateTime &&value)
Definition: ScheduledInstance.h:474
Aws::EC2::Model::ScheduledInstance::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: ScheduledInstance.h:165
Aws::EC2::Model::ScheduledInstance::WithNextSlotStartTime
ScheduledInstance & WithNextSlotStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduledInstance.h:283
Aws::EC2::Model::ScheduledInstance::NetworkPlatformHasBeenSet
bool NetworkPlatformHasBeenSet() const
Definition: ScheduledInstance.h:227
Aws::EC2::Model::ScheduledInstance::WithNetworkPlatform
ScheduledInstance & WithNetworkPlatform(Aws::String &&value)
Definition: ScheduledInstance.h:252
Aws::EC2::Model::ScheduledInstance::SetScheduledInstanceId
void SetScheduledInstanceId(const char *value)
Definition: ScheduledInstance.h:417