7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/CopyPartResult.h>
10#include <aws/s3/model/ServerSideEncryption.h>
11#include <aws/s3/model/RequestCharged.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 template<
typename CopySourceVersionIdT = Aws::String>
46 void SetCopySourceVersionId(CopySourceVersionIdT&& value) { m_copySourceVersionIdHasBeenSet =
true; m_copySourceVersionId = std::forward<CopySourceVersionIdT>(value); }
47 template<
typename CopySourceVersionIdT = Aws::String>
56 template<
typename CopyPartResultT = CopyPartResult>
57 void SetCopyPartResult(CopyPartResultT&& value) { m_copyPartResultHasBeenSet =
true; m_copyPartResult = std::forward<CopyPartResultT>(value); }
58 template<
typename CopyPartResultT = CopyPartResult>
82 template<
typename SSECustomerAlgorithmT = Aws::String>
83 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
84 template<
typename SSECustomerAlgorithmT = Aws::String>
96 template<
typename SSECustomerKeyMD5T = Aws::String>
97 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
98 template<
typename SSECustomerKeyMD5T = Aws::String>
108 template<
typename SSEKMSKeyIdT = Aws::String>
109 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
110 template<
typename SSEKMSKeyIdT = Aws::String>
120 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
134 template<
typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
136 template<
typename RequestIdT = Aws::String>
142 bool m_copySourceVersionIdHasBeenSet =
false;
145 bool m_copyPartResultHasBeenSet =
false;
148 bool m_serverSideEncryptionHasBeenSet =
false;
151 bool m_sSECustomerAlgorithmHasBeenSet =
false;
154 bool m_sSECustomerKeyMD5HasBeenSet =
false;
157 bool m_sSEKMSKeyIdHasBeenSet =
false;
159 bool m_bucketKeyEnabled{
false};
160 bool m_bucketKeyEnabledHasBeenSet =
false;
163 bool m_requestChargedHasBeenSet =
false;
166 bool m_requestIdHasBeenSet =
false;
UploadPartCopyResult & WithCopySourceVersionId(CopySourceVersionIdT &&value)
UploadPartCopyResult & WithRequestCharged(RequestCharged value)
void SetBucketKeyEnabled(bool value)
bool GetBucketKeyEnabled() const
UploadPartCopyResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
void SetRequestCharged(RequestCharged value)
UploadPartCopyResult & WithServerSideEncryption(ServerSideEncryption value)
AWS_S3_API UploadPartCopyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetSSECustomerAlgorithm() const
UploadPartCopyResult & WithRequestId(RequestIdT &&value)
const CopyPartResult & GetCopyPartResult() const
void SetServerSideEncryption(ServerSideEncryption value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
RequestCharged GetRequestCharged() const
UploadPartCopyResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
ServerSideEncryption GetServerSideEncryption() const
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
const Aws::String & GetCopySourceVersionId() const
UploadPartCopyResult & WithCopyPartResult(CopyPartResultT &&value)
const Aws::String & GetSSECustomerKeyMD5() const
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::String & GetRequestId() const
UploadPartCopyResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
void SetCopySourceVersionId(CopySourceVersionIdT &&value)
const Aws::String & GetSSEKMSKeyId() const
AWS_S3_API UploadPartCopyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
UploadPartCopyResult & WithBucketKeyEnabled(bool value)
void SetCopyPartResult(CopyPartResultT &&value)
void SetRequestId(RequestIdT &&value)
AWS_S3_API UploadPartCopyResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument