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>
49 template<
typename DeviceNameT = Aws::String>
50 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
51 template<
typename DeviceNameT = Aws::String>
61 template<
typename VirtualNameT = Aws::String>
62 void SetVirtualName(VirtualNameT&& value) { m_virtualNameHasBeenSet =
true; m_virtualName = std::forward<VirtualNameT>(value); }
63 template<
typename VirtualNameT = Aws::String>
73 template<
typename EbsT = LaunchTemplateEbsBlockDevice>
74 void SetEbs(EbsT&& value) { m_ebsHasBeenSet =
true; m_ebs = std::forward<EbsT>(value); }
75 template<
typename EbsT = LaunchTemplateEbsBlockDevice>
86 template<
typename NoDeviceT = Aws::String>
87 void SetNoDevice(NoDeviceT&& value) { m_noDeviceHasBeenSet =
true; m_noDevice = std::forward<NoDeviceT>(value); }
88 template<
typename NoDeviceT = Aws::String>
94 bool m_deviceNameHasBeenSet =
false;
97 bool m_virtualNameHasBeenSet =
false;
100 bool m_ebsHasBeenSet =
false;
103 bool m_noDeviceHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool VirtualNameHasBeenSet() const
LaunchTemplateBlockDeviceMapping & WithEbs(EbsT &&value)
AWS_EC2_API LaunchTemplateBlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplateBlockDeviceMapping & WithDeviceName(DeviceNameT &&value)
const Aws::String & GetVirtualName() const
bool NoDeviceHasBeenSet() const
void SetVirtualName(VirtualNameT &&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(NoDeviceT &&value)
const Aws::String & GetDeviceName() const
const Aws::String & GetNoDevice() const
void SetEbs(EbsT &&value)
void SetNoDevice(NoDeviceT &&value)
bool DeviceNameHasBeenSet() const
AWS_EC2_API LaunchTemplateBlockDeviceMapping()=default
void SetDeviceName(DeviceNameT &&value)
LaunchTemplateBlockDeviceMapping & WithVirtualName(VirtualNameT &&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