7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/EbsInstanceBlockDevice.h>
50 template<
typename DeviceNameT = Aws::String>
51 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
52 template<
typename DeviceNameT = Aws::String>
63 template<
typename EbsT = EbsInstanceBlockDevice>
64 void SetEbs(EbsT&& value) { m_ebsHasBeenSet =
true; m_ebs = std::forward<EbsT>(value); }
65 template<
typename EbsT = EbsInstanceBlockDevice>
71 bool m_deviceNameHasBeenSet =
false;
74 bool m_ebsHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDeviceName() const
AWS_EC2_API InstanceBlockDeviceMapping()=default
void SetEbs(EbsT &&value)
bool DeviceNameHasBeenSet() const
void SetDeviceName(DeviceNameT &&value)
InstanceBlockDeviceMapping & WithEbs(EbsT &&value)
AWS_EC2_API InstanceBlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const EbsInstanceBlockDevice & GetEbs() const
bool EbsHasBeenSet() const
InstanceBlockDeviceMapping & WithDeviceName(DeviceNameT &&value)
AWS_EC2_API InstanceBlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream