AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UploadPartResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ServerSideEncryption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/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 S3Crt
26{
27namespace Model
28{
30 {
31 public:
32 AWS_S3CRT_API UploadPartResult();
35
36
38
42 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
43 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
44 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
48
50
53 inline const Aws::String& GetETag() const{ return m_eTag; }
54 inline void SetETag(const Aws::String& value) { m_eTag = value; }
55 inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
56 inline void SetETag(const char* value) { m_eTag.assign(value); }
57 inline UploadPartResult& WithETag(const Aws::String& value) { SetETag(value); return *this;}
58 inline UploadPartResult& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
59 inline UploadPartResult& WithETag(const char* value) { SetETag(value); return *this;}
61
63
73 inline const Aws::String& GetChecksumCRC32() const{ return m_checksumCRC32; }
74 inline void SetChecksumCRC32(const Aws::String& value) { m_checksumCRC32 = value; }
75 inline void SetChecksumCRC32(Aws::String&& value) { m_checksumCRC32 = std::move(value); }
76 inline void SetChecksumCRC32(const char* value) { m_checksumCRC32.assign(value); }
77 inline UploadPartResult& WithChecksumCRC32(const Aws::String& value) { SetChecksumCRC32(value); return *this;}
78 inline UploadPartResult& WithChecksumCRC32(Aws::String&& value) { SetChecksumCRC32(std::move(value)); return *this;}
79 inline UploadPartResult& WithChecksumCRC32(const char* value) { SetChecksumCRC32(value); return *this;}
81
83
93 inline const Aws::String& GetChecksumCRC32C() const{ return m_checksumCRC32C; }
94 inline void SetChecksumCRC32C(const Aws::String& value) { m_checksumCRC32C = value; }
95 inline void SetChecksumCRC32C(Aws::String&& value) { m_checksumCRC32C = std::move(value); }
96 inline void SetChecksumCRC32C(const char* value) { m_checksumCRC32C.assign(value); }
97 inline UploadPartResult& WithChecksumCRC32C(const Aws::String& value) { SetChecksumCRC32C(value); return *this;}
98 inline UploadPartResult& WithChecksumCRC32C(Aws::String&& value) { SetChecksumCRC32C(std::move(value)); return *this;}
99 inline UploadPartResult& WithChecksumCRC32C(const char* value) { SetChecksumCRC32C(value); return *this;}
101
103
113 inline const Aws::String& GetChecksumSHA1() const{ return m_checksumSHA1; }
114 inline void SetChecksumSHA1(const Aws::String& value) { m_checksumSHA1 = value; }
115 inline void SetChecksumSHA1(Aws::String&& value) { m_checksumSHA1 = std::move(value); }
116 inline void SetChecksumSHA1(const char* value) { m_checksumSHA1.assign(value); }
117 inline UploadPartResult& WithChecksumSHA1(const Aws::String& value) { SetChecksumSHA1(value); return *this;}
118 inline UploadPartResult& WithChecksumSHA1(Aws::String&& value) { SetChecksumSHA1(std::move(value)); return *this;}
119 inline UploadPartResult& WithChecksumSHA1(const char* value) { SetChecksumSHA1(value); return *this;}
121
123
133 inline const Aws::String& GetChecksumSHA256() const{ return m_checksumSHA256; }
134 inline void SetChecksumSHA256(const Aws::String& value) { m_checksumSHA256 = value; }
135 inline void SetChecksumSHA256(Aws::String&& value) { m_checksumSHA256 = std::move(value); }
136 inline void SetChecksumSHA256(const char* value) { m_checksumSHA256.assign(value); }
137 inline UploadPartResult& WithChecksumSHA256(const Aws::String& value) { SetChecksumSHA256(value); return *this;}
138 inline UploadPartResult& WithChecksumSHA256(Aws::String&& value) { SetChecksumSHA256(std::move(value)); return *this;}
139 inline UploadPartResult& WithChecksumSHA256(const char* value) { SetChecksumSHA256(value); return *this;}
141
143
149 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
150 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; }
151 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); }
152 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); }
154 inline UploadPartResult& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(std::move(value)); return *this;}
155 inline UploadPartResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
157
159
165 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
166 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; }
167 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); }
168 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); }
169 inline UploadPartResult& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
170 inline UploadPartResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
171 inline UploadPartResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
173
175
179 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
180 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
181 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
182 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
183 inline UploadPartResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
184 inline UploadPartResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
185 inline UploadPartResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
187
189
193 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
194 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
195 inline UploadPartResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
197
199
200 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
201 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
202 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
203 inline UploadPartResult& WithRequestCharged(const RequestCharged& value) { SetRequestCharged(value); return *this;}
204 inline UploadPartResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
206
208
209 inline const Aws::String& GetRequestId() const{ return m_requestId; }
210 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
211 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
212 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
213 inline UploadPartResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
214 inline UploadPartResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
215 inline UploadPartResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
217 private:
218
219 ServerSideEncryption m_serverSideEncryption;
220
221 Aws::String m_eTag;
222
223 Aws::String m_checksumCRC32;
224
225 Aws::String m_checksumCRC32C;
226
227 Aws::String m_checksumSHA1;
228
229 Aws::String m_checksumSHA256;
230
231 Aws::String m_sSECustomerAlgorithm;
232
233 Aws::String m_sSECustomerKeyMD5;
234
235 Aws::String m_sSEKMSKeyId;
236
237 bool m_bucketKeyEnabled;
238
239 RequestCharged m_requestCharged;
240
241 Aws::String m_requestId;
242 };
243
244} // namespace Model
245} // namespace S3Crt
246} // namespace Aws
UploadPartResult & WithETag(const char *value)
UploadPartResult & WithChecksumSHA256(const char *value)
UploadPartResult & WithChecksumCRC32(const char *value)
void SetChecksumCRC32C(Aws::String &&value)
UploadPartResult & WithRequestCharged(RequestCharged &&value)
const Aws::String & GetRequestId() const
UploadPartResult & WithRequestId(const char *value)
void SetSSEKMSKeyId(const Aws::String &value)
void SetChecksumCRC32(const char *value)
void SetSSECustomerAlgorithm(Aws::String &&value)
const Aws::String & GetETag() const
void SetRequestId(const Aws::String &value)
UploadPartResult & WithChecksumSHA256(const Aws::String &value)
void SetServerSideEncryption(const ServerSideEncryption &value)
const Aws::String & GetChecksumCRC32C() const
const Aws::String & GetChecksumCRC32() const
const Aws::String & GetSSEKMSKeyId() const
void SetChecksumCRC32(const Aws::String &value)
void SetRequestId(Aws::String &&value)
UploadPartResult & WithSSECustomerAlgorithm(const Aws::String &value)
void SetSSEKMSKeyId(Aws::String &&value)
void SetSSECustomerAlgorithm(const Aws::String &value)
UploadPartResult & WithBucketKeyEnabled(bool value)
AWS_S3CRT_API UploadPartResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestCharged(RequestCharged &&value)
const Aws::String & GetSSECustomerKeyMD5() const
UploadPartResult & WithServerSideEncryption(const ServerSideEncryption &value)
void SetChecksumSHA256(const char *value)
void SetChecksumSHA256(Aws::String &&value)
void SetChecksumSHA1(const char *value)
void SetChecksumCRC32C(const char *value)
UploadPartResult & WithServerSideEncryption(ServerSideEncryption &&value)
void SetSSECustomerKeyMD5(const char *value)
UploadPartResult & WithChecksumSHA1(Aws::String &&value)
const Aws::String & GetChecksumSHA1() const
UploadPartResult & WithSSEKMSKeyId(Aws::String &&value)
UploadPartResult & WithChecksumCRC32(Aws::String &&value)
UploadPartResult & WithRequestId(const Aws::String &value)
void SetChecksumCRC32C(const Aws::String &value)
void SetRequestCharged(const RequestCharged &value)
UploadPartResult & WithSSECustomerAlgorithm(Aws::String &&value)
UploadPartResult & WithETag(const Aws::String &value)
void SetChecksumSHA1(const Aws::String &value)
UploadPartResult & WithRequestId(Aws::String &&value)
void SetSSECustomerKeyMD5(const Aws::String &value)
UploadPartResult & WithChecksumCRC32(const Aws::String &value)
void SetChecksumCRC32(Aws::String &&value)
UploadPartResult & WithSSEKMSKeyId(const Aws::String &value)
const RequestCharged & GetRequestCharged() const
void SetSSECustomerAlgorithm(const char *value)
void SetSSECustomerKeyMD5(Aws::String &&value)
UploadPartResult & WithSSECustomerKeyMD5(const char *value)
UploadPartResult & WithChecksumSHA1(const char *value)
UploadPartResult & WithSSECustomerKeyMD5(const Aws::String &value)
void SetETag(Aws::String &&value)
UploadPartResult & WithChecksumCRC32C(const char *value)
void SetSSEKMSKeyId(const char *value)
UploadPartResult & WithChecksumSHA256(Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
UploadPartResult & WithChecksumSHA1(const Aws::String &value)
UploadPartResult & WithSSECustomerAlgorithm(const char *value)
UploadPartResult & WithChecksumCRC32C(const Aws::String &value)
AWS_S3CRT_API UploadPartResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UploadPartResult & WithChecksumCRC32C(Aws::String &&value)
void SetETag(const Aws::String &value)
UploadPartResult & WithSSECustomerKeyMD5(Aws::String &&value)
UploadPartResult & WithRequestCharged(const RequestCharged &value)
void SetChecksumSHA256(const Aws::String &value)
void SetChecksumSHA1(Aws::String &&value)
UploadPartResult & WithETag(Aws::String &&value)
UploadPartResult & WithSSEKMSKeyId(const char *value)
void SetServerSideEncryption(ServerSideEncryption &&value)
const Aws::String & GetSSECustomerAlgorithm() const
const Aws::String & GetChecksumSHA256() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument