7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/ServerSideEncryption.h>
10#include <aws/s3/model/RequestCharged.h>
11#include <aws/s3/model/CopyObjectResultDetails.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
46 template<
typename ExpirationT = Aws::String>
47 void SetExpiration(ExpirationT&& value) { m_expirationHasBeenSet =
true; m_expiration = std::forward<ExpirationT>(value); }
48 template<
typename ExpirationT = Aws::String>
59 template<
typename CopySourceVersionIdT = Aws::String>
60 void SetCopySourceVersionId(CopySourceVersionIdT&& value) { m_copySourceVersionIdHasBeenSet =
true; m_copySourceVersionId = std::forward<CopySourceVersionIdT>(value); }
61 template<
typename CopySourceVersionIdT = Aws::String>
71 template<
typename VersionIdT = Aws::String>
72 void SetVersionId(VersionIdT&& value) { m_versionIdHasBeenSet =
true; m_versionId = std::forward<VersionIdT>(value); }
73 template<
typename VersionIdT = Aws::String>
97 template<
typename SSECustomerAlgorithmT = Aws::String>
98 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
99 template<
typename SSECustomerAlgorithmT = Aws::String>
111 template<
typename SSECustomerKeyMD5T = Aws::String>
112 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
113 template<
typename SSECustomerKeyMD5T = Aws::String>
123 template<
typename SSEKMSKeyIdT = Aws::String>
124 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
125 template<
typename SSEKMSKeyIdT = Aws::String>
136 template<
typename SSEKMSEncryptionContextT = Aws::String>
137 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value); }
138 template<
typename SSEKMSEncryptionContextT = Aws::String>
148 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
164 template<
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
165 void SetCopyObjectResultDetails(CopyObjectResultDetailsT&& value) { m_copyObjectResultDetailsHasBeenSet =
true; m_copyObjectResultDetails = std::forward<CopyObjectResultDetailsT>(value); }
166 template<
typename CopyObjectResultDetailsT = CopyObjectResultDetails>
173 template<
typename RequestIdT = Aws::String>
174 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
175 template<
typename RequestIdT = Aws::String>
181 bool m_expirationHasBeenSet =
false;
184 bool m_copySourceVersionIdHasBeenSet =
false;
187 bool m_versionIdHasBeenSet =
false;
190 bool m_serverSideEncryptionHasBeenSet =
false;
193 bool m_sSECustomerAlgorithmHasBeenSet =
false;
196 bool m_sSECustomerKeyMD5HasBeenSet =
false;
199 bool m_sSEKMSKeyIdHasBeenSet =
false;
202 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
204 bool m_bucketKeyEnabled{
false};
205 bool m_bucketKeyEnabledHasBeenSet =
false;
208 bool m_requestChargedHasBeenSet =
false;
210 CopyObjectResultDetails m_copyObjectResultDetails;
211 bool m_copyObjectResultDetailsHasBeenSet =
false;
214 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