7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetAttachTime(
const char* value) { m_attachTimeHasBeenSet =
true; m_attachTime.assign(value); }
60 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
72 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
89 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
97 bool m_attachTimeHasBeenSet =
false;
99 bool m_deleteOnTermination;
100 bool m_deleteOnTerminationHasBeenSet =
false;
103 bool m_instanceIdHasBeenSet =
false;
106 bool m_statusHasBeenSet =
false;
AWS_SECURITYHUB_API AwsEc2VolumeAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetAttachTime(const Aws::String &value)
AwsEc2VolumeAttachment & WithInstanceId(const char *value)
bool InstanceIdHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2VolumeAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VolumeAttachment & WithAttachTime(const Aws::String &value)
void SetAttachTime(Aws::String &&value)
AwsEc2VolumeAttachment & WithStatus(Aws::String &&value)
void SetAttachTime(const char *value)
AwsEc2VolumeAttachment & WithStatus(const Aws::String &value)
void SetStatus(Aws::String &&value)
AWS_SECURITYHUB_API AwsEc2VolumeAttachment()
void SetInstanceId(const Aws::String &value)
bool AttachTimeHasBeenSet() const
void SetStatus(const Aws::String &value)
const Aws::String & GetStatus() const
bool DeleteOnTerminationHasBeenSet() const
void SetInstanceId(const char *value)
AwsEc2VolumeAttachment & WithAttachTime(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
const Aws::String & GetInstanceId() const
void SetStatus(const char *value)
AwsEc2VolumeAttachment & WithDeleteOnTermination(bool value)
void SetDeleteOnTermination(bool value)
bool StatusHasBeenSet() const
AwsEc2VolumeAttachment & WithAttachTime(const char *value)
AwsEc2VolumeAttachment & WithInstanceId(const Aws::String &value)
const Aws::String & GetAttachTime() const
AwsEc2VolumeAttachment & WithInstanceId(Aws::String &&value)
AwsEc2VolumeAttachment & WithStatus(const char *value)
bool GetDeleteOnTermination() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue