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>
19namespace AutoScaling {
30 AWS_AUTOSCALING_API
Ebs() =
default;
44 template <
typename SnapshotIdT = Aws::String>
46 m_snapshotIdHasBeenSet =
true;
47 m_snapshotId = std::forward<SnapshotIdT>(value);
49 template <
typename SnapshotIdT = Aws::String>
70 m_volumeSizeHasBeenSet =
true;
89 template <
typename VolumeTypeT = Aws::String>
91 m_volumeTypeHasBeenSet =
true;
92 m_volumeType = std::forward<VolumeTypeT>(value);
94 template <
typename VolumeTypeT = Aws::String>
109 m_deleteOnTerminationHasBeenSet =
true;
110 m_deleteOnTermination = value;
139 m_iopsHasBeenSet =
true;
170 m_encryptedHasBeenSet =
true;
186 m_throughputHasBeenSet =
true;
187 m_throughput = value;
201 bool m_deleteOnTermination{
false};
205 bool m_encrypted{
false};
208 bool m_snapshotIdHasBeenSet =
false;
209 bool m_volumeSizeHasBeenSet =
false;
210 bool m_volumeTypeHasBeenSet =
false;
211 bool m_deleteOnTerminationHasBeenSet =
false;
212 bool m_iopsHasBeenSet =
false;
213 bool m_encryptedHasBeenSet =
false;
214 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