7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/EbsInstanceBlockDeviceSpecification.h>
50 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
76 inline void SetVirtualName(
const char* value) { m_virtualNameHasBeenSet =
true; m_virtualName.assign(value); }
90 inline void SetNoDevice(
const char* value) { m_noDeviceHasBeenSet =
true; m_noDevice.assign(value); }
98 bool m_deviceNameHasBeenSet =
false;
101 bool m_ebsHasBeenSet =
false;
104 bool m_virtualNameHasBeenSet =
false;
107 bool m_noDeviceHasBeenSet =
false;
InstanceBlockDeviceMapping & WithNoDevice(const char *value)
const Aws::String & GetDeviceName() const
AWS_IMAGEBUILDER_API InstanceBlockDeviceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEbs(EbsInstanceBlockDeviceSpecification &&value)
InstanceBlockDeviceMapping & WithVirtualName(const char *value)
InstanceBlockDeviceMapping & WithDeviceName(const char *value)
void SetEbs(const EbsInstanceBlockDeviceSpecification &value)
InstanceBlockDeviceMapping & WithVirtualName(Aws::String &&value)
void SetVirtualName(const char *value)
InstanceBlockDeviceMapping & WithEbs(const EbsInstanceBlockDeviceSpecification &value)
AWS_IMAGEBUILDER_API InstanceBlockDeviceMapping(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualName(Aws::String &&value)
bool VirtualNameHasBeenSet() const
void SetVirtualName(const Aws::String &value)
const EbsInstanceBlockDeviceSpecification & GetEbs() const
AWS_IMAGEBUILDER_API InstanceBlockDeviceMapping()
void SetDeviceName(const Aws::String &value)
InstanceBlockDeviceMapping & WithNoDevice(const Aws::String &value)
bool NoDeviceHasBeenSet() const
const Aws::String & GetNoDevice() const
void SetDeviceName(Aws::String &&value)
InstanceBlockDeviceMapping & WithDeviceName(Aws::String &&value)
void SetNoDevice(const Aws::String &value)
bool DeviceNameHasBeenSet() const
InstanceBlockDeviceMapping & WithVirtualName(const Aws::String &value)
bool EbsHasBeenSet() const
InstanceBlockDeviceMapping & WithDeviceName(const Aws::String &value)
void SetDeviceName(const char *value)
void SetNoDevice(const char *value)
InstanceBlockDeviceMapping & WithEbs(EbsInstanceBlockDeviceSpecification &&value)
InstanceBlockDeviceMapping & WithNoDevice(Aws::String &&value)
const Aws::String & GetVirtualName() const
void SetNoDevice(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue