AWS SDK for C++  1.9.108
AWS SDK for C++
PutObjectRetentionRequest.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>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Http
18 {
19  class URI;
20 } //namespace Http
21 namespace S3
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "PutObjectRetention"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
44 
45  inline bool ShouldComputeContentMd5() const override { return true; }
46 
47 
60  inline const Aws::String& GetBucket() const{ return m_bucket; }
61 
74  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
75 
88  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
89 
102  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
103 
116  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
117 
130  inline PutObjectRetentionRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
131 
144  inline PutObjectRetentionRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
145 
158  inline PutObjectRetentionRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
159 
160 
165  inline const Aws::String& GetKey() const{ return m_key; }
166 
171  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
172 
177  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
178 
183  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
184 
189  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
190 
195  inline PutObjectRetentionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
196 
201  inline PutObjectRetentionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
202 
207  inline PutObjectRetentionRequest& WithKey(const char* value) { SetKey(value); return *this;}
208 
209 
213  inline const ObjectLockRetention& GetRetention() const{ return m_retention; }
214 
218  inline bool RetentionHasBeenSet() const { return m_retentionHasBeenSet; }
219 
223  inline void SetRetention(const ObjectLockRetention& value) { m_retentionHasBeenSet = true; m_retention = value; }
224 
228  inline void SetRetention(ObjectLockRetention&& value) { m_retentionHasBeenSet = true; m_retention = std::move(value); }
229 
233  inline PutObjectRetentionRequest& WithRetention(const ObjectLockRetention& value) { SetRetention(value); return *this;}
234 
238  inline PutObjectRetentionRequest& WithRetention(ObjectLockRetention&& value) { SetRetention(std::move(value)); return *this;}
239 
240 
241 
242  inline const RequestPayer& GetRequestPayer() const{ return m_requestPayer; }
243 
244 
245  inline bool RequestPayerHasBeenSet() const { return m_requestPayerHasBeenSet; }
246 
247 
248  inline void SetRequestPayer(const RequestPayer& value) { m_requestPayerHasBeenSet = true; m_requestPayer = value; }
249 
250 
251  inline void SetRequestPayer(RequestPayer&& value) { m_requestPayerHasBeenSet = true; m_requestPayer = std::move(value); }
252 
253 
254  inline PutObjectRetentionRequest& WithRequestPayer(const RequestPayer& value) { SetRequestPayer(value); return *this;}
255 
256 
257  inline PutObjectRetentionRequest& WithRequestPayer(RequestPayer&& value) { SetRequestPayer(std::move(value)); return *this;}
258 
259 
264  inline const Aws::String& GetVersionId() const{ return m_versionId; }
265 
270  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
271 
276  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
277 
282  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
283 
288  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
289 
294  inline PutObjectRetentionRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
295 
300  inline PutObjectRetentionRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
301 
306  inline PutObjectRetentionRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
307 
308 
312  inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; }
313 
317  inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; }
318 
322  inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; }
323 
327  inline PutObjectRetentionRequest& WithBypassGovernanceRetention(bool value) { SetBypassGovernanceRetention(value); return *this;}
328 
329 
335  inline const Aws::String& GetContentMD5() const{ return m_contentMD5; }
336 
342  inline bool ContentMD5HasBeenSet() const { return m_contentMD5HasBeenSet; }
343 
349  inline void SetContentMD5(const Aws::String& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = value; }
350 
356  inline void SetContentMD5(Aws::String&& value) { m_contentMD5HasBeenSet = true; m_contentMD5 = std::move(value); }
357 
363  inline void SetContentMD5(const char* value) { m_contentMD5HasBeenSet = true; m_contentMD5.assign(value); }
364 
370  inline PutObjectRetentionRequest& WithContentMD5(const Aws::String& value) { SetContentMD5(value); return *this;}
371 
377  inline PutObjectRetentionRequest& WithContentMD5(Aws::String&& value) { SetContentMD5(std::move(value)); return *this;}
378 
384  inline PutObjectRetentionRequest& WithContentMD5(const char* value) { SetContentMD5(value); return *this;}
385 
386 
392  inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
393 
399  inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
400 
406  inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
407 
413  inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
414 
420  inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
421 
427  inline PutObjectRetentionRequest& WithExpectedBucketOwner(const Aws::String& value) { SetExpectedBucketOwner(value); return *this;}
428 
434  inline PutObjectRetentionRequest& WithExpectedBucketOwner(Aws::String&& value) { SetExpectedBucketOwner(std::move(value)); return *this;}
435 
441  inline PutObjectRetentionRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
442 
443 
444 
445  inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
446 
447 
448  inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
449 
450 
451  inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
452 
453 
454  inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
455 
456 
457  inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { SetCustomizedAccessLogTag(value); return *this;}
458 
459 
460  inline PutObjectRetentionRequest& WithCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { SetCustomizedAccessLogTag(std::move(value)); return *this;}
461 
462 
463  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
464 
465 
466  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
467 
468 
469  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
470 
471 
472  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
473 
474 
475  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
476 
477 
478  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
479 
480 
481  inline PutObjectRetentionRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
482 
483  private:
484 
485  Aws::String m_bucket;
486  bool m_bucketHasBeenSet;
487 
488  Aws::String m_key;
489  bool m_keyHasBeenSet;
490 
491  ObjectLockRetention m_retention;
492  bool m_retentionHasBeenSet;
493 
494  RequestPayer m_requestPayer;
495  bool m_requestPayerHasBeenSet;
496 
497  Aws::String m_versionId;
498  bool m_versionIdHasBeenSet;
499 
500  bool m_bypassGovernanceRetention;
501  bool m_bypassGovernanceRetentionHasBeenSet;
502 
503  Aws::String m_contentMD5;
504  bool m_contentMD5HasBeenSet;
505 
506  Aws::String m_expectedBucketOwner;
507  bool m_expectedBucketOwnerHasBeenSet;
508 
509  Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
510  bool m_customizedAccessLogTagHasBeenSet;
511  };
512 
513 } // namespace Model
514 } // namespace S3
515 } // namespace Aws
Aws::S3::Model::PutObjectRetentionRequest::WithKey
PutObjectRetentionRequest & WithKey(const char *value)
Definition: PutObjectRetentionRequest.h:207
Aws::S3::Model::PutObjectRetentionRequest::PutObjectRetentionRequest
PutObjectRetentionRequest()
Aws::S3::Model::PutObjectRetentionRequest::BypassGovernanceRetentionHasBeenSet
bool BypassGovernanceRetentionHasBeenSet() const
Definition: PutObjectRetentionRequest.h:317
Aws::Http::URI
Definition: URI.h:32
Aws::S3::Model::PutObjectRetentionRequest::WithBucket
PutObjectRetentionRequest & WithBucket(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:130
Aws::S3::Model::PutObjectRetentionRequest::SetKey
void SetKey(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:183
Aws::S3::Model::PutObjectRetentionRequest::WithExpectedBucketOwner
PutObjectRetentionRequest & WithExpectedBucketOwner(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:434
Aws::S3::Model::PutObjectRetentionRequest::WithBucket
PutObjectRetentionRequest & WithBucket(const char *value)
Definition: PutObjectRetentionRequest.h:158
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
S3Request.h
Aws::S3::Model::PutObjectRetentionRequest::WithBypassGovernanceRetention
PutObjectRetentionRequest & WithBypassGovernanceRetention(bool value)
Definition: PutObjectRetentionRequest.h:327
Aws::S3::Model::PutObjectRetentionRequest::GetRequestPayer
const RequestPayer & GetRequestPayer() const
Definition: PutObjectRetentionRequest.h:242
Aws::S3::Model::PutObjectRetentionRequest::WithRetention
PutObjectRetentionRequest & WithRetention(const ObjectLockRetention &value)
Definition: PutObjectRetentionRequest.h:233
Aws::S3::Model::PutObjectRetentionRequest::SetContentMD5
void SetContentMD5(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:349
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
Definition: PutObjectRetentionRequest.h:463
Aws::S3::Model::PutObjectRetentionRequest::SetRetention
void SetRetention(const ObjectLockRetention &value)
Definition: PutObjectRetentionRequest.h:223
Aws::S3::Model::PutObjectRetentionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::S3::Model::PutObjectRetentionRequest::WithExpectedBucketOwner
PutObjectRetentionRequest & WithExpectedBucketOwner(const char *value)
Definition: PutObjectRetentionRequest.h:441
Aws::S3::Model::PutObjectRetentionRequest::GetBypassGovernanceRetention
bool GetBypassGovernanceRetention() const
Definition: PutObjectRetentionRequest.h:312
Aws::S3::Model::PutObjectRetentionRequest::SetRetention
void SetRetention(ObjectLockRetention &&value)
Definition: PutObjectRetentionRequest.h:228
Aws::S3::Model::PutObjectRetentionRequest::SetBucket
void SetBucket(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:88
Aws::S3::Model::PutObjectRetentionRequest::GetExpectedBucketOwner
const Aws::String & GetExpectedBucketOwner() const
Definition: PutObjectRetentionRequest.h:392
Aws::S3::Model::PutObjectRetentionRequest::GetContentMD5
const Aws::String & GetContentMD5() const
Definition: PutObjectRetentionRequest.h:335
Aws::S3::Model::PutObjectRetentionRequest::RetentionHasBeenSet
bool RetentionHasBeenSet() const
Definition: PutObjectRetentionRequest.h:218
Aws::S3::Model::PutObjectRetentionRequest::ExpectedBucketOwnerHasBeenSet
bool ExpectedBucketOwnerHasBeenSet() const
Definition: PutObjectRetentionRequest.h:399
Aws::S3::Model::PutObjectRetentionRequest::WithRequestPayer
PutObjectRetentionRequest & WithRequestPayer(RequestPayer &&value)
Definition: PutObjectRetentionRequest.h:257
Aws::S3::Model::PutObjectRetentionRequest::SerializePayload
Aws::String SerializePayload() const override
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
Aws::S3::Model::PutObjectRetentionRequest::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: PutObjectRetentionRequest.h:74
Aws::S3::Model::ObjectLockRetention
Definition: ObjectLockRetention.h:32
Aws::S3::Model::RequestPayer
RequestPayer
Definition: RequestPayer.h:17
Aws::S3::S3Request
Definition: S3Request.h:18
Aws::S3::Model::PutObjectRetentionRequest::WithContentMD5
PutObjectRetentionRequest & WithContentMD5(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:377
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
Definition: PutObjectRetentionRequest.h:478
Aws::S3::Model::PutObjectRetentionRequest::GetKey
const Aws::String & GetKey() const
Definition: PutObjectRetentionRequest.h:165
Aws::S3::Model::PutObjectRetentionRequest::WithExpectedBucketOwner
PutObjectRetentionRequest & WithExpectedBucketOwner(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:427
Aws::S3::Model::PutObjectRetentionRequest::WithBucket
PutObjectRetentionRequest & WithBucket(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:144
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
Definition: PutObjectRetentionRequest.h:466
Aws::S3::Model::PutObjectRetentionRequest::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: PutObjectRetentionRequest.h:171
Aws::S3::Model::PutObjectRetentionRequest::SetRequestPayer
void SetRequestPayer(const RequestPayer &value)
Definition: PutObjectRetentionRequest.h:248
Aws::S3::Model::PutObjectRetentionRequest::WithCustomizedAccessLogTag
PutObjectRetentionRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutObjectRetentionRequest.h:460
Aws::S3::Model::PutObjectRetentionRequest::SetKey
void SetKey(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:177
Aws::S3::Model::PutObjectRetentionRequest::WithKey
PutObjectRetentionRequest & WithKey(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:195
Aws::S3::Model::PutObjectRetentionRequest::SetBypassGovernanceRetention
void SetBypassGovernanceRetention(bool value)
Definition: PutObjectRetentionRequest.h:322
Aws::S3::Model::PutObjectRetentionRequest::SetBucket
void SetBucket(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:102
Aws::S3::Model::PutObjectRetentionRequest::ShouldComputeContentMd5
bool ShouldComputeContentMd5() const override
Definition: PutObjectRetentionRequest.h:45
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
Definition: PutObjectRetentionRequest.h:475
Aws::S3::Model::PutObjectRetentionRequest::WithVersionId
PutObjectRetentionRequest & WithVersionId(const char *value)
Definition: PutObjectRetentionRequest.h:306
Aws::S3::Model::PutObjectRetentionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::S3::Model::PutObjectRetentionRequest::SetContentMD5
void SetContentMD5(const char *value)
Definition: PutObjectRetentionRequest.h:363
Aws::S3::Model::PutObjectRetentionRequest::GetBucket
const Aws::String & GetBucket() const
Definition: PutObjectRetentionRequest.h:60
Aws::S3::Model::PutObjectRetentionRequest::SetKey
void SetKey(const char *value)
Definition: PutObjectRetentionRequest.h:189
AWSString.h
Aws::S3::Model::PutObjectRetentionRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:413
Aws::S3::Model::PutObjectRetentionRequest::GetRetention
const ObjectLockRetention & GetRetention() const
Definition: PutObjectRetentionRequest.h:213
Aws::S3::Model::PutObjectRetentionRequest::WithRetention
PutObjectRetentionRequest & WithRetention(ObjectLockRetention &&value)
Definition: PutObjectRetentionRequest.h:238
Aws::S3::Model::PutObjectRetentionRequest::WithVersionId
PutObjectRetentionRequest & WithVersionId(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:300
Aws::S3::Model::PutObjectRetentionRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:406
Aws::S3::Model::PutObjectRetentionRequest::SetContentMD5
void SetContentMD5(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:356
Aws::S3::Model::PutObjectRetentionRequest::RequestPayerHasBeenSet
bool RequestPayerHasBeenSet() const
Definition: PutObjectRetentionRequest.h:245
RequestPayer.h
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
Definition: PutObjectRetentionRequest.h:469
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
Definition: PutObjectRetentionRequest.h:472
Aws::S3::Model::PutObjectRetentionRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutObjectRetentionRequest.h:451
Aws::S3::Model::PutObjectRetentionRequest::AddCustomizedAccessLogTag
PutObjectRetentionRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
Definition: PutObjectRetentionRequest.h:481
Aws::S3::Model::PutObjectRetentionRequest::WithVersionId
PutObjectRetentionRequest & WithVersionId(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:294
Aws::S3::Model::PutObjectRetentionRequest::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:276
Aws::S3::Model::PutObjectRetentionRequest::SetBucket
void SetBucket(const char *value)
Definition: PutObjectRetentionRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::S3::Model::PutObjectRetentionRequest::WithContentMD5
PutObjectRetentionRequest & WithContentMD5(const char *value)
Definition: PutObjectRetentionRequest.h:384
ObjectLockRetention.h
Aws::S3::Model::PutObjectRetentionRequest::SetVersionId
void SetVersionId(const char *value)
Definition: PutObjectRetentionRequest.h:288
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3::Model::PutObjectRetentionRequest::WithCustomizedAccessLogTag
PutObjectRetentionRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutObjectRetentionRequest.h:457
Aws::S3::Model::PutObjectRetentionRequest::WithKey
PutObjectRetentionRequest & WithKey(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:201
Aws::S3::Model::PutObjectRetentionRequest::GetVersionId
const Aws::String & GetVersionId() const
Definition: PutObjectRetentionRequest.h:264
Aws::S3::Model::PutObjectRetentionRequest
Definition: PutObjectRetentionRequest.h:29
Aws::S3::Model::PutObjectRetentionRequest::ContentMD5HasBeenSet
bool ContentMD5HasBeenSet() const
Definition: PutObjectRetentionRequest.h:342
Aws::S3::Model::PutObjectRetentionRequest::WithRequestPayer
PutObjectRetentionRequest & WithRequestPayer(const RequestPayer &value)
Definition: PutObjectRetentionRequest.h:254
Aws::S3::Model::PutObjectRetentionRequest::SetExpectedBucketOwner
void SetExpectedBucketOwner(const char *value)
Definition: PutObjectRetentionRequest.h:420
AWSMap.h
Aws::S3::Model::PutObjectRetentionRequest::CustomizedAccessLogTagHasBeenSet
bool CustomizedAccessLogTagHasBeenSet() const
Definition: PutObjectRetentionRequest.h:448
Aws::S3::ARNService::S3
static const char S3[]
Definition: S3ARN.h:25
Aws::S3::Model::PutObjectRetentionRequest::GetCustomizedAccessLogTag
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
Definition: PutObjectRetentionRequest.h:445
Aws::S3::Model::PutObjectRetentionRequest::WithContentMD5
PutObjectRetentionRequest & WithContentMD5(const Aws::String &value)
Definition: PutObjectRetentionRequest.h:370
Aws::S3::Model::PutObjectRetentionRequest::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: PutObjectRetentionRequest.h:282
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::S3::Model::PutObjectRetentionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutObjectRetentionRequest.h:37
Aws::S3::Model::PutObjectRetentionRequest::SetCustomizedAccessLogTag
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutObjectRetentionRequest.h:454
Aws::S3::Model::PutObjectRetentionRequest::SetRequestPayer
void SetRequestPayer(RequestPayer &&value)
Definition: PutObjectRetentionRequest.h:251
Aws::S3::Model::PutObjectRetentionRequest::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: PutObjectRetentionRequest.h:270