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>
54 inline void SetVirtualName(
const char* value) { m_virtualNameHasBeenSet =
true; m_virtualName.assign(value); }
74 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
86 inline void SetEbs(
const Ebs& value) { m_ebsHasBeenSet =
true; m_ebs = value; }
87 inline void SetEbs(
Ebs&& value) { m_ebsHasBeenSet =
true; m_ebs = std::move(value); }
102 inline void SetNoDevice(
bool value) { m_noDeviceHasBeenSet =
true; m_noDevice = value; }
108 bool m_virtualNameHasBeenSet =
false;
111 bool m_deviceNameHasBeenSet =
false;
114 bool m_ebsHasBeenSet =
false;
117 bool m_noDeviceHasBeenSet =
false;
BlockDeviceMapping & WithVirtualName(const char *value)
void SetDeviceName(const char *value)
AWS_AUTOSCALING_API BlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEbs(const Ebs &value)
BlockDeviceMapping & WithVirtualName(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BlockDeviceMapping & WithVirtualName(Aws::String &&value)
BlockDeviceMapping & WithDeviceName(const Aws::String &value)
BlockDeviceMapping & WithNoDevice(bool value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVirtualName(const Aws::String &value)
void SetNoDevice(bool value)
BlockDeviceMapping & WithEbs(const Ebs &value)
void SetDeviceName(const Aws::String &value)
const Ebs & GetEbs() const
bool EbsHasBeenSet() const
bool DeviceNameHasBeenSet() const
AWS_AUTOSCALING_API BlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
BlockDeviceMapping & WithEbs(Ebs &&value)
void SetDeviceName(Aws::String &&value)
AWS_AUTOSCALING_API BlockDeviceMapping()
BlockDeviceMapping & WithDeviceName(const char *value)
bool NoDeviceHasBeenSet() const
BlockDeviceMapping & WithDeviceName(Aws::String &&value)
bool VirtualNameHasBeenSet() const
const Aws::String & GetDeviceName() const
const Aws::String & GetVirtualName() const
void SetVirtualName(const char *value)
void SetVirtualName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream