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