7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ebs/EBS_EXPORTS.h>
12#include <aws/ebs/model/SSEType.h>
13#include <aws/ebs/model/Status.h>
14#include <aws/ebs/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename DescriptionT = Aws::String>
42 m_descriptionHasBeenSet =
true;
43 m_description = std::forward<DescriptionT>(value);
45 template <
typename DescriptionT = Aws::String>
57 template <
typename SnapshotIdT = Aws::String>
59 m_snapshotIdHasBeenSet =
true;
60 m_snapshotId = std::forward<SnapshotIdT>(value);
62 template <
typename SnapshotIdT = Aws::String>
74 template <
typename OwnerIdT = Aws::String>
76 m_ownerIdHasBeenSet =
true;
77 m_ownerId = std::forward<OwnerIdT>(value);
79 template <
typename OwnerIdT = Aws::String>
92 m_statusHasBeenSet =
true;
106 template <
typename StartTimeT = Aws::Utils::DateTime>
108 m_startTimeHasBeenSet =
true;
109 m_startTime = std::forward<StartTimeT>(value);
111 template <
typename StartTimeT = Aws::Utils::DateTime>
124 m_volumeSizeHasBeenSet =
true;
125 m_volumeSize = value;
139 m_blockSizeHasBeenSet =
true;
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
180 template <
typename ParentSnapshotIdT = Aws::String>
182 m_parentSnapshotIdHasBeenSet =
true;
183 m_parentSnapshotId = std::forward<ParentSnapshotIdT>(value);
185 template <
typename ParentSnapshotIdT = Aws::String>
198 template <
typename KmsKeyArnT = Aws::String>
200 m_kmsKeyArnHasBeenSet =
true;
201 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
203 template <
typename KmsKeyArnT = Aws::String>
216 m_sseTypeHasBeenSet =
true;
228 template <
typename RequestIdT = Aws::String>
230 m_requestIdHasBeenSet =
true;
231 m_requestId = std::forward<RequestIdT>(value);
233 template <
typename RequestIdT = Aws::String>
252 long long m_volumeSize{0};
266 bool m_descriptionHasBeenSet =
false;
267 bool m_snapshotIdHasBeenSet =
false;
268 bool m_ownerIdHasBeenSet =
false;
269 bool m_statusHasBeenSet =
false;
270 bool m_startTimeHasBeenSet =
false;
271 bool m_volumeSizeHasBeenSet =
false;
272 bool m_blockSizeHasBeenSet =
false;
273 bool m_tagsHasBeenSet =
false;
274 bool m_parentSnapshotIdHasBeenSet =
false;
275 bool m_kmsKeyArnHasBeenSet =
false;
276 bool m_sseTypeHasBeenSet =
false;
277 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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