7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetMountPoint(
const char* value) { m_mountPointHasBeenSet =
true; m_mountPoint.assign(value); }
61 inline void SetRaidLevel(
int value) { m_raidLevelHasBeenSet =
true; m_raidLevel = value; }
71 inline void SetNumberOfDisks(
int value) { m_numberOfDisksHasBeenSet =
true; m_numberOfDisks = value; }
79 inline int GetSize()
const{
return m_size; }
81 inline void SetSize(
int value) { m_sizeHasBeenSet =
true; m_size = value; }
104 inline void SetVolumeType(
const char* value) { m_volumeTypeHasBeenSet =
true; m_volumeType.assign(value); }
116 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
129 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
135 bool m_mountPointHasBeenSet =
false;
138 bool m_raidLevelHasBeenSet =
false;
141 bool m_numberOfDisksHasBeenSet =
false;
144 bool m_sizeHasBeenSet =
false;
147 bool m_volumeTypeHasBeenSet =
false;
150 bool m_iopsHasBeenSet =
false;
153 bool m_encryptedHasBeenSet =
false;
VolumeConfiguration & WithSize(int value)
VolumeConfiguration & WithMountPoint(const char *value)
VolumeConfiguration & WithMountPoint(const Aws::String &value)
bool IopsHasBeenSet() const
VolumeConfiguration & WithVolumeType(const char *value)
VolumeConfiguration & WithNumberOfDisks(int value)
VolumeConfiguration & WithMountPoint(Aws::String &&value)
void SetVolumeType(Aws::String &&value)
void SetMountPoint(const Aws::String &value)
VolumeConfiguration & WithIops(int value)
const Aws::String & GetVolumeType() const
void SetMountPoint(const char *value)
void SetRaidLevel(int value)
const Aws::String & GetMountPoint() const
bool SizeHasBeenSet() const
void SetVolumeType(const Aws::String &value)
AWS_OPSWORKS_API VolumeConfiguration(Aws::Utils::Json::JsonView jsonValue)
VolumeConfiguration & WithVolumeType(const Aws::String &value)
void SetEncrypted(bool 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
VolumeConfiguration & WithVolumeType(Aws::String &&value)
bool NumberOfDisksHasBeenSet() const
AWS_OPSWORKS_API VolumeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeConfiguration & WithRaidLevel(int value)
bool MountPointHasBeenSet() const
void SetNumberOfDisks(int value)
void SetMountPoint(Aws::String &&value)
void SetVolumeType(const char *value)
bool GetEncrypted() const
AWS_OPSWORKS_API VolumeConfiguration()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue