7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/CopyPartResult.h>
10#include <aws/s3-crt/model/RequestCharged.h>
11#include <aws/s3-crt/model/ServerSideEncryption.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename CopySourceVersionIdT = Aws::String>
41 m_copySourceVersionIdHasBeenSet =
true;
42 m_copySourceVersionId = std::forward<CopySourceVersionIdT>(value);
44 template <
typename CopySourceVersionIdT = Aws::String>
56 template <
typename CopyPartResultT = CopyPartResult>
58 m_copyPartResultHasBeenSet =
true;
59 m_copyPartResult = std::forward<CopyPartResultT>(value);
61 template <
typename CopyPartResultT = CopyPartResult>
77 m_serverSideEncryptionHasBeenSet =
true;
78 m_serverSideEncryption = value;
94 template <
typename SSECustomerAlgorithmT = Aws::String>
96 m_sSECustomerAlgorithmHasBeenSet =
true;
97 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
99 template <
typename SSECustomerAlgorithmT = Aws::String>
114 template <
typename SSECustomerKeyMD5T = Aws::String>
116 m_sSECustomerKeyMD5HasBeenSet =
true;
117 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
119 template <
typename SSECustomerKeyMD5T = Aws::String>
132 template <
typename SSEKMSKeyIdT = Aws::String>
134 m_sSEKMSKeyIdHasBeenSet =
true;
135 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
137 template <
typename SSEKMSKeyIdT = Aws::String>
151 m_bucketKeyEnabledHasBeenSet =
true;
152 m_bucketKeyEnabled = value;
164 m_requestChargedHasBeenSet =
true;
165 m_requestCharged = value;
176 template <
typename RequestIdT = Aws::String>
178 m_requestIdHasBeenSet =
true;
179 m_requestId = std::forward<RequestIdT>(value);
181 template <
typename RequestIdT = Aws::String>
200 bool m_bucketKeyEnabled{
false};
205 bool m_copySourceVersionIdHasBeenSet =
false;
206 bool m_copyPartResultHasBeenSet =
false;
207 bool m_serverSideEncryptionHasBeenSet =
false;
208 bool m_sSECustomerAlgorithmHasBeenSet =
false;
209 bool m_sSECustomerKeyMD5HasBeenSet =
false;
210 bool m_sSEKMSKeyIdHasBeenSet =
false;
211 bool m_bucketKeyEnabledHasBeenSet =
false;
212 bool m_requestChargedHasBeenSet =
false;
213 bool m_requestIdHasBeenSet =
false;
UploadPartCopyResult & WithCopySourceVersionId(CopySourceVersionIdT &&value)
const Aws::String & GetRequestId() const
ServerSideEncryption GetServerSideEncryption() const
const Aws::String & GetSSECustomerKeyMD5() const
AWS_S3CRT_API UploadPartCopyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestCharged(RequestCharged value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
UploadPartCopyResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetBucketKeyEnabled(bool value)
const Aws::String & GetSSECustomerAlgorithm() const
void SetRequestId(RequestIdT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
RequestCharged GetRequestCharged() const
bool GetBucketKeyEnabled() const
UploadPartCopyResult & WithBucketKeyEnabled(bool value)
const Aws::String & GetSSEKMSKeyId() const
UploadPartCopyResult & WithServerSideEncryption(ServerSideEncryption value)
UploadPartCopyResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetCopyPartResult(CopyPartResultT &&value)
UploadPartCopyResult & WithCopyPartResult(CopyPartResultT &&value)
const Aws::String & GetCopySourceVersionId() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
UploadPartCopyResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
UploadPartCopyResult & WithRequestId(RequestIdT &&value)
const CopyPartResult & GetCopyPartResult() const
AWS_S3CRT_API UploadPartCopyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetServerSideEncryption(ServerSideEncryption value)
UploadPartCopyResult & WithRequestCharged(RequestCharged value)
void SetCopySourceVersionId(CopySourceVersionIdT &&value)
AWS_S3CRT_API UploadPartCopyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument