7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticloadbalancingv2/model/CapacityReservationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ElasticLoadBalancingv2
40 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
50 template<
typename StateT = CapacityReservationStatus>
51 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
52 template<
typename StateT = CapacityReservationStatus>
62 template<
typename AvailabilityZoneT = Aws::String>
63 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
64 template<
typename AvailabilityZoneT = Aws::String>
74 inline void SetEffectiveCapacityUnits(
double value) { m_effectiveCapacityUnitsHasBeenSet =
true; m_effectiveCapacityUnits = value; }
80 bool m_stateHasBeenSet =
false;
83 bool m_availabilityZoneHasBeenSet =
false;
85 double m_effectiveCapacityUnits{0.0};
86 bool m_effectiveCapacityUnitsHasBeenSet =
false;
AWS_ELASTICLOADBALANCINGV2_API ZonalCapacityReservationState()=default
const CapacityReservationStatus & GetState() const
ZonalCapacityReservationState & WithEffectiveCapacityUnits(double value)
void SetEffectiveCapacityUnits(double value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetState(StateT &&value)
bool StateHasBeenSet() const
double GetEffectiveCapacityUnits() const
ZonalCapacityReservationState & WithAvailabilityZone(AvailabilityZoneT &&value)
AWS_ELASTICLOADBALANCINGV2_API ZonalCapacityReservationState(const Aws::Utils::Xml::XmlNode &xmlNode)
ZonalCapacityReservationState & WithState(StateT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetAvailabilityZone() const
AWS_ELASTICLOADBALANCINGV2_API ZonalCapacityReservationState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool EffectiveCapacityUnitsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream