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>
51 template<
typename RegionT = Aws::String>
52 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
53 template<
typename RegionT = Aws::String>
63 template<
typename AvailabilityZoneIdT = Aws::String>
64 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
65 template<
typename AvailabilityZoneIdT = Aws::String>
76 inline int GetScore()
const {
return m_score; }
78 inline void SetScore(
int value) { m_scoreHasBeenSet =
true; m_score = value; }
84 bool m_regionHasBeenSet =
false;
87 bool m_availabilityZoneIdHasBeenSet =
false;
90 bool m_scoreHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SpotPlacementScore & WithScore(int value)
const Aws::String & GetAvailabilityZoneId() const
bool AvailabilityZoneIdHasBeenSet() const
void SetRegion(RegionT &&value)
bool ScoreHasBeenSet() const
bool RegionHasBeenSet() const
AWS_EC2_API SpotPlacementScore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
SpotPlacementScore & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_EC2_API SpotPlacementScore(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRegion() const
SpotPlacementScore & WithRegion(RegionT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API SpotPlacementScore()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream