7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ChecksumType.h>
10#include <aws/s3/model/ServerSideEncryption.h>
11#include <aws/s3/model/RequestCharged.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
51 template<
typename ExpirationT = Aws::String>
52 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet =
true; m_expiration = std::forward<ExpirationT>(value); }
53 template<
typename ExpirationT = Aws::String>
67 template<
typename ETagT = Aws::String>
68 void SetETag(ETagT&& value) { m_eTagHasBeenSet =
true; m_eTag = std::forward<ETagT>(value); }
69 template<
typename ETagT = Aws::String>
85 template<
typename ChecksumCRC32T = Aws::String>
86 void SetChecksumCRC32(ChecksumCRC32T&& value) { m_checksumCRC32HasBeenSet =
true; m_checksumCRC32 = std::forward<ChecksumCRC32T>(value); }
87 template<
typename ChecksumCRC32T = Aws::String>
103 template<
typename ChecksumCRC32CT = Aws::String>
104 void SetChecksumCRC32C(ChecksumCRC32CT&& value) { m_checksumCRC32CHasBeenSet =
true; m_checksumCRC32C = std::forward<ChecksumCRC32CT>(value); }
105 template<
typename ChecksumCRC32CT = Aws::String>
121 template<
typename ChecksumCRC64NVMET = Aws::String>
122 void SetChecksumCRC64NVME(ChecksumCRC64NVMET&& value) { m_checksumCRC64NVMEHasBeenSet =
true; m_checksumCRC64NVME = std::forward<ChecksumCRC64NVMET>(value); }
123 template<
typename ChecksumCRC64NVMET = Aws::String>
139 template<
typename ChecksumSHA1T = Aws::String>
140 void SetChecksumSHA1(ChecksumSHA1T&& value) { m_checksumSHA1HasBeenSet =
true; m_checksumSHA1 = std::forward<ChecksumSHA1T>(value); }
141 template<
typename ChecksumSHA1T = Aws::String>
157 template<
typename ChecksumSHA256T = Aws::String>
158 void SetChecksumSHA256(ChecksumSHA256T&& value) { m_checksumSHA256HasBeenSet =
true; m_checksumSHA256 = std::forward<ChecksumSHA256T>(value); }
159 template<
typename ChecksumSHA256T = Aws::String>
207 template<
typename VersionIdT = Aws::String>
208 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
209 template<
typename VersionIdT = Aws::String>
221 template<
typename SSECustomerAlgorithmT = Aws::String>
222 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
223 template<
typename SSECustomerAlgorithmT = Aws::String>
235 template<
typename SSECustomerKeyMD5T = Aws::String>
236 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
237 template<
typename SSECustomerKeyMD5T = Aws::String>
247 template<
typename SSEKMSKeyIdT = Aws::String>
248 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
249 template<
typename SSEKMSKeyIdT = Aws::String>
263 template<
typename SSEKMSEncryptionContextT = Aws::String>
264 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value); }
265 template<
typename SSEKMSEncryptionContextT = Aws::String>
275 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
285 inline long long GetSize()
const {
return m_size; }
286 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
300 template<
typename RequestIdT = Aws::String>
301 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
302 template<
typename RequestIdT = Aws::String>
308 bool m_expirationHasBeenSet =
false;
311 bool m_eTagHasBeenSet =
false;
314 bool m_checksumCRC32HasBeenSet =
false;
317 bool m_checksumCRC32CHasBeenSet =
false;
320 bool m_checksumCRC64NVMEHasBeenSet =
false;
323 bool m_checksumSHA1HasBeenSet =
false;
326 bool m_checksumSHA256HasBeenSet =
false;
329 bool m_checksumTypeHasBeenSet =
false;
332 bool m_serverSideEncryptionHasBeenSet =
false;
335 bool m_versionIdHasBeenSet =
false;
338 bool m_sSECustomerAlgorithmHasBeenSet =
false;
341 bool m_sSECustomerKeyMD5HasBeenSet =
false;
344 bool m_sSEKMSKeyIdHasBeenSet =
false;
347 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
349 bool m_bucketKeyEnabled{
false};
350 bool m_bucketKeyEnabledHasBeenSet =
false;
353 bool m_sizeHasBeenSet =
false;
356 bool m_requestChargedHasBeenSet =
false;
359 bool m_requestIdHasBeenSet =
false;
void SetSize(long long value)
const Aws::String & GetChecksumCRC32C() const
ServerSideEncryption GetServerSideEncryption() const
PutObjectResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&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)
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
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)
void SetChecksumCRC64NVME(ChecksumCRC64NVMET &&value)
const Aws::String & GetSSEKMSKeyId() const
const Aws::String & GetSSECustomerKeyMD5() 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 & 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)
PutObjectResult & WithServerSideEncryption(ServerSideEncryption 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