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>
10#include <aws/ec2/model/CapacityReservationTenancy.h>
51 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
65 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
85 bool m_instanceTypeHasBeenSet =
false;
88 bool m_availabilityZoneHasBeenSet =
false;
91 bool m_tenancyHasBeenSet =
false;
const Aws::String & GetAvailabilityZone() const
AWS_EC2_API CapacityReservationInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceType(const char *value)
void SetAvailabilityZone(const Aws::String &value)
CapacityReservationInfo & WithInstanceType(const Aws::String &value)
void SetTenancy(const CapacityReservationTenancy &value)
CapacityReservationInfo & WithTenancy(const CapacityReservationTenancy &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceType(const Aws::String &value)
bool AvailabilityZoneHasBeenSet() const
void SetTenancy(CapacityReservationTenancy &&value)
CapacityReservationInfo & WithAvailabilityZone(Aws::String &&value)
const CapacityReservationTenancy & GetTenancy() const
CapacityReservationInfo & WithInstanceType(Aws::String &&value)
CapacityReservationInfo & WithAvailabilityZone(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetInstanceType(Aws::String &&value)
CapacityReservationInfo & WithAvailabilityZone(const Aws::String &value)
bool TenancyHasBeenSet() const
CapacityReservationInfo & WithInstanceType(const char *value)
const Aws::String & GetInstanceType() const
bool InstanceTypeHasBeenSet() const
void SetAvailabilityZone(const char *value)
void SetAvailabilityZone(Aws::String &&value)
AWS_EC2_API CapacityReservationInfo()
AWS_EC2_API CapacityReservationInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationInfo & WithTenancy(CapacityReservationTenancy &&value)
CapacityReservationTenancy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream