7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/LaunchTemplateEbsBlockDevice.h>
43 template <
typename DeviceNameT = Aws::String>
45 m_deviceNameHasBeenSet =
true;
46 m_deviceName = std::forward<DeviceNameT>(value);
48 template <
typename DeviceNameT = Aws::String>
61 template <
typename VirtualNameT = Aws::String>
63 m_virtualNameHasBeenSet =
true;
64 m_virtualName = std::forward<VirtualNameT>(value);
66 template <
typename VirtualNameT = Aws::String>
79 template <
typename EbsT = LaunchTemplateEbsBlockDevice>
81 m_ebsHasBeenSet =
true;
82 m_ebs = std::forward<EbsT>(value);
84 template <
typename EbsT = LaunchTemplateEbsBlockDevice>
86 SetEbs(std::forward<EbsT>(value));
98 template <
typename NoDeviceT = Aws::String>
100 m_noDeviceHasBeenSet =
true;
101 m_noDevice = std::forward<NoDeviceT>(value);
103 template <
typename NoDeviceT = Aws::String>
117 bool m_deviceNameHasBeenSet =
false;
118 bool m_virtualNameHasBeenSet =
false;
119 bool m_ebsHasBeenSet =
false;
120 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