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>
10#include <aws/ec2/model/VolumeModificationState.h>
11#include <aws/ec2/model/VolumeType.h>
12#include <aws/core/utils/DateTime.h>
54 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
80 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
92 inline void SetTargetSize(
int value) { m_targetSizeHasBeenSet =
true; m_targetSize = value; }
102 inline void SetTargetIops(
int value) { m_targetIopsHasBeenSet =
true; m_targetIops = value; }
124 inline void SetTargetThroughput(
int value) { m_targetThroughputHasBeenSet =
true; m_targetThroughput = value; }
144 inline void SetOriginalSize(
int value) { m_originalSizeHasBeenSet =
true; m_originalSize = value; }
154 inline void SetOriginalIops(
int value) { m_originalIopsHasBeenSet =
true; m_originalIops = value; }
176 inline void SetOriginalThroughput(
int value) { m_originalThroughputHasBeenSet =
true; m_originalThroughput = value; }
196 inline void SetProgress(
long long value) { m_progressHasBeenSet =
true; m_progress = value; }
226 bool m_volumeIdHasBeenSet =
false;
229 bool m_modificationStateHasBeenSet =
false;
232 bool m_statusMessageHasBeenSet =
false;
235 bool m_targetSizeHasBeenSet =
false;
238 bool m_targetIopsHasBeenSet =
false;
241 bool m_targetVolumeTypeHasBeenSet =
false;
243 int m_targetThroughput;
244 bool m_targetThroughputHasBeenSet =
false;
246 bool m_targetMultiAttachEnabled;
247 bool m_targetMultiAttachEnabledHasBeenSet =
false;
250 bool m_originalSizeHasBeenSet =
false;
253 bool m_originalIopsHasBeenSet =
false;
256 bool m_originalVolumeTypeHasBeenSet =
false;
258 int m_originalThroughput;
259 bool m_originalThroughputHasBeenSet =
false;
261 bool m_originalMultiAttachEnabled;
262 bool m_originalMultiAttachEnabledHasBeenSet =
false;
264 long long m_progress;
265 bool m_progressHasBeenSet =
false;
268 bool m_startTimeHasBeenSet =
false;
271 bool m_endTimeHasBeenSet =
false;
VolumeModification & WithOriginalThroughput(int value)
void SetStatusMessage(const char *value)
bool OriginalSizeHasBeenSet() const
VolumeModification & WithOriginalMultiAttachEnabled(bool value)
void SetTargetThroughput(int value)
VolumeModification & WithTargetThroughput(int value)
void SetEndTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusMessage() const
void SetVolumeId(Aws::String &&value)
void SetOriginalVolumeType(const VolumeType &value)
int GetTargetThroughput() const
void SetOriginalMultiAttachEnabled(bool value)
bool VolumeIdHasBeenSet() const
bool OriginalMultiAttachEnabledHasBeenSet() const
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
VolumeModification & WithStatusMessage(Aws::String &&value)
VolumeModification & WithTargetIops(int value)
VolumeModification & WithModificationState(const VolumeModificationState &value)
VolumeModification & WithTargetSize(int value)
VolumeModification & WithStatusMessage(const Aws::String &value)
VolumeModification & WithOriginalSize(int value)
void SetTargetIops(int value)
void SetVolumeId(const char *value)
int GetOriginalIops() const
long long GetProgress() const
VolumeModification & WithTargetVolumeType(VolumeType &&value)
void SetModificationState(VolumeModificationState &&value)
VolumeModification & WithTargetVolumeType(const VolumeType &value)
AWS_EC2_API VolumeModification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeModification & WithStartTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
int GetOriginalThroughput() const
AWS_EC2_API VolumeModification()
bool OriginalThroughputHasBeenSet() const
bool GetTargetMultiAttachEnabled() const
VolumeModification & WithVolumeId(const char *value)
void SetTargetSize(int value)
VolumeModification & WithStartTime(const Aws::Utils::DateTime &value)
VolumeModification & WithOriginalIops(int value)
VolumeModification & WithProgress(long long value)
VolumeModification & WithModificationState(VolumeModificationState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OriginalIopsHasBeenSet() const
bool ProgressHasBeenSet() const
bool GetOriginalMultiAttachEnabled() const
VolumeModification & WithVolumeId(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
bool TargetThroughputHasBeenSet() const
bool TargetMultiAttachEnabledHasBeenSet() const
VolumeModification & WithVolumeId(Aws::String &&value)
int GetTargetSize() const
void SetTargetMultiAttachEnabled(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOriginalVolumeType(VolumeType &&value)
VolumeModification & WithEndTime(const Aws::Utils::DateTime &value)
void SetProgress(long long value)
const VolumeModificationState & GetModificationState() const
bool TargetVolumeTypeHasBeenSet() const
bool TargetSizeHasBeenSet() const
int GetTargetIops() const
bool StatusMessageHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
const VolumeType & GetTargetVolumeType() const
void SetModificationState(const VolumeModificationState &value)
void SetTargetVolumeType(const VolumeType &value)
VolumeModification & WithTargetMultiAttachEnabled(bool value)
void SetVolumeId(const Aws::String &value)
VolumeModification & WithEndTime(Aws::Utils::DateTime &&value)
VolumeModification & WithOriginalVolumeType(VolumeType &&value)
const VolumeType & GetOriginalVolumeType() const
bool StartTimeHasBeenSet() const
AWS_EC2_API VolumeModification(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatusMessage(Aws::String &&value)
VolumeModification & WithStatusMessage(const char *value)
const Aws::String & GetVolumeId() const
int GetOriginalSize() const
bool TargetIopsHasBeenSet() const
bool ModificationStateHasBeenSet() const
bool OriginalVolumeTypeHasBeenSet() const
void SetTargetVolumeType(VolumeType &&value)
void SetOriginalThroughput(int value)
void SetOriginalIops(int value)
void SetStatusMessage(const Aws::String &value)
void SetOriginalSize(int value)
VolumeModification & WithOriginalVolumeType(const VolumeType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream