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>
50 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
63 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
69 bool m_attachmentIdHasBeenSet =
false;
71 bool m_deleteOnTermination;
72 bool m_deleteOnTerminationHasBeenSet =
false;
NetworkInterfaceAttachmentChanges & WithAttachmentId(const Aws::String &value)
NetworkInterfaceAttachmentChanges & WithAttachmentId(const char *value)
bool GetDeleteOnTermination() const
void SetDeleteOnTermination(bool value)
NetworkInterfaceAttachmentChanges & WithDeleteOnTermination(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetAttachmentId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetAttachmentId(Aws::String &&value)
AWS_EC2_API NetworkInterfaceAttachmentChanges & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API NetworkInterfaceAttachmentChanges(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DeleteOnTerminationHasBeenSet() const
void SetAttachmentId(const Aws::String &value)
AWS_EC2_API NetworkInterfaceAttachmentChanges()
NetworkInterfaceAttachmentChanges & WithAttachmentId(Aws::String &&value)
bool AttachmentIdHasBeenSet() const
void SetAttachmentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream