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>
52 template<
typename VolumeIdT = Aws::String>
53 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
54 template<
typename VolumeIdT = Aws::String>
74 template<
typename StatusMessageT = Aws::String>
75 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
76 template<
typename StatusMessageT = Aws::String>
86 inline void SetTargetSize(
int value) { m_targetSizeHasBeenSet =
true; m_targetSize = value; }
96 inline void SetTargetIops(
int value) { m_targetIopsHasBeenSet =
true; m_targetIops = value; }
116 inline void SetTargetThroughput(
int value) { m_targetThroughputHasBeenSet =
true; m_targetThroughput = value; }
136 inline void SetOriginalSize(
int value) { m_originalSizeHasBeenSet =
true; m_originalSize = value; }
146 inline void SetOriginalIops(
int value) { m_originalIopsHasBeenSet =
true; m_originalIops = value; }
166 inline void SetOriginalThroughput(
int value) { m_originalThroughputHasBeenSet =
true; m_originalThroughput = value; }
186 inline void SetProgress(
long long value) { m_progressHasBeenSet =
true; m_progress = value; }
196 template<
typename StartTimeT = Aws::Utils::DateTime>
197 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
198 template<
typename StartTimeT = Aws::Utils::DateTime>
208 template<
typename EndTimeT = Aws::Utils::DateTime>
209 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
210 template<
typename EndTimeT = Aws::Utils::DateTime>
216 bool m_volumeIdHasBeenSet =
false;
219 bool m_modificationStateHasBeenSet =
false;
222 bool m_statusMessageHasBeenSet =
false;
225 bool m_targetSizeHasBeenSet =
false;
228 bool m_targetIopsHasBeenSet =
false;
231 bool m_targetVolumeTypeHasBeenSet =
false;
233 int m_targetThroughput{0};
234 bool m_targetThroughputHasBeenSet =
false;
236 bool m_targetMultiAttachEnabled{
false};
237 bool m_targetMultiAttachEnabledHasBeenSet =
false;
239 int m_originalSize{0};
240 bool m_originalSizeHasBeenSet =
false;
242 int m_originalIops{0};
243 bool m_originalIopsHasBeenSet =
false;
246 bool m_originalVolumeTypeHasBeenSet =
false;
248 int m_originalThroughput{0};
249 bool m_originalThroughputHasBeenSet =
false;
251 bool m_originalMultiAttachEnabled{
false};
252 bool m_originalMultiAttachEnabledHasBeenSet =
false;
254 long long m_progress{0};
255 bool m_progressHasBeenSet =
false;
258 bool m_startTimeHasBeenSet =
false;
261 bool m_endTimeHasBeenSet =
false;
VolumeModification & WithOriginalThroughput(int value)
bool OriginalSizeHasBeenSet() const
VolumeModification & WithOriginalMultiAttachEnabled(bool value)
void SetTargetThroughput(int value)
VolumeModification & WithTargetThroughput(int value)
VolumeModification & WithTargetVolumeType(VolumeType value)
const Aws::String & GetStatusMessage() const
void SetTargetVolumeType(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 & WithTargetIops(int value)
VolumeModification & WithModificationState(VolumeModificationState value)
VolumeModification & WithTargetSize(int value)
VolumeModification & WithOriginalSize(int value)
void SetTargetIops(int value)
void SetStatusMessage(StatusMessageT &&value)
AWS_EC2_API VolumeModification()=default
VolumeModification & WithOriginalVolumeType(VolumeType value)
int GetOriginalIops() const
long long GetProgress() const
void SetModificationState(VolumeModificationState value)
AWS_EC2_API VolumeModification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStartTime(StartTimeT &&value)
void SetEndTime(EndTimeT &&value)
int GetOriginalThroughput() const
bool OriginalThroughputHasBeenSet() const
bool GetTargetMultiAttachEnabled() const
void SetTargetSize(int value)
VolumeModification & WithStatusMessage(StatusMessageT &&value)
VolumeType GetOriginalVolumeType() const
VolumeModification & WithOriginalIops(int value)
VolumeModification & WithProgress(long long value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VolumeModificationState GetModificationState() const
bool OriginalIopsHasBeenSet() const
bool ProgressHasBeenSet() const
bool GetOriginalMultiAttachEnabled() const
VolumeModification & WithEndTime(EndTimeT &&value)
bool TargetThroughputHasBeenSet() const
bool TargetMultiAttachEnabledHasBeenSet() const
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 SetProgress(long long value)
bool TargetVolumeTypeHasBeenSet() const
bool TargetSizeHasBeenSet() const
int GetTargetIops() const
bool StatusMessageHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
void SetVolumeId(VolumeIdT &&value)
VolumeModification & WithTargetMultiAttachEnabled(bool value)
VolumeModification & WithVolumeId(VolumeIdT &&value)
VolumeType GetTargetVolumeType() const
bool StartTimeHasBeenSet() const
AWS_EC2_API VolumeModification(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOriginalVolumeType(VolumeType value)
const Aws::String & GetVolumeId() const
int GetOriginalSize() const
bool TargetIopsHasBeenSet() const
bool ModificationStateHasBeenSet() const
bool OriginalVolumeTypeHasBeenSet() const
void SetOriginalThroughput(int value)
VolumeModification & WithStartTime(StartTimeT &&value)
void SetOriginalIops(int value)
void SetOriginalSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream