7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/OperatorResponse.h>
12#include <aws/ec2/model/VolumeModificationState.h>
13#include <aws/ec2/model/VolumeType.h>
47 template <
typename VolumeIdT = Aws::String>
49 m_volumeIdHasBeenSet =
true;
50 m_volumeId = std::forward<VolumeIdT>(value);
52 template <
typename VolumeIdT = Aws::String>
66 m_modificationStateHasBeenSet =
true;
67 m_modificationState = value;
81 template <
typename StatusMessageT = Aws::String>
83 m_statusMessageHasBeenSet =
true;
84 m_statusMessage = std::forward<StatusMessageT>(value);
86 template <
typename StatusMessageT = Aws::String>
100 m_targetSizeHasBeenSet =
true;
101 m_targetSize = value;
116 m_targetIopsHasBeenSet =
true;
117 m_targetIops = value;
132 m_targetVolumeTypeHasBeenSet =
true;
133 m_targetVolumeType = value;
148 m_targetThroughputHasBeenSet =
true;
149 m_targetThroughput = value;
164 m_targetMultiAttachEnabledHasBeenSet =
true;
165 m_targetMultiAttachEnabled = value;
180 m_originalSizeHasBeenSet =
true;
181 m_originalSize = value;
196 m_originalIopsHasBeenSet =
true;
197 m_originalIops = value;
212 m_originalVolumeTypeHasBeenSet =
true;
213 m_originalVolumeType = value;
228 m_originalThroughputHasBeenSet =
true;
229 m_originalThroughput = value;
244 m_originalMultiAttachEnabledHasBeenSet =
true;
245 m_originalMultiAttachEnabled = value;
260 m_progressHasBeenSet =
true;
275 template <
typename StartTimeT = Aws::Utils::DateTime>
277 m_startTimeHasBeenSet =
true;
278 m_startTime = std::forward<StartTimeT>(value);
280 template <
typename StartTimeT = Aws::Utils::DateTime>
293 template <
typename EndTimeT = Aws::Utils::DateTime>
295 m_endTimeHasBeenSet =
true;
296 m_endTime = std::forward<EndTimeT>(value);
298 template <
typename EndTimeT = Aws::Utils::DateTime>
309 template <
typename OperatorT = OperatorResponse>
311 m_operatorHasBeenSet =
true;
312 m_operator = std::forward<OperatorT>(value);
314 template <
typename OperatorT = OperatorResponse>
333 int m_targetThroughput{0};
335 bool m_targetMultiAttachEnabled{
false};
337 int m_originalSize{0};
339 int m_originalIops{0};
343 int m_originalThroughput{0};
345 bool m_originalMultiAttachEnabled{
false};
347 long long m_progress{0};
353 OperatorResponse m_operator;
354 bool m_volumeIdHasBeenSet =
false;
355 bool m_modificationStateHasBeenSet =
false;
356 bool m_statusMessageHasBeenSet =
false;
357 bool m_targetSizeHasBeenSet =
false;
358 bool m_targetIopsHasBeenSet =
false;
359 bool m_targetVolumeTypeHasBeenSet =
false;
360 bool m_targetThroughputHasBeenSet =
false;
361 bool m_targetMultiAttachEnabledHasBeenSet =
false;
362 bool m_originalSizeHasBeenSet =
false;
363 bool m_originalIopsHasBeenSet =
false;
364 bool m_originalVolumeTypeHasBeenSet =
false;
365 bool m_originalThroughputHasBeenSet =
false;
366 bool m_originalMultiAttachEnabledHasBeenSet =
false;
367 bool m_progressHasBeenSet =
false;
368 bool m_startTimeHasBeenSet =
false;
369 bool m_endTimeHasBeenSet =
false;
370 bool m_operatorHasBeenSet =
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 & WithOperator(OperatorT &&value)
VolumeModification & WithTargetIops(int value)
VolumeModification & WithModificationState(VolumeModificationState value)
VolumeModification & WithTargetSize(int value)
VolumeModification & WithOriginalSize(int value)
void SetTargetIops(int value)
void SetStatusMessage(StatusMessageT &&value)
bool OperatorHasBeenSet() const
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)
const OperatorResponse & GetOperator() const
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 SetOperator(OperatorT &&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