7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/EbsBlockDevice.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename EbsT = EbsBlockDevice>
52 void SetEbs(EbsT&& value) { m_ebsHasBeenSet =
true; m_ebs = std::forward<EbsT>(value); }
53 template<
typename EbsT = EbsBlockDevice>
65 template<
typename NoDeviceT = Aws::String>
66 void SetNoDevice(NoDeviceT&& value) { m_noDeviceHasBeenSet =
true; m_noDevice = std::forward<NoDeviceT>(value); }
67 template<
typename NoDeviceT = Aws::String>
78 template<
typename DeviceNameT = Aws::String>
79 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
80 template<
typename DeviceNameT = Aws::String>
100 template<
typename VirtualNameT = Aws::String>
101 void SetVirtualName(VirtualNameT&& value) { m_virtualNameHasBeenSet =
true; m_virtualName = std::forward<VirtualNameT>(value); }
102 template<
typename VirtualNameT = Aws::String>
108 bool m_ebsHasBeenSet =
false;
111 bool m_noDeviceHasBeenSet =
false;
114 bool m_deviceNameHasBeenSet =
false;
117 bool m_virtualNameHasBeenSet =
false;
bool EbsHasBeenSet() const
bool VirtualNameHasBeenSet() const
BlockDeviceMapping & WithDeviceName(DeviceNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BlockDeviceMapping & WithEbs(EbsT &&value)
void SetVirtualName(VirtualNameT &&value)
AWS_EC2_API BlockDeviceMapping()=default
void SetDeviceName(DeviceNameT &&value)
AWS_EC2_API BlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API BlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
const EbsBlockDevice & GetEbs() const
void SetNoDevice(NoDeviceT &&value)
void SetEbs(EbsT &&value)
BlockDeviceMapping & WithNoDevice(NoDeviceT &&value)
const Aws::String & GetNoDevice() const
const Aws::String & GetDeviceName() const
BlockDeviceMapping & WithVirtualName(VirtualNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVirtualName() const
bool NoDeviceHasBeenSet() const
bool DeviceNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream