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>
53 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
67 inline void SetAvailabilityZoneId(
const char* value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId.assign(value); }
82 inline void SetScore(
int value) { m_scoreHasBeenSet =
true; m_score = value; }
88 bool m_regionHasBeenSet =
false;
91 bool m_availabilityZoneIdHasBeenSet =
false;
94 bool m_scoreHasBeenSet =
false;
SpotPlacementScore & WithAvailabilityZoneId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SpotPlacementScore & WithScore(int value)
SpotPlacementScore & WithRegion(const char *value)
const Aws::String & GetAvailabilityZoneId() const
bool AvailabilityZoneIdHasBeenSet() const
void SetAvailabilityZoneId(const char *value)
bool ScoreHasBeenSet() const
SpotPlacementScore & WithRegion(Aws::String &&value)
bool RegionHasBeenSet() const
SpotPlacementScore & WithRegion(const Aws::String &value)
AWS_EC2_API SpotPlacementScore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRegion(const Aws::String &value)
AWS_EC2_API SpotPlacementScore()
void SetAvailabilityZoneId(const Aws::String &value)
AWS_EC2_API SpotPlacementScore(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetRegion() const
void SetAvailabilityZoneId(Aws::String &&value)
void SetRegion(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SpotPlacementScore & WithAvailabilityZoneId(const Aws::String &value)
SpotPlacementScore & WithAvailabilityZoneId(Aws::String &&value)
void SetRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream