7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/EbsBlockDevice.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetNoDevice(
const char* value) { m_noDeviceHasBeenSet =
true; m_noDevice.assign(value); }
82 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
106 inline void SetVirtualName(
const char* value) { m_virtualNameHasBeenSet =
true; m_virtualName.assign(value); }
114 bool m_ebsHasBeenSet =
false;
117 bool m_noDeviceHasBeenSet =
false;
120 bool m_deviceNameHasBeenSet =
false;
123 bool m_virtualNameHasBeenSet =
false;
void SetVirtualName(const char *value)
bool EbsHasBeenSet() const
bool VirtualNameHasBeenSet() const
BlockDeviceMapping & WithDeviceName(const Aws::String &value)
BlockDeviceMapping & WithDeviceName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BlockDeviceMapping & WithDeviceName(const char *value)
void SetDeviceName(Aws::String &&value)
void SetEbs(const EbsBlockDevice &value)
void SetEbs(EbsBlockDevice &&value)
void SetVirtualName(Aws::String &&value)
void SetVirtualName(const Aws::String &value)
void SetNoDevice(Aws::String &&value)
AWS_EC2_API BlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API BlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
BlockDeviceMapping & WithVirtualName(Aws::String &&value)
BlockDeviceMapping & WithVirtualName(const Aws::String &value)
AWS_EC2_API BlockDeviceMapping()
BlockDeviceMapping & WithEbs(EbsBlockDevice &&value)
const EbsBlockDevice & GetEbs() const
BlockDeviceMapping & WithNoDevice(const char *value)
void SetDeviceName(const Aws::String &value)
BlockDeviceMapping & WithNoDevice(const Aws::String &value)
void SetNoDevice(const char *value)
void SetNoDevice(const Aws::String &value)
const Aws::String & GetNoDevice() const
const Aws::String & GetDeviceName() const
BlockDeviceMapping & WithVirtualName(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BlockDeviceMapping & WithNoDevice(Aws::String &&value)
const Aws::String & GetVirtualName() const
void SetDeviceName(const char *value)
bool NoDeviceHasBeenSet() const
bool DeviceNameHasBeenSet() const
BlockDeviceMapping & WithEbs(const EbsBlockDevice &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream