7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEc2VolumeAttachment.h>
44 template <
typename CreateTimeT = Aws::String>
46 m_createTimeHasBeenSet =
true;
47 m_createTime = std::forward<CreateTimeT>(value);
49 template <
typename CreateTimeT = Aws::String>
62 template <
typename DeviceNameT = Aws::String>
64 m_deviceNameHasBeenSet =
true;
65 m_deviceName = std::forward<DeviceNameT>(value);
67 template <
typename DeviceNameT = Aws::String>
81 m_encryptedHasBeenSet =
true;
94 inline int GetSize()
const {
return m_size; }
97 m_sizeHasBeenSet =
true;
112 template <
typename SnapshotIdT = Aws::String>
114 m_snapshotIdHasBeenSet =
true;
115 m_snapshotId = std::forward<SnapshotIdT>(value);
117 template <
typename SnapshotIdT = Aws::String>
134 template <
typename StatusT = Aws::String>
136 m_statusHasBeenSet =
true;
137 m_status = std::forward<StatusT>(value);
139 template <
typename StatusT = Aws::String>
153 template <
typename KmsKeyIdT = Aws::String>
155 m_kmsKeyIdHasBeenSet =
true;
156 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
158 template <
typename KmsKeyIdT = Aws::String>
171 template <
typename AttachmentsT = Aws::Vector<AwsEc2VolumeAttachment>>
173 m_attachmentsHasBeenSet =
true;
174 m_attachments = std::forward<AttachmentsT>(value);
176 template <
typename AttachmentsT = Aws::Vector<AwsEc2VolumeAttachment>>
181 template <
typename AttachmentsT = AwsEc2VolumeAttachment>
183 m_attachmentsHasBeenSet =
true;
184 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
195 template <
typename VolumeIdT = Aws::String>
197 m_volumeIdHasBeenSet =
true;
198 m_volumeId = std::forward<VolumeIdT>(value);
200 template <
typename VolumeIdT = Aws::String>
213 template <
typename VolumeTypeT = Aws::String>
215 m_volumeTypeHasBeenSet =
true;
216 m_volumeType = std::forward<VolumeTypeT>(value);
218 template <
typename VolumeTypeT = Aws::String>
231 template <
typename VolumeScanStatusT = Aws::String>
233 m_volumeScanStatusHasBeenSet =
true;
234 m_volumeScanStatus = std::forward<VolumeScanStatusT>(value);
236 template <
typename VolumeScanStatusT = Aws::String>
247 bool m_encrypted{
false};
264 bool m_createTimeHasBeenSet =
false;
265 bool m_deviceNameHasBeenSet =
false;
266 bool m_encryptedHasBeenSet =
false;
267 bool m_sizeHasBeenSet =
false;
268 bool m_snapshotIdHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
270 bool m_kmsKeyIdHasBeenSet =
false;
271 bool m_attachmentsHasBeenSet =
false;
272 bool m_volumeIdHasBeenSet =
false;
273 bool m_volumeTypeHasBeenSet =
false;
274 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