AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListMultipartUploadsRequest.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>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace S3
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListMultipartUploads"; }
37
39
41
43
48
68 inline const Aws::String& GetBucket() const{ return m_bucket; }
69
89 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
90
110 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
111
131 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
132
152 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
153
173 inline ListMultipartUploadsRequest& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
174
194 inline ListMultipartUploadsRequest& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
195
215 inline ListMultipartUploadsRequest& WithBucket(const char* value) { SetBucket(value); return *this;}
216
217
227 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
228
238 inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; }
239
249 inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; }
250
260 inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); }
261
271 inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); }
272
282 inline ListMultipartUploadsRequest& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
283
293 inline ListMultipartUploadsRequest& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
294
304 inline ListMultipartUploadsRequest& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
305
306
307
308 inline const EncodingType& GetEncodingType() const{ return m_encodingType; }
309
310
311 inline bool EncodingTypeHasBeenSet() const { return m_encodingTypeHasBeenSet; }
312
313
314 inline void SetEncodingType(const EncodingType& value) { m_encodingTypeHasBeenSet = true; m_encodingType = value; }
315
316
317 inline void SetEncodingType(EncodingType&& value) { m_encodingTypeHasBeenSet = true; m_encodingType = std::move(value); }
318
319
320 inline ListMultipartUploadsRequest& WithEncodingType(const EncodingType& value) { SetEncodingType(value); return *this;}
321
322
323 inline ListMultipartUploadsRequest& WithEncodingType(EncodingType&& value) { SetEncodingType(std::move(value)); return *this;}
324
325
336 inline const Aws::String& GetKeyMarker() const{ return m_keyMarker; }
337
348 inline bool KeyMarkerHasBeenSet() const { return m_keyMarkerHasBeenSet; }
349
360 inline void SetKeyMarker(const Aws::String& value) { m_keyMarkerHasBeenSet = true; m_keyMarker = value; }
361
372 inline void SetKeyMarker(Aws::String&& value) { m_keyMarkerHasBeenSet = true; m_keyMarker = std::move(value); }
373
384 inline void SetKeyMarker(const char* value) { m_keyMarkerHasBeenSet = true; m_keyMarker.assign(value); }
385
396 inline ListMultipartUploadsRequest& WithKeyMarker(const Aws::String& value) { SetKeyMarker(value); return *this;}
397
408 inline ListMultipartUploadsRequest& WithKeyMarker(Aws::String&& value) { SetKeyMarker(std::move(value)); return *this;}
409
420 inline ListMultipartUploadsRequest& WithKeyMarker(const char* value) { SetKeyMarker(value); return *this;}
421
422
428 inline int GetMaxUploads() const{ return m_maxUploads; }
429
435 inline bool MaxUploadsHasBeenSet() const { return m_maxUploadsHasBeenSet; }
436
442 inline void SetMaxUploads(int value) { m_maxUploadsHasBeenSet = true; m_maxUploads = value; }
443
449 inline ListMultipartUploadsRequest& WithMaxUploads(int value) { SetMaxUploads(value); return *this;}
450
451
458 inline const Aws::String& GetPrefix() const{ return m_prefix; }
459
466 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
467
474 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
475
482 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
483
490 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
491
498 inline ListMultipartUploadsRequest& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
499
506 inline ListMultipartUploadsRequest& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
507
514 inline ListMultipartUploadsRequest& WithPrefix(const char* value) { SetPrefix(value); return *this;}
515
516
524 inline const Aws::String& GetUploadIdMarker() const{ return m_uploadIdMarker; }
525
533 inline bool UploadIdMarkerHasBeenSet() const { return m_uploadIdMarkerHasBeenSet; }
534
542 inline void SetUploadIdMarker(const Aws::String& value) { m_uploadIdMarkerHasBeenSet = true; m_uploadIdMarker = value; }
543
551 inline void SetUploadIdMarker(Aws::String&& value) { m_uploadIdMarkerHasBeenSet = true; m_uploadIdMarker = std::move(value); }
552
560 inline void SetUploadIdMarker(const char* value) { m_uploadIdMarkerHasBeenSet = true; m_uploadIdMarker.assign(value); }
561
570
578 inline ListMultipartUploadsRequest& WithUploadIdMarker(Aws::String&& value) { SetUploadIdMarker(std::move(value)); return *this;}
579
587 inline ListMultipartUploadsRequest& WithUploadIdMarker(const char* value) { SetUploadIdMarker(value); return *this;}
588
589
595 inline const Aws::String& GetExpectedBucketOwner() const{ return m_expectedBucketOwner; }
596
602 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
603
609 inline void SetExpectedBucketOwner(const Aws::String& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = value; }
610
616 inline void SetExpectedBucketOwner(Aws::String&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::move(value); }
617
623 inline void SetExpectedBucketOwner(const char* value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner.assign(value); }
624
631
638
644 inline ListMultipartUploadsRequest& WithExpectedBucketOwner(const char* value) { SetExpectedBucketOwner(value); return *this;}
645
646
647
648 inline const Aws::Map<Aws::String, Aws::String>& GetCustomizedAccessLogTag() const{ return m_customizedAccessLogTag; }
649
650
651 inline bool CustomizedAccessLogTagHasBeenSet() const { return m_customizedAccessLogTagHasBeenSet; }
652
653
654 inline void SetCustomizedAccessLogTag(const Aws::Map<Aws::String, Aws::String>& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = value; }
655
656
657 inline void SetCustomizedAccessLogTag(Aws::Map<Aws::String, Aws::String>&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag = std::move(value); }
658
659
661
662
664
665
666 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(const Aws::String& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
667
668
669 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(Aws::String&& key, const Aws::String& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
670
671
672 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(const Aws::String& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
673
674
675 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(Aws::String&& key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), std::move(value)); return *this; }
676
677
678 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(const char* key, Aws::String&& value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, std::move(value)); return *this; }
679
680
681 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(Aws::String&& key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(std::move(key), value); return *this; }
682
683
684 inline ListMultipartUploadsRequest& AddCustomizedAccessLogTag(const char* key, const char* value) { m_customizedAccessLogTagHasBeenSet = true; m_customizedAccessLogTag.emplace(key, value); return *this; }
685
686 private:
687
688 Aws::String m_bucket;
689 bool m_bucketHasBeenSet = false;
690
691 Aws::String m_delimiter;
692 bool m_delimiterHasBeenSet = false;
693
694 EncodingType m_encodingType;
695 bool m_encodingTypeHasBeenSet = false;
696
697 Aws::String m_keyMarker;
698 bool m_keyMarkerHasBeenSet = false;
699
700 int m_maxUploads;
701 bool m_maxUploadsHasBeenSet = false;
702
703 Aws::String m_prefix;
704 bool m_prefixHasBeenSet = false;
705
706 Aws::String m_uploadIdMarker;
707 bool m_uploadIdMarkerHasBeenSet = false;
708
709 Aws::String m_expectedBucketOwner;
710 bool m_expectedBucketOwnerHasBeenSet = false;
711
712 Aws::Map<Aws::String, Aws::String> m_customizedAccessLogTag;
713 bool m_customizedAccessLogTagHasBeenSet = false;
714 };
715
716} // namespace Model
717} // namespace S3
718} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
ListMultipartUploadsRequest & WithDelimiter(const Aws::String &value)
ListMultipartUploadsRequest & WithBucket(const Aws::String &value)
ListMultipartUploadsRequest & WithUploadIdMarker(const char *value)
ListMultipartUploadsRequest & WithCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const Aws::String &value)
ListMultipartUploadsRequest & WithPrefix(Aws::String &&value)
ListMultipartUploadsRequest & WithExpectedBucketOwner(const Aws::String &value)
ListMultipartUploadsRequest & WithCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCustomizedAccessLogTag(Aws::Map< Aws::String, Aws::String > &&value)
AWS_S3_API Aws::String SerializePayload() const override
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(const char *key, const char *value)
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
virtual const char * GetServiceRequestName() const override
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(Aws::String &&key, const char *value)
ListMultipartUploadsRequest & WithKeyMarker(Aws::String &&value)
ListMultipartUploadsRequest & WithKeyMarker(const Aws::String &value)
ListMultipartUploadsRequest & WithDelimiter(const char *value)
ListMultipartUploadsRequest & WithMaxUploads(int value)
ListMultipartUploadsRequest & WithEncodingType(const EncodingType &value)
ListMultipartUploadsRequest & WithPrefix(const Aws::String &value)
ListMultipartUploadsRequest & WithBucket(const char *value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListMultipartUploadsRequest & WithDelimiter(Aws::String &&value)
ListMultipartUploadsRequest & WithExpectedBucketOwner(const char *value)
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(const Aws::String &key, Aws::String &&value)
ListMultipartUploadsRequest & WithKeyMarker(const char *value)
ListMultipartUploadsRequest & WithPrefix(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
ListMultipartUploadsRequest & WithExpectedBucketOwner(Aws::String &&value)
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(Aws::String &&key, Aws::String &&value)
ListMultipartUploadsRequest & WithBucket(Aws::String &&value)
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(const char *key, Aws::String &&value)
ListMultipartUploadsRequest & WithUploadIdMarker(const Aws::String &value)
ListMultipartUploadsRequest & WithEncodingType(EncodingType &&value)
ListMultipartUploadsRequest & AddCustomizedAccessLogTag(const Aws::String &key, const Aws::String &value)
ListMultipartUploadsRequest & WithUploadIdMarker(Aws::String &&value)
void SetCustomizedAccessLogTag(const Aws::Map< Aws::String, Aws::String > &value)
Aws::Endpoint::EndpointParameters EndpointParameters
Definition: S3Request.h:22
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String