7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/stream/ResponseStream.h>
10#include <aws/ebs/EBS_EXPORTS.h>
11#include <aws/ebs/model/ChecksumAlgorithm.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 m_dataLengthHasBeenSet =
true;
63 template <
typename ChecksumT = Aws::String>
65 m_checksumHasBeenSet =
true;
66 m_checksum = std::forward<ChecksumT>(value);
68 template <
typename ChecksumT = Aws::String>
82 m_checksumAlgorithmHasBeenSet =
true;
83 m_checksumAlgorithm = value;
94 template <
typename RequestIdT = Aws::String>
96 m_requestIdHasBeenSet =
true;
97 m_requestId = std::forward<RequestIdT>(value);
99 template <
typename RequestIdT = Aws::String>
115 bool m_dataLengthHasBeenSet =
false;
116 bool m_blockDataHasBeenSet =
false;
117 bool m_checksumHasBeenSet =
false;
118 bool m_checksumAlgorithmHasBeenSet =
false;
119 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)
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