7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename MountPo
intT = Aws::String>
47 void SetMountPoint(MountPointT&& value) { m_mountPointHasBeenSet =
true; m_mountPoint = std::forward<MountPointT>(value); }
48 template<
typename MountPo
intT = Aws::String>
59 inline void SetRaidLevel(
int value) { m_raidLevelHasBeenSet =
true; m_raidLevel = value; }
69 inline void SetNumberOfDisks(
int value) { m_numberOfDisksHasBeenSet =
true; m_numberOfDisks = value; }
77 inline int GetSize()
const {
return m_size; }
79 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
100 template<
typename VolumeTypeT = Aws::String>
101 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
102 template<
typename VolumeTypeT = Aws::String>
112 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
125 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
131 bool m_mountPointHasBeenSet =
false;
134 bool m_raidLevelHasBeenSet =
false;
136 int m_numberOfDisks{0};
137 bool m_numberOfDisksHasBeenSet =
false;
140 bool m_sizeHasBeenSet =
false;
143 bool m_volumeTypeHasBeenSet =
false;
146 bool m_iopsHasBeenSet =
false;
148 bool m_encrypted{
false};
149 bool m_encryptedHasBeenSet =
false;
VolumeConfiguration & WithSize(int value)
bool IopsHasBeenSet() const
VolumeConfiguration & WithNumberOfDisks(int value)
VolumeConfiguration & WithIops(int value)
const Aws::String & GetVolumeType() const
void SetRaidLevel(int value)
const Aws::String & GetMountPoint() const
bool SizeHasBeenSet() const
AWS_OPSWORKS_API VolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeType(VolumeTypeT &&value)
AWS_OPSWORKS_API VolumeConfiguration()=default
void SetEncrypted(bool value)
VolumeConfiguration & WithMountPoint(MountPointT &&value)
void SetMountPoint(MountPointT &&value)
bool RaidLevelHasBeenSet() const
bool EncryptedHasBeenSet() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
bool VolumeTypeHasBeenSet() const
VolumeConfiguration & WithEncrypted(bool value)
int GetNumberOfDisks() const
bool NumberOfDisksHasBeenSet() const
AWS_OPSWORKS_API VolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeConfiguration & WithRaidLevel(int value)
bool MountPointHasBeenSet() const
void SetNumberOfDisks(int value)
bool GetEncrypted() const
VolumeConfiguration & WithVolumeType(VolumeTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue