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>
51 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
63 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
69 bool m_volumeIdHasBeenSet =
false;
71 bool m_deleteOnTermination;
72 bool m_deleteOnTerminationHasBeenSet =
false;
EbsInstanceBlockDeviceSpecification & WithDeleteOnTermination(bool value)
AWS_EC2_API EbsInstanceBlockDeviceSpecification()
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EbsInstanceBlockDeviceSpecification & WithVolumeId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DeleteOnTerminationHasBeenSet() const
void SetVolumeId(Aws::String &&value)
EbsInstanceBlockDeviceSpecification & WithVolumeId(Aws::String &&value)
AWS_EC2_API EbsInstanceBlockDeviceSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVolumeId() const
void SetVolumeId(const char *value)
bool GetDeleteOnTermination() const
void SetDeleteOnTermination(bool value)
AWS_EC2_API EbsInstanceBlockDeviceSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VolumeIdHasBeenSet() const
EbsInstanceBlockDeviceSpecification & WithVolumeId(const Aws::String &value)
void SetVolumeId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream