7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEc2VolumeAttachment.h>
64 inline void SetCreateTime(
const char* value) { m_createTimeHasBeenSet =
true; m_createTime.assign(value); }
78 inline void SetDeviceName(
const char* value) { m_deviceNameHasBeenSet =
true; m_deviceName.assign(value); }
90 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
98 inline int GetSize()
const{
return m_size; }
100 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
112 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
130 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
145 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
173 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
187 inline void SetVolumeType(
const char* value) { m_volumeTypeHasBeenSet =
true; m_volumeType.assign(value); }
201 inline void SetVolumeScanStatus(
const char* value) { m_volumeScanStatusHasBeenSet =
true; m_volumeScanStatus.assign(value); }
209 bool m_createTimeHasBeenSet =
false;
212 bool m_deviceNameHasBeenSet =
false;
215 bool m_encryptedHasBeenSet =
false;
218 bool m_sizeHasBeenSet =
false;
221 bool m_snapshotIdHasBeenSet =
false;
224 bool m_statusHasBeenSet =
false;
227 bool m_kmsKeyIdHasBeenSet =
false;
230 bool m_attachmentsHasBeenSet =
false;
233 bool m_volumeIdHasBeenSet =
false;
236 bool m_volumeTypeHasBeenSet =
false;
239 bool m_volumeScanStatusHasBeenSet =
false;
AwsEc2VolumeDetails & WithCreateTime(Aws::String &&value)
void SetSnapshotId(Aws::String &&value)
bool AttachmentsHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2VolumeDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsEc2VolumeDetails()
AwsEc2VolumeDetails & WithVolumeType(const char *value)
AwsEc2VolumeDetails & AddAttachments(AwsEc2VolumeAttachment &&value)
AwsEc2VolumeDetails & WithEncrypted(bool value)
bool VolumeIdHasBeenSet() const
AwsEc2VolumeDetails & WithVolumeId(const char *value)
void SetVolumeId(const char *value)
const Aws::String & GetVolumeType() const
bool SizeHasBeenSet() const
AwsEc2VolumeDetails & WithKmsKeyId(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
AwsEc2VolumeDetails & WithKmsKeyId(const char *value)
AwsEc2VolumeDetails & WithDeviceName(Aws::String &&value)
void SetStatus(const char *value)
AwsEc2VolumeDetails & WithStatus(const Aws::String &value)
AwsEc2VolumeDetails & WithKmsKeyId(Aws::String &&value)
bool VolumeTypeHasBeenSet() const
AwsEc2VolumeDetails & WithVolumeId(const Aws::String &value)
AwsEc2VolumeDetails & WithSize(int value)
bool SnapshotIdHasBeenSet() const
const Aws::String & GetStatus() const
void SetSnapshotId(const char *value)
bool CreateTimeHasBeenSet() const
void SetSnapshotId(const Aws::String &value)
void SetStatus(Aws::String &&value)
AwsEc2VolumeDetails & WithDeviceName(const Aws::String &value)
void SetVolumeType(const Aws::String &value)
void SetStatus(const Aws::String &value)
const Aws::String & GetCreateTime() const
void SetCreateTime(const Aws::String &value)
const Aws::String & GetDeviceName() const
AwsEc2VolumeDetails & WithVolumeScanStatus(const Aws::String &value)
void SetAttachments(Aws::Vector< AwsEc2VolumeAttachment > &&value)
void SetVolumeId(const Aws::String &value)
AwsEc2VolumeDetails & WithCreateTime(const char *value)
void SetCreateTime(const char *value)
void SetVolumeId(Aws::String &&value)
void SetVolumeScanStatus(const char *value)
void SetVolumeType(const char *value)
AwsEc2VolumeDetails & WithAttachments(const Aws::Vector< AwsEc2VolumeAttachment > &value)
void SetDeviceName(const char *value)
AwsEc2VolumeDetails & AddAttachments(const AwsEc2VolumeAttachment &value)
const Aws::Vector< AwsEc2VolumeAttachment > & GetAttachments() const
void SetEncrypted(bool value)
void SetDeviceName(const Aws::String &value)
AwsEc2VolumeDetails & WithCreateTime(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetSnapshotId() const
void SetVolumeScanStatus(const Aws::String &value)
AwsEc2VolumeDetails & WithVolumeType(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
AwsEc2VolumeDetails & WithStatus(Aws::String &&value)
void SetAttachments(const Aws::Vector< AwsEc2VolumeAttachment > &value)
void SetKmsKeyId(const char *value)
AwsEc2VolumeDetails & WithAttachments(Aws::Vector< AwsEc2VolumeAttachment > &&value)
AWS_SECURITYHUB_API AwsEc2VolumeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VolumeDetails & WithVolumeId(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
AwsEc2VolumeDetails & WithDeviceName(const char *value)
bool DeviceNameHasBeenSet() const
void SetVolumeScanStatus(Aws::String &&value)
void SetVolumeType(Aws::String &&value)
bool GetEncrypted() const
bool VolumeScanStatusHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetVolumeScanStatus() const
AwsEc2VolumeDetails & WithStatus(const char *value)
AwsEc2VolumeDetails & WithVolumeScanStatus(Aws::String &&value)
AwsEc2VolumeDetails & WithVolumeType(const Aws::String &value)
AwsEc2VolumeDetails & WithVolumeScanStatus(const char *value)
AwsEc2VolumeDetails & WithSnapshotId(const Aws::String &value)
AwsEc2VolumeDetails & WithSnapshotId(Aws::String &&value)
AwsEc2VolumeDetails & WithSnapshotId(const char *value)
bool EncryptedHasBeenSet() const
const Aws::String & GetVolumeId() const
void SetDeviceName(Aws::String &&value)
void SetCreateTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue