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