AWS SDK for C++  1.9.108
AWS SDK for C++
UploadMultipartPartResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Glacier
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetChecksum() const{ return m_checksum; }
46 
51  inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
52 
57  inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
58 
63  inline void SetChecksum(const char* value) { m_checksum.assign(value); }
64 
69  inline UploadMultipartPartResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
70 
75  inline UploadMultipartPartResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
76 
81  inline UploadMultipartPartResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
82 
83  private:
84 
85  Aws::String m_checksum;
86  };
87 
88 } // namespace Model
89 } // namespace Glacier
90 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::UploadMultipartPartResult::UploadMultipartPartResult
UploadMultipartPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::UploadMultipartPartResult::operator=
UploadMultipartPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::UploadMultipartPartResult::UploadMultipartPartResult
UploadMultipartPartResult()
Aws::Glacier::Model::UploadMultipartPartResult::GetChecksum
const Aws::String & GetChecksum() const
Definition: UploadMultipartPartResult.h:45
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::UploadMultipartPartResult
Definition: UploadMultipartPartResult.h:34
Aws::Glacier::Model::UploadMultipartPartResult::WithChecksum
UploadMultipartPartResult & WithChecksum(const Aws::String &value)
Definition: UploadMultipartPartResult.h:69
Aws::Glacier::Model::UploadMultipartPartResult::SetChecksum
void SetChecksum(Aws::String &&value)
Definition: UploadMultipartPartResult.h:57
AWSString.h
Aws::Glacier::Model::UploadMultipartPartResult::WithChecksum
UploadMultipartPartResult & WithChecksum(const char *value)
Definition: UploadMultipartPartResult.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::UploadMultipartPartResult::SetChecksum
void SetChecksum(const char *value)
Definition: UploadMultipartPartResult.h:63
Aws::Glacier::Model::UploadMultipartPartResult::SetChecksum
void SetChecksum(const Aws::String &value)
Definition: UploadMultipartPartResult.h:51
Aws::Glacier::Model::UploadMultipartPartResult::WithChecksum
UploadMultipartPartResult & WithChecksum(Aws::String &&value)
Definition: UploadMultipartPartResult.h:75
Glacier_EXPORTS.h