AWS SDK for C++  0.14.3
AWS SDK for C++
CreateMultipartUploadRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/s3/S3_EXPORTS.h>
17 #include <aws/s3/S3Request.h>
25 
26 namespace Aws
27 {
28 namespace S3
29 {
30 namespace Model
31 {
32 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
41  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42 
46  inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
47 
51  inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
52 
56  inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = value; }
57 
61  inline CreateMultipartUploadRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
62 
66  inline CreateMultipartUploadRequest& WithACL(ObjectCannedACL&& value) { SetACL(value); return *this;}
67 
68 
69  inline const Aws::String& GetBucket() const{ return m_bucket; }
70 
71 
72  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
73 
74 
75  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = value; }
76 
77 
78  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
79 
80 
81  inline CreateMultipartUploadRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
82 
83 
84  inline CreateMultipartUploadRequest& WithBucket(Aws::String&& value) { SetBucket(value); return *this;}
85 
86 
87  inline CreateMultipartUploadRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
88 
92  inline const Aws::String& GetCacheControl() const{ return m_cacheControl; }
93 
97  inline void SetCacheControl(const Aws::String& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
98 
102  inline void SetCacheControl(Aws::String&& value) { m_cacheControlHasBeenSet = true; m_cacheControl = value; }
103 
107  inline void SetCacheControl(const char* value) { m_cacheControlHasBeenSet = true; m_cacheControl.assign(value); }
108 
112  inline CreateMultipartUploadRequest& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;}
113 
117  inline CreateMultipartUploadRequest& WithCacheControl(Aws::String&& value) { SetCacheControl(value); return *this;}
118 
122  inline CreateMultipartUploadRequest& WithCacheControl(const char* value) { SetCacheControl(value); return *this;}
123 
127  inline const Aws::String& GetContentDisposition() const{ return m_contentDisposition; }
128 
132  inline void SetContentDisposition(const Aws::String& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
133 
137  inline void SetContentDisposition(Aws::String&& value) { m_contentDispositionHasBeenSet = true; m_contentDisposition = value; }
138 
142  inline void SetContentDisposition(const char* value) { m_contentDispositionHasBeenSet = true; m_contentDisposition.assign(value); }
143 
147  inline CreateMultipartUploadRequest& WithContentDisposition(const Aws::String& value) { SetContentDisposition(value); return *this;}
148 
152  inline CreateMultipartUploadRequest& WithContentDisposition(Aws::String&& value) { SetContentDisposition(value); return *this;}
153 
157  inline CreateMultipartUploadRequest& WithContentDisposition(const char* value) { SetContentDisposition(value); return *this;}
158 
164  inline const Aws::String& GetContentEncoding() const{ return m_contentEncoding; }
165 
171  inline void SetContentEncoding(const Aws::String& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
172 
178  inline void SetContentEncoding(Aws::String&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
179 
185  inline void SetContentEncoding(const char* value) { m_contentEncodingHasBeenSet = true; m_contentEncoding.assign(value); }
186 
192  inline CreateMultipartUploadRequest& WithContentEncoding(const Aws::String& value) { SetContentEncoding(value); return *this;}
193 
199  inline CreateMultipartUploadRequest& WithContentEncoding(Aws::String&& value) { SetContentEncoding(value); return *this;}
200 
206  inline CreateMultipartUploadRequest& WithContentEncoding(const char* value) { SetContentEncoding(value); return *this;}
207 
211  inline const Aws::String& GetContentLanguage() const{ return m_contentLanguage; }
212 
216  inline void SetContentLanguage(const Aws::String& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
217 
221  inline void SetContentLanguage(Aws::String&& value) { m_contentLanguageHasBeenSet = true; m_contentLanguage = value; }
222 
226  inline void SetContentLanguage(const char* value) { m_contentLanguageHasBeenSet = true; m_contentLanguage.assign(value); }
227 
231  inline CreateMultipartUploadRequest& WithContentLanguage(const Aws::String& value) { SetContentLanguage(value); return *this;}
232 
236  inline CreateMultipartUploadRequest& WithContentLanguage(Aws::String&& value) { SetContentLanguage(value); return *this;}
237 
241  inline CreateMultipartUploadRequest& WithContentLanguage(const char* value) { SetContentLanguage(value); return *this;}
242 
246  inline const Aws::String& GetContentType() const{ return m_contentType; }
247 
251  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
252 
256  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
257 
261  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
262 
266  inline CreateMultipartUploadRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
267 
271  inline CreateMultipartUploadRequest& WithContentType(Aws::String&& value) { SetContentType(value); return *this;}
272 
276  inline CreateMultipartUploadRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
277 
281  inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
282 
286  inline void SetExpires(const Aws::Utils::DateTime& value) { m_expiresHasBeenSet = true; m_expires = value; }
287 
291  inline void SetExpires(Aws::Utils::DateTime&& value) { m_expiresHasBeenSet = true; m_expires = value; }
292 
296  inline CreateMultipartUploadRequest& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
297 
301  inline CreateMultipartUploadRequest& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(value); return *this;}
302 
306  inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
307 
311  inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
312 
316  inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
317 
321  inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
322 
326  inline CreateMultipartUploadRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
327 
331  inline CreateMultipartUploadRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(value); return *this;}
332 
336  inline CreateMultipartUploadRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
337 
341  inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
342 
346  inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
347 
351  inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
352 
356  inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
357 
361  inline CreateMultipartUploadRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
362 
366  inline CreateMultipartUploadRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(value); return *this;}
367 
371  inline CreateMultipartUploadRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
372 
376  inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
377 
381  inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
382 
386  inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
387 
391  inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
392 
396  inline CreateMultipartUploadRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
397 
401  inline CreateMultipartUploadRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(value); return *this;}
402 
406  inline CreateMultipartUploadRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
407 
411  inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
412 
416  inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
417 
421  inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
422 
426  inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
427 
431  inline CreateMultipartUploadRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
432 
436  inline CreateMultipartUploadRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(value); return *this;}
437 
441  inline CreateMultipartUploadRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
442 
443 
444  inline const Aws::String& GetKey() const{ return m_key; }
445 
446 
447  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
448 
449 
450  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = value; }
451 
452 
453  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
454 
455 
456  inline CreateMultipartUploadRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
457 
458 
459  inline CreateMultipartUploadRequest& WithKey(Aws::String&& value) { SetKey(value); return *this;}
460 
461 
462  inline CreateMultipartUploadRequest& WithKey(const char* value) { SetKey(value); return *this;}
463 
467  inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
468 
472  inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadataHasBeenSet = true; m_metadata = value; }
473 
477  inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadataHasBeenSet = true; m_metadata = value; }
478 
482  inline CreateMultipartUploadRequest& WithMetadata(const Aws::Map<Aws::String, Aws::String>& value) { SetMetadata(value); return *this;}
483 
487  inline CreateMultipartUploadRequest& WithMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetMetadata(value); return *this;}
488 
492  inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
493 
497  inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
498 
502  inline CreateMultipartUploadRequest& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
503 
507  inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
508 
512  inline CreateMultipartUploadRequest& AddMetadata(const char* key, Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
513 
517  inline CreateMultipartUploadRequest& AddMetadata(Aws::String&& key, const char* value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
518 
522  inline CreateMultipartUploadRequest& AddMetadata(const char* key, const char* value) { m_metadataHasBeenSet = true; m_metadata[key] = value; return *this; }
523 
528  inline const ServerSideEncryption& GetServerSideEncryption() const{ return m_serverSideEncryption; }
529 
534  inline void SetServerSideEncryption(const ServerSideEncryption& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
535 
540  inline void SetServerSideEncryption(ServerSideEncryption&& value) { m_serverSideEncryptionHasBeenSet = true; m_serverSideEncryption = value; }
541 
546  inline CreateMultipartUploadRequest& WithServerSideEncryption(const ServerSideEncryption& value) { SetServerSideEncryption(value); return *this;}
547 
552  inline CreateMultipartUploadRequest& WithServerSideEncryption(ServerSideEncryption&& value) { SetServerSideEncryption(value); return *this;}
553 
557  inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
558 
562  inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
563 
567  inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
568 
572  inline CreateMultipartUploadRequest& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
573 
577  inline CreateMultipartUploadRequest& WithStorageClass(StorageClass&& value) { SetStorageClass(value); return *this;}
578 
584  inline const Aws::String& GetWebsiteRedirectLocation() const{ return m_websiteRedirectLocation; }
585 
591  inline void SetWebsiteRedirectLocation(const Aws::String& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
592 
598  inline void SetWebsiteRedirectLocation(Aws::String&& value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation = value; }
599 
605  inline void SetWebsiteRedirectLocation(const char* value) { m_websiteRedirectLocationHasBeenSet = true; m_websiteRedirectLocation.assign(value); }
606 
612  inline CreateMultipartUploadRequest& WithWebsiteRedirectLocation(const Aws::String& value) { SetWebsiteRedirectLocation(value); return *this;}
613 
619  inline CreateMultipartUploadRequest& WithWebsiteRedirectLocation(Aws::String&& value) { SetWebsiteRedirectLocation(value); return *this;}
620 
626  inline CreateMultipartUploadRequest& WithWebsiteRedirectLocation(const char* value) { SetWebsiteRedirectLocation(value); return *this;}
627 
631  inline const Aws::String& GetSSECustomerAlgorithm() const{ return m_sSECustomerAlgorithm; }
632 
636  inline void SetSSECustomerAlgorithm(const Aws::String& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
637 
641  inline void SetSSECustomerAlgorithm(Aws::String&& value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm = value; }
642 
646  inline void SetSSECustomerAlgorithm(const char* value) { m_sSECustomerAlgorithmHasBeenSet = true; m_sSECustomerAlgorithm.assign(value); }
647 
651  inline CreateMultipartUploadRequest& WithSSECustomerAlgorithm(const Aws::String& value) { SetSSECustomerAlgorithm(value); return *this;}
652 
656  inline CreateMultipartUploadRequest& WithSSECustomerAlgorithm(Aws::String&& value) { SetSSECustomerAlgorithm(value); return *this;}
657 
661  inline CreateMultipartUploadRequest& WithSSECustomerAlgorithm(const char* value) { SetSSECustomerAlgorithm(value); return *this;}
662 
670  inline const Aws::String& GetSSECustomerKey() const{ return m_sSECustomerKey; }
671 
679  inline void SetSSECustomerKey(const Aws::String& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
680 
688  inline void SetSSECustomerKey(Aws::String&& value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey = value; }
689 
697  inline void SetSSECustomerKey(const char* value) { m_sSECustomerKeyHasBeenSet = true; m_sSECustomerKey.assign(value); }
698 
706  inline CreateMultipartUploadRequest& WithSSECustomerKey(const Aws::String& value) { SetSSECustomerKey(value); return *this;}
707 
715  inline CreateMultipartUploadRequest& WithSSECustomerKey(Aws::String&& value) { SetSSECustomerKey(value); return *this;}
716 
724  inline CreateMultipartUploadRequest& WithSSECustomerKey(const char* value) { SetSSECustomerKey(value); return *this;}
725 
731  inline const Aws::String& GetSSECustomerKeyMD5() const{ return m_sSECustomerKeyMD5; }
732 
738  inline void SetSSECustomerKeyMD5(const Aws::String& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
739 
745  inline void SetSSECustomerKeyMD5(Aws::String&& value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5 = value; }
746 
752  inline void SetSSECustomerKeyMD5(const char* value) { m_sSECustomerKeyMD5HasBeenSet = true; m_sSECustomerKeyMD5.assign(value); }
753 
759  inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(const Aws::String& value) { SetSSECustomerKeyMD5(value); return *this;}
760 
766  inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(Aws::String&& value) { SetSSECustomerKeyMD5(value); return *this;}
767 
773  inline CreateMultipartUploadRequest& WithSSECustomerKeyMD5(const char* value) { SetSSECustomerKeyMD5(value); return *this;}
774 
782  inline const Aws::String& GetSSEKMSKeyId() const{ return m_sSEKMSKeyId; }
783 
791  inline void SetSSEKMSKeyId(const Aws::String& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
792 
800  inline void SetSSEKMSKeyId(Aws::String&& value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId = value; }
801 
809  inline void SetSSEKMSKeyId(const char* value) { m_sSEKMSKeyIdHasBeenSet = true; m_sSEKMSKeyId.assign(value); }
810 
818  inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const Aws::String& value) { SetSSEKMSKeyId(value); return *this;}
819 
827  inline CreateMultipartUploadRequest& WithSSEKMSKeyId(Aws::String&& value) { SetSSEKMSKeyId(value); return *this;}
828 
836  inline CreateMultipartUploadRequest& WithSSEKMSKeyId(const char* value) { SetSSEKMSKeyId(value); return *this;}
837 
838 
839  inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
840 
841 
842  inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
843 
844 
845  inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
846 
847 
848  inline CreateMultipartUploadRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
849 
850 
851  inline CreateMultipartUploadRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(value); return *this;}
852 
853  private:
854  ObjectCannedACL m_aCL;
855  bool m_aCLHasBeenSet;
856  Aws::String m_bucket;
857  bool m_bucketHasBeenSet;
858  Aws::String m_cacheControl;
859  bool m_cacheControlHasBeenSet;
860  Aws::String m_contentDisposition;
861  bool m_contentDispositionHasBeenSet;
862  Aws::String m_contentEncoding;
863  bool m_contentEncodingHasBeenSet;
864  Aws::String m_contentLanguage;
865  bool m_contentLanguageHasBeenSet;
866  Aws::String m_contentType;
867  bool m_contentTypeHasBeenSet;
868  Aws::Utils::DateTime m_expires;
869  bool m_expiresHasBeenSet;
870  Aws::String m_grantFullControl;
871  bool m_grantFullControlHasBeenSet;
872  Aws::String m_grantRead;
873  bool m_grantReadHasBeenSet;
874  Aws::String m_grantReadACP;
875  bool m_grantReadACPHasBeenSet;
876  Aws::String m_grantWriteACP;
877  bool m_grantWriteACPHasBeenSet;
878  Aws::String m_key;
879  bool m_keyHasBeenSet;
881  bool m_metadataHasBeenSet;
882  ServerSideEncryption m_serverSideEncryption;
883  bool m_serverSideEncryptionHasBeenSet;
884  StorageClass m_storageClass;
885  bool m_storageClassHasBeenSet;
886  Aws::String m_websiteRedirectLocation;
887  bool m_websiteRedirectLocationHasBeenSet;
888  Aws::String m_sSECustomerAlgorithm;
889  bool m_sSECustomerAlgorithmHasBeenSet;
890  Aws::String m_sSECustomerKey;
891  bool m_sSECustomerKeyHasBeenSet;
892  Aws::String m_sSECustomerKeyMD5;
893  bool m_sSECustomerKeyMD5HasBeenSet;
894  Aws::String m_sSEKMSKeyId;
895  bool m_sSEKMSKeyIdHasBeenSet;
896  RequestPayer m_requestPayer;
897  bool m_requestPayerHasBeenSet;
898  };
899 
900 } // namespace Model
901 } // namespace S3
902 } // namespace Aws
CreateMultipartUploadRequest & WithSSEKMSKeyId(Aws::String &&value)
CreateMultipartUploadRequest & WithServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKey(Aws::String &&value)
CreateMultipartUploadRequest & WithContentEncoding(Aws::String &&value)
CreateMultipartUploadRequest & WithStorageClass(const StorageClass &value)
CreateMultipartUploadRequest & WithExpires(const Aws::Utils::DateTime &value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithRequestPayer(const RequestPayer &value)
CreateMultipartUploadRequest & WithContentEncoding(const char *value)
CreateMultipartUploadRequest & WithGrantReadACP(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const char *value)
CreateMultipartUploadRequest & WithContentType(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(Aws::String &&value)
CreateMultipartUploadRequest & WithServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantRead(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantReadACP(Aws::String &&value)
CreateMultipartUploadRequest & WithStorageClass(StorageClass &&value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
CreateMultipartUploadRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateMultipartUploadRequest & WithBucket(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
CreateMultipartUploadRequest & WithContentEncoding(const Aws::String &value)
#define AWS_S3_API
Definition: S3_EXPORTS.h:37
CreateMultipartUploadRequest & WithACL(ObjectCannedACL &&value)
void SetServerSideEncryption(const ServerSideEncryption &value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
const ServerSideEncryption & GetServerSideEncryption() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithBucket(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantRead(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantRead(const char *value)
CreateMultipartUploadRequest & AddMetadata(const char *key, const char *value)
CreateMultipartUploadRequest & WithGrantFullControl(const char *value)
CreateMultipartUploadRequest & WithSSEKMSKeyId(const Aws::String &value)
CreateMultipartUploadRequest & WithContentDisposition(const Aws::String &value)
CreateMultipartUploadRequest & WithKey(const char *value)
CreateMultipartUploadRequest & WithExpires(Aws::Utils::DateTime &&value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const char *value)
CreateMultipartUploadRequest & WithContentLanguage(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
CreateMultipartUploadRequest & WithSSEKMSKeyId(const char *value)
CreateMultipartUploadRequest & WithBucket(Aws::String &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const Aws::String &value)
CreateMultipartUploadRequest & WithCacheControl(const char *value)
CreateMultipartUploadRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
const Aws::Utils::DateTime & GetExpires() const
CreateMultipartUploadRequest & WithACL(const ObjectCannedACL &value)
CreateMultipartUploadRequest & AddMetadata(const char *key, Aws::String &&value)
CreateMultipartUploadRequest & WithKey(Aws::String &&value)
CreateMultipartUploadRequest & WithContentLanguage(Aws::String &&value)
CreateMultipartUploadRequest & WithGrantWriteACP(const Aws::String &value)
CreateMultipartUploadRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateMultipartUploadRequest & WithGrantFullControl(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerKey(const char *value)
CreateMultipartUploadRequest & WithContentType(Aws::String &&value)
CreateMultipartUploadRequest & WithWebsiteRedirectLocation(const char *value)
CreateMultipartUploadRequest & WithContentLanguage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateMultipartUploadRequest & WithContentType(const char *value)
void SetServerSideEncryption(ServerSideEncryption &&value)
CreateMultipartUploadRequest & WithContentDisposition(const char *value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(const Aws::String &value)
CreateMultipartUploadRequest & WithSSECustomerAlgorithm(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantReadACP(const char *value)
void SetExpires(const Aws::Utils::DateTime &value)
CreateMultipartUploadRequest & WithCacheControl(const Aws::String &value)
CreateMultipartUploadRequest & WithRequestPayer(RequestPayer &&value)
CreateMultipartUploadRequest & WithCacheControl(Aws::String &&value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
CreateMultipartUploadRequest & WithContentDisposition(Aws::String &&value)
CreateMultipartUploadRequest & AddMetadata(Aws::String &&key, const char *value)
CreateMultipartUploadRequest & WithSSECustomerKeyMD5(Aws::String &&value)
CreateMultipartUploadRequest & WithSSECustomerKey(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantFullControl(Aws::String &&value)
JSON (JavaScript Object Notation).
CreateMultipartUploadRequest & WithKey(const Aws::String &value)
CreateMultipartUploadRequest & WithGrantWriteACP(const char *value)