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>
53 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
89 inline void SetHourlyPrice(
const char* value) { m_hourlyPriceHasBeenSet =
true; m_hourlyPrice.assign(value); }
104 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
138 inline void SetNetworkPlatform(
const char* value) { m_networkPlatformHasBeenSet =
true; m_networkPlatform.assign(value); }
152 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
166 inline void SetPurchaseToken(
const char* value) { m_purchaseTokenHasBeenSet =
true; m_purchaseToken.assign(value); }
206 bool m_availabilityZoneHasBeenSet =
false;
208 int m_availableInstanceCount;
209 bool m_availableInstanceCountHasBeenSet =
false;
212 bool m_firstSlotStartTimeHasBeenSet =
false;
215 bool m_hourlyPriceHasBeenSet =
false;
218 bool m_instanceTypeHasBeenSet =
false;
220 int m_maxTermDurationInDays;
221 bool m_maxTermDurationInDaysHasBeenSet =
false;
223 int m_minTermDurationInDays;
224 bool m_minTermDurationInDaysHasBeenSet =
false;
227 bool m_networkPlatformHasBeenSet =
false;
230 bool m_platformHasBeenSet =
false;
233 bool m_purchaseTokenHasBeenSet =
false;
236 bool m_recurrenceHasBeenSet =
false;
238 int m_slotDurationInHours;
239 bool m_slotDurationInHoursHasBeenSet =
false;
241 int m_totalScheduledInstanceHours;
242 bool m_totalScheduledInstanceHoursHasBeenSet =
false;
void SetPurchaseToken(const Aws::String &value)
void SetHourlyPrice(Aws::String &&value)
bool FirstSlotStartTimeHasBeenSet() const
bool PurchaseTokenHasBeenSet() const
void SetRecurrence(ScheduledInstanceRecurrence &&value)
bool MaxTermDurationInDaysHasBeenSet() const
const Aws::String & GetHourlyPrice() const
int GetMinTermDurationInDays() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TotalScheduledInstanceHoursHasBeenSet() const
ScheduledInstanceAvailability & WithAvailableInstanceCount(int value)
ScheduledInstanceAvailability & WithInstanceType(const Aws::String &value)
ScheduledInstanceAvailability & WithFirstSlotStartTime(const Aws::Utils::DateTime &value)
void SetRecurrence(const ScheduledInstanceRecurrence &value)
AWS_EC2_API ScheduledInstanceAvailability()
ScheduledInstanceAvailability & WithSlotDurationInHours(int value)
ScheduledInstanceAvailability & WithFirstSlotStartTime(Aws::Utils::DateTime &&value)
void SetAvailableInstanceCount(int value)
void SetSlotDurationInHours(int value)
const Aws::String & GetNetworkPlatform() const
void SetMinTermDurationInDays(int value)
ScheduledInstanceAvailability & WithAvailabilityZone(Aws::String &&value)
void SetNetworkPlatform(const char *value)
const Aws::String & GetPurchaseToken() const
bool NetworkPlatformHasBeenSet() const
bool HourlyPriceHasBeenSet() const
int GetSlotDurationInHours() const
ScheduledInstanceAvailability & WithNetworkPlatform(const Aws::String &value)
ScheduledInstanceAvailability & WithHourlyPrice(const char *value)
void SetTotalScheduledInstanceHours(int value)
ScheduledInstanceAvailability & WithAvailabilityZone(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
ScheduledInstanceAvailability & WithPurchaseToken(const Aws::String &value)
const Aws::String & GetPlatform() const
void SetNetworkPlatform(const Aws::String &value)
ScheduledInstanceAvailability & WithPurchaseToken(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
AWS_EC2_API ScheduledInstanceAvailability(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(const char *value)
ScheduledInstanceAvailability & WithInstanceType(Aws::String &&value)
bool PlatformHasBeenSet() const
bool MinTermDurationInDaysHasBeenSet() const
void SetInstanceType(const char *value)
AWS_EC2_API ScheduledInstanceAvailability & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstanceAvailability & WithAvailabilityZone(const char *value)
ScheduledInstanceAvailability & WithRecurrence(ScheduledInstanceRecurrence &&value)
void SetPlatform(const char *value)
bool SlotDurationInHoursHasBeenSet() const
ScheduledInstanceAvailability & WithHourlyPrice(Aws::String &&value)
const ScheduledInstanceRecurrence & GetRecurrence() const
ScheduledInstanceAvailability & WithNetworkPlatform(Aws::String &&value)
const Aws::Utils::DateTime & GetFirstSlotStartTime() const
bool AvailableInstanceCountHasBeenSet() const
ScheduledInstanceAvailability & WithMinTermDurationInDays(int value)
ScheduledInstanceAvailability & WithMaxTermDurationInDays(int value)
void SetPlatform(Aws::String &&value)
int GetTotalScheduledInstanceHours() const
void SetHourlyPrice(const Aws::String &value)
bool RecurrenceHasBeenSet() const
void SetFirstSlotStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetAvailabilityZone() const
ScheduledInstanceAvailability & WithNetworkPlatform(const char *value)
void SetHourlyPrice(const char *value)
int GetAvailableInstanceCount() const
ScheduledInstanceAvailability & WithPlatform(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstanceAvailability & WithPurchaseToken(const char *value)
bool InstanceTypeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
void SetPurchaseToken(Aws::String &&value)
void SetNetworkPlatform(Aws::String &&value)
void SetInstanceType(Aws::String &&value)
void SetFirstSlotStartTime(const Aws::Utils::DateTime &value)
void SetAvailabilityZone(Aws::String &&value)
ScheduledInstanceAvailability & WithPlatform(const Aws::String &value)
ScheduledInstanceAvailability & WithInstanceType(const char *value)
ScheduledInstanceAvailability & WithRecurrence(const ScheduledInstanceRecurrence &value)
ScheduledInstanceAvailability & WithHourlyPrice(const Aws::String &value)
ScheduledInstanceAvailability & WithTotalScheduledInstanceHours(int value)
void SetPlatform(const Aws::String &value)
int GetMaxTermDurationInDays() const
const Aws::String & GetInstanceType() const
void SetPurchaseToken(const char *value)
ScheduledInstanceAvailability & WithPlatform(Aws::String &&value)
void SetMaxTermDurationInDays(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream