7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/AttachmentStatus.h>
12#include <aws/ec2/model/InstanceAttachmentEnaSrdSpecification.h>
65 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
78 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
89 inline void SetDeviceIndex(
int value) { m_deviceIndexHasBeenSet =
true; m_deviceIndex = value; }
111 inline void SetNetworkCardIndex(
int value) { m_networkCardIndexHasBeenSet =
true; m_networkCardIndex = value; }
130 bool m_attachTimeHasBeenSet =
false;
133 bool m_attachmentIdHasBeenSet =
false;
135 bool m_deleteOnTermination;
136 bool m_deleteOnTerminationHasBeenSet =
false;
139 bool m_deviceIndexHasBeenSet =
false;
142 bool m_statusHasBeenSet =
false;
144 int m_networkCardIndex;
145 bool m_networkCardIndexHasBeenSet =
false;
148 bool m_enaSrdSpecificationHasBeenSet =
false;
InstanceNetworkInterfaceAttachment & WithStatus(const AttachmentStatus &value)
void SetAttachTime(const Aws::Utils::DateTime &value)
InstanceNetworkInterfaceAttachment & WithStatus(AttachmentStatus &&value)
const InstanceAttachmentEnaSrdSpecification & GetEnaSrdSpecification() const
InstanceNetworkInterfaceAttachment & WithAttachTime(Aws::Utils::DateTime &&value)
void SetEnaSrdSpecification(InstanceAttachmentEnaSrdSpecification &&value)
AWS_EC2_API InstanceNetworkInterfaceAttachment(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAttachTime(Aws::Utils::DateTime &&value)
AWS_EC2_API InstanceNetworkInterfaceAttachment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAttachmentId() const
void SetStatus(AttachmentStatus &&value)
bool GetDeleteOnTermination() const
InstanceNetworkInterfaceAttachment & WithAttachmentId(const Aws::String &value)
void SetAttachmentId(const char *value)
AWS_EC2_API InstanceNetworkInterfaceAttachment()
bool StatusHasBeenSet() const
InstanceNetworkInterfaceAttachment & WithAttachTime(const Aws::Utils::DateTime &value)
void SetStatus(const AttachmentStatus &value)
bool AttachmentIdHasBeenSet() const
void SetAttachmentId(const Aws::String &value)
int GetDeviceIndex() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const AttachmentStatus & GetStatus() const
int GetNetworkCardIndex() const
InstanceNetworkInterfaceAttachment & WithAttachmentId(const char *value)
bool DeleteOnTerminationHasBeenSet() const
InstanceNetworkInterfaceAttachment & WithDeviceIndex(int value)
void SetDeleteOnTermination(bool value)
const Aws::Utils::DateTime & GetAttachTime() const
void SetEnaSrdSpecification(const InstanceAttachmentEnaSrdSpecification &value)
InstanceNetworkInterfaceAttachment & WithNetworkCardIndex(int value)
InstanceNetworkInterfaceAttachment & WithEnaSrdSpecification(InstanceAttachmentEnaSrdSpecification &&value)
void SetAttachmentId(Aws::String &&value)
bool DeviceIndexHasBeenSet() const
InstanceNetworkInterfaceAttachment & WithAttachmentId(Aws::String &&value)
InstanceNetworkInterfaceAttachment & WithDeleteOnTermination(bool value)
bool AttachTimeHasBeenSet() const
void SetNetworkCardIndex(int value)
bool EnaSrdSpecificationHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool NetworkCardIndexHasBeenSet() const
void SetDeviceIndex(int value)
InstanceNetworkInterfaceAttachment & WithEnaSrdSpecification(const InstanceAttachmentEnaSrdSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream