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/ec2/model/InstanceType.h>
11#include <aws/ec2/model/RIProductDescription.h>
12#include <aws/core/utils/DateTime.h>
58 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
101 inline void SetSpotPrice(
const char* value) { m_spotPriceHasBeenSet =
true; m_spotPrice.assign(value); }
122 bool m_availabilityZoneHasBeenSet =
false;
125 bool m_instanceTypeHasBeenSet =
false;
128 bool m_productDescriptionHasBeenSet =
false;
131 bool m_spotPriceHasBeenSet =
false;
134 bool m_timestampHasBeenSet =
false;
SpotPrice & WithInstanceType(const InstanceType &value)
const Aws::String & GetAvailabilityZone() const
void SetInstanceType(InstanceType &&value)
SpotPrice & WithAvailabilityZone(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(const char *value)
bool ProductDescriptionHasBeenSet() const
AWS_EC2_API SpotPrice(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneHasBeenSet() const
AWS_EC2_API SpotPrice & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SpotPriceHasBeenSet() const
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetAvailabilityZone(Aws::String &&value)
SpotPrice & WithTimestamp(Aws::Utils::DateTime &&value)
SpotPrice & WithSpotPrice(const char *value)
bool InstanceTypeHasBeenSet() const
SpotPrice & WithTimestamp(const Aws::Utils::DateTime &value)
SpotPrice & WithSpotPrice(const Aws::String &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetInstanceType(const InstanceType &value)
const RIProductDescription & GetProductDescription() const
SpotPrice & WithProductDescription(RIProductDescription &&value)
const Aws::String & GetSpotPrice() const
void SetProductDescription(RIProductDescription &&value)
const InstanceType & GetInstanceType() const
SpotPrice & WithInstanceType(InstanceType &&value)
void SetSpotPrice(const char *value)
bool TimestampHasBeenSet() const
void SetSpotPrice(const Aws::String &value)
SpotPrice & WithAvailabilityZone(const Aws::String &value)
SpotPrice & WithAvailabilityZone(const char *value)
void SetSpotPrice(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetProductDescription(const RIProductDescription &value)
SpotPrice & WithSpotPrice(Aws::String &&value)
const Aws::Utils::DateTime & GetTimestamp() const
SpotPrice & WithProductDescription(const RIProductDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream