7#include <aws/ebs/EBS_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ebs/model/ChecksumAlgorithm.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetDataLength(
int value) { m_dataLengthHasBeenSet =
true; m_dataLength = value; }
63 template<
typename ChecksumT = Aws::String>
64 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
65 template<
typename ChecksumT = Aws::String>
82 template<
typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
84 template<
typename RequestIdT = Aws::String>
90 bool m_dataLengthHasBeenSet =
false;
93 bool m_blockDataHasBeenSet =
false;
96 bool m_checksumHasBeenSet =
false;
99 bool m_checksumAlgorithmHasBeenSet =
false;
102 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