AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
PutSnapshotBlockResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ebs/EBS_EXPORTS.h>
9#include <aws/ebs/model/ChecksumAlgorithm.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EBS {
23namespace Model {
25 public:
26 AWS_EBS_API PutSnapshotBlockResult() = default;
29
31
34 inline const Aws::String& GetChecksum() const { return m_checksum; }
35 template <typename ChecksumT = Aws::String>
36 void SetChecksum(ChecksumT&& value) {
37 m_checksumHasBeenSet = true;
38 m_checksum = std::forward<ChecksumT>(value);
39 }
40 template <typename ChecksumT = Aws::String>
42 SetChecksum(std::forward<ChecksumT>(value));
43 return *this;
44 }
46
48
51 inline ChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
53 m_checksumAlgorithmHasBeenSet = true;
54 m_checksumAlgorithm = value;
55 }
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_checksum;
78
80
81 Aws::String m_requestId;
82 bool m_checksumHasBeenSet = false;
83 bool m_checksumAlgorithmHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace EBS
89} // namespace Aws
PutSnapshotBlockResult & WithChecksum(ChecksumT &&value)
PutSnapshotBlockResult & WithRequestId(RequestIdT &&value)
AWS_EBS_API PutSnapshotBlockResult()=default
PutSnapshotBlockResult & WithChecksumAlgorithm(ChecksumAlgorithm value)
AWS_EBS_API PutSnapshotBlockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
AWS_EBS_API PutSnapshotBlockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue