AWS SDK for C++  1.9.104
AWS SDK for C++
CompleteMultipartUploadResult.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 {
38  {
39  public:
43 
44 
48  inline const Aws::String& GetLocation() const{ return m_location; }
49 
53  inline void SetLocation(const Aws::String& value) { m_location = value; }
54 
58  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
59 
63  inline void SetLocation(const char* value) { m_location.assign(value); }
64 
68  inline CompleteMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
69 
73  inline CompleteMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
74 
78  inline CompleteMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;}
79 
80 
84  inline const Aws::String& GetChecksum() const{ return m_checksum; }
85 
89  inline void SetChecksum(const Aws::String& value) { m_checksum = value; }
90 
94  inline void SetChecksum(Aws::String&& value) { m_checksum = std::move(value); }
95 
99  inline void SetChecksum(const char* value) { m_checksum.assign(value); }
100 
104  inline CompleteMultipartUploadResult& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
105 
109  inline CompleteMultipartUploadResult& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
110 
114  inline CompleteMultipartUploadResult& WithChecksum(const char* value) { SetChecksum(value); return *this;}
115 
116 
121  inline const Aws::String& GetArchiveId() const{ return m_archiveId; }
122 
127  inline void SetArchiveId(const Aws::String& value) { m_archiveId = value; }
128 
133  inline void SetArchiveId(Aws::String&& value) { m_archiveId = std::move(value); }
134 
139  inline void SetArchiveId(const char* value) { m_archiveId.assign(value); }
140 
145  inline CompleteMultipartUploadResult& WithArchiveId(const Aws::String& value) { SetArchiveId(value); return *this;}
146 
151  inline CompleteMultipartUploadResult& WithArchiveId(Aws::String&& value) { SetArchiveId(std::move(value)); return *this;}
152 
157  inline CompleteMultipartUploadResult& WithArchiveId(const char* value) { SetArchiveId(value); return *this;}
158 
159  private:
160 
161  Aws::String m_location;
162 
163  Aws::String m_checksum;
164 
165  Aws::String m_archiveId;
166  };
167 
168 } // namespace Model
169 } // namespace Glacier
170 } // namespace Aws
Aws::Glacier::Model::CompleteMultipartUploadResult::WithArchiveId
CompleteMultipartUploadResult & WithArchiveId(const char *value)
Definition: CompleteMultipartUploadResult.h:157
Aws::Glacier::Model::CompleteMultipartUploadResult::SetChecksum
void SetChecksum(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:89
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::CompleteMultipartUploadResult::SetChecksum
void SetChecksum(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:94
Aws::Glacier::Model::CompleteMultipartUploadResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:53
Aws::Glacier::Model::CompleteMultipartUploadResult::WithArchiveId
CompleteMultipartUploadResult & WithArchiveId(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:145
Aws::Glacier::Model::CompleteMultipartUploadResult::WithChecksum
CompleteMultipartUploadResult & WithChecksum(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:109
Aws::Glacier::Model::CompleteMultipartUploadResult::WithArchiveId
CompleteMultipartUploadResult & WithArchiveId(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:151
Aws::Glacier::Model::CompleteMultipartUploadResult::SetArchiveId
void SetArchiveId(const char *value)
Definition: CompleteMultipartUploadResult.h:139
Aws::Glacier::Model::CompleteMultipartUploadResult::CompleteMultipartUploadResult
CompleteMultipartUploadResult()
Aws::Glacier::Model::CompleteMultipartUploadResult::GetLocation
const Aws::String & GetLocation() const
Definition: CompleteMultipartUploadResult.h:48
Aws::Glacier::Model::CompleteMultipartUploadResult::SetChecksum
void SetChecksum(const char *value)
Definition: CompleteMultipartUploadResult.h:99
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::CompleteMultipartUploadResult::WithChecksum
CompleteMultipartUploadResult & WithChecksum(const char *value)
Definition: CompleteMultipartUploadResult.h:114
Aws::Glacier::Model::CompleteMultipartUploadResult::CompleteMultipartUploadResult
CompleteMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::CompleteMultipartUploadResult::WithLocation
CompleteMultipartUploadResult & WithLocation(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:73
Aws::Glacier::Model::CompleteMultipartUploadResult
Definition: CompleteMultipartUploadResult.h:38
Aws::Glacier::Model::CompleteMultipartUploadResult::GetChecksum
const Aws::String & GetChecksum() const
Definition: CompleteMultipartUploadResult.h:84
AWSString.h
Aws::Glacier::Model::CompleteMultipartUploadResult::WithChecksum
CompleteMultipartUploadResult & WithChecksum(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:104
Aws::Glacier::Model::CompleteMultipartUploadResult::GetArchiveId
const Aws::String & GetArchiveId() const
Definition: CompleteMultipartUploadResult.h:121
Aws::Glacier::Model::CompleteMultipartUploadResult::WithLocation
CompleteMultipartUploadResult & WithLocation(const char *value)
Definition: CompleteMultipartUploadResult.h:78
Aws::Glacier::Model::CompleteMultipartUploadResult::SetArchiveId
void SetArchiveId(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:133
Aws::Glacier::Model::CompleteMultipartUploadResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: CompleteMultipartUploadResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::CompleteMultipartUploadResult::SetArchiveId
void SetArchiveId(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:127
Aws::Glacier::Model::CompleteMultipartUploadResult::operator=
CompleteMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::CompleteMultipartUploadResult::SetLocation
void SetLocation(const char *value)
Definition: CompleteMultipartUploadResult.h:63
Aws::Glacier::Model::CompleteMultipartUploadResult::WithLocation
CompleteMultipartUploadResult & WithLocation(const Aws::String &value)
Definition: CompleteMultipartUploadResult.h:68
Glacier_EXPORTS.h