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/SnapshotState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/StorageTier.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ec2/model/TieringOperationStatus.h>
15#include <aws/ec2/model/Tag.h>
55 template<
typename SnapshotIdT = Aws::String>
56 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
57 template<
typename SnapshotIdT = Aws::String>
67 template<
typename VolumeIdT = Aws::String>
68 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
69 template<
typename VolumeIdT = Aws::String>
89 template<
typename OwnerIdT = Aws::String>
90 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
91 template<
typename OwnerIdT = Aws::String>
101 template<
typename TagsT = Aws::Vector<Tag>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Vector<Tag>>
105 template<
typename TagsT = Tag>
128 template<
typename LastTieringStartTimeT = Aws::Utils::DateTime>
129 void SetLastTieringStartTime(LastTieringStartTimeT&& value) { m_lastTieringStartTimeHasBeenSet =
true; m_lastTieringStartTime = std::forward<LastTieringStartTimeT>(value); }
130 template<
typename LastTieringStartTimeT = Aws::Utils::DateTime>
160 template<
typename LastTieringOperationStatusDetailT = Aws::String>
161 void SetLastTieringOperationStatusDetail(LastTieringOperationStatusDetailT&& value) { m_lastTieringOperationStatusDetailHasBeenSet =
true; m_lastTieringOperationStatusDetail = std::forward<LastTieringOperationStatusDetailT>(value); }
162 template<
typename LastTieringOperationStatusDetailT = Aws::String>
172 template<
typename ArchivalCompleteTimeT = Aws::Utils::DateTime>
173 void SetArchivalCompleteTime(ArchivalCompleteTimeT&& value) { m_archivalCompleteTimeHasBeenSet =
true; m_archivalCompleteTime = std::forward<ArchivalCompleteTimeT>(value); }
174 template<
typename ArchivalCompleteTimeT = Aws::Utils::DateTime>
186 template<
typename RestoreExpiryTimeT = Aws::Utils::DateTime>
187 void SetRestoreExpiryTime(RestoreExpiryTimeT&& value) { m_restoreExpiryTimeHasBeenSet =
true; m_restoreExpiryTime = std::forward<RestoreExpiryTimeT>(value); }
188 template<
typename RestoreExpiryTimeT = Aws::Utils::DateTime>
194 bool m_snapshotIdHasBeenSet =
false;
197 bool m_volumeIdHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
203 bool m_ownerIdHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
209 bool m_storageTierHasBeenSet =
false;
212 bool m_lastTieringStartTimeHasBeenSet =
false;
214 int m_lastTieringProgress{0};
215 bool m_lastTieringProgressHasBeenSet =
false;
218 bool m_lastTieringOperationStatusHasBeenSet =
false;
221 bool m_lastTieringOperationStatusDetailHasBeenSet =
false;
224 bool m_archivalCompleteTimeHasBeenSet =
false;
227 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