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/EbsInstanceBlockDeviceSpecification.h>
52 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
79 inline void SetVirtualName(
const char* value) { m_virtualNameHasBeenSet =
true; m_virtualName.assign(value); }
93 inline void SetNoDevice(
const char* value) { m_noDeviceHasBeenSet =
true; m_noDevice.assign(value); }
101 bool m_deviceNameHasBeenSet =
false;
104 bool m_ebsHasBeenSet =
false;
107 bool m_virtualNameHasBeenSet =
false;
110 bool m_noDeviceHasBeenSet =
false;
AWS_EC2_API InstanceBlockDeviceMappingSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEbs(EbsInstanceBlockDeviceSpecification &&value)
InstanceBlockDeviceMappingSpecification & WithVirtualName(const char *value)
bool EbsHasBeenSet() const
void SetVirtualName(const Aws::String &value)
InstanceBlockDeviceMappingSpecification & WithVirtualName(Aws::String &&value)
InstanceBlockDeviceMappingSpecification & WithEbs(EbsInstanceBlockDeviceSpecification &&value)
const EbsInstanceBlockDeviceSpecification & GetEbs() const
InstanceBlockDeviceMappingSpecification & WithDeviceName(const char *value)
InstanceBlockDeviceMappingSpecification & WithNoDevice(const Aws::String &value)
InstanceBlockDeviceMappingSpecification & WithDeviceName(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEbs(const EbsInstanceBlockDeviceSpecification &value)
void SetDeviceName(Aws::String &&value)
void SetNoDevice(const char *value)
AWS_EC2_API InstanceBlockDeviceMappingSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNoDevice() const
InstanceBlockDeviceMappingSpecification & WithNoDevice(const char *value)
const Aws::String & GetVirtualName() const
AWS_EC2_API InstanceBlockDeviceMappingSpecification()
InstanceBlockDeviceMappingSpecification & WithVirtualName(const Aws::String &value)
bool NoDeviceHasBeenSet() const
bool DeviceNameHasBeenSet() const
InstanceBlockDeviceMappingSpecification & WithNoDevice(Aws::String &&value)
bool VirtualNameHasBeenSet() const
InstanceBlockDeviceMappingSpecification & WithDeviceName(Aws::String &&value)
const Aws::String & GetDeviceName() const
void SetNoDevice(Aws::String &&value)
void SetVirtualName(const char *value)
void SetNoDevice(const Aws::String &value)
void SetDeviceName(const Aws::String &value)
InstanceBlockDeviceMappingSpecification & WithEbs(const EbsInstanceBlockDeviceSpecification &value)
void SetVirtualName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDeviceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream