7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename VolumeArnT = Aws::String>
47 void SetVolumeArn(VolumeArnT&& value) { m_volumeArnHasBeenSet =
true; m_volumeArn = std::forward<VolumeArnT>(value); }
48 template<
typename VolumeArnT = Aws::String>
58 template<
typename VolumeTypeT = Aws::String>
59 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
60 template<
typename VolumeTypeT = Aws::String>
70 template<
typename DeviceNameT = Aws::String>
71 void SetDeviceName(DeviceNameT&& value) { m_deviceNameHasBeenSet =
true; m_deviceName = std::forward<DeviceNameT>(value); }
72 template<
typename DeviceNameT = Aws::String>
82 inline void SetVolumeSizeInGB(
int value) { m_volumeSizeInGBHasBeenSet =
true; m_volumeSizeInGB = value; }
92 template<
typename EncryptionTypeT = Aws::String>
93 void SetEncryptionType(EncryptionTypeT&& value) { m_encryptionTypeHasBeenSet =
true; m_encryptionType = std::forward<EncryptionTypeT>(value); }
94 template<
typename EncryptionTypeT = Aws::String>
104 template<
typename SnapshotArnT = Aws::String>
105 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
106 template<
typename SnapshotArnT = Aws::String>
116 template<
typename KmsKeyArnT = Aws::String>
117 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
118 template<
typename KmsKeyArnT = Aws::String>
124 bool m_volumeArnHasBeenSet =
false;
127 bool m_volumeTypeHasBeenSet =
false;
130 bool m_deviceNameHasBeenSet =
false;
132 int m_volumeSizeInGB{0};
133 bool m_volumeSizeInGBHasBeenSet =
false;
136 bool m_encryptionTypeHasBeenSet =
false;
139 bool m_snapshotArnHasBeenSet =
false;
142 bool m_kmsKeyArnHasBeenSet =
false;
bool VolumeTypeHasBeenSet() const
VolumeDetail & WithEncryptionType(EncryptionTypeT &&value)
bool EncryptionTypeHasBeenSet() const
const Aws::String & GetDeviceName() const
AWS_GUARDDUTY_API VolumeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeDetail & WithVolumeArn(VolumeArnT &&value)
AWS_GUARDDUTY_API VolumeDetail()=default
VolumeDetail & WithDeviceName(DeviceNameT &&value)
VolumeDetail & WithSnapshotArn(SnapshotArnT &&value)
void SetVolumeType(VolumeTypeT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API VolumeDetail(Aws::Utils::Json::JsonView jsonValue)
bool SnapshotArnHasBeenSet() const
bool KmsKeyArnHasBeenSet() const
void SetDeviceName(DeviceNameT &&value)
const Aws::String & GetEncryptionType() const
int GetVolumeSizeInGB() const
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetVolumeArn(VolumeArnT &&value)
bool DeviceNameHasBeenSet() const
VolumeDetail & WithVolumeType(VolumeTypeT &&value)
const Aws::String & GetKmsKeyArn() const
const Aws::String & GetSnapshotArn() const
const Aws::String & GetVolumeType() const
const Aws::String & GetVolumeArn() const
bool VolumeArnHasBeenSet() const
void SetEncryptionType(EncryptionTypeT &&value)
VolumeDetail & WithKmsKeyArn(KmsKeyArnT &&value)
bool VolumeSizeInGBHasBeenSet() const
void SetSnapshotArn(SnapshotArnT &&value)
void SetVolumeSizeInGB(int value)
VolumeDetail & WithVolumeSizeInGB(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue