7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetDeleteOnTermination(
bool value) { m_deleteOnTerminationHasBeenSet =
true; m_deleteOnTermination = value; }
60 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
69 inline int GetIops()
const{
return m_iops; }
71 inline void SetIops(
int value) { m_iopsHasBeenSet =
true; m_iops = value; }
83 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
97 inline void SetVolumeSize(
int value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
109 inline void SetVolumeType(
const char* value) { m_volumeTypeHasBeenSet =
true; m_volumeType.assign(value); }
116 bool m_deleteOnTermination;
117 bool m_deleteOnTerminationHasBeenSet =
false;
120 bool m_encryptedHasBeenSet =
false;
123 bool m_iopsHasBeenSet =
false;
126 bool m_snapshotIdHasBeenSet =
false;
129 bool m_volumeSizeHasBeenSet =
false;
132 bool m_volumeTypeHasBeenSet =
false;
const Aws::String & GetSnapshotId() const
bool IopsHasBeenSet() const
bool VolumeSizeHasBeenSet() const
void SetDeleteOnTermination(bool value)
const Aws::String & GetVolumeType() const
bool DeleteOnTerminationHasBeenSet() const
ScheduledInstancesEbs & WithSnapshotId(const char *value)
bool GetEncrypted() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ScheduledInstancesEbs & WithSnapshotId(const Aws::String &value)
ScheduledInstancesEbs & WithVolumeSize(int value)
AWS_EC2_API ScheduledInstancesEbs(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotId(Aws::String &&value)
ScheduledInstancesEbs & WithSnapshotId(Aws::String &&value)
void SetVolumeSize(int value)
AWS_EC2_API ScheduledInstancesEbs()
AWS_EC2_API ScheduledInstancesEbs & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotId(const Aws::String &value)
int GetVolumeSize() const
ScheduledInstancesEbs & WithEncrypted(bool value)
ScheduledInstancesEbs & WithVolumeType(const char *value)
ScheduledInstancesEbs & WithIops(int value)
ScheduledInstancesEbs & WithDeleteOnTermination(bool value)
ScheduledInstancesEbs & WithVolumeType(Aws::String &&value)
bool SnapshotIdHasBeenSet() const
bool GetDeleteOnTermination() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVolumeType(Aws::String &&value)
void SetVolumeType(const char *value)
void SetSnapshotId(const char *value)
void SetEncrypted(bool value)
void SetVolumeType(const Aws::String &value)
ScheduledInstancesEbs & WithVolumeType(const Aws::String &value)
bool EncryptedHasBeenSet() const
bool VolumeTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream