7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/CapacityReservationPreference.h>
10#include <aws/ec2/model/CapacityReservationTarget.h>
84 bool m_capacityReservationPreferenceHasBeenSet =
false;
87 bool m_capacityReservationTargetHasBeenSet =
false;
bool CapacityReservationTargetHasBeenSet() const
bool CapacityReservationPreferenceHasBeenSet() const
CapacityReservationSpecification & WithCapacityReservationPreference(const CapacityReservationPreference &value)
const CapacityReservationTarget & GetCapacityReservationTarget() const
void SetCapacityReservationTarget(const CapacityReservationTarget &value)
const CapacityReservationPreference & GetCapacityReservationPreference() const
CapacityReservationSpecification & WithCapacityReservationTarget(const CapacityReservationTarget &value)
void SetCapacityReservationPreference(CapacityReservationPreference &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API CapacityReservationSpecification()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCapacityReservationTarget(CapacityReservationTarget &&value)
AWS_EC2_API CapacityReservationSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CapacityReservationSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCapacityReservationPreference(const CapacityReservationPreference &value)
CapacityReservationSpecification & WithCapacityReservationPreference(CapacityReservationPreference &&value)
CapacityReservationSpecification & WithCapacityReservationTarget(CapacityReservationTarget &&value)
CapacityReservationPreference
std::basic_ostream< char, std::char_traits< char > > OStream