7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/ReservationValue.h>
10#include <aws/ec2/model/TargetConfiguration.h>
46 template <
typename ReservationValueT = ReservationValue>
48 m_reservationValueHasBeenSet =
true;
49 m_reservationValue = std::forward<ReservationValueT>(value);
51 template <
typename ReservationValueT = ReservationValue>
65 template <
typename TargetConfigurationT = TargetConfiguration>
67 m_targetConfigurationHasBeenSet =
true;
68 m_targetConfiguration = std::forward<TargetConfigurationT>(value);
70 template <
typename TargetConfigurationT = TargetConfiguration>
80 bool m_reservationValueHasBeenSet =
false;
81 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