AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMultipartUploadResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3-crt/model/ServerSideEncryption.h>
11#include <aws/s3-crt/model/RequestCharged.h>
12#include <aws/s3-crt/model/ChecksumAlgorithm.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace S3Crt
28{
29namespace Model
30{
32 {
33 public:
37
38
40
53 inline const Aws::Utils::DateTime& GetAbortDate() const{ return m_abortDate; }
54 inline void SetAbortDate(const Aws::Utils::DateTime& value) { m_abortDate = value; }
55 inline void SetAbortDate(Aws::Utils::DateTime&& value) { m_abortDate = std::move(value); }
56 inline CreateMultipartUploadResult& WithAbortDate(const Aws::Utils::DateTime& value) { SetAbortDate(value); return *this;}
57 inline CreateMultipartUploadResult& WithAbortDate(Aws::Utils::DateTime&& value) { SetAbortDate(std::move(value)); return *this;}
59
61
67 inline const Aws::String& GetAbortRuleId() const{ return m_abortRuleId; }
68 inline void SetAbortRuleId(const Aws::String& value) { m_abortRuleId = value; }
69 inline void SetAbortRuleId(Aws::String&& value) { m_abortRuleId = std::move(value); }
70 inline void SetAbortRuleId(const char* value) { m_abortRuleId.assign(value); }
71 inline CreateMultipartUploadResult& WithAbortRuleId(const Aws::String& value) { SetAbortRuleId(value); return *this;}
72 inline CreateMultipartUploadResult& WithAbortRuleId(Aws::String&& value) { SetAbortRuleId(std::move(value)); return *this;}
73 inline CreateMultipartUploadResult& WithAbortRuleId(const char* value) { SetAbortRuleId(value); return *this;}
75
77
82 inline const Aws::String& GetBucket() const{ return m_bucket; }
83 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
84 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
85 inline void SetBucket(const char* value) { m_bucket.assign(value); }
86 inline CreateMultipartUploadResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
87 inline CreateMultipartUploadResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
88 inline CreateMultipartUploadResult& WithBucket(const char* value) { SetBucket(value); return *this;}
90
92
95 inline const Aws::String& GetKey() const{ return m_key; }
96 inline void SetKey(const Aws::String& value) { m_key = value; }
97 inline void SetKey(Aws::String&& value) { m_key = std::move(value); }
98 inline void SetKey(const char* value) { m_key.assign(value); }
99 inline CreateMultipartUploadResult& WithKey(const Aws::String& value) { SetKey(value); return *this;}
100 inline CreateMultipartUploadResult& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
101 inline CreateMultipartUploadResult& WithKey(const char* value) { SetKey(value); return *this;}
103
105
108 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
109 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
110 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
111 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
112 inline CreateMultipartUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
113 inline CreateMultipartUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
114 inline CreateMultipartUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
116
118
122 inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
123 inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryption = value; }
124 inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryption = std::move(value); }
128
130
136 inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
137 inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithm = value; }
138 inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithm = std::move(value); }
139 inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithm.assign(value); }
142 inline CreateMultipartUploadResult& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
144
146
152 inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
153 inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5 = value; }
154 inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5 = std::move(value); }
155 inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5.assign(value); }
157 inline CreateMultipartUploadResult& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(std::move(value)); return *this;}
158 inline CreateMultipartUploadResult& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
160
162
166 inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
167 inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyId = value; }
168 inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyId = std::move(value); }
169 inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyId.assign(value); }
170 inline CreateMultipartUploadResult& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
171 inline CreateMultipartUploadResult& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(std::move(value)); return *this;}
172 inline CreateMultipartUploadResult& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
174
176
182 inline const Aws::String& GetSSEKMSEncryptionContext() const{ return m_sSEKMSEncryptionContext; }
183 inline void SetSSEKMSEncryptionContext(const Aws::String& value) { m_sSEKMSEncryptionContext = value; }
184 inline void SetSSEKMSEncryptionContext(Aws::String&& value) { m_sSEKMSEncryptionContext = std::move(value); }
185 inline void SetSSEKMSEncryptionContext(const char* value) { m_sSEKMSEncryptionContext.assign(value); }
190
192
196 inline bool GetBucketKeyEnabled() const{ return m_bucketKeyEnabled; }
197 inline void SetBucketKeyEnabled(bool value) { m_bucketKeyEnabled = value; }
198 inline CreateMultipartUploadResult& WithBucketKeyEnabled(bool value) { SetBucketKeyEnabled(value); return *this;}
200
202
203 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
204 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
205 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
207 inline CreateMultipartUploadResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
209
211
214 inline const ChecksumAlgorithm& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; }
215 inline void SetChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithm = value; }
216 inline void SetChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithm = std::move(value); }
220
222
223 inline const Aws::String& GetRequestId() const{ return m_requestId; }
224 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
225 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
226 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
227 inline CreateMultipartUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
228 inline CreateMultipartUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
229 inline CreateMultipartUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
231 private:
232
233 Aws::Utils::DateTime m_abortDate;
234
235 Aws::String m_abortRuleId;
236
237 Aws::String m_bucket;
238
239 Aws::String m_key;
240
241 Aws::String m_uploadId;
242
243 ServerSideEncryption m_serverSideEncryption;
244
245 Aws::String m_sSECustomerAlgorithm;
246
247 Aws::String m_sSECustomerKeyMD5;
248
249 Aws::String m_sSEKMSKeyId;
250
251 Aws::String m_sSEKMSEncryptionContext;
252
253 bool m_bucketKeyEnabled;
254
255 RequestCharged m_requestCharged;
256
257 ChecksumAlgorithm m_checksumAlgorithm;
258
259 Aws::String m_requestId;
260 };
261
262} // namespace Model
263} // namespace S3Crt
264} // namespace Aws
CreateMultipartUploadResult & WithUploadId(Aws::String &&value)
CreateMultipartUploadResult & WithRequestId(const char *value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(const Aws::String &value)
void SetChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(Aws::String &&value)
AWS_S3CRT_API CreateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateMultipartUploadResult & WithRequestCharged(RequestCharged &&value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(Aws::String &&value)
CreateMultipartUploadResult & WithAbortDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadResult & WithAbortDate(Aws::Utils::DateTime &&value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(const char *value)
CreateMultipartUploadResult & WithAbortRuleId(const char *value)
CreateMultipartUploadResult & WithUploadId(const Aws::String &value)
CreateMultipartUploadResult & WithAbortRuleId(const Aws::String &value)
CreateMultipartUploadResult & WithBucket(const Aws::String &value)
CreateMultipartUploadResult & WithServerSideEncryption(ServerSideEncryption &&value)
void SetAbortDate(const Aws::Utils::DateTime &value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(const Aws::String &value)
CreateMultipartUploadResult & WithSSECustomerKeyMD5(const char *value)
CreateMultipartUploadResult & WithChecksumAlgorithm(ChecksumAlgorithm &&value)
CreateMultipartUploadResult & WithRequestId(Aws::String &&value)
CreateMultipartUploadResult & WithChecksumAlgorithm(const ChecksumAlgorithm &value)
CreateMultipartUploadResult & WithAbortRuleId(Aws::String &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadResult & WithBucket(const char *value)
CreateMultipartUploadResult & WithSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadResult & WithBucket(Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
CreateMultipartUploadResult & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadResult & WithKey(const char *value)
CreateMultipartUploadResult & WithKey(Aws::String &&value)
CreateMultipartUploadResult & WithServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(const Aws::String &value)
CreateMultipartUploadResult & WithSSEKMSKeyId(Aws::String &&value)
CreateMultipartUploadResult & WithBucketKeyEnabled(bool value)
CreateMultipartUploadResult & WithUploadId(const char *value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(const char *value)
CreateMultipartUploadResult & WithKey(const Aws::String &value)
CreateMultipartUploadResult & WithRequestCharged(const RequestCharged &value)
CreateMultipartUploadResult & WithRequestId(const Aws::String &value)
AWS_S3CRT_API CreateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument