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>
57 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
71 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
97 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
208 bool m_snapshotIdHasBeenSet =
false;
211 bool m_volumeIdHasBeenSet =
false;
214 bool m_statusHasBeenSet =
false;
217 bool m_ownerIdHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
223 bool m_storageTierHasBeenSet =
false;
226 bool m_lastTieringStartTimeHasBeenSet =
false;
228 int m_lastTieringProgress;
229 bool m_lastTieringProgressHasBeenSet =
false;
232 bool m_lastTieringOperationStatusHasBeenSet =
false;
235 bool m_lastTieringOperationStatusDetailHasBeenSet =
false;
238 bool m_archivalCompleteTimeHasBeenSet =
false;
241 bool m_restoreExpiryTimeHasBeenSet =
false;
const StorageTier & GetStorageTier() const
SnapshotTierStatus & WithStorageTier(const StorageTier &value)
SnapshotTierStatus & WithLastTieringOperationStatus(const TieringOperationStatus &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLastTieringOperationStatusDetail(const char *value)
void SetSnapshotId(const char *value)
SnapshotTierStatus & WithLastTieringOperationStatusDetail(Aws::String &&value)
SnapshotTierStatus & WithRestoreExpiryTime(const Aws::Utils::DateTime &value)
SnapshotTierStatus & WithVolumeId(Aws::String &&value)
void SetStorageTier(const StorageTier &value)
SnapshotTierStatus & WithVolumeId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetRestoreExpiryTime(Aws::Utils::DateTime &&value)
SnapshotTierStatus & WithLastTieringProgress(int value)
void SetVolumeId(Aws::String &&value)
void SetLastTieringOperationStatus(const TieringOperationStatus &value)
bool LastTieringOperationStatusDetailHasBeenSet() const
void SetStatus(SnapshotState &&value)
const Aws::String & GetVolumeId() const
void SetSnapshotId(const Aws::String &value)
SnapshotTierStatus & WithVolumeId(const char *value)
SnapshotTierStatus & AddTags(const Tag &value)
void SetStatus(const SnapshotState &value)
SnapshotTierStatus & WithSnapshotId(const Aws::String &value)
bool StatusHasBeenSet() const
void SetOwnerId(const Aws::String &value)
SnapshotTierStatus & WithLastTieringOperationStatusDetail(const Aws::String &value)
SnapshotTierStatus & WithSnapshotId(const char *value)
void SetStorageTier(StorageTier &&value)
const TieringOperationStatus & GetLastTieringOperationStatus() const
void SetArchivalCompleteTime(Aws::Utils::DateTime &&value)
void SetLastTieringStartTime(Aws::Utils::DateTime &&value)
SnapshotTierStatus & WithStatus(const SnapshotState &value)
SnapshotTierStatus & WithOwnerId(const Aws::String &value)
AWS_EC2_API SnapshotTierStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TagsHasBeenSet() const
void SetVolumeId(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
const SnapshotState & GetStatus() const
SnapshotTierStatus & WithStorageTier(StorageTier &&value)
SnapshotTierStatus & WithArchivalCompleteTime(Aws::Utils::DateTime &&value)
SnapshotTierStatus & WithLastTieringOperationStatus(TieringOperationStatus &&value)
bool OwnerIdHasBeenSet() const
void SetRestoreExpiryTime(const Aws::Utils::DateTime &value)
void SetSnapshotId(Aws::String &&value)
bool VolumeIdHasBeenSet() const
AWS_EC2_API SnapshotTierStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotTierStatus & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetOwnerId() const
SnapshotTierStatus & WithSnapshotId(Aws::String &&value)
SnapshotTierStatus & WithLastTieringStartTime(Aws::Utils::DateTime &&value)
SnapshotTierStatus & WithOwnerId(const char *value)
SnapshotTierStatus & WithStatus(SnapshotState &&value)
void SetArchivalCompleteTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Vector< Tag > &&value)
SnapshotTierStatus & WithLastTieringOperationStatusDetail(const char *value)
void SetLastTieringOperationStatusDetail(Aws::String &&value)
void SetLastTieringOperationStatusDetail(const Aws::String &value)
SnapshotTierStatus & AddTags(Tag &&value)
SnapshotTierStatus & WithOwnerId(Aws::String &&value)
bool LastTieringProgressHasBeenSet() const
SnapshotTierStatus & WithTags(Aws::Vector< Tag > &&value)
void SetLastTieringProgress(int value)
bool SnapshotIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetLastTieringOperationStatusDetail() const
const Aws::Utils::DateTime & GetLastTieringStartTime() const
bool LastTieringOperationStatusHasBeenSet() const
SnapshotTierStatus & WithArchivalCompleteTime(const Aws::Utils::DateTime &value)
SnapshotTierStatus & WithRestoreExpiryTime(Aws::Utils::DateTime &&value)
bool LastTieringStartTimeHasBeenSet() const
void SetLastTieringStartTime(const Aws::Utils::DateTime &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 SetOwnerId(const char *value)
SnapshotTierStatus & WithLastTieringStartTime(const Aws::Utils::DateTime &value)
AWS_EC2_API SnapshotTierStatus()
const Aws::Utils::DateTime & GetArchivalCompleteTime() const
bool RestoreExpiryTimeHasBeenSet() const
void SetLastTieringOperationStatus(TieringOperationStatus &&value)
const Aws::Utils::DateTime & GetRestoreExpiryTime() const
void SetVolumeId(const char *value)
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