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/core/utils/memory/stl/AWSString.h>
65 inline void SetReservedInstanceId(
const char* value) { m_reservedInstanceIdHasBeenSet =
true; m_reservedInstanceId.assign(value); }
73 bool m_reservationValueHasBeenSet =
false;
76 bool m_reservedInstanceIdHasBeenSet =
false;
ReservedInstanceReservationValue & WithReservedInstanceId(const Aws::String &value)
ReservedInstanceReservationValue & WithReservedInstanceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservedInstanceReservationValue & WithReservedInstanceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedInstanceReservationValue & WithReservationValue(const ReservationValue &value)
AWS_EC2_API ReservedInstanceReservationValue()
const ReservationValue & GetReservationValue() const
void SetReservedInstanceId(Aws::String &&value)
bool ReservedInstanceIdHasBeenSet() const
void SetReservationValue(ReservationValue &&value)
void SetReservedInstanceId(const Aws::String &value)
AWS_EC2_API ReservedInstanceReservationValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReservationValue(const ReservationValue &value)
void SetReservedInstanceId(const char *value)
AWS_EC2_API ReservedInstanceReservationValue(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetReservedInstanceId() const
bool ReservationValueHasBeenSet() const
ReservedInstanceReservationValue & WithReservationValue(ReservationValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream