7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/CopyObjectResultDetails.h>
10#include <aws/s3/model/RequestCharged.h>
11#include <aws/s3/model/ServerSideEncryption.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename ExpirationT = Aws::String>
42 m_expirationHasBeenSet =
true;
43 m_expiration = std::forward<ExpirationT>(value);
45 template <
typename ExpirationT = Aws::String>
59 template <
typename CopySourceVersionIdT = Aws::String>
61 m_copySourceVersionIdHasBeenSet =
true;
62 m_copySourceVersionId = std::forward<CopySourceVersionIdT>(value);
64 template <
typename CopySourceVersionIdT = Aws::String>
77 template <
typename VersionIdT = Aws::String>
79 m_versionIdHasBeenSet =
true;
80 m_versionId = std::forward<VersionIdT>(value);
82 template <
typename VersionIdT = Aws::String>
98 m_serverSideEncryptionHasBeenSet =
true;
99 m_serverSideEncryption = value;
115 template <
typename SSECustomerAlgorithmT = Aws::String>
117 m_sSECustomerAlgorithmHasBeenSet =
true;
118 m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value);
120 template <
typename SSECustomerAlgorithmT = Aws::String>
135 template <
typename SSECustomerKeyMD5T = Aws::String>
137 m_sSECustomerKeyMD5HasBeenSet =
true;
138 m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value);
140 template <
typename SSECustomerKeyMD5T = Aws::String>
153 template <
typename SSEKMSKeyIdT = Aws::String>
155 m_sSEKMSKeyIdHasBeenSet =
true;
156 m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value);
158 template <
typename SSEKMSKeyIdT = Aws::String>
172 template <
typename SSEKMSEncryptionContextT = Aws::String>
174 m_sSEKMSEncryptionContextHasBeenSet =
true;
175 m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value);
177 template <
typename SSEKMSEncryptionContextT = Aws::String>
191 m_bucketKeyEnabledHasBeenSet =
true;
192 m_bucketKeyEnabled = value;
204 m_requestChargedHasBeenSet =
true;
205 m_requestCharged = value;
218 template <
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
220 m_copyObjectResultDetailsHasBeenSet =
true;
221 m_copyObjectResultDetails = std::forward<CopyObjectResultDetailsT>(value);
223 template <
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
233 template <
typename RequestIdT = Aws::String>
235 m_requestIdHasBeenSet =
true;
236 m_requestId = std::forward<RequestIdT>(value);
238 template <
typename RequestIdT = Aws::String>
261 bool m_bucketKeyEnabled{
false};
265 CopyObjectResultDetails m_copyObjectResultDetails;
268 bool m_expirationHasBeenSet =
false;
269 bool m_copySourceVersionIdHasBeenSet =
false;
270 bool m_versionIdHasBeenSet =
false;
271 bool m_serverSideEncryptionHasBeenSet =
false;
272 bool m_sSECustomerAlgorithmHasBeenSet =
false;
273 bool m_sSECustomerKeyMD5HasBeenSet =
false;
274 bool m_sSEKMSKeyIdHasBeenSet =
false;
275 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
276 bool m_bucketKeyEnabledHasBeenSet =
false;
277 bool m_requestChargedHasBeenSet =
false;
278 bool m_copyObjectResultDetailsHasBeenSet =
false;
279 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)
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