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