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