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/CapacityReservationTargetResponse.h>
82 bool m_capacityReservationPreferenceHasBeenSet =
false;
85 bool m_capacityReservationTargetHasBeenSet =
false;
const CapacityReservationPreference & GetCapacityReservationPreference() const
AWS_EC2_API CapacityReservationSpecificationResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CapacityReservationSpecificationResponse()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCapacityReservationTarget(CapacityReservationTargetResponse &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CapacityReservationSpecificationResponse & WithCapacityReservationPreference(const CapacityReservationPreference &value)
CapacityReservationSpecificationResponse & WithCapacityReservationTarget(const CapacityReservationTargetResponse &value)
bool CapacityReservationPreferenceHasBeenSet() const
AWS_EC2_API CapacityReservationSpecificationResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCapacityReservationPreference(CapacityReservationPreference &&value)
void SetCapacityReservationTarget(const CapacityReservationTargetResponse &value)
bool CapacityReservationTargetHasBeenSet() const
CapacityReservationSpecificationResponse & WithCapacityReservationTarget(CapacityReservationTargetResponse &&value)
void SetCapacityReservationPreference(const CapacityReservationPreference &value)
CapacityReservationSpecificationResponse & WithCapacityReservationPreference(CapacityReservationPreference &&value)
const CapacityReservationTargetResponse & GetCapacityReservationTarget() const
CapacityReservationPreference
std::basic_ostream< char, std::char_traits< char > > OStream