7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetAttachTime(
const char* value) { m_attachTimeHasBeenSet =
true; m_attachTime.assign(value); }
77 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
90 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
100 inline void SetDeviceIndex(
int value) { m_deviceIndexHasBeenSet =
true; m_deviceIndex = value; }
112 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
126 inline void SetInstanceOwnerId(
const char* value) { m_instanceOwnerIdHasBeenSet =
true; m_instanceOwnerId.assign(value); }
141 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
149 bool m_attachTimeHasBeenSet =
false;
152 bool m_attachmentIdHasBeenSet =
false;
154 bool m_deleteOnTermination;
155 bool m_deleteOnTerminationHasBeenSet =
false;
158 bool m_deviceIndexHasBeenSet =
false;
161 bool m_instanceIdHasBeenSet =
false;
164 bool m_instanceOwnerIdHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
AwsEc2NetworkInterfaceAttachment & WithAttachmentId(const char *value)
bool InstanceOwnerIdHasBeenSet() const
AwsEc2NetworkInterfaceAttachment & WithAttachmentId(Aws::String &&value)
AwsEc2NetworkInterfaceAttachment & WithAttachTime(const Aws::String &value)
int GetDeviceIndex() const
bool DeleteOnTerminationHasBeenSet() const
AwsEc2NetworkInterfaceAttachment & WithInstanceOwnerId(const char *value)
const Aws::String & GetInstanceId() const
void SetAttachTime(const Aws::String &value)
AwsEc2NetworkInterfaceAttachment & WithStatus(const Aws::String &value)
void SetAttachTime(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool InstanceIdHasBeenSet() const
bool AttachmentIdHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetAttachTime(const char *value)
void SetStatus(const char *value)
void SetInstanceOwnerId(const Aws::String &value)
void SetAttachmentId(const Aws::String &value)
AwsEc2NetworkInterfaceAttachment & WithStatus(const char *value)
bool AttachTimeHasBeenSet() const
void SetInstanceOwnerId(const char *value)
void SetAttachmentId(Aws::String &&value)
bool DeviceIndexHasBeenSet() const
AwsEc2NetworkInterfaceAttachment & WithDeviceIndex(int value)
AwsEc2NetworkInterfaceAttachment & WithDeleteOnTermination(bool value)
AwsEc2NetworkInterfaceAttachment & WithInstanceId(const char *value)
AwsEc2NetworkInterfaceAttachment & WithStatus(Aws::String &&value)
const Aws::String & GetStatus() const
AwsEc2NetworkInterfaceAttachment & WithAttachTime(const char *value)
AwsEc2NetworkInterfaceAttachment & WithAttachTime(Aws::String &&value)
void SetStatus(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceIndex(int value)
AwsEc2NetworkInterfaceAttachment & WithInstanceOwnerId(const Aws::String &value)
void SetStatus(Aws::String &&value)
const Aws::String & GetInstanceOwnerId() const
const Aws::String & GetAttachTime() const
AwsEc2NetworkInterfaceAttachment & WithInstanceId(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
void SetInstanceOwnerId(Aws::String &&value)
AwsEc2NetworkInterfaceAttachment & WithInstanceId(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2NetworkInterfaceAttachment()
void SetDeleteOnTermination(bool value)
bool StatusHasBeenSet() const
void SetInstanceId(const char *value)
const Aws::String & GetAttachmentId() const
void SetAttachmentId(const char *value)
void SetInstanceId(Aws::String &&value)
AwsEc2NetworkInterfaceAttachment & WithInstanceOwnerId(Aws::String &&value)
AwsEc2NetworkInterfaceAttachment & WithAttachmentId(const Aws::String &value)
bool GetDeleteOnTermination() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue