7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/VolumeType.h>
52 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
64 inline int GetIops()
const{
return m_iops; }
66 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
77 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
106 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
112 bool m_snapshotIdHasBeenSet =
false;
115 bool m_iopsHasBeenSet =
false;
118 bool m_volumeSizeHasBeenSet =
false;
121 bool m_volumeTypeHasBeenSet =
false;
123 bool m_deleteOnTermination;
124 bool m_deleteOnTerminationHasBeenSet =
false;
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
EbsBlockDevice & WithSnapshotId(const char *value)
bool SnapshotIdHasBeenSet() const
bool GetDeleteOnTermination() const
void SetSnapshotId(const char *value)
bool VolumeSizeHasBeenSet() const
void SetVolumeType(const VolumeType &value)
const Aws::String & GetSnapshotId() const
const VolumeType & GetVolumeType() const
int GetVolumeSize() const
void SetSnapshotId(const Aws::String &value)
void SetVolumeSize(int value)
bool IopsHasBeenSet() const
void SetDeleteOnTermination(bool value)
EbsBlockDevice & WithVolumeSize(int value)
EbsBlockDevice & WithSnapshotId(const Aws::String &value)
AWS_OPSWORKS_API EbsBlockDevice(Aws::Utils::Json::JsonView jsonValue)
EbsBlockDevice & WithDeleteOnTermination(bool value)
EbsBlockDevice & WithIops(int value)
AWS_OPSWORKS_API EbsBlockDevice()
EbsBlockDevice & WithVolumeType(const VolumeType &value)
void SetSnapshotId(Aws::String &&value)
EbsBlockDevice & WithVolumeType(VolumeType &&value)
void SetVolumeType(VolumeType &&value)
EbsBlockDevice & WithSnapshotId(Aws::String &&value)
bool VolumeTypeHasBeenSet() const
AWS_OPSWORKS_API EbsBlockDevice & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DeleteOnTerminationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue