7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ebs/EBSRequest.h>
10#include <aws/ebs/EBS_EXPORTS.h>
11#include <aws/ebs/model/ChecksumAlgorithm.h>
33 AWS_EBS_API
bool SignBody()
const override {
return false; }
46 template <
typename SnapshotIdT = Aws::String>
48 m_snapshotIdHasBeenSet =
true;
49 m_snapshotId = std::forward<SnapshotIdT>(value);
51 template <
typename SnapshotIdT = Aws::String>
69 m_blockIndexHasBeenSet =
true;
87 m_dataLengthHasBeenSet =
true;
103 m_progressHasBeenSet =
true;
119 template <
typename ChecksumT = Aws::String>
121 m_checksumHasBeenSet =
true;
122 m_checksum = std::forward<ChecksumT>(value);
124 template <
typename ChecksumT = Aws::String>
139 m_checksumAlgorithmHasBeenSet =
true;
140 m_checksumAlgorithm = value;
159 bool m_snapshotIdHasBeenSet =
false;
160 bool m_blockIndexHasBeenSet =
false;
161 bool m_dataLengthHasBeenSet =
false;
162 bool m_progressHasBeenSet =
false;
163 bool m_checksumHasBeenSet =
false;
164 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