7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/ChecksumType.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <aws/s3/model/ServerSideEncryption.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 template <
typename ExpirationT = Aws::String>
48 m_expirationHasBeenSet =
true;
49 m_expiration = std::forward<ExpirationT>(value);
51 template <
typename ExpirationT = Aws::String>
68 template <
typename ETagT = Aws::String>
70 m_eTagHasBeenSet =
true;
71 m_eTag = std::forward<ETagT>(value);
73 template <
typename ETagT = Aws::String>
75 SetETag(std::forward<ETagT>(value));
92 template <
typename ChecksumCRC32T = Aws::String>
94 m_checksumCRC32HasBeenSet =
true;
95 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
97 template <
typename ChecksumCRC32T = Aws::String>
116 template <
typename ChecksumCRC32CT = Aws::String>
118 m_checksumCRC32CHasBeenSet =
true;
119 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
121 template <
typename ChecksumCRC32CT = Aws::String>
140 template <
typename ChecksumCRC64NVMET = Aws::String>
142 m_checksumCRC64NVMEHasBeenSet =
true;
143 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
145 template <
typename ChecksumCRC64NVMET = Aws::String>
164 template <
typename ChecksumSHA1T = Aws::String>
166 m_checksumSHA1HasBeenSet =
true;
167 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
169 template <
typename ChecksumSHA1T = Aws::String>
188 template <
typename ChecksumSHA256T = Aws::String>
190 m_checksumSHA256HasBeenSet =
true;
191 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
193 template <
typename ChecksumSHA256T = Aws::String>
209 template <
typename ChecksumSHA512T = Aws::String>
211 m_checksumSHA512HasBeenSet =
true;
212 m_checksumSHA512 = std::forward<ChecksumSHA512T>(value);
214 template <
typename ChecksumSHA512T = Aws::String>
230 template <
typename ChecksumMD5T = Aws::String>
232 m_checksumMD5HasBeenSet =
true;
233 m_checksumMD5 = std::forward<ChecksumMD5T>(value);
235 template <
typename ChecksumMD5T = Aws::String>
251 template <
typename ChecksumXXHASH64T = Aws::String>
253 m_checksumXXHASH64HasBeenSet =
true;
254 m_checksumXXHASH64 = std::forward<ChecksumXXHASH64T>(value);
256 template <
typename ChecksumXXHASH64T = Aws::String>
272 template <
typename ChecksumXXHASH3T = Aws::String>
274 m_checksumXXHASH3HasBeenSet =
true;
275 m_checksumXXHASH3 = std::forward<ChecksumXXHASH3T>(value);
277 template <
typename ChecksumXXHASH3T = Aws::String>
293 template <
typename ChecksumXXHASH128T = Aws::String>
295 m_checksumXXHASH128HasBeenSet =
true;
296 m_checksumXXHASH128 = std::forward<ChecksumXXHASH128T>(value);
298 template <
typename ChecksumXXHASH128T = Aws::String>
318 m_checksumTypeHasBeenSet =
true;
319 m_checksumType = value;
336 m_serverSideEncryptionHasBeenSet =
true;
337 m_serverSideEncryption = value;
361 template <
typename VersionIdT = Aws::String>
363 m_versionIdHasBeenSet =
true;
364 m_versionId = std::forward<VersionIdT>(value);
366 template <
typename VersionIdT = Aws::String>
381 template <
typename SSECustomerAlgorithmT = Aws::String>
383 m_sSECustomerAlgorithmHasBeenSet =
true;
384 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
386 template <
typename SSECustomerAlgorithmT = Aws::String>
401 template <
typename SSECustomerKeyMD5T = Aws::String>
403 m_sSECustomerKeyMD5HasBeenSet =
true;
404 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
406 template <
typename SSECustomerKeyMD5T = Aws::String>
419 template <
typename SSEKMSKeyIdT = Aws::String>
421 m_sSEKMSKeyIdHasBeenSet =
true;
422 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
424 template <
typename SSEKMSKeyIdT = Aws::String>
441 template <
typename SSEKMSEncryptionContextT = Aws::String>
443 m_sSEKMSEncryptionContextHasBeenSet =
true;
444 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
446 template <
typename SSEKMSEncryptionContextT = Aws::String>
460 m_bucketKeyEnabledHasBeenSet =
true;
461 m_bucketKeyEnabled = value;
475 inline long long GetSize()
const {
return m_size; }
477 m_sizeHasBeenSet =
true;
490 m_requestChargedHasBeenSet =
true;
491 m_requestCharged = value;
502 template <
typename RequestIdT = Aws::String>
504 m_requestIdHasBeenSet =
true;
505 m_requestId = std::forward<RequestIdT>(value);
507 template <
typename RequestIdT = Aws::String>
554 bool m_bucketKeyEnabled{
false};
562 bool m_expirationHasBeenSet =
false;
563 bool m_eTagHasBeenSet =
false;
564 bool m_checksumCRC32HasBeenSet =
false;
565 bool m_checksumCRC32CHasBeenSet =
false;
566 bool m_checksumCRC64NVMEHasBeenSet =
false;
567 bool m_checksumSHA1HasBeenSet =
false;
568 bool m_checksumSHA256HasBeenSet =
false;
569 bool m_checksumSHA512HasBeenSet =
false;
570 bool m_checksumMD5HasBeenSet =
false;
571 bool m_checksumXXHASH64HasBeenSet =
false;
572 bool m_checksumXXHASH3HasBeenSet =
false;
573 bool m_checksumXXHASH128HasBeenSet =
false;
574 bool m_checksumTypeHasBeenSet =
false;
575 bool m_serverSideEncryptionHasBeenSet =
false;
576 bool m_versionIdHasBeenSet =
false;
577 bool m_sSECustomerAlgorithmHasBeenSet =
false;
578 bool m_sSECustomerKeyMD5HasBeenSet =
false;
579 bool m_sSEKMSKeyIdHasBeenSet =
false;
580 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
581 bool m_bucketKeyEnabledHasBeenSet =
false;
582 bool m_sizeHasBeenSet =
false;
583 bool m_requestChargedHasBeenSet =
false;
584 bool m_requestIdHasBeenSet =
false;
void SetChecksumXXHASH64(ChecksumXXHASH64T &&value)
void SetSize(long long value)
const Aws::String & GetChecksumXXHASH3() const
const Aws::String & GetChecksumCRC32C() const
const Aws::String & GetChecksumXXHASH128() const
ServerSideEncryption GetServerSideEncryption() const
PutObjectResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
PutObjectResult & WithChecksumSHA512(ChecksumSHA512T &&value)
PutObjectResult & WithChecksumMD5(ChecksumMD5T &&value)
PutObjectResult & WithChecksumXXHASH64(ChecksumXXHASH64T &&value)
PutObjectResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetExpiration() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetChecksumSHA256(ChecksumSHA256T &&value)
void SetChecksumType(ChecksumType value)
PutObjectResult & WithSize(long long value)
ChecksumType GetChecksumType() const
AWS_S3_API PutObjectResult()=default
PutObjectResult & WithBucketKeyEnabled(bool value)
void SetChecksumCRC32(ChecksumCRC32T &&value)
PutObjectResult & WithChecksumSHA256(ChecksumSHA256T &&value)
PutObjectResult & WithChecksumXXHASH128(ChecksumXXHASH128T &&value)
const Aws::String & GetChecksumSHA1() const
const Aws::String & GetSSEKMSEncryptionContext() const
void SetRequestCharged(RequestCharged value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetChecksumSHA256() const
RequestCharged GetRequestCharged() const
PutObjectResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
bool GetBucketKeyEnabled() const
void SetChecksumXXHASH128(ChecksumXXHASH128T &&value)
PutObjectResult & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
PutObjectResult & WithChecksumCRC32C(ChecksumCRC32CT &&value)
void SetVersionId(VersionIdT &&value)
void SetETag(ETagT &&value)
const Aws::String & GetChecksumCRC32() const
PutObjectResult & WithChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetChecksumSHA512() const
void SetChecksumSHA512(ChecksumSHA512T &&value)
void SetChecksumXXHASH3(ChecksumXXHASH3T &&value)
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
const Aws::String & GetSSEKMSKeyId() const
const Aws::String & GetSSECustomerKeyMD5() const
PutObjectResult & WithChecksumXXHASH3(ChecksumXXHASH3T &&value)
const Aws::String & GetChecksumXXHASH64() const
AWS_S3_API PutObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
PutObjectResult & WithChecksumType(ChecksumType value)
PutObjectResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetExpiration(ExpirationT &&value)
PutObjectResult & WithRequestCharged(RequestCharged value)
PutObjectResult & WithChecksumSHA1(ChecksumSHA1T &&value)
const Aws::String & GetChecksumMD5() const
const Aws::String & GetVersionId() const
void SetServerSideEncryption(ServerSideEncryption value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetETag() const
PutObjectResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
const Aws::String & GetChecksumCRC64NVME() const
PutObjectResult & WithVersionId(VersionIdT &&value)
PutObjectResult & WithETag(ETagT &&value)
AWS_S3_API PutObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
PutObjectResult & WithServerSideEncryption(ServerSideEncryption value)
void SetChecksumMD5(ChecksumMD5T &&value)
PutObjectResult & WithExpiration(ExpirationT &&value)
void SetChecksumSHA1(ChecksumSHA1T &&value)
long long GetSize() const
void SetBucketKeyEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument