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/ScheduledInstancesEbs.h>
53 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
81 inline void SetNoDevice(
const char* value) { m_noDeviceHasBeenSet =
true; m_noDevice.assign(value); }
103 inline void SetVirtualName(
const char* value) { m_virtualNameHasBeenSet =
true; m_virtualName.assign(value); }
111 bool m_deviceNameHasBeenSet =
false;
114 bool m_ebsHasBeenSet =
false;
117 bool m_noDeviceHasBeenSet =
false;
120 bool m_virtualNameHasBeenSet =
false;
ScheduledInstancesBlockDeviceMapping & WithEbs(ScheduledInstancesEbs &&value)
void SetEbs(ScheduledInstancesEbs &&value)
void SetEbs(const ScheduledInstancesEbs &value)
AWS_EC2_API ScheduledInstancesBlockDeviceMapping & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstancesBlockDeviceMapping & WithVirtualName(Aws::String &&value)
const Aws::String & GetNoDevice() const
const Aws::String & GetVirtualName() const
void SetDeviceName(const char *value)
ScheduledInstancesBlockDeviceMapping & WithNoDevice(const char *value)
const Aws::String & GetDeviceName() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ScheduledInstancesBlockDeviceMapping & WithDeviceName(const Aws::String &value)
void SetNoDevice(const char *value)
ScheduledInstancesBlockDeviceMapping & WithEbs(const ScheduledInstancesEbs &value)
bool DeviceNameHasBeenSet() const
bool VirtualNameHasBeenSet() const
void SetVirtualName(Aws::String &&value)
void SetNoDevice(const Aws::String &value)
void SetNoDevice(Aws::String &&value)
void SetDeviceName(const Aws::String &value)
const ScheduledInstancesEbs & GetEbs() const
AWS_EC2_API ScheduledInstancesBlockDeviceMapping()
ScheduledInstancesBlockDeviceMapping & WithNoDevice(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledInstancesBlockDeviceMapping & WithDeviceName(const char *value)
ScheduledInstancesBlockDeviceMapping & WithDeviceName(Aws::String &&value)
void SetVirtualName(const char *value)
bool NoDeviceHasBeenSet() const
AWS_EC2_API ScheduledInstancesBlockDeviceMapping(const Aws::Utils::Xml::XmlNode &xmlNode)
ScheduledInstancesBlockDeviceMapping & WithVirtualName(const char *value)
void SetVirtualName(const Aws::String &value)
bool EbsHasBeenSet() const
ScheduledInstancesBlockDeviceMapping & WithNoDevice(Aws::String &&value)
ScheduledInstancesBlockDeviceMapping & WithVirtualName(const Aws::String &value)
void SetDeviceName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream