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/ScheduledInstanceRecurrence.h>
52 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
78 inline void SetHourlyPrice(
const char* value) { m_hourlyPriceHasBeenSet =
true; m_hourlyPrice.assign(value); }
90 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
102 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
116 inline void SetNetworkPlatform(
const char* value) { m_networkPlatformHasBeenSet =
true; m_networkPlatform.assign(value); }
142 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
180 inline void SetScheduledInstanceId(
const char* value) { m_scheduledInstanceIdHasBeenSet =
true; m_scheduledInstanceId.assign(value); }
232 bool m_availabilityZoneHasBeenSet =
false;
235 bool m_createDateHasBeenSet =
false;
238 bool m_hourlyPriceHasBeenSet =
false;
241 bool m_instanceCountHasBeenSet =
false;
244 bool m_instanceTypeHasBeenSet =
false;
247 bool m_networkPlatformHasBeenSet =
false;
250 bool m_nextSlotStartTimeHasBeenSet =
false;
253 bool m_platformHasBeenSet =
false;
256 bool m_previousSlotEndTimeHasBeenSet =
false;
259 bool m_recurrenceHasBeenSet =
false;
262 bool m_scheduledInstanceIdHasBeenSet =
false;
264 int m_slotDurationInHours;
265 bool m_slotDurationInHoursHasBeenSet =
false;
268 bool m_termEndDateHasBeenSet =
false;
271 bool m_termStartDateHasBeenSet =
false;
273 int m_totalScheduledInstanceHours;
274 bool m_totalScheduledInstanceHoursHasBeenSet =
false;
bool NetworkPlatformHasBeenSet() const
bool TermStartDateHasBeenSet() const
bool InstanceCountHasBeenSet() const
const ScheduledInstanceRecurrence & GetRecurrence() const
void SetInstanceType(const char *value)
const Aws::Utils::DateTime & GetNextSlotStartTime() const
void SetAvailabilityZone(const Aws::String &value)
const Aws::String & GetHourlyPrice() const
ScheduledInstance & WithPreviousSlotEndTime(Aws::Utils::DateTime &&value)
void SetPlatform(const char *value)
bool TermEndDateHasBeenSet() const
AWS_EC2_API ScheduledInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetScheduledInstanceId(const Aws::String &value)
void SetPreviousSlotEndTime(const Aws::Utils::DateTime &value)
ScheduledInstance & WithTotalScheduledInstanceHours(int value)
ScheduledInstance & WithCreateDate(Aws::Utils::DateTime &&value)
ScheduledInstance & WithRecurrence(const ScheduledInstanceRecurrence &value)
ScheduledInstance & WithNetworkPlatform(const char *value)
ScheduledInstance & WithNextSlotStartTime(const Aws::Utils::DateTime &value)
ScheduledInstance & WithTermStartDate(const Aws::Utils::DateTime &value)
bool TotalScheduledInstanceHoursHasBeenSet() const
void SetNetworkPlatform(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
ScheduledInstance & WithPreviousSlotEndTime(const Aws::Utils::DateTime &value)
ScheduledInstance & WithScheduledInstanceId(Aws::String &&value)
ScheduledInstance & WithPlatform(const Aws::String &value)
ScheduledInstance & WithPlatform(Aws::String &&value)
void SetHourlyPrice(const char *value)
const Aws::String & GetNetworkPlatform() const
bool RecurrenceHasBeenSet() const
void SetTermStartDate(Aws::Utils::DateTime &&value)
void SetInstanceType(Aws::String &&value)
ScheduledInstance & WithSlotDurationInHours(int value)
bool InstanceTypeHasBeenSet() const
AWS_EC2_API ScheduledInstance()
bool HourlyPriceHasBeenSet() const
void SetAvailabilityZone(const char *value)
void SetCreateDate(const Aws::Utils::DateTime &value)
ScheduledInstance & WithRecurrence(ScheduledInstanceRecurrence &&value)
ScheduledInstance & WithInstanceType(const char *value)
ScheduledInstance & WithHourlyPrice(const Aws::String &value)
ScheduledInstance & WithHourlyPrice(const char *value)
void SetPreviousSlotEndTime(Aws::Utils::DateTime &&value)
bool ScheduledInstanceIdHasBeenSet() const
AWS_EC2_API ScheduledInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRecurrence(const ScheduledInstanceRecurrence &value)
const Aws::String & GetInstanceType() const
ScheduledInstance & WithTermStartDate(Aws::Utils::DateTime &&value)
void SetRecurrence(ScheduledInstanceRecurrence &&value)
void SetNetworkPlatform(const Aws::String &value)
bool SlotDurationInHoursHasBeenSet() const
ScheduledInstance & WithNetworkPlatform(const Aws::String &value)
ScheduledInstance & WithAvailabilityZone(Aws::String &&value)
int GetTotalScheduledInstanceHours() const
ScheduledInstance & WithNextSlotStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetPlatform() const
const Aws::Utils::DateTime & GetTermStartDate() const
bool PreviousSlotEndTimeHasBeenSet() const
void SetNextSlotStartTime(const Aws::Utils::DateTime &value)
void SetTermEndDate(Aws::Utils::DateTime &&value)
bool PlatformHasBeenSet() const
void SetPlatform(Aws::String &&value)
ScheduledInstance & WithTermEndDate(Aws::Utils::DateTime &&value)
ScheduledInstance & WithPlatform(const char *value)
ScheduledInstance & WithScheduledInstanceId(const char *value)
ScheduledInstance & WithInstanceType(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetTermEndDate(const Aws::Utils::DateTime &value)
void SetCreateDate(Aws::Utils::DateTime &&value)
ScheduledInstance & WithHourlyPrice(Aws::String &&value)
void SetTermStartDate(const Aws::Utils::DateTime &value)
void SetTotalScheduledInstanceHours(int value)
const Aws::Utils::DateTime & GetTermEndDate() const
void SetPlatform(const Aws::String &value)
const Aws::String & GetScheduledInstanceId() const
void SetSlotDurationInHours(int value)
ScheduledInstance & WithInstanceType(Aws::String &&value)
const Aws::Utils::DateTime & GetPreviousSlotEndTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledInstance & WithNetworkPlatform(Aws::String &&value)
void SetHourlyPrice(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstance & WithCreateDate(const Aws::Utils::DateTime &value)
bool NextSlotStartTimeHasBeenSet() const
void SetScheduledInstanceId(const char *value)
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
int GetSlotDurationInHours() const
void SetNetworkPlatform(const char *value)
bool AvailabilityZoneHasBeenSet() const
void SetScheduledInstanceId(Aws::String &&value)
ScheduledInstance & WithTermEndDate(const Aws::Utils::DateTime &value)
int GetInstanceCount() const
ScheduledInstance & WithScheduledInstanceId(const Aws::String &value)
ScheduledInstance & WithInstanceCount(int value)
void SetInstanceCount(int value)
ScheduledInstance & WithAvailabilityZone(const Aws::String &value)
ScheduledInstance & WithAvailabilityZone(const char *value)
void SetNextSlotStartTime(Aws::Utils::DateTime &&value)
bool CreateDateHasBeenSet() const
void SetHourlyPrice(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream