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>
50 template<
typename CreateTimeT = Aws::String>
51 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
52 template<
typename CreateTimeT = Aws::String>
62 template<
typename DeviceNameT = Aws::String>
63 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
64 template<
typename DeviceNameT = Aws::String>
74 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
82 inline int GetSize()
const {
return m_size; }
84 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
94 template<
typename SnapshotIdT = Aws::String>
95 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
96 template<
typename SnapshotIdT = Aws::String>
110 template<
typename StatusT = Aws::String>
111 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
112 template<
typename StatusT = Aws::String>
123 template<
typename KmsKeyIdT = Aws::String>
124 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
125 template<
typename KmsKeyIdT = Aws::String>
135 template<
typename AttachmentsT = Aws::Vector<AwsEc2VolumeAttachment>>
136 void SetAttachments(AttachmentsT&& value) { m_attachmentsHasBeenSet =
true; m_attachments = std::forward<AttachmentsT>(value); }
137 template<
typename AttachmentsT = Aws::Vector<AwsEc2VolumeAttachment>>
139 template<
typename AttachmentsT = AwsEc2VolumeAttachment>
149 template<
typename VolumeIdT = Aws::String>
150 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
151 template<
typename VolumeIdT = Aws::String>
161 template<
typename VolumeTypeT = Aws::String>
162 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
163 template<
typename VolumeTypeT = Aws::String>
173 template<
typename VolumeScanStatusT = Aws::String>
174 void SetVolumeScanStatus(VolumeScanStatusT&& value) { m_volumeScanStatusHasBeenSet =
true; m_volumeScanStatus = std::forward<VolumeScanStatusT>(value); }
175 template<
typename VolumeScanStatusT = Aws::String>
181 bool m_createTimeHasBeenSet =
false;
184 bool m_deviceNameHasBeenSet =
false;
186 bool m_encrypted{
false};
187 bool m_encryptedHasBeenSet =
false;
190 bool m_sizeHasBeenSet =
false;
193 bool m_snapshotIdHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
199 bool m_kmsKeyIdHasBeenSet =
false;
202 bool m_attachmentsHasBeenSet =
false;
205 bool m_volumeIdHasBeenSet =
false;
208 bool m_volumeTypeHasBeenSet =
false;
211 bool m_volumeScanStatusHasBeenSet =
false;
bool AttachmentsHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2VolumeDetails(Aws::Utils::Json::JsonView jsonValue)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetVolumeId(VolumeIdT &&value)
AwsEc2VolumeDetails & WithEncrypted(bool value)
bool VolumeIdHasBeenSet() const
AwsEc2VolumeDetails & WithCreateTime(CreateTimeT &&value)
AwsEc2VolumeDetails & AddAttachments(AttachmentsT &&value)
const Aws::String & GetVolumeType() const
bool SizeHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
AWS_SECURITYHUB_API AwsEc2VolumeDetails()=default
AwsEc2VolumeDetails & WithVolumeScanStatus(VolumeScanStatusT &&value)
bool VolumeTypeHasBeenSet() const
void SetVolumeScanStatus(VolumeScanStatusT &&value)
AwsEc2VolumeDetails & WithVolumeId(VolumeIdT &&value)
AwsEc2VolumeDetails & WithSnapshotId(SnapshotIdT &&value)
AwsEc2VolumeDetails & WithDeviceName(DeviceNameT &&value)
AwsEc2VolumeDetails & WithSize(int value)
bool SnapshotIdHasBeenSet() const
const Aws::String & GetStatus() const
bool CreateTimeHasBeenSet() const
const Aws::String & GetCreateTime() const
const Aws::String & GetDeviceName() const
AwsEc2VolumeDetails & WithStatus(StatusT &&value)
void SetSnapshotId(SnapshotIdT &&value)
const Aws::Vector< AwsEc2VolumeAttachment > & GetAttachments() const
void SetAttachments(AttachmentsT &&value)
void SetEncrypted(bool value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetSnapshotId() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
AwsEc2VolumeDetails & WithKmsKeyId(KmsKeyIdT &&value)
AwsEc2VolumeDetails & WithVolumeType(VolumeTypeT &&value)
AWS_SECURITYHUB_API AwsEc2VolumeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(CreateTimeT &&value)
bool DeviceNameHasBeenSet() const
bool GetEncrypted() const
bool VolumeScanStatusHasBeenSet() const
void SetVolumeType(VolumeTypeT &&value)
AwsEc2VolumeDetails & WithAttachments(AttachmentsT &&value)
const Aws::String & GetVolumeScanStatus() const
void SetStatus(StatusT &&value)
bool EncryptedHasBeenSet() const
const Aws::String & GetVolumeId() const
void SetDeviceName(DeviceNameT &&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