AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompleteMultipartUploadResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ServerSideEncryption.h>
10#include <aws/s3/model/RequestCharged.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace S3
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetLocation() const{ return m_location; }
42 inline void SetLocation(const Aws::String& value) { m_location = value; }
43 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
44 inline void SetLocation(const char* value) { m_location.assign(value); }
45 inline CompleteMultipartUploadResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
46 inline CompleteMultipartUploadResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
47 inline CompleteMultipartUploadResult& WithLocation(const char* value) { SetLocation(value); return *this;}
49
51
56 inline const Aws::String& GetBucket() const{ return m_bucket; }
57 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
58 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
59 inline void SetBucket(const char* value) { m_bucket.assign(value); }
60 inline CompleteMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
61 inline CompleteMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
62 inline CompleteMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;}
64
66
69 inline const Aws::String& GetKey() const{ return m_key; }
70 inline void SetKey(const Aws::String& value) { m_key = value; }
71 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
72 inline void SetKey(const char* value) { m_key.assign(value); }
73 inline CompleteMultipartUploadResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
74 inline CompleteMultipartUploadResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
75 inline CompleteMultipartUploadResult& WithKey(const char* value) { SetKey(value); return *this;}
77
79
85 inline const Aws::String& GetExpiration() const{ return m_expiration; }
86 inline void SetExpiration(const Aws::String& value) { m_expiration = value; }
87 inline void SetExpiration(Aws::String&& value) { m_expiration = std::move(value); }
88 inline void SetExpiration(const char* value) { m_expiration.assign(value); }
89 inline CompleteMultipartUploadResult& WithExpiration(const Aws::String& value) { SetExpiration(value); return *this;}
90 inline CompleteMultipartUploadResult& WithExpiration(Aws::String&& value) { SetExpiration(std::move(value)); return *this;}
91 inline CompleteMultipartUploadResult& WithExpiration(const char* value) { SetExpiration(value); return *this;}
93
95
106 inline const Aws::String& GetETag() const{ return m_eTag; }
107 inline void SetETag(const Aws::String& value) { m_eTag = value; }
108 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
109 inline void SetETag(const char* value) { m_eTag.assign(value); }
110 inline CompleteMultipartUploadResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
111 inline CompleteMultipartUploadResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
112 inline CompleteMultipartUploadResult& WithETag(const char* value) { SetETag(value); return *this;}
114
116
126 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
127 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; }
128 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); }
129 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); }
131 inline CompleteMultipartUploadResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
132 inline CompleteMultipartUploadResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
134
136
146 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
147 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; }
148 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); }
149 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); }
151 inline CompleteMultipartUploadResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
152 inline CompleteMultipartUploadResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
154
156
166 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
167 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; }
168 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); }
169 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); }
170 inline CompleteMultipartUploadResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
171 inline CompleteMultipartUploadResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
172 inline CompleteMultipartUploadResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
174
176
186 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
187 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; }
188 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); }
189 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); }
191 inline CompleteMultipartUploadResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
192 inline CompleteMultipartUploadResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
194
196
200 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
201 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
202 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
206
208
213 inline const Aws::String& GetVersionId() const{ return m_versionId; }
214 inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
215 inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
216 inline void SetVersionId(const char* value) { m_versionId.assign(value); }
217 inline CompleteMultipartUploadResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
218 inline CompleteMultipartUploadResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
219 inline CompleteMultipartUploadResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
221
223
227 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
228 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
229 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
230 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
231 inline CompleteMultipartUploadResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
232 inline CompleteMultipartUploadResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
233 inline CompleteMultipartUploadResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
235
237
241 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
242 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
243 inline CompleteMultipartUploadResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
245
247
248 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
249 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
250 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
252 inline CompleteMultipartUploadResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
254
256
257 inline const Aws::String& GetRequestId() const{ return m_requestId; }
258 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
259 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
260 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
261 inline CompleteMultipartUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
262 inline CompleteMultipartUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
263 inline CompleteMultipartUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
265 private:
266
267 Aws::String m_location;
268
269 Aws::String m_bucket;
270
271 Aws::String m_key;
272
273 Aws::String m_expiration;
274
275 Aws::String m_eTag;
276
277 Aws::String m_checksumCRC32;
278
279 Aws::String m_checksumCRC32C;
280
281 Aws::String m_checksumSHA1;
282
283 Aws::String m_checksumSHA256;
284
285 ServerSideEncryption m_serverSideEncryption;
286
287 Aws::String m_versionId;
288
289 Aws::String m_sSEKMSKeyId;
290
291 bool m_bucketKeyEnabled;
292
293 RequestCharged m_requestCharged;
294
295 Aws::String m_requestId;
296 };
297
298} // namespace Model
299} // namespace S3
300} // namespace Aws
CompleteMultipartUploadResult & WithChecksumSHA256(const Aws::String &value)
CompleteMultipartUploadResult & WithLocation(const char *value)
CompleteMultipartUploadResult & WithChecksumCRC32C(Aws::String &&value)
CompleteMultipartUploadResult & WithChecksumCRC32(const Aws::String &value)
CompleteMultipartUploadResult & WithETag(Aws::String &&value)
CompleteMultipartUploadResult & WithChecksumCRC32C(const char *value)
CompleteMultipartUploadResult & WithSSEKMSKeyId(const char *value)
CompleteMultipartUploadResult & WithSSEKMSKeyId(Aws::String &&value)
CompleteMultipartUploadResult & WithVersionId(const Aws::String &value)
CompleteMultipartUploadResult & WithChecksumCRC32(Aws::String &&value)
CompleteMultipartUploadResult & WithVersionId(const char *value)
CompleteMultipartUploadResult & WithRequestId(const char *value)
CompleteMultipartUploadResult & WithETag(const Aws::String &value)
CompleteMultipartUploadResult & WithBucketKeyEnabled(bool value)
CompleteMultipartUploadResult & WithRequestId(const Aws::String &value)
CompleteMultipartUploadResult & WithChecksumSHA256(Aws::String &&value)
CompleteMultipartUploadResult & WithChecksumSHA256(const char *value)
CompleteMultipartUploadResult & WithLocation(Aws::String &&value)
CompleteMultipartUploadResult & WithChecksumSHA1(Aws::String &&value)
CompleteMultipartUploadResult & WithVersionId(Aws::String &&value)
CompleteMultipartUploadResult & WithRequestId(Aws::String &&value)
CompleteMultipartUploadResult & WithKey(const Aws::String &value)
CompleteMultipartUploadResult & WithRequestCharged(RequestCharged &&value)
CompleteMultipartUploadResult & WithSSEKMSKeyId(const Aws::String &value)
CompleteMultipartUploadResult & WithExpiration(const char *value)
CompleteMultipartUploadResult & WithExpiration(const Aws::String &value)
CompleteMultipartUploadResult & WithChecksumCRC32(const char *value)
CompleteMultipartUploadResult & WithExpiration(Aws::String &&value)
CompleteMultipartUploadResult & WithETag(const char *value)
const ServerSideEncryption & GetServerSideEncryption() const
AWS_S3_API CompleteMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3_API CompleteMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CompleteMultipartUploadResult & WithServerSideEncryption(ServerSideEncryption &&value)
CompleteMultipartUploadResult & WithBucket(const char *value)
CompleteMultipartUploadResult & WithChecksumSHA1(const char *value)
CompleteMultipartUploadResult & WithLocation(const Aws::String &value)
CompleteMultipartUploadResult & WithServerSideEncryption(const ServerSideEncryption &value)
CompleteMultipartUploadResult & WithKey(const char *value)
CompleteMultipartUploadResult & WithChecksumSHA1(const Aws::String &value)
CompleteMultipartUploadResult & WithBucket(const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CompleteMultipartUploadResult & WithKey(Aws::String &&value)
CompleteMultipartUploadResult & WithRequestCharged(const RequestCharged &value)
CompleteMultipartUploadResult & WithChecksumCRC32C(const Aws::String &value)
CompleteMultipartUploadResult & WithBucket(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument