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; }
52 inline void SetSnapshotId(
const char* value) { m_snapshotIdHasBeenSet =
true; m_snapshotId.assign(value); }
68 inline void SetBlockIndex(
int value) { m_blockIndexHasBeenSet =
true; m_blockIndex = value; }
80 inline void SetDataLength(
int value) { m_dataLengthHasBeenSet =
true; m_dataLength = value; }
90 inline void SetProgress(
int value) { m_progressHasBeenSet =
true; m_progress = value; }
103 inline void SetChecksum(
const char* value) { m_checksumHasBeenSet =
true; m_checksum.assign(value); }
124 bool m_snapshotIdHasBeenSet =
false;
127 bool m_blockIndexHasBeenSet =
false;
131 bool m_dataLengthHasBeenSet =
false;
134 bool m_progressHasBeenSet =
false;
137 bool m_checksumHasBeenSet =
false;
140 bool m_checksumAlgorithmHasBeenSet =
false;
void SetSnapshotId(const Aws::String &value)
AWS_EBS_API bool SignBody() const override
bool SnapshotIdHasBeenSet() const
PutSnapshotBlockRequest & WithChecksum(const Aws::String &value)
void SetProgress(int value)
void SetSnapshotId(Aws::String &&value)
const ChecksumAlgorithm & GetChecksumAlgorithm() const
void SetDataLength(int value)
void SetBlockIndex(int value)
void SetChecksum(const char *value)
int GetDataLength() const
bool ChecksumAlgorithmHasBeenSet() const
bool ChecksumHasBeenSet() const
PutSnapshotBlockRequest & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
PutSnapshotBlockRequest & WithProgress(int value)
PutSnapshotBlockRequest & WithSnapshotId(const char *value)
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
PutSnapshotBlockRequest & WithChecksum(Aws::String &&value)
AWS_EBS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_EBS_API PutSnapshotBlockRequest()
const Aws::String & GetSnapshotId() const
virtual const char * GetServiceRequestName() const override
bool DataLengthHasBeenSet() const
PutSnapshotBlockRequest & WithDataLength(int value)
void SetChecksum(Aws::String &&value)
bool BlockIndexHasBeenSet() const
void SetChecksum(const Aws::String &value)
PutSnapshotBlockRequest & WithSnapshotId(Aws::String &&value)
PutSnapshotBlockRequest & WithBlockIndex(int value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
PutSnapshotBlockRequest & WithChecksum(const char *value)
PutSnapshotBlockRequest & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
void SetSnapshotId(const char *value)
int GetBlockIndex() const
bool ProgressHasBeenSet() const
const Aws::String & GetChecksum() const
PutSnapshotBlockRequest & WithSnapshotId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String