7#include <aws/ebs/EBS_EXPORTS.h>
8#include <aws/ebs/EBSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/ebs/model/ChecksumAlgorithm.h>
36 AWS_EBS_API
bool SignBody()
const override {
return false; }
50 template<
typename SnapshotIdT = Aws::String>
51 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
52 template<
typename SnapshotIdT = Aws::String>
66 inline void SetBlockIndex(
int value) { m_blockIndexHasBeenSet =
true; m_blockIndex = value; }
78 inline void SetDataLength(
int value) { m_dataLengthHasBeenSet =
true; m_dataLength = value; }
88 inline void SetProgress(
int value) { m_progressHasBeenSet =
true; m_progress = value; }
99 template<
typename ChecksumT = Aws::String>
100 void SetChecksum(ChecksumT&& value) { m_checksumHasBeenSet =
true; m_checksum = std::forward<ChecksumT>(value); }
101 template<
typename ChecksumT = Aws::String>
118 bool m_snapshotIdHasBeenSet =
false;
121 bool m_blockIndexHasBeenSet =
false;
125 bool m_dataLengthHasBeenSet =
false;
128 bool m_progressHasBeenSet =
false;
131 bool m_checksumHasBeenSet =
false;
134 bool m_checksumAlgorithmHasBeenSet =
false;
AWS_EBS_API bool SignBody() const override
bool SnapshotIdHasBeenSet() const
void SetProgress(int value)
void SetDataLength(int value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
void SetBlockIndex(int value)
int GetDataLength() const
bool ChecksumAlgorithmHasBeenSet() const
bool ChecksumHasBeenSet() const
PutSnapshotBlockRequest & WithProgress(int value)
void SetSnapshotId(SnapshotIdT &&value)
void SetChecksum(ChecksumT &&value)
AWS_EBS_API PutSnapshotBlockRequest()=default
PutSnapshotBlockRequest & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_EBS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetSnapshotId() const
virtual const char * GetServiceRequestName() const override
ChecksumAlgorithm GetChecksumAlgorithm() const
bool DataLengthHasBeenSet() const
PutSnapshotBlockRequest & WithDataLength(int value)
bool BlockIndexHasBeenSet() const
PutSnapshotBlockRequest & WithBlockIndex(int value)
PutSnapshotBlockRequest & WithSnapshotId(SnapshotIdT &&value)
PutSnapshotBlockRequest & WithChecksum(ChecksumT &&value)
int GetBlockIndex() const
bool ProgressHasBeenSet() const
const Aws::String & GetChecksum() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String