7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/Ebs.h>
52 template<
typename VirtualNameT = Aws::String>
53 void SetVirtualName(VirtualNameT&& value) { m_virtualNameHasBeenSet =
true; m_virtualName = std::forward<VirtualNameT>(value); }
54 template<
typename VirtualNameT = Aws::String>
70 template<
typename DeviceNameT = Aws::String>
71 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
72 template<
typename DeviceNameT = Aws::String>
82 template<
typename EbsT = Ebs>
83 void SetEbs(EbsT&& value) { m_ebsHasBeenSet =
true; m_ebs = std::forward<EbsT>(value); }
84 template<
typename EbsT = Ebs>
98 inline void SetNoDevice(
bool value) { m_noDeviceHasBeenSet =
true; m_noDevice = value; }
104 bool m_virtualNameHasBeenSet =
false;
107 bool m_deviceNameHasBeenSet =
false;
110 bool m_ebsHasBeenSet =
false;
112 bool m_noDevice{
false};
113 bool m_noDeviceHasBeenSet =
false;
AWS_AUTOSCALING_API BlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
BlockDeviceMapping & WithEbs(EbsT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDeviceName(DeviceNameT &&value)
BlockDeviceMapping & WithVirtualName(VirtualNameT &&value)
BlockDeviceMapping & WithNoDevice(bool value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetEbs(EbsT &&value)
void SetNoDevice(bool value)
BlockDeviceMapping & WithDeviceName(DeviceNameT &&value)
const Ebs & GetEbs() const
bool EbsHasBeenSet() const
bool DeviceNameHasBeenSet() const
AWS_AUTOSCALING_API BlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API BlockDeviceMapping()=default
bool NoDeviceHasBeenSet() const
void SetVirtualName(VirtualNameT &&value)
bool VirtualNameHasBeenSet() const
const Aws::String & GetDeviceName() const
const Aws::String & GetVirtualName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream