7#include <aws/ebs/EBS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ebs/model/Status.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ebs/model/SSEType.h>
13#include <aws/ebs/model/Tag.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
47 template<
typename DescriptionT = Aws::String>
56 template<
typename SnapshotIdT = Aws::String>
57 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
58 template<
typename SnapshotIdT = Aws::String>
67 template<
typename OwnerIdT = Aws::String>
68 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
69 template<
typename OwnerIdT = Aws::String>
78 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
87 template<
typename StartTimeT = Aws::Utils::DateTime>
88 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
89 template<
typename StartTimeT = Aws::Utils::DateTime>
98 inline void SetVolumeSize(
long long value) { m_volumeSizeHasBeenSet =
true; m_volumeSize = value; }
107 inline void SetBlockSize(
int value) { m_blockSizeHasBeenSet =
true; m_blockSize = value; }
120 template<
typename TagsT = Aws::Vector<Tag>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Vector<Tag>>
124 template<
typename TagsT = Tag>
133 template<
typename ParentSnapshotIdT = Aws::String>
134 void SetParentSnapshotId(ParentSnapshotIdT&& value) { m_parentSnapshotIdHasBeenSet =
true; m_parentSnapshotId = std::forward<ParentSnapshotIdT>(value); }
135 template<
typename ParentSnapshotIdT = Aws::String>
145 template<
typename KmsKeyArnT = Aws::String>
146 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
147 template<
typename KmsKeyArnT = Aws::String>
163 template<
typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
165 template<
typename RequestIdT = Aws::String>
171 bool m_descriptionHasBeenSet =
false;
174 bool m_snapshotIdHasBeenSet =
false;
177 bool m_ownerIdHasBeenSet =
false;
180 bool m_statusHasBeenSet =
false;
183 bool m_startTimeHasBeenSet =
false;
185 long long m_volumeSize{0};
186 bool m_volumeSizeHasBeenSet =
false;
189 bool m_blockSizeHasBeenSet =
false;
192 bool m_tagsHasBeenSet =
false;
195 bool m_parentSnapshotIdHasBeenSet =
false;
198 bool m_kmsKeyArnHasBeenSet =
false;
201 bool m_sseTypeHasBeenSet =
false;
204 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