7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/Ebs.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AutoScaling {
46 template <
typename VirtualNameT = Aws::String>
48 m_virtualNameHasBeenSet =
true;
49 m_virtualName = std::forward<VirtualNameT>(value);
51 template <
typename VirtualNameT = Aws::String>
70 template <
typename DeviceNameT = Aws::String>
72 m_deviceNameHasBeenSet =
true;
73 m_deviceName = std::forward<DeviceNameT>(value);
75 template <
typename DeviceNameT = Aws::String>
88 template <
typename EbsT = Ebs>
90 m_ebsHasBeenSet =
true;
91 m_ebs = std::forward<EbsT>(value);
93 template <
typename EbsT = Ebs>
95 SetEbs(std::forward<EbsT>(value));
111 m_noDeviceHasBeenSet =
true;
126 bool m_noDevice{
false};
127 bool m_virtualNameHasBeenSet =
false;
128 bool m_deviceNameHasBeenSet =
false;
129 bool m_ebsHasBeenSet =
false;
130 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