7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ebs/EBS_EXPORTS.h>
11#include <aws/ebs/model/SSEType.h>
12#include <aws/ebs/model/Status.h>
13#include <aws/ebs/model/Tag.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename DescriptionT = Aws::String>
41 m_descriptionHasBeenSet =
true;
42 m_description = std::forward<DescriptionT>(value);
44 template <
typename DescriptionT = Aws::String>
56 template <
typename SnapshotIdT = Aws::String>
58 m_snapshotIdHasBeenSet =
true;
59 m_snapshotId = std::forward<SnapshotIdT>(value);
61 template <
typename SnapshotIdT = Aws::String>
73 template <
typename OwnerIdT = Aws::String>
75 m_ownerIdHasBeenSet =
true;
76 m_ownerId = std::forward<OwnerIdT>(value);
78 template <
typename OwnerIdT = Aws::String>
91 m_statusHasBeenSet =
true;
105 template <
typename StartTimeT = Aws::Utils::DateTime>
107 m_startTimeHasBeenSet =
true;
108 m_startTime = std::forward<StartTimeT>(value);
110 template <
typename StartTimeT = Aws::Utils::DateTime>
123 m_volumeSizeHasBeenSet =
true;
124 m_volumeSize = value;
138 m_blockSizeHasBeenSet =
true;
156 template <
typename TagsT = Aws::Vector<Tag>>
158 m_tagsHasBeenSet =
true;
159 m_tags = std::forward<TagsT>(value);
161 template <
typename TagsT = Aws::Vector<Tag>>
163 SetTags(std::forward<TagsT>(value));
166 template <
typename TagsT = Tag>
168 m_tagsHasBeenSet =
true;
169 m_tags.emplace_back(std::forward<TagsT>(value));
179 template <
typename ParentSnapshotIdT = Aws::String>
181 m_parentSnapshotIdHasBeenSet =
true;
182 m_parentSnapshotId = std::forward<ParentSnapshotIdT>(value);
184 template <
typename ParentSnapshotIdT = Aws::String>
197 template <
typename KmsKeyArnT = Aws::String>
199 m_kmsKeyArnHasBeenSet =
true;
200 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
202 template <
typename KmsKeyArnT = Aws::String>
215 m_sseTypeHasBeenSet =
true;
227 template <
typename RequestIdT = Aws::String>
229 m_requestIdHasBeenSet =
true;
230 m_requestId = std::forward<RequestIdT>(value);
232 template <
typename RequestIdT = Aws::String>
249 long long m_volumeSize{0};
262 bool m_descriptionHasBeenSet =
false;
263 bool m_snapshotIdHasBeenSet =
false;
264 bool m_ownerIdHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
266 bool m_startTimeHasBeenSet =
false;
267 bool m_volumeSizeHasBeenSet =
false;
268 bool m_blockSizeHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
270 bool m_parentSnapshotIdHasBeenSet =
false;
271 bool m_kmsKeyArnHasBeenSet =
false;
272 bool m_sseTypeHasBeenSet =
false;
273 bool m_requestIdHasBeenSet =
false;
StartSnapshotResult & WithRequestId(RequestIdT &&value)
void SetSnapshotId(SnapshotIdT &&value)
const Aws::String & GetKmsKeyArn() const
void SetSseType(SSEType value)
StartSnapshotResult & AddTags(TagsT &&value)
const Aws::String & GetSnapshotId() const
const Aws::String & GetOwnerId() const
AWS_EBS_API StartSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetVolumeSize(long long value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetStartTime() const
StartSnapshotResult & WithSseType(SSEType value)
StartSnapshotResult & WithTags(TagsT &&value)
StartSnapshotResult & WithParentSnapshotId(ParentSnapshotIdT &&value)
void SetStartTime(StartTimeT &&value)
void SetTags(TagsT &&value)
StartSnapshotResult & WithBlockSize(int value)
const Aws::String & GetDescription() const
StartSnapshotResult & WithSnapshotId(SnapshotIdT &&value)
SSEType GetSseType() const
AWS_EBS_API StartSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetParentSnapshotId() const
StartSnapshotResult & WithStartTime(StartTimeT &&value)
void SetParentSnapshotId(ParentSnapshotIdT &&value)
StartSnapshotResult & WithOwnerId(OwnerIdT &&value)
StartSnapshotResult & WithStatus(Status value)
StartSnapshotResult & WithKmsKeyArn(KmsKeyArnT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetBlockSize(int value)
StartSnapshotResult & WithDescription(DescriptionT &&value)
void SetOwnerId(OwnerIdT &&value)
AWS_EBS_API StartSnapshotResult()=default
StartSnapshotResult & WithVolumeSize(long long value)
long long GetVolumeSize() const
void SetStatus(Status value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue