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>
56 template<
typename AvailabilityZoneT = Aws::String>
57 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
58 template<
typename AvailabilityZoneT = Aws::String>
93 template<
typename SpotPriceT = Aws::String>
94 void SetSpotPrice(SpotPriceT&& value) { m_spotPriceHasBeenSet =
true; m_spotPrice = std::forward<SpotPriceT>(value); }
95 template<
typename SpotPriceT = Aws::String>
106 template<
typename TimestampT = Aws::Utils::DateTime>
107 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
108 template<
typename TimestampT = Aws::Utils::DateTime>
114 bool m_availabilityZoneHasBeenSet =
false;
117 bool m_instanceTypeHasBeenSet =
false;
120 bool m_productDescriptionHasBeenSet =
false;
123 bool m_spotPriceHasBeenSet =
false;
126 bool m_timestampHasBeenSet =
false;
void SetInstanceType(InstanceType value)
const Aws::String & GetAvailabilityZone() const
bool ProductDescriptionHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
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
InstanceType GetInstanceType() const
bool InstanceTypeHasBeenSet() const
void SetSpotPrice(SpotPriceT &&value)
SpotPrice & WithTimestamp(TimestampT &&value)
SpotPrice & WithSpotPrice(SpotPriceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetProductDescription(RIProductDescription value)
const Aws::String & GetSpotPrice() const
bool TimestampHasBeenSet() const
SpotPrice & WithInstanceType(InstanceType value)
SpotPrice & WithProductDescription(RIProductDescription value)
RIProductDescription GetProductDescription() const
void SetTimestamp(TimestampT &&value)
SpotPrice & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API SpotPrice()=default
const Aws::Utils::DateTime & GetTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream