7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/MarketType.h>
10#include <aws/ec2/model/SpotMarketOptions.h>
60 template<
typename SpotOptionsT = SpotMarketOptions>
61 void SetSpotOptions(SpotOptionsT&& value) { m_spotOptionsHasBeenSet =
true; m_spotOptions = std::forward<SpotOptionsT>(value); }
62 template<
typename SpotOptionsT = SpotMarketOptions>
68 bool m_marketTypeHasBeenSet =
false;
70 SpotMarketOptions m_spotOptions;
71 bool m_spotOptionsHasBeenSet =
false;
bool SpotOptionsHasBeenSet() const
MarketType GetMarketType() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceMarketOptionsRequest & WithSpotOptions(SpotOptionsT &&value)
AWS_EC2_API InstanceMarketOptionsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MarketTypeHasBeenSet() const
AWS_EC2_API InstanceMarketOptionsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMarketType(MarketType value)
void SetSpotOptions(SpotOptionsT &&value)
InstanceMarketOptionsRequest & WithMarketType(MarketType value)
AWS_EC2_API InstanceMarketOptionsRequest()=default
const SpotMarketOptions & GetSpotOptions() const
std::basic_ostream< char, std::char_traits< char > > OStream