AWS SDK for C++  1.9.106
AWS SDK for C++
PutObjectAclRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/s3/S3_EXPORTS.h>
8 #include <aws/s3/S3Request.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Http
19 {
20  class URI;
21 } //namespace Http
22 namespace S3
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "PutObjectAcl"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
45 
46  inline bool ShouldComputeContentMd5() const override { return true; }
47 
48 
54  inline const ObjectCannedACL& GetACL() const{ return m_aCL; }
55 
61  inline bool ACLHasBeenSet() const { return m_aCLHasBeenSet; }
62 
68  inline void SetACL(const ObjectCannedACL& value) { m_aCLHasBeenSet = true; m_aCL = value; }
69 
75  inline void SetACL(ObjectCannedACL&& value) { m_aCLHasBeenSet = true; m_aCL = std::move(value); }
76 
82  inline PutObjectAclRequest& WithACL(const ObjectCannedACL& value) { SetACL(value); return *this;}
83 
89  inline PutObjectAclRequest& WithACL(ObjectCannedACL&& value) { SetACL(std::move(value)); return *this;}
90 
91 
96  inline const AccessControlPolicy& GetAccessControlPolicy() const{ return m_accessControlPolicy; }
97 
102  inline bool AccessControlPolicyHasBeenSet() const { return m_accessControlPolicyHasBeenSet; }
103 
108  inline void SetAccessControlPolicy(const AccessControlPolicy& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = value; }
109 
114  inline void SetAccessControlPolicy(AccessControlPolicy&& value) { m_accessControlPolicyHasBeenSet = true; m_accessControlPolicy = std::move(value); }
115 
120  inline PutObjectAclRequest& WithAccessControlPolicy(const AccessControlPolicy& value) { SetAccessControlPolicy(value); return *this;}
121 
126  inline PutObjectAclRequest& WithAccessControlPolicy(AccessControlPolicy&& value) { SetAccessControlPolicy(std::move(value)); return *this;}
127 
128 
140  inline const Aws::String& GetBucket() const{ return m_bucket; }
141 
153  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
154 
166  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
167 
179  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
180 
192  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
193 
205  inline PutObjectAclRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
206 
218  inline PutObjectAclRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
219 
231  inline PutObjectAclRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
232 
233 
242  inline const Aws::String& GetContentMD5() const{ return m_contentMD5; }
243 
252  inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
253 
262  inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; }
263 
272  inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); }
273 
282  inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); }
283 
292  inline PutObjectAclRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;}
293 
302  inline PutObjectAclRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;}
303 
312  inline PutObjectAclRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;}
313 
314 
319  inline const Aws::String& GetGrantFullControl() const{ return m_grantFullControl; }
320 
325  inline bool GrantFullControlHasBeenSet() const { return m_grantFullControlHasBeenSet; }
326 
331  inline void SetGrantFullControl(const Aws::String& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = value; }
332 
337  inline void SetGrantFullControl(Aws::String&& value) { m_grantFullControlHasBeenSet = true; m_grantFullControl = std::move(value); }
338 
343  inline void SetGrantFullControl(const char* value) { m_grantFullControlHasBeenSet = true; m_grantFullControl.assign(value); }
344 
349  inline PutObjectAclRequest& WithGrantFullControl(const Aws::String& value) { SetGrantFullControl(value); return *this;}
350 
355  inline PutObjectAclRequest& WithGrantFullControl(Aws::String&& value) { SetGrantFullControl(std::move(value)); return *this;}
356 
361  inline PutObjectAclRequest& WithGrantFullControl(const char* value) { SetGrantFullControl(value); return *this;}
362 
363 
368  inline const Aws::String& GetGrantRead() const{ return m_grantRead; }
369 
374  inline bool GrantReadHasBeenSet() const { return m_grantReadHasBeenSet; }
375 
380  inline void SetGrantRead(const Aws::String& value) { m_grantReadHasBeenSet = true; m_grantRead = value; }
381 
386  inline void SetGrantRead(Aws::String&& value) { m_grantReadHasBeenSet = true; m_grantRead = std::move(value); }
387 
392  inline void SetGrantRead(const char* value) { m_grantReadHasBeenSet = true; m_grantRead.assign(value); }
393 
398  inline PutObjectAclRequest& WithGrantRead(const Aws::String& value) { SetGrantRead(value); return *this;}
399 
404  inline PutObjectAclRequest& WithGrantRead(Aws::String&& value) { SetGrantRead(std::move(value)); return *this;}
405 
410  inline PutObjectAclRequest& WithGrantRead(const char* value) { SetGrantRead(value); return *this;}
411 
412 
417  inline const Aws::String& GetGrantReadACP() const{ return m_grantReadACP; }
418 
423  inline bool GrantReadACPHasBeenSet() const { return m_grantReadACPHasBeenSet; }
424 
429  inline void SetGrantReadACP(const Aws::String& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = value; }
430 
435  inline void SetGrantReadACP(Aws::String&& value) { m_grantReadACPHasBeenSet = true; m_grantReadACP = std::move(value); }
436 
441  inline void SetGrantReadACP(const char* value) { m_grantReadACPHasBeenSet = true; m_grantReadACP.assign(value); }
442 
447  inline PutObjectAclRequest& WithGrantReadACP(const Aws::String& value) { SetGrantReadACP(value); return *this;}
448 
453  inline PutObjectAclRequest& WithGrantReadACP(Aws::String&& value) { SetGrantReadACP(std::move(value)); return *this;}
454 
459  inline PutObjectAclRequest& WithGrantReadACP(const char* value) { SetGrantReadACP(value); return *this;}
460 
461 
467  inline const Aws::String& GetGrantWrite() const{ return m_grantWrite; }
468 
474  inline bool GrantWriteHasBeenSet() const { return m_grantWriteHasBeenSet; }
475 
481  inline void SetGrantWrite(const Aws::String& value) { m_grantWriteHasBeenSet = true; m_grantWrite = value; }
482 
488  inline void SetGrantWrite(Aws::String&& value) { m_grantWriteHasBeenSet = true; m_grantWrite = std::move(value); }
489 
495  inline void SetGrantWrite(const char* value) { m_grantWriteHasBeenSet = true; m_grantWrite.assign(value); }
496 
502  inline PutObjectAclRequest& WithGrantWrite(const Aws::String& value) { SetGrantWrite(value); return *this;}
503 
509  inline PutObjectAclRequest& WithGrantWrite(Aws::String&& value) { SetGrantWrite(std::move(value)); return *this;}
510 
516  inline PutObjectAclRequest& WithGrantWrite(const char* value) { SetGrantWrite(value); return *this;}
517 
518 
523  inline const Aws::String& GetGrantWriteACP() const{ return m_grantWriteACP; }
524 
529  inline bool GrantWriteACPHasBeenSet() const { return m_grantWriteACPHasBeenSet; }
530 
535  inline void SetGrantWriteACP(const Aws::String& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = value; }
536 
541  inline void SetGrantWriteACP(Aws::String&& value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP = std::move(value); }
542 
547  inline void SetGrantWriteACP(const char* value) { m_grantWriteACPHasBeenSet = true; m_grantWriteACP.assign(value); }
548 
553  inline PutObjectAclRequest& WithGrantWriteACP(const Aws::String& value) { SetGrantWriteACP(value); return *this;}
554 
559  inline PutObjectAclRequest& WithGrantWriteACP(Aws::String&& value) { SetGrantWriteACP(std::move(value)); return *this;}
560 
565  inline PutObjectAclRequest& WithGrantWriteACP(const char* value) { SetGrantWriteACP(value); return *this;}
566 
567 
587  inline const Aws::String& GetKey() const{ return m_key; }
588 
608  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
609 
629  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
630 
650  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
651 
671  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
672 
692  inline PutObjectAclRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
693 
713  inline PutObjectAclRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
714 
734  inline PutObjectAclRequest& WithKey(const char* value) { SetKey(value); return *this;}
735 
736 
737 
738  inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
739 
740 
741  inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
742 
743 
744  inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
745 
746 
747  inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
748 
749 
750  inline PutObjectAclRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
751 
752 
753  inline PutObjectAclRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
754 
755 
759  inline const Aws::String& GetVersionId() const{ return m_versionId; }
760 
764  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
765 
769  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
770 
774  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
775 
779  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
780 
784  inline PutObjectAclRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
785 
789  inline PutObjectAclRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
790 
794  inline PutObjectAclRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
795 
796 
802  inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
803 
809  inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
810 
816  inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
817 
823  inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
824 
830  inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
831 
837  inline PutObjectAclRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
838 
844  inline PutObjectAclRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
845 
851  inline PutObjectAclRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
852 
853 
854 
855  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
856 
857 
858  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
859 
860 
861  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
862 
863 
864  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
865 
866 
867  inline PutObjectAclRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
868 
869 
870  inline PutObjectAclRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
871 
872 
873  inline PutObjectAclRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
874 
875 
876  inline PutObjectAclRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
877 
878 
879  inline PutObjectAclRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
880 
881 
882  inline PutObjectAclRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
883 
884 
885  inline PutObjectAclRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
886 
887 
888  inline PutObjectAclRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
889 
890 
891  inline PutObjectAclRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
892 
893  private:
894 
895  ObjectCannedACL m_aCL;
896  bool m_aCLHasBeenSet;
897 
898  AccessControlPolicy m_accessControlPolicy;
899  bool m_accessControlPolicyHasBeenSet;
900 
901  Aws::String m_bucket;
902  bool m_bucketHasBeenSet;
903 
904  Aws::String m_contentMD5;
905  bool m_contentMD5HasBeenSet;
906 
907  Aws::String m_grantFullControl;
908  bool m_grantFullControlHasBeenSet;
909 
910  Aws::String m_grantRead;
911  bool m_grantReadHasBeenSet;
912 
913  Aws::String m_grantReadACP;
914  bool m_grantReadACPHasBeenSet;
915 
916  Aws::String m_grantWrite;
917  bool m_grantWriteHasBeenSet;
918 
919  Aws::String m_grantWriteACP;
920  bool m_grantWriteACPHasBeenSet;
921 
922  Aws::String m_key;
923  bool m_keyHasBeenSet;
924 
925  RequestPayer m_requestPayer;
926  bool m_requestPayerHasBeenSet;
927 
928  Aws::String m_versionId;
929  bool m_versionIdHasBeenSet;
930 
931  Aws::String m_expectedBucketOwner;
932  bool m_expectedBucketOwnerHasBeenSet;
933 
934  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
935  bool m_customizedAccessLogTagHasBeenSet;
936  };
937 
938 } // namespace Model
939 } // namespace S3
940 } // namespace Aws
Aws::S3::Model::PutObjectAclRequest::WithGrantWriteACP
PutObjectAclRequest & WithGrantWriteACP(const char *value)
Definition: PutObjectAclRequest.h:565
Aws::S3::Model::PutObjectAclRequest::WithGrantRead
PutObjectAclRequest & WithGrantRead(const char *value)
Definition: PutObjectAclRequest.h:410
Aws::S3::Model::PutObjectAclRequest::ContentMD5HasBeenSet
bool ContentMD5HasBeenSet() const
Definition: PutObjectAclRequest.h:252
Aws::S3::Model::PutObjectAclRequest::SetAccessControlPolicy
void SetAccessControlPolicy(const AccessControlPolicy &value)
Definition: PutObjectAclRequest.h:108
Aws::S3::Model::PutObjectAclRequest::GetBucket
const Aws::String & GetBucket() const
Definition: PutObjectAclRequest.h:140
Aws::S3::Model::PutObjectAclRequest::WithACL
PutObjectAclRequest & WithACL(ObjectCannedACL &&value)
Definition: PutObjectAclRequest.h:89
Aws::S3::Model::PutObjectAclRequest::WithGrantFullControl
PutObjectAclRequest & WithGrantFullControl(Aws::String &&value)
Definition: PutObjectAclRequest.h:355
Aws::Http::URI
Definition: URI.h:32
Aws::S3::Model::PutObjectAclRequest::WithGrantRead
PutObjectAclRequest & WithGrantRead(const Aws::String &value)
Definition: PutObjectAclRequest.h:398
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
S3Request.h
Aws::S3::Model::PutObjectAclRequest::SetKey
void SetKey(const char *value)
Definition: PutObjectAclRequest.h:671
Aws::S3::Model::PutObjectAclRequest::SetKey
void SetKey(Aws::String &&value)
Definition: PutObjectAclRequest.h:650
Aws::S3::Model::PutObjectAclRequest::SetGrantRead
void SetGrantRead(Aws::String &&value)
Definition: PutObjectAclRequest.h:386
Aws::S3::Model::PutObjectAclRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(Aws::String &&value)
Definition: PutObjectAclRequest.h:823
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Definition: PutObjectAclRequest.h:888
Aws::S3::Model::PutObjectAclRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const Aws::String &value)
Definition: PutObjectAclRequest.h:816
Aws::S3::Model::PutObjectAclRequest::WithRequestPayer
PutObjectAclRequest & WithRequestPayer(const RequestPayer &value)
Definition: PutObjectAclRequest.h:750
Aws::S3::Model::PutObjectAclRequest::SetGrantWriteACP
void SetGrantWriteACP(const char *value)
Definition: PutObjectAclRequest.h:547
Aws::S3::Model::PutObjectAclRequest::SetContentMD5
void SetContentMD5(Aws::String &&value)
Definition: PutObjectAclRequest.h:272
Aws::S3::Model::PutObjectAclRequest::GetContentMD5
const Aws::String & GetContentMD5() const
Definition: PutObjectAclRequest.h:242
Aws::S3::Model::PutObjectAclRequest::SetACL
void SetACL(const ObjectCannedACL &value)
Definition: PutObjectAclRequest.h:68
Aws::S3::Model::PutObjectAclRequest::GrantWriteHasBeenSet
bool GrantWriteHasBeenSet() const
Definition: PutObjectAclRequest.h:474
Aws::S3::Model::PutObjectAclRequest::SetGrantFullControl
void SetGrantFullControl(Aws::String &&value)
Definition: PutObjectAclRequest.h:337
Aws::S3::Model::PutObjectAclRequest::SetGrantWrite
void SetGrantWrite(const Aws::String &value)
Definition: PutObjectAclRequest.h:481
Aws::S3::Model::PutObjectAclRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const char *value)
Definition: PutObjectAclRequest.h:830
Aws::S3::Model::PutObjectAclRequest::WithContentMD5
PutObjectAclRequest & WithContentMD5(const char *value)
Definition: PutObjectAclRequest.h:312
Aws::S3::Model::PutObjectAclRequest
Definition: PutObjectAclRequest.h:30
Aws::S3::Model::PutObjectAclRequest::SetGrantRead
void SetGrantRead(const Aws::String &value)
Definition: PutObjectAclRequest.h:380
Aws::S3::Model::PutObjectAclRequest::WithExpectedBucketOwner
PutObjectAclRequest & WithExpectedBucketOwner(const char *value)
Definition: PutObjectAclRequest.h:851
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Definition: PutObjectAclRequest.h:891
Aws::S3::Model::PutObjectAclRequest::SetVersionId
void SetVersionId(const char *value)
Definition: PutObjectAclRequest.h:779
Aws::S3::Model::ObjectCannedACL
ObjectCannedACL
Definition: ObjectCannedACL.h:17
Aws::S3::Model::PutObjectAclRequest::GetKey
const Aws::String & GetKey() const
Definition: PutObjectAclRequest.h:587
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
Definition: PutObjectAclRequest.h:882
Aws::S3::Model::PutObjectAclRequest::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: PutObjectAclRequest.h:764
Aws::S3::Model::PutObjectAclRequest::SetGrantReadACP
void SetGrantReadACP(const char *value)
Definition: PutObjectAclRequest.h:441
Aws::S3::Model::PutObjectAclRequest::GetExpectedBucketOwner
const Aws::String & GetExpectedBucketOwner() const
Definition: PutObjectAclRequest.h:802
Aws::S3::Model::PutObjectAclRequest::SetContentMD5
void SetContentMD5(const char *value)
Definition: PutObjectAclRequest.h:282
Aws::S3::Model::PutObjectAclRequest::SetBucket
void SetBucket(const Aws::String &value)
Definition: PutObjectAclRequest.h:166
AccessControlPolicy.h
Aws::S3::Model::PutObjectAclRequest::GrantFullControlHasBeenSet
bool GrantFullControlHasBeenSet() const
Definition: PutObjectAclRequest.h:325
Aws::S3::Model::PutObjectAclRequest::SetGrantFullControl
void SetGrantFullControl(const Aws::String &value)
Definition: PutObjectAclRequest.h:331
Aws::S3::Model::PutObjectAclRequest::WithAccessControlPolicy
PutObjectAclRequest & WithAccessControlPolicy(const AccessControlPolicy &value)
Definition: PutObjectAclRequest.h:120
Aws::S3::Model::PutObjectAclRequest::SetRequestPayer
void SetRequestPayer(RequestPayer &&value)
Definition: PutObjectAclRequest.h:747
Aws::S3::Model::PutObjectAclRequest::AccessControlPolicyHasBeenSet
bool AccessControlPolicyHasBeenSet() const
Definition: PutObjectAclRequest.h:102
Aws::S3::Model::PutObjectAclRequest::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: PutObjectAclRequest.h:774
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::Model::RequestPayer
RequestPayer
Definition: RequestPayer.h:17
Aws::S3::S3Request
Definition: S3Request.h:18
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Definition: PutObjectAclRequest.h:879
Aws::S3::Model::PutObjectAclRequest::GetRequestPayer
const RequestPayer & GetRequestPayer() const
Definition: PutObjectAclRequest.h:738
Aws::S3::Model::PutObjectAclRequest::GetGrantReadACP
const Aws::String & GetGrantReadACP() const
Definition: PutObjectAclRequest.h:417
Aws::S3::Model::PutObjectAclRequest::SetBucket
void SetBucket(Aws::String &&value)
Definition: PutObjectAclRequest.h:179
Aws::S3::Model::PutObjectAclRequest::WithGrantFullControl
PutObjectAclRequest & WithGrantFullControl(const char *value)
Definition: PutObjectAclRequest.h:361
Aws::S3::Model::PutObjectAclRequest::GetCustomizedAccessLogTag
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Definition: PutObjectAclRequest.h:855
Aws::S3::Model::PutObjectAclRequest::WithACL
PutObjectAclRequest & WithACL(const ObjectCannedACL &value)
Definition: PutObjectAclRequest.h:82
Aws::S3::Model::PutObjectAclRequest::WithGrantWrite
PutObjectAclRequest & WithGrantWrite(Aws::String &&value)
Definition: PutObjectAclRequest.h:509
Aws::S3::Model::PutObjectAclRequest::SetGrantWriteACP
void SetGrantWriteACP(const Aws::String &value)
Definition: PutObjectAclRequest.h:535
Aws::S3::Model::PutObjectAclRequest::WithGrantWriteACP
PutObjectAclRequest & WithGrantWriteACP(Aws::String &&value)
Definition: PutObjectAclRequest.h:559
Aws::S3::Model::PutObjectAclRequest::WithKey
PutObjectAclRequest & WithKey(const Aws::String &value)
Definition: PutObjectAclRequest.h:692
Aws::S3::Model::PutObjectAclRequest::WithGrantReadACP
PutObjectAclRequest & WithGrantReadACP(const Aws::String &value)
Definition: PutObjectAclRequest.h:447
Aws::S3::Model::PutObjectAclRequest::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: PutObjectAclRequest.h:153
Aws::S3::Model::PutObjectAclRequest::WithCustomizedAccessLogTag
PutObjectAclRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutObjectAclRequest.h:867
Aws::S3::Model::PutObjectAclRequest::SetContentMD5
void SetContentMD5(const Aws::String &value)
Definition: PutObjectAclRequest.h:262
Aws::S3::Model::PutObjectAclRequest::SetBucket
void SetBucket(const char *value)
Definition: PutObjectAclRequest.h:192
Aws::S3::Model::PutObjectAclRequest::SetGrantWriteACP
void SetGrantWriteACP(Aws::String &&value)
Definition: PutObjectAclRequest.h:541
Aws::S3::Model::PutObjectAclRequest::GetGrantWriteACP
const Aws::String & GetGrantWriteACP() const
Definition: PutObjectAclRequest.h:523
Aws::S3::Model::PutObjectAclRequest::SetGrantReadACP
void SetGrantReadACP(const Aws::String &value)
Definition: PutObjectAclRequest.h:429
Aws::S3::Model::PutObjectAclRequest::WithExpectedBucketOwner
PutObjectAclRequest & WithExpectedBucketOwner(Aws::String &&value)
Definition: PutObjectAclRequest.h:844
Aws::S3::Model::AccessControlPolicy
Definition: AccessControlPolicy.h:34
Aws::S3::Model::PutObjectAclRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutObjectAclRequest.h:864
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
Definition: PutObjectAclRequest.h:873
Aws::S3::Model::PutObjectAclRequest::WithGrantReadACP
PutObjectAclRequest & WithGrantReadACP(Aws::String &&value)
Definition: PutObjectAclRequest.h:453
AWSString.h
Aws::S3::Model::PutObjectAclRequest::ACLHasBeenSet
bool ACLHasBeenSet() const
Definition: PutObjectAclRequest.h:61
Aws::S3::Model::PutObjectAclRequest::SetGrantRead
void SetGrantRead(const char *value)
Definition: PutObjectAclRequest.h:392
Aws::S3::Model::PutObjectAclRequest::WithGrantWriteACP
PutObjectAclRequest & WithGrantWriteACP(const Aws::String &value)
Definition: PutObjectAclRequest.h:553
Aws::S3::Model::PutObjectAclRequest::WithGrantFullControl
PutObjectAclRequest & WithGrantFullControl(const Aws::String &value)
Definition: PutObjectAclRequest.h:349
Aws::S3::Model::PutObjectAclRequest::GrantWriteACPHasBeenSet
bool GrantWriteACPHasBeenSet() const
Definition: PutObjectAclRequest.h:529
Aws::S3::Model::PutObjectAclRequest::SetKey
void SetKey(const Aws::String &value)
Definition: PutObjectAclRequest.h:629
Aws::S3::Model::PutObjectAclRequest::SetGrantWrite
void SetGrantWrite(Aws::String &&value)
Definition: PutObjectAclRequest.h:488
Aws::S3::Model::PutObjectAclRequest::ExpectedBucketOwnerHasBeenSet
bool ExpectedBucketOwnerHasBeenSet() const
Definition: PutObjectAclRequest.h:809
Aws::S3::Model::PutObjectAclRequest::SetGrantWrite
void SetGrantWrite(const char *value)
Definition: PutObjectAclRequest.h:495
Aws::S3::Model::PutObjectAclRequest::WithGrantWrite
PutObjectAclRequest & WithGrantWrite(const Aws::String &value)
Definition: PutObjectAclRequest.h:502
Aws::S3::Model::PutObjectAclRequest::GrantReadACPHasBeenSet
bool GrantReadACPHasBeenSet() const
Definition: PutObjectAclRequest.h:423
Aws::S3::Model::PutObjectAclRequest::SetACL
void SetACL(ObjectCannedACL &&value)
Definition: PutObjectAclRequest.h:75
RequestPayer.h
Aws::S3::Model::PutObjectAclRequest::CustomizedAccessLogTagHasBeenSet
bool CustomizedAccessLogTagHasBeenSet() const
Definition: PutObjectAclRequest.h:858
Aws::S3::Model::PutObjectAclRequest::WithKey
PutObjectAclRequest & WithKey(Aws::String &&value)
Definition: PutObjectAclRequest.h:713
Aws::S3::Model::PutObjectAclRequest::WithVersionId
PutObjectAclRequest & WithVersionId(Aws::String &&value)
Definition: PutObjectAclRequest.h:789
Aws::S3::Model::PutObjectAclRequest::WithBucket
PutObjectAclRequest & WithBucket(const Aws::String &value)
Definition: PutObjectAclRequest.h:205
Aws::S3::Model::PutObjectAclRequest::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: PutObjectAclRequest.h:769
Aws::S3::Model::PutObjectAclRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::S3::Model::PutObjectAclRequest::GetGrantFullControl
const Aws::String & GetGrantFullControl() const
Definition: PutObjectAclRequest.h:319
Aws::S3::Model::PutObjectAclRequest::WithCustomizedAccessLogTag
PutObjectAclRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutObjectAclRequest.h:870
Aws::S3::Model::PutObjectAclRequest::WithGrantReadACP
PutObjectAclRequest & WithGrantReadACP(const char *value)
Definition: PutObjectAclRequest.h:459
Aws::S3::Model::PutObjectAclRequest::GetGrantWrite
const Aws::String & GetGrantWrite() const
Definition: PutObjectAclRequest.h:467
Aws::S3::Model::PutObjectAclRequest::WithRequestPayer
PutObjectAclRequest & WithRequestPayer(RequestPayer &&value)
Definition: PutObjectAclRequest.h:753
Aws::S3::Model::PutObjectAclRequest::RequestPayerHasBeenSet
bool RequestPayerHasBeenSet() const
Definition: PutObjectAclRequest.h:741
Aws::S3::Model::PutObjectAclRequest::SetRequestPayer
void SetRequestPayer(const RequestPayer &value)
Definition: PutObjectAclRequest.h:744
Aws::S3::Model::PutObjectAclRequest::WithBucket
PutObjectAclRequest & WithBucket(Aws::String &&value)
Definition: PutObjectAclRequest.h:218
Aws::S3::Model::PutObjectAclRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3::Model::PutObjectAclRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutObjectAclRequest.h:861
Aws::S3::Model::PutObjectAclRequest::SetGrantReadACP
void SetGrantReadACP(Aws::String &&value)
Definition: PutObjectAclRequest.h:435
Aws::S3::Model::PutObjectAclRequest::WithContentMD5
PutObjectAclRequest & WithContentMD5(const Aws::String &value)
Definition: PutObjectAclRequest.h:292
Aws::S3::Model::PutObjectAclRequest::WithAccessControlPolicy
PutObjectAclRequest & WithAccessControlPolicy(AccessControlPolicy &&value)
Definition: PutObjectAclRequest.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::S3::Model::PutObjectAclRequest::GetAccessControlPolicy
const AccessControlPolicy & GetAccessControlPolicy() const
Definition: PutObjectAclRequest.h:96
Aws::S3::Model::PutObjectAclRequest::ShouldComputeContentMd5
bool ShouldComputeContentMd5() const override
Definition: PutObjectAclRequest.h:46
ObjectCannedACL.h
Aws::S3::Model::PutObjectAclRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutObjectAclRequest.h:38
Aws::S3::Model::PutObjectAclRequest::WithVersionId
PutObjectAclRequest & WithVersionId(const Aws::String &value)
Definition: PutObjectAclRequest.h:784
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
Definition: PutObjectAclRequest.h:876
Aws::S3::Model::PutObjectAclRequest::PutObjectAclRequest
PutObjectAclRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3::Model::PutObjectAclRequest::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: PutObjectAclRequest.h:608
Aws::S3::Model::PutObjectAclRequest::WithExpectedBucketOwner
PutObjectAclRequest & WithExpectedBucketOwner(const Aws::String &value)
Definition: PutObjectAclRequest.h:837
Aws::S3::Model::PutObjectAclRequest::GetACL
const ObjectCannedACL & GetACL() const
Definition: PutObjectAclRequest.h:54
Aws::S3::Model::PutObjectAclRequest::GetGrantRead
const Aws::String & GetGrantRead() const
Definition: PutObjectAclRequest.h:368
Aws::S3::Model::PutObjectAclRequest::GetVersionId
const Aws::String & GetVersionId() const
Definition: PutObjectAclRequest.h:759
Aws::S3::Model::PutObjectAclRequest::WithGrantWrite
PutObjectAclRequest & WithGrantWrite(const char *value)
Definition: PutObjectAclRequest.h:516
Aws::S3::Model::PutObjectAclRequest::SetGrantFullControl
void SetGrantFullControl(const char *value)
Definition: PutObjectAclRequest.h:343
Aws::S3::Model::PutObjectAclRequest::AddCustomizedAccessLogTag
PutObjectAclRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
Definition: PutObjectAclRequest.h:885
AWSMap.h
Aws::S3::Model::PutObjectAclRequest::WithBucket
PutObjectAclRequest & WithBucket(const char *value)
Definition: PutObjectAclRequest.h:231
Aws::S3::Model::PutObjectAclRequest::WithKey
PutObjectAclRequest & WithKey(const char *value)
Definition: PutObjectAclRequest.h:734
Aws::S3::Model::PutObjectAclRequest::SetAccessControlPolicy
void SetAccessControlPolicy(AccessControlPolicy &&value)
Definition: PutObjectAclRequest.h:114
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25
Aws::S3::Model::PutObjectAclRequest::WithContentMD5
PutObjectAclRequest & WithContentMD5(Aws::String &&value)
Definition: PutObjectAclRequest.h:302
Aws::S3::Model::PutObjectAclRequest::GrantReadHasBeenSet
bool GrantReadHasBeenSet() const
Definition: PutObjectAclRequest.h:374
Aws::S3::Model::PutObjectAclRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::S3::Model::PutObjectAclRequest::WithVersionId
PutObjectAclRequest & WithVersionId(const char *value)
Definition: PutObjectAclRequest.h:794
Aws::S3::Model::PutObjectAclRequest::WithGrantRead
PutObjectAclRequest & WithGrantRead(Aws::String &&value)
Definition: PutObjectAclRequest.h:404