7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
35 AWS_AUTOSCALING_API
Ebs() =
default;
50 template<
typename SnapshotIdT = Aws::String>
51 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
52 template<
typename SnapshotIdT = Aws::String>
69 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
83 template<
typename VolumeTypeT = Aws::String>
84 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
85 template<
typename VolumeTypeT = Aws::String>
96 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
120 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
145 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
155 inline void SetThroughput(
int value) { m_throughputHasBeenSet =
true; m_throughput = value; }
161 bool m_snapshotIdHasBeenSet =
false;
164 bool m_volumeSizeHasBeenSet =
false;
167 bool m_volumeTypeHasBeenSet =
false;
169 bool m_deleteOnTermination{
false};
170 bool m_deleteOnTerminationHasBeenSet =
false;
173 bool m_iopsHasBeenSet =
false;
175 bool m_encrypted{
false};
176 bool m_encryptedHasBeenSet =
false;
179 bool m_throughputHasBeenSet =
false;
bool SnapshotIdHasBeenSet() const
const Aws::String & GetSnapshotId() const
int GetThroughput() const
bool VolumeTypeHasBeenSet() const
bool ThroughputHasBeenSet() const
Ebs & WithEncrypted(bool value)
AWS_AUTOSCALING_API Ebs()=default
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Ebs & WithThroughput(int value)
void SetSnapshotId(SnapshotIdT &&value)
AWS_AUTOSCALING_API Ebs(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVolumeType(VolumeTypeT &&value)
int GetVolumeSize() const
Ebs & WithVolumeType(VolumeTypeT &&value)
Ebs & WithDeleteOnTermination(bool value)
bool GetDeleteOnTermination() const
bool EncryptedHasBeenSet() const
void SetVolumeSize(int value)
AWS_AUTOSCALING_API Ebs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Ebs & WithVolumeSize(int value)
bool VolumeSizeHasBeenSet() const
Ebs & WithSnapshotId(SnapshotIdT &&value)
void SetEncrypted(bool value)
bool DeleteOnTerminationHasBeenSet() const
bool GetEncrypted() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDeleteOnTermination(bool value)
bool IopsHasBeenSet() const
Ebs & WithIops(int value)
const Aws::String & GetVolumeType() const
void SetThroughput(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream