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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/SnapshotState.h>
13#include <aws/ec2/model/StorageTier.h>
14#include <aws/ec2/model/Tag.h>
15#include <aws/ec2/model/TieringOperationStatus.h>
49 template <
typename SnapshotIdT = Aws::String>
51 m_snapshotIdHasBeenSet =
true;
52 m_snapshotId = std::forward<SnapshotIdT>(value);
54 template <
typename SnapshotIdT = Aws::String>
67 template <
typename VolumeIdT = Aws::String>
69 m_volumeIdHasBeenSet =
true;
70 m_volumeId = std::forward<VolumeIdT>(value);
72 template <
typename VolumeIdT = Aws::String>
86 m_statusHasBeenSet =
true;
101 template <
typename OwnerIdT = Aws::String>
103 m_ownerIdHasBeenSet =
true;
104 m_ownerId = std::forward<OwnerIdT>(value);
106 template <
typename OwnerIdT = Aws::String>
119 template <
typename TagsT = Aws::Vector<Tag>>
121 m_tagsHasBeenSet =
true;
122 m_tags = std::forward<TagsT>(value);
124 template <
typename TagsT = Aws::Vector<Tag>>
126 SetTags(std::forward<TagsT>(value));
129 template <
typename TagsT = Tag>
131 m_tagsHasBeenSet =
true;
132 m_tags.emplace_back(std::forward<TagsT>(value));
147 m_storageTierHasBeenSet =
true;
148 m_storageTier = value;
162 template <
typename LastTieringStartTimeT = Aws::Utils::DateTime>
164 m_lastTieringStartTimeHasBeenSet =
true;
165 m_lastTieringStartTime = std::forward<LastTieringStartTimeT>(value);
167 template <
typename LastTieringStartTimeT = Aws::Utils::DateTime>
181 m_lastTieringProgressHasBeenSet =
true;
182 m_lastTieringProgress = value;
197 m_lastTieringOperationStatusHasBeenSet =
true;
198 m_lastTieringOperationStatus = value;
212 template <
typename LastTieringOperationStatusDetailT = Aws::String>
214 m_lastTieringOperationStatusDetailHasBeenSet =
true;
215 m_lastTieringOperationStatusDetail = std::forward<LastTieringOperationStatusDetailT>(value);
217 template <
typename LastTieringOperationStatusDetailT = Aws::String>
230 template <
typename ArchivalCompleteTimeT = Aws::Utils::DateTime>
232 m_archivalCompleteTimeHasBeenSet =
true;
233 m_archivalCompleteTime = std::forward<ArchivalCompleteTimeT>(value);
235 template <
typename ArchivalCompleteTimeT = Aws::Utils::DateTime>
250 template <
typename RestoreExpiryTimeT = Aws::Utils::DateTime>
252 m_restoreExpiryTimeHasBeenSet =
true;
253 m_restoreExpiryTime = std::forward<RestoreExpiryTimeT>(value);
255 template <
typename RestoreExpiryTimeT = Aws::Utils::DateTime>
276 int m_lastTieringProgress{0};
285 bool m_snapshotIdHasBeenSet =
false;
286 bool m_volumeIdHasBeenSet =
false;
287 bool m_statusHasBeenSet =
false;
288 bool m_ownerIdHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
290 bool m_storageTierHasBeenSet =
false;
291 bool m_lastTieringStartTimeHasBeenSet =
false;
292 bool m_lastTieringProgressHasBeenSet =
false;
293 bool m_lastTieringOperationStatusHasBeenSet =
false;
294 bool m_lastTieringOperationStatusDetailHasBeenSet =
false;
295 bool m_archivalCompleteTimeHasBeenSet =
false;
296 bool m_restoreExpiryTimeHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRestoreExpiryTime(RestoreExpiryTimeT &&value)
AWS_EC2_API SnapshotTierStatus()=default
SnapshotTierStatus & WithLastTieringOperationStatusDetail(LastTieringOperationStatusDetailT &&value)
SnapshotTierStatus & AddTags(TagsT &&value)
SnapshotTierStatus & WithLastTieringProgress(int value)
bool LastTieringOperationStatusDetailHasBeenSet() const
const Aws::String & GetVolumeId() const
SnapshotState GetStatus() const
SnapshotTierStatus & WithStatus(SnapshotState value)
bool StatusHasBeenSet() const
void SetStorageTier(StorageTier value)
void SetLastTieringStartTime(LastTieringStartTimeT &&value)
AWS_EC2_API SnapshotTierStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
SnapshotTierStatus & WithLastTieringStartTime(LastTieringStartTimeT &&value)
StorageTier GetStorageTier() const
void SetLastTieringOperationStatusDetail(LastTieringOperationStatusDetailT &&value)
TieringOperationStatus GetLastTieringOperationStatus() const
void SetVolumeId(VolumeIdT &&value)
SnapshotTierStatus & WithStorageTier(StorageTier value)
void SetStatus(SnapshotState value)
bool OwnerIdHasBeenSet() const
SnapshotTierStatus & WithTags(TagsT &&value)
SnapshotTierStatus & WithRestoreExpiryTime(RestoreExpiryTimeT &&value)
bool VolumeIdHasBeenSet() const
AWS_EC2_API SnapshotTierStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotTierStatus & WithVolumeId(VolumeIdT &&value)
SnapshotTierStatus & WithLastTieringOperationStatus(TieringOperationStatus value)
const Aws::String & GetOwnerId() const
void SetSnapshotId(SnapshotIdT &&value)
SnapshotTierStatus & WithSnapshotId(SnapshotIdT &&value)
void SetArchivalCompleteTime(ArchivalCompleteTimeT &&value)
void SetOwnerId(OwnerIdT &&value)
SnapshotTierStatus & WithArchivalCompleteTime(ArchivalCompleteTimeT &&value)
bool LastTieringProgressHasBeenSet() const
void SetLastTieringProgress(int value)
bool SnapshotIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
SnapshotTierStatus & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetLastTieringOperationStatusDetail() const
const Aws::Utils::DateTime & GetLastTieringStartTime() const
bool LastTieringOperationStatusHasBeenSet() const
bool LastTieringStartTimeHasBeenSet() const
void SetTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
int GetLastTieringProgress() const
const Aws::String & GetSnapshotId() const
bool ArchivalCompleteTimeHasBeenSet() const
void SetLastTieringOperationStatus(TieringOperationStatus value)
const Aws::Utils::DateTime & GetArchivalCompleteTime() const
bool RestoreExpiryTimeHasBeenSet() const
const Aws::Utils::DateTime & GetRestoreExpiryTime() const
bool StorageTierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream