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/EbsInstanceBlockDevice.h>
52 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
73 bool m_deviceNameHasBeenSet =
false;
76 bool m_ebsHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDeviceName() const
void SetEbs(EbsInstanceBlockDevice &&value)
AWS_EC2_API InstanceBlockDeviceMapping()
InstanceBlockDeviceMapping & WithDeviceName(const Aws::String &value)
void SetDeviceName(const Aws::String &value)
InstanceBlockDeviceMapping & WithEbs(const EbsInstanceBlockDevice &value)
void SetEbs(const EbsInstanceBlockDevice &value)
InstanceBlockDeviceMapping & WithEbs(EbsInstanceBlockDevice &&value)
InstanceBlockDeviceMapping & WithDeviceName(Aws::String &&value)
bool DeviceNameHasBeenSet() const
InstanceBlockDeviceMapping & WithDeviceName(const char *value)
void SetDeviceName(Aws::String &&value)
AWS_EC2_API InstanceBlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const EbsInstanceBlockDevice & GetEbs() const
void SetDeviceName(const char *value)
bool EbsHasBeenSet() const
AWS_EC2_API InstanceBlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream