7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/stream/ResponseStream.h>
11#include <aws/ebs/EBS_EXPORTS.h>
12#include <aws/ebs/model/ChecksumAlgorithm.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
41 m_dataLengthHasBeenSet =
true;
64 template <
typename ChecksumT = Aws::String>
66 m_checksumHasBeenSet =
true;
67 m_checksum = std::forward<ChecksumT>(value);
69 template <
typename ChecksumT = Aws::String>
83 m_checksumAlgorithmHasBeenSet =
true;
84 m_checksumAlgorithm = value;
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
119 bool m_dataLengthHasBeenSet =
false;
120 bool m_blockDataHasBeenSet =
false;
121 bool m_checksumHasBeenSet =
false;
122 bool m_checksumAlgorithmHasBeenSet =
false;
123 bool m_requestIdHasBeenSet =
false;
ChecksumAlgorithm GetChecksumAlgorithm() const
const Aws::String & GetChecksum() const
Aws::IOStream & GetBlockData() const
void ReplaceBody(Aws::IOStream *body)
void SetRequestId(RequestIdT &&value)
AWS_EBS_API GetSnapshotBlockResult()=default
GetSnapshotBlockResult & WithChecksum(ChecksumT &&value)
AWS_EBS_API GetSnapshotBlockResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDataLength(int value)
GetSnapshotBlockResult & WithRequestId(RequestIdT &&value)
GetSnapshotBlockResult & operator=(const GetSnapshotBlockResult &)=delete
AWS_EBS_API GetSnapshotBlockResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetSnapshotBlockResult & WithChecksumAlgorithm(ChecksumAlgorithm value)
GetSnapshotBlockResult & WithDataLength(int value)
void SetChecksum(ChecksumT &&value)
AWS_EBS_API GetSnapshotBlockResult & operator=(GetSnapshotBlockResult &&)=default
GetSnapshotBlockResult(const GetSnapshotBlockResult &)=delete
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_EBS_API GetSnapshotBlockResult(GetSnapshotBlockResult &&)=default
int GetDataLength() const
const Aws::String & GetRequestId() const
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String