7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/ReservationValue.h>
10#include <aws/ec2/model/TargetConfiguration.h>
52 template<
typename ReservationValueT = ReservationValue>
53 void SetReservationValue(ReservationValueT&& value) { m_reservationValueHasBeenSet =
true; m_reservationValue = std::forward<ReservationValueT>(value); }
54 template<
typename ReservationValueT = ReservationValue>
65 template<
typename TargetConfigurationT = TargetConfiguration>
66 void SetTargetConfiguration(TargetConfigurationT&& value) { m_targetConfigurationHasBeenSet =
true; m_targetConfiguration = std::forward<TargetConfigurationT>(value); }
67 template<
typename TargetConfigurationT = TargetConfiguration>
73 bool m_reservationValueHasBeenSet =
false;
76 bool m_targetConfigurationHasBeenSet =
false;
void SetTargetConfiguration(TargetConfigurationT &&value)
bool TargetConfigurationHasBeenSet() const
bool ReservationValueHasBeenSet() const
AWS_EC2_API TargetReservationValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API TargetReservationValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetReservationValue & WithReservationValue(ReservationValueT &&value)
AWS_EC2_API TargetReservationValue()=default
TargetReservationValue & WithTargetConfiguration(TargetConfigurationT &&value)
const ReservationValue & GetReservationValue() const
void SetReservationValue(ReservationValueT &&value)
const TargetConfiguration & GetTargetConfiguration() const
std::basic_ostream< char, std::char_traits< char > > OStream