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/VolumeState.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_volumeTypeHasBeenSet =
true;
82 m_stateHasBeenSet =
true;
95 inline int GetSize()
const {
return m_size; }
98 m_sizeHasBeenSet =
true;
114 m_iopsHasBeenSet =
true;
130 m_throughputHasBeenSet =
true;
131 m_throughput = value;
148 template <
typename OutpostArnT = Aws::String>
150 m_outpostArnHasBeenSet =
true;
151 m_outpostArn = std::forward<OutpostArnT>(value);
153 template <
typename OutpostArnT = Aws::String>
166 template <
typename AvailabilityZoneT = Aws::String>
168 m_availabilityZoneHasBeenSet =
true;
169 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
171 template <
typename AvailabilityZoneT = Aws::String>
184 template <
typename AvailabilityZoneIdT = Aws::String>
186 m_availabilityZoneIdHasBeenSet =
true;
187 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
189 template <
typename AvailabilityZoneIdT = Aws::String>
202 template <
typename SourceVolumeIdT = Aws::String>
204 m_sourceVolumeIdHasBeenSet =
true;
205 m_sourceVolumeId = std::forward<SourceVolumeIdT>(value);
207 template <
typename SourceVolumeIdT = Aws::String>
220 template <
typename SnapshotIdT = Aws::String>
222 m_snapshotIdHasBeenSet =
true;
223 m_snapshotId = std::forward<SnapshotIdT>(value);
225 template <
typename SnapshotIdT = Aws::String>
238 template <
typename OperatorT = OperatorResponse>
240 m_operatorHasBeenSet =
true;
241 m_operator = std::forward<OperatorT>(value);
243 template <
typename OperatorT = OperatorResponse>
256 template <
typename CreateTimeT = Aws::Utils::DateTime>
258 m_createTimeHasBeenSet =
true;
259 m_createTime = std::forward<CreateTimeT>(value);
261 template <
typename CreateTimeT = Aws::Utils::DateTime>
274 template <
typename RecycleBinEnterTimeT = Aws::Utils::DateTime>
276 m_recycleBinEnterTimeHasBeenSet =
true;
277 m_recycleBinEnterTime = std::forward<RecycleBinEnterTimeT>(value);
279 template <
typename RecycleBinEnterTimeT = Aws::Utils::DateTime>
293 template <
typename RecycleBinExitTimeT = Aws::Utils::DateTime>
295 m_recycleBinExitTimeHasBeenSet =
true;
296 m_recycleBinExitTime = std::forward<RecycleBinExitTimeT>(value);
298 template <
typename RecycleBinExitTimeT = Aws::Utils::DateTime>
327 OperatorResponse m_operator;
334 bool m_volumeIdHasBeenSet =
false;
335 bool m_volumeTypeHasBeenSet =
false;
336 bool m_stateHasBeenSet =
false;
337 bool m_sizeHasBeenSet =
false;
338 bool m_iopsHasBeenSet =
false;
339 bool m_throughputHasBeenSet =
false;
340 bool m_outpostArnHasBeenSet =
false;
341 bool m_availabilityZoneHasBeenSet =
false;
342 bool m_availabilityZoneIdHasBeenSet =
false;
343 bool m_sourceVolumeIdHasBeenSet =
false;
344 bool m_snapshotIdHasBeenSet =
false;
345 bool m_operatorHasBeenSet =
false;
346 bool m_createTimeHasBeenSet =
false;
347 bool m_recycleBinEnterTimeHasBeenSet =
false;
348 bool m_recycleBinExitTimeHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetOperator(OperatorT &&value)
AWS_EC2_API VolumeRecycleBinInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VolumeRecycleBinInfo & WithSnapshotId(SnapshotIdT &&value)
const Aws::Utils::DateTime & GetRecycleBinEnterTime() const
int GetThroughput() const
void SetSourceVolumeId(SourceVolumeIdT &&value)
VolumeRecycleBinInfo & WithState(VolumeState value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
VolumeRecycleBinInfo & WithRecycleBinExitTime(RecycleBinExitTimeT &&value)
VolumeRecycleBinInfo & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool RecycleBinExitTimeHasBeenSet() const
void SetOutpostArn(OutpostArnT &&value)
AWS_EC2_API VolumeRecycleBinInfo()=default
const OperatorResponse & GetOperator() const
VolumeRecycleBinInfo & WithVolumeType(VolumeType value)
VolumeRecycleBinInfo & WithRecycleBinEnterTime(RecycleBinEnterTimeT &&value)
VolumeRecycleBinInfo & WithSize(int value)
bool SourceVolumeIdHasBeenSet() const
const Aws::String & GetSourceVolumeId() const
void SetRecycleBinEnterTime(RecycleBinEnterTimeT &&value)
bool IopsHasBeenSet() const
VolumeType GetVolumeType() const
VolumeState GetState() const
void SetVolumeType(VolumeType value)
VolumeRecycleBinInfo & WithAvailabilityZone(AvailabilityZoneT &&value)
bool ThroughputHasBeenSet() const
const Aws::String & GetVolumeId() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
const Aws::String & GetAvailabilityZone() const
bool CreateTimeHasBeenSet() const
void SetSnapshotId(SnapshotIdT &&value)
const Aws::String & GetOutpostArn() const
bool VolumeTypeHasBeenSet() const
bool SizeHasBeenSet() const
bool VolumeIdHasBeenSet() const
bool OutpostArnHasBeenSet() const
bool OperatorHasBeenSet() const
VolumeRecycleBinInfo & WithCreateTime(CreateTimeT &&value)
VolumeRecycleBinInfo & WithIops(int value)
const Aws::String & GetAvailabilityZoneId() const
void SetVolumeId(VolumeIdT &&value)
bool AvailabilityZoneIdHasBeenSet() const
VolumeRecycleBinInfo & WithThroughput(int value)
void SetThroughput(int value)
void SetState(VolumeState value)
void SetCreateTime(CreateTimeT &&value)
bool StateHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetRecycleBinExitTime() const
void SetRecycleBinExitTime(RecycleBinExitTimeT &&value)
const Aws::String & GetSnapshotId() const
VolumeRecycleBinInfo & WithVolumeId(VolumeIdT &&value)
bool RecycleBinEnterTimeHasBeenSet() const
bool SnapshotIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
VolumeRecycleBinInfo & WithSourceVolumeId(SourceVolumeIdT &&value)
VolumeRecycleBinInfo & WithOutpostArn(OutpostArnT &&value)
VolumeRecycleBinInfo & WithOperator(OperatorT &&value)
AWS_EC2_API VolumeRecycleBinInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream