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/CopyObjectResultDetails.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <aws/s3/model/ServerSideEncryption.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
41 template <
typename ExpirationT = Aws::String>
43 m_expirationHasBeenSet =
true;
44 m_expiration = std::forward<ExpirationT>(value);
46 template <
typename ExpirationT = Aws::String>
60 template <
typename CopySourceVersionIdT = Aws::String>
62 m_copySourceVersionIdHasBeenSet =
true;
63 m_copySourceVersionId = std::forward<CopySourceVersionIdT>(value);
65 template <
typename CopySourceVersionIdT = Aws::String>
78 template <
typename VersionIdT = Aws::String>
80 m_versionIdHasBeenSet =
true;
81 m_versionId = std::forward<VersionIdT>(value);
83 template <
typename VersionIdT = Aws::String>
99 m_serverSideEncryptionHasBeenSet =
true;
100 m_serverSideEncryption = value;
116 template <
typename SSECustomerAlgorithmT = Aws::String>
118 m_sSECustomerAlgorithmHasBeenSet =
true;
119 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
121 template <
typename SSECustomerAlgorithmT = Aws::String>
136 template <
typename SSECustomerKeyMD5T = Aws::String>
138 m_sSECustomerKeyMD5HasBeenSet =
true;
139 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
141 template <
typename SSECustomerKeyMD5T = Aws::String>
154 template <
typename SSEKMSKeyIdT = Aws::String>
156 m_sSEKMSKeyIdHasBeenSet =
true;
157 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
159 template <
typename SSEKMSKeyIdT = Aws::String>
173 template <
typename SSEKMSEncryptionContextT = Aws::String>
175 m_sSEKMSEncryptionContextHasBeenSet =
true;
176 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
178 template <
typename SSEKMSEncryptionContextT = Aws::String>
192 m_bucketKeyEnabledHasBeenSet =
true;
193 m_bucketKeyEnabled = value;
205 m_requestChargedHasBeenSet =
true;
206 m_requestCharged = value;
219 template <
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
221 m_copyObjectResultDetailsHasBeenSet =
true;
222 m_copyObjectResultDetails = std::forward<CopyObjectResultDetailsT>(value);
224 template <
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
234 template <
typename RequestIdT = Aws::String>
236 m_requestIdHasBeenSet =
true;
237 m_requestId = std::forward<RequestIdT>(value);
239 template <
typename RequestIdT = Aws::String>
264 bool m_bucketKeyEnabled{
false};
268 CopyObjectResultDetails m_copyObjectResultDetails;
272 bool m_expirationHasBeenSet =
false;
273 bool m_copySourceVersionIdHasBeenSet =
false;
274 bool m_versionIdHasBeenSet =
false;
275 bool m_serverSideEncryptionHasBeenSet =
false;
276 bool m_sSECustomerAlgorithmHasBeenSet =
false;
277 bool m_sSECustomerKeyMD5HasBeenSet =
false;
278 bool m_sSEKMSKeyIdHasBeenSet =
false;
279 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
280 bool m_bucketKeyEnabledHasBeenSet =
false;
281 bool m_requestChargedHasBeenSet =
false;
282 bool m_copyObjectResultDetailsHasBeenSet =
false;
283 bool m_requestIdHasBeenSet =
false;
ServerSideEncryption GetServerSideEncryption() const
CopyObjectResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
CopyObjectResult & WithCopySourceVersionId(CopySourceVersionIdT &&value)
const Aws::String & GetSSEKMSKeyId() const
void SetCopyObjectResultDetails(CopyObjectResultDetailsT &&value)
AWS_S3_API CopyObjectResult()=default
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetVersionId() const
AWS_S3_API CopyObjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CopyObjectResult & WithCopyObjectResultDetails(CopyObjectResultDetailsT &&value)
const Aws::String & GetSSEKMSEncryptionContext() const
void SetRequestCharged(RequestCharged value)
CopyObjectResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
void SetVersionId(VersionIdT &&value)
const Aws::String & GetCopySourceVersionId() const
CopyObjectResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
RequestCharged GetRequestCharged() const
const Aws::String & GetExpiration() const
void SetExpiration(ExpirationT &&value)
CopyObjectResult & WithBucketKeyEnabled(bool value)
bool GetBucketKeyEnabled() const
const Aws::String & GetRequestId() const
const Aws::String & GetSSECustomerAlgorithm() const
CopyObjectResult & WithRequestId(RequestIdT &&value)
CopyObjectResult & WithServerSideEncryption(ServerSideEncryption value)
void SetRequestId(RequestIdT &&value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const CopyObjectResultDetails & GetCopyObjectResultDetails() const
void SetCopySourceVersionId(CopySourceVersionIdT &&value)
void SetServerSideEncryption(ServerSideEncryption value)
CopyObjectResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
CopyObjectResult & WithVersionId(VersionIdT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
CopyObjectResult & WithRequestCharged(RequestCharged value)
AWS_S3_API CopyObjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetBucketKeyEnabled(bool value)
const Aws::String & GetSSECustomerKeyMD5() const
CopyObjectResult & WithExpiration(ExpirationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument