7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/ChecksumType.h>
10#include <aws/s3-crt/model/RequestCharged.h>
11#include <aws/s3-crt/model/ServerSideEncryption.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 template <
typename ExpirationT = Aws::String>
47 m_expirationHasBeenSet =
true;
48 m_expiration = std::forward<ExpirationT>(value);
50 template <
typename ExpirationT = Aws::String>
67 template <
typename ETagT = Aws::String>
69 m_eTagHasBeenSet =
true;
70 m_eTag = std::forward<ETagT>(value);
72 template <
typename ETagT = Aws::String>
74 SetETag(std::forward<ETagT>(value));
91 template <
typename ChecksumCRC32T = Aws::String>
93 m_checksumCRC32HasBeenSet =
true;
94 m_checksumCRC32 = std::forward<ChecksumCRC32T>(value);
96 template <
typename ChecksumCRC32T = Aws::String>
115 template <
typename ChecksumCRC32CT = Aws::String>
117 m_checksumCRC32CHasBeenSet =
true;
118 m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value);
120 template <
typename ChecksumCRC32CT = Aws::String>
139 template <
typename ChecksumCRC64NVMET = Aws::String>
141 m_checksumCRC64NVMEHasBeenSet =
true;
142 m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value);
144 template <
typename ChecksumCRC64NVMET = Aws::String>
163 template <
typename ChecksumSHA1T = Aws::String>
165 m_checksumSHA1HasBeenSet =
true;
166 m_checksumSHA1 = std::forward<ChecksumSHA1T>(value);
168 template <
typename ChecksumSHA1T = Aws::String>
187 template <
typename ChecksumSHA256T = Aws::String>
189 m_checksumSHA256HasBeenSet =
true;
190 m_checksumSHA256 = std::forward<ChecksumSHA256T>(value);
192 template <
typename ChecksumSHA256T = Aws::String>
212 m_checksumTypeHasBeenSet =
true;
213 m_checksumType = value;
230 m_serverSideEncryptionHasBeenSet =
true;
231 m_serverSideEncryption = value;
255 template <
typename VersionIdT = Aws::String>
257 m_versionIdHasBeenSet =
true;
258 m_versionId = std::forward<VersionIdT>(value);
260 template <
typename VersionIdT = Aws::String>
275 template <
typename SSECustomerAlgorithmT = Aws::String>
277 m_sSECustomerAlgorithmHasBeenSet =
true;
278 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
280 template <
typename SSECustomerAlgorithmT = Aws::String>
295 template <
typename SSECustomerKeyMD5T = Aws::String>
297 m_sSECustomerKeyMD5HasBeenSet =
true;
298 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
300 template <
typename SSECustomerKeyMD5T = Aws::String>
313 template <
typename SSEKMSKeyIdT = Aws::String>
315 m_sSEKMSKeyIdHasBeenSet =
true;
316 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
318 template <
typename SSEKMSKeyIdT = Aws::String>
335 template <
typename SSEKMSEncryptionContextT = Aws::String>
337 m_sSEKMSEncryptionContextHasBeenSet =
true;
338 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
340 template <
typename SSEKMSEncryptionContextT = Aws::String>
354 m_bucketKeyEnabledHasBeenSet =
true;
355 m_bucketKeyEnabled = value;
369 inline long long GetSize()
const {
return m_size; }
371 m_sizeHasBeenSet =
true;
384 m_requestChargedHasBeenSet =
true;
385 m_requestCharged = value;
396 template <
typename RequestIdT = Aws::String>
398 m_requestIdHasBeenSet =
true;
399 m_requestId = std::forward<RequestIdT>(value);
401 template <
typename RequestIdT = Aws::String>
436 bool m_bucketKeyEnabled{
false};
443 bool m_expirationHasBeenSet =
false;
444 bool m_eTagHasBeenSet =
false;
445 bool m_checksumCRC32HasBeenSet =
false;
446 bool m_checksumCRC32CHasBeenSet =
false;
447 bool m_checksumCRC64NVMEHasBeenSet =
false;
448 bool m_checksumSHA1HasBeenSet =
false;
449 bool m_checksumSHA256HasBeenSet =
false;
450 bool m_checksumTypeHasBeenSet =
false;
451 bool m_serverSideEncryptionHasBeenSet =
false;
452 bool m_versionIdHasBeenSet =
false;
453 bool m_sSECustomerAlgorithmHasBeenSet =
false;
454 bool m_sSECustomerKeyMD5HasBeenSet =
false;
455 bool m_sSEKMSKeyIdHasBeenSet =
false;
456 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
457 bool m_bucketKeyEnabledHasBeenSet =
false;
458 bool m_sizeHasBeenSet =
false;
459 bool m_requestChargedHasBeenSet =
false;
460 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetChecksumCRC64NVME() const
PutObjectResult & WithETag(ETagT &&value)
void SetChecksumCRC32C(ChecksumCRC32CT &&value)
const Aws::String & GetChecksumSHA1() const
AWS_S3CRT_API PutObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetServerSideEncryption(ServerSideEncryption value)
PutObjectResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
PutObjectResult & WithChecksumSHA1(ChecksumSHA1T &&value)
PutObjectResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
const Aws::String & GetExpiration() const
PutObjectResult & WithVersionId(VersionIdT &&value)
void SetETag(ETagT &&value)
void SetExpiration(ExpirationT &&value)
PutObjectResult & WithExpiration(ExpirationT &&value)
void SetRequestId(RequestIdT &&value)
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetChecksumCRC32() const
ServerSideEncryption GetServerSideEncryption() const
const Aws::String & GetSSECustomerKeyMD5() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetETag() const
long long GetSize() const
PutObjectResult & WithRequestId(RequestIdT &&value)
PutObjectResult & WithBucketKeyEnabled(bool value)
void SetSize(long long value)
PutObjectResult & WithChecksumSHA256(ChecksumSHA256T &&value)
void SetChecksumType(ChecksumType value)
void SetChecksumSHA256(ChecksumSHA256T &&value)
PutObjectResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
AWS_S3CRT_API PutObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
PutObjectResult & WithChecksumCRC32C(ChecksumCRC32CT &&value)
const Aws::String & GetSSEKMSKeyId() const
PutObjectResult & WithChecksumCRC32(ChecksumCRC32T &&value)
const Aws::String & GetSSECustomerAlgorithm() const
const Aws::String & GetSSEKMSEncryptionContext() const
PutObjectResult & WithRequestCharged(RequestCharged value)
PutObjectResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
PutObjectResult & WithServerSideEncryption(ServerSideEncryption value)
const Aws::String & GetChecksumCRC32C() const
void SetRequestCharged(RequestCharged value)
const Aws::String & GetRequestId() const
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
void SetBucketKeyEnabled(bool value)
void SetChecksumSHA1(ChecksumSHA1T &&value)
PutObjectResult & WithSize(long long value)
const Aws::String & GetVersionId() const
bool GetBucketKeyEnabled() const
void SetChecksumCRC32(ChecksumCRC32T &&value)
AWS_S3CRT_API PutObjectResult()=default
void SetVersionId(VersionIdT &&value)
RequestCharged GetRequestCharged() const
const Aws::String & GetChecksumSHA256() const
ChecksumType GetChecksumType() const
PutObjectResult & WithChecksumType(ChecksumType value)
PutObjectResult & WithChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument