7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/InstanceType.h>
12#include <aws/ec2/model/RIProductDescription.h>
50 template <
typename AvailabilityZoneT = Aws::String>
52 m_availabilityZoneHasBeenSet =
true;
53 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
55 template <
typename AvailabilityZoneT = Aws::String>
68 template <
typename AvailabilityZoneIdT = Aws::String>
70 m_availabilityZoneIdHasBeenSet =
true;
71 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
73 template <
typename AvailabilityZoneIdT = Aws::String>
87 m_instanceTypeHasBeenSet =
true;
88 m_instanceType = value;
103 m_productDescriptionHasBeenSet =
true;
104 m_productDescription = value;
123 template <
typename SpotPriceT = Aws::String>
125 m_spotPriceHasBeenSet =
true;
126 m_spotPrice = std::forward<SpotPriceT>(value);
128 template <
typename SpotPriceT = Aws::String>
142 template <
typename TimestampT = Aws::Utils::DateTime>
144 m_timestampHasBeenSet =
true;
145 m_timestamp = std::forward<TimestampT>(value);
147 template <
typename TimestampT = Aws::Utils::DateTime>
165 bool m_availabilityZoneHasBeenSet =
false;
166 bool m_availabilityZoneIdHasBeenSet =
false;
167 bool m_instanceTypeHasBeenSet =
false;
168 bool m_productDescriptionHasBeenSet =
false;
169 bool m_spotPriceHasBeenSet =
false;
170 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)
const Aws::String & GetAvailabilityZoneId() const
SpotPrice & WithSpotPrice(SpotPriceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SpotPrice & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetProductDescription(RIProductDescription value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&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
bool AvailabilityZoneIdHasBeenSet() const
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