7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/ServerSideEncryption.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <aws/s3/model/ChecksumAlgorithm.h>
13#include <aws/s3/model/ChecksumType.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
55 template<
typename AbortDateT = Aws::Utils::DateTime>
56 void SetAbortDate(AbortDateT&& value) { m_abortDateHasBeenSet =
true; m_abortDate = std::forward<AbortDateT>(value); }
57 template<
typename AbortDateT = Aws::Utils::DateTime>
69 template<
typename AbortRuleIdT = Aws::String>
70 void SetAbortRuleId(AbortRuleIdT&& value) { m_abortRuleIdHasBeenSet =
true; m_abortRuleId = std::forward<AbortRuleIdT>(value); }
71 template<
typename AbortRuleIdT = Aws::String>
82 template<
typename BucketT = Aws::String>
83 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
84 template<
typename BucketT = Aws::String>
93 template<
typename KeyT = Aws::String>
94 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
95 template<
typename KeyT = Aws::String>
104 template<
typename UploadIdT = Aws::String>
105 void SetUploadId(UploadIdT&& value) { m_uploadIdHasBeenSet =
true; m_uploadId = std::forward<UploadIdT>(value); }
106 template<
typename UploadIdT = Aws::String>
130 template<
typename SSECustomerAlgorithmT = Aws::String>
131 void SetSSECustomerAlgorithm(SSECustomerAlgorithmT&& value) { m_sSECustomerAlgorithmHasBeenSet =
true; m_sSECustomerAlgorithm = std::forward<SSECustomerAlgorithmT>(value); }
132 template<
typename SSECustomerAlgorithmT = Aws::String>
144 template<
typename SSECustomerKeyMD5T = Aws::String>
145 void SetSSECustomerKeyMD5(SSECustomerKeyMD5T&& value) { m_sSECustomerKeyMD5HasBeenSet =
true; m_sSECustomerKeyMD5 = std::forward<SSECustomerKeyMD5T>(value); }
146 template<
typename SSECustomerKeyMD5T = Aws::String>
156 template<
typename SSEKMSKeyIdT = Aws::String>
157 void SetSSEKMSKeyId(SSEKMSKeyIdT&& value) { m_sSEKMSKeyIdHasBeenSet =
true; m_sSEKMSKeyId = std::forward<SSEKMSKeyIdT>(value); }
158 template<
typename SSEKMSKeyIdT = Aws::String>
170 template<
typename SSEKMSEncryptionContextT = Aws::String>
171 void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT&& value) { m_sSEKMSEncryptionContextHasBeenSet =
true; m_sSEKMSEncryptionContext = std::forward<SSEKMSEncryptionContextT>(value); }
172 template<
typename SSEKMSEncryptionContextT = Aws::String>
182 inline void SetBucketKeyEnabled(
bool value) { m_bucketKeyEnabledHasBeenSet =
true; m_bucketKeyEnabled = value; }
217 template<
typename RequestIdT = Aws::String>
218 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
219 template<
typename RequestIdT = Aws::String>
225 bool m_abortDateHasBeenSet =
false;
228 bool m_abortRuleIdHasBeenSet =
false;
231 bool m_bucketHasBeenSet =
false;
234 bool m_keyHasBeenSet =
false;
237 bool m_uploadIdHasBeenSet =
false;
240 bool m_serverSideEncryptionHasBeenSet =
false;
243 bool m_sSECustomerAlgorithmHasBeenSet =
false;
246 bool m_sSECustomerKeyMD5HasBeenSet =
false;
249 bool m_sSEKMSKeyIdHasBeenSet =
false;
252 bool m_sSEKMSEncryptionContextHasBeenSet =
false;
254 bool m_bucketKeyEnabled{
false};
255 bool m_bucketKeyEnabledHasBeenSet =
false;
258 bool m_requestChargedHasBeenSet =
false;
261 bool m_checksumAlgorithmHasBeenSet =
false;
264 bool m_checksumTypeHasBeenSet =
false;
267 bool m_requestIdHasBeenSet =
false;
bool GetBucketKeyEnabled() const
CreateMultipartUploadResult & WithChecksumType(ChecksumType value)
void SetKey(KeyT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetUploadId() const
CreateMultipartUploadResult & WithBucket(BucketT &&value)
void SetSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
const Aws::String & GetSSEKMSKeyId() const
AWS_S3_API CreateMultipartUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetBucket(BucketT &&value)
void SetAbortDate(AbortDateT &&value)
ServerSideEncryption GetServerSideEncryption() const
const Aws::String & GetSSECustomerAlgorithm() const
void SetRequestCharged(RequestCharged value)
void SetSSEKMSKeyId(SSEKMSKeyIdT &&value)
RequestCharged GetRequestCharged() const
const Aws::String & GetBucket() const
void SetAbortRuleId(AbortRuleIdT &&value)
AWS_S3_API CreateMultipartUploadResult()=default
CreateMultipartUploadResult & WithBucketKeyEnabled(bool value)
CreateMultipartUploadResult & WithAbortDate(AbortDateT &&value)
const Aws::String & GetSSECustomerKeyMD5() const
CreateMultipartUploadResult & WithChecksumAlgorithm(ChecksumAlgorithm value)
const Aws::String & GetKey() const
CreateMultipartUploadResult & WithKey(KeyT &&value)
CreateMultipartUploadResult & WithServerSideEncryption(ServerSideEncryption value)
void SetBucketKeyEnabled(bool value)
CreateMultipartUploadResult & WithSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
CreateMultipartUploadResult & WithAbortRuleId(AbortRuleIdT &&value)
void SetSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
CreateMultipartUploadResult & WithRequestId(RequestIdT &&value)
void SetChecksumType(ChecksumType value)
void SetUploadId(UploadIdT &&value)
ChecksumType GetChecksumType() const
CreateMultipartUploadResult & WithSSECustomerKeyMD5(SSECustomerKeyMD5T &&value)
ChecksumAlgorithm GetChecksumAlgorithm() const
void SetServerSideEncryption(ServerSideEncryption value)
void SetChecksumAlgorithm(ChecksumAlgorithm value)
const Aws::String & GetAbortRuleId() const
CreateMultipartUploadResult & WithUploadId(UploadIdT &&value)
CreateMultipartUploadResult & WithSSEKMSEncryptionContext(SSEKMSEncryptionContextT &&value)
CreateMultipartUploadResult & WithRequestCharged(RequestCharged value)
AWS_S3_API CreateMultipartUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateMultipartUploadResult & WithSSEKMSKeyId(SSEKMSKeyIdT &&value)
const Aws::Utils::DateTime & GetAbortDate() const
const Aws::String & GetSSEKMSEncryptionContext() const
void SetRequestId(RequestIdT &&value)
void SetSSECustomerAlgorithm(SSECustomerAlgorithmT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument