7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetCapacityReservationId(
const char* value) { m_capacityReservationIdHasBeenSet =
true; m_capacityReservationId.assign(value); }
74 bool m_capacityReservationIdHasBeenSet =
false;
77 bool m_capacityReservationResourceGroupArnHasBeenSet =
false;
CapacityReservationTarget & WithCapacityReservationResourceGroupArn(Aws::String &&value)
CapacityReservationTarget & WithCapacityReservationResourceGroupArn(const char *value)
void SetCapacityReservationResourceGroupArn(const char *value)
bool CapacityReservationResourceGroupArnHasBeenSet() const
CapacityReservationTarget & WithCapacityReservationId(Aws::String &&value)
AWS_EC2_API CapacityReservationTarget()
const Aws::String & GetCapacityReservationResourceGroupArn() const
AWS_EC2_API CapacityReservationTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationTarget & WithCapacityReservationResourceGroupArn(const Aws::String &value)
const Aws::String & GetCapacityReservationId() const
void SetCapacityReservationResourceGroupArn(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCapacityReservationId(Aws::String &&value)
void SetCapacityReservationId(const Aws::String &value)
void SetCapacityReservationId(const char *value)
void SetCapacityReservationResourceGroupArn(Aws::String &&value)
CapacityReservationTarget & WithCapacityReservationId(const Aws::String &value)
CapacityReservationTarget & WithCapacityReservationId(const char *value)
AWS_EC2_API CapacityReservationTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CapacityReservationIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream