AWS SDK for C++  1.9.155
AWS SDK for C++
PutSnapshotBlockResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ebs/EBS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace EBS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetChecksum() const{ return m_checksum; }
40 
44  inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
45 
49  inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
50 
54  inline void SetChecksum(const char* value) { m_checksum.assign(value); }
55 
59  inline PutSnapshotBlockResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
60 
64  inline PutSnapshotBlockResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
65 
69  inline PutSnapshotBlockResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
70 
71 
75  inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
76 
80  inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithm = value; }
81 
85  inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithm = std::move(value); }
86 
90  inline PutSnapshotBlockResult& WithChecksumAlgorithm(const ChecksumAlgorithm& value) { SetChecksumAlgorithm(value); return *this;}
91 
95  inline PutSnapshotBlockResult& WithChecksumAlgorithm(ChecksumAlgorithm&& value) { SetChecksumAlgorithm(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_checksum;
100 
101  ChecksumAlgorithm m_checksumAlgorithm;
102  };
103 
104 } // namespace Model
105 } // namespace EBS
106 } // namespace Aws
Aws::EBS::Model::ChecksumAlgorithm
ChecksumAlgorithm
Definition: ChecksumAlgorithm.h:17
Aws::EBS::Model::PutSnapshotBlockResult::SetChecksumAlgorithm
void SetChecksumAlgorithm(ChecksumAlgorithm &&value)
Definition: PutSnapshotBlockResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EBS::Model::PutSnapshotBlockResult::WithChecksumAlgorithm
PutSnapshotBlockResult & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
Definition: PutSnapshotBlockResult.h:95
Aws::EBS::Model::PutSnapshotBlockResult::PutSnapshotBlockResult
PutSnapshotBlockResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EBS::Model::PutSnapshotBlockResult::SetChecksum
void SetChecksum(const char *value)
Definition: PutSnapshotBlockResult.h:54
Aws::EBS::Model::PutSnapshotBlockResult
Definition: PutSnapshotBlockResult.h:29
Aws::EBS::Model::PutSnapshotBlockResult::WithChecksumAlgorithm
PutSnapshotBlockResult & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
Definition: PutSnapshotBlockResult.h:90
Aws::EBS::Model::PutSnapshotBlockResult::WithChecksum
PutSnapshotBlockResult & WithChecksum(const char *value)
Definition: PutSnapshotBlockResult.h:69
EBS_EXPORTS.h
Aws::EBS::Model::PutSnapshotBlockResult::WithChecksum
PutSnapshotBlockResult & WithChecksum(Aws::String &&value)
Definition: PutSnapshotBlockResult.h:64
Aws::EBS::Model::PutSnapshotBlockResult::WithChecksum
PutSnapshotBlockResult & WithChecksum(const Aws::String &value)
Definition: PutSnapshotBlockResult.h:59
Aws::EBS::Model::PutSnapshotBlockResult::GetChecksum
const Aws::String & GetChecksum() const
Definition: PutSnapshotBlockResult.h:39
AWS_EBS_API
#define AWS_EBS_API
Definition: EBS_EXPORTS.h:28
ChecksumAlgorithm.h
Aws::EBS::Model::PutSnapshotBlockResult::SetChecksum
void SetChecksum(Aws::String &&value)
Definition: PutSnapshotBlockResult.h:49
Aws::EBS::Model::PutSnapshotBlockResult::SetChecksum
void SetChecksum(const Aws::String &value)
Definition: PutSnapshotBlockResult.h:44
Aws::EBS::Model::PutSnapshotBlockResult::SetChecksumAlgorithm
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
Definition: PutSnapshotBlockResult.h:80
AWSString.h
Aws::EBS::Model::PutSnapshotBlockResult::PutSnapshotBlockResult
PutSnapshotBlockResult()
Aws::EBS::Model::PutSnapshotBlockResult::operator=
PutSnapshotBlockResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EBS::Model::PutSnapshotBlockResult::GetChecksumAlgorithm
const ChecksumAlgorithm & GetChecksumAlgorithm() const
Definition: PutSnapshotBlockResult.h:75