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/SSEType.h>
13#include <aws/ec2/model/SnapshotState.h>
14#include <aws/ec2/model/Tag.h>
48 template <
typename DescriptionT = Aws::String>
50 m_descriptionHasBeenSet =
true;
51 m_description = std::forward<DescriptionT>(value);
53 template <
typename DescriptionT = Aws::String>
66 template <
typename TagsT = Aws::Vector<Tag>>
68 m_tagsHasBeenSet =
true;
69 m_tags = std::forward<TagsT>(value);
71 template <
typename TagsT = Aws::Vector<Tag>>
73 SetTags(std::forward<TagsT>(value));
76 template <
typename TagsT = Tag>
78 m_tagsHasBeenSet =
true;
79 m_tags.emplace_back(std::forward<TagsT>(value));
91 m_encryptedHasBeenSet =
true;
106 template <
typename VolumeIdT = Aws::String>
108 m_volumeIdHasBeenSet =
true;
109 m_volumeId = std::forward<VolumeIdT>(value);
111 template <
typename VolumeIdT = Aws::String>
125 m_stateHasBeenSet =
true;
141 m_volumeSizeHasBeenSet =
true;
142 m_volumeSize = value;
157 template <
typename StartTimeT = Aws::Utils::DateTime>
159 m_startTimeHasBeenSet =
true;
160 m_startTime = std::forward<StartTimeT>(value);
162 template <
typename StartTimeT = Aws::Utils::DateTime>
175 template <
typename ProgressT = Aws::String>
177 m_progressHasBeenSet =
true;
178 m_progress = std::forward<ProgressT>(value);
180 template <
typename ProgressT = Aws::String>
193 template <
typename OwnerIdT = Aws::String>
195 m_ownerIdHasBeenSet =
true;
196 m_ownerId = std::forward<OwnerIdT>(value);
198 template <
typename OwnerIdT = Aws::String>
211 template <
typename SnapshotIdT = Aws::String>
213 m_snapshotIdHasBeenSet =
true;
214 m_snapshotId = std::forward<SnapshotIdT>(value);
216 template <
typename SnapshotIdT = Aws::String>
232 template <
typename OutpostArnT = Aws::String>
234 m_outpostArnHasBeenSet =
true;
235 m_outpostArn = std::forward<OutpostArnT>(value);
237 template <
typename OutpostArnT = Aws::String>
251 m_sseTypeHasBeenSet =
true;
268 template <
typename AvailabilityZoneT = Aws::String>
270 m_availabilityZoneHasBeenSet =
true;
271 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
273 template <
typename AvailabilityZoneT = Aws::String>
284 bool m_encrypted{
false};
305 bool m_descriptionHasBeenSet =
false;
306 bool m_tagsHasBeenSet =
false;
307 bool m_encryptedHasBeenSet =
false;
308 bool m_volumeIdHasBeenSet =
false;
309 bool m_stateHasBeenSet =
false;
310 bool m_volumeSizeHasBeenSet =
false;
311 bool m_startTimeHasBeenSet =
false;
312 bool m_progressHasBeenSet =
false;
313 bool m_ownerIdHasBeenSet =
false;
314 bool m_snapshotIdHasBeenSet =
false;
315 bool m_outpostArnHasBeenSet =
false;
316 bool m_sseTypeHasBeenSet =
false;
317 bool m_availabilityZoneHasBeenSet =
false;
void SetSnapshotId(SnapshotIdT &&value)
void SetOutpostArn(OutpostArnT &&value)
SnapshotInfo & WithEncrypted(bool value)
bool VolumeSizeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTags(TagsT &&value)
void SetStartTime(StartTimeT &&value)
SnapshotInfo & WithVolumeId(VolumeIdT &&value)
SnapshotInfo & WithProgress(ProgressT &&value)
const Aws::String & GetDescription() const
SnapshotInfo & WithOwnerId(OwnerIdT &&value)
bool VolumeIdHasBeenSet() const
bool OwnerIdHasBeenSet() const
bool EncryptedHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
bool OutpostArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
SnapshotInfo & AddTags(TagsT &&value)
SnapshotInfo & WithTags(TagsT &&value)
SnapshotInfo & WithSnapshotId(SnapshotIdT &&value)
SSEType GetSseType() const
const Aws::String & GetVolumeId() const
bool ProgressHasBeenSet() const
void SetSseType(SSEType value)
bool StateHasBeenSet() const
AWS_EC2_API SnapshotInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotInfo & WithAvailabilityZone(AvailabilityZoneT &&value)
bool StartTimeHasBeenSet() const
int GetVolumeSize() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetVolumeSize(int value)
bool SseTypeHasBeenSet() const
const Aws::String & GetSnapshotId() const
const Aws::String & GetProgress() const
void SetVolumeId(VolumeIdT &&value)
const Aws::String & GetOutpostArn() const
const Aws::Vector< Tag > & GetTags() const
void SetOwnerId(OwnerIdT &&value)
void SetProgress(ProgressT &&value)
SnapshotInfo & WithState(SnapshotState value)
SnapshotInfo & WithStartTime(StartTimeT &&value)
SnapshotState GetState() const
bool DescriptionHasBeenSet() const
AWS_EC2_API SnapshotInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(SnapshotState value)
SnapshotInfo & WithOutpostArn(OutpostArnT &&value)
bool SnapshotIdHasBeenSet() const
SnapshotInfo & WithSseType(SSEType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotInfo & WithVolumeSize(int value)
SnapshotInfo & WithDescription(DescriptionT &&value)
const Aws::String & GetAvailabilityZone() const
bool GetEncrypted() const
const Aws::Utils::DateTime & GetStartTime() const
AWS_EC2_API SnapshotInfo()=default
void SetEncrypted(bool value)
const Aws::String & GetOwnerId() 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