AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListMultipartUploadsResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace S3
28{
29namespace Model
30{
32 {
33 public:
37
38
43 inline const Aws::String& GetBucket() const{ return m_bucket; }
44
49 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
50
55 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
56
61 inline void SetBucket(const char* value) { m_bucket.assign(value); }
62
67 inline ListMultipartUploadsResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
68
73 inline ListMultipartUploadsResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
74
79 inline ListMultipartUploadsResult& WithBucket(const char* value) { SetBucket(value); return *this;}
80
81
85 inline const Aws::String& GetKeyMarker() const{ return m_keyMarker; }
86
90 inline void SetKeyMarker(const Aws::String& value) { m_keyMarker = value; }
91
95 inline void SetKeyMarker(Aws::String&& value) { m_keyMarker = std::move(value); }
96
100 inline void SetKeyMarker(const char* value) { m_keyMarker.assign(value); }
101
105 inline ListMultipartUploadsResult& WithKeyMarker(const Aws::String& value) { SetKeyMarker(value); return *this;}
106
110 inline ListMultipartUploadsResult& WithKeyMarker(Aws::String&& value) { SetKeyMarker(std::move(value)); return *this;}
111
115 inline ListMultipartUploadsResult& WithKeyMarker(const char* value) { SetKeyMarker(value); return *this;}
116
117
121 inline const Aws::String& GetUploadIdMarker() const{ return m_uploadIdMarker; }
122
126 inline void SetUploadIdMarker(const Aws::String& value) { m_uploadIdMarker = value; }
127
131 inline void SetUploadIdMarker(Aws::String&& value) { m_uploadIdMarker = std::move(value); }
132
136 inline void SetUploadIdMarker(const char* value) { m_uploadIdMarker.assign(value); }
137
141 inline ListMultipartUploadsResult& WithUploadIdMarker(const Aws::String& value) { SetUploadIdMarker(value); return *this;}
142
146 inline ListMultipartUploadsResult& WithUploadIdMarker(Aws::String&& value) { SetUploadIdMarker(std::move(value)); return *this;}
147
151 inline ListMultipartUploadsResult& WithUploadIdMarker(const char* value) { SetUploadIdMarker(value); return *this;}
152
153
158 inline const Aws::String& GetNextKeyMarker() const{ return m_nextKeyMarker; }
159
164 inline void SetNextKeyMarker(const Aws::String& value) { m_nextKeyMarker = value; }
165
170 inline void SetNextKeyMarker(Aws::String&& value) { m_nextKeyMarker = std::move(value); }
171
176 inline void SetNextKeyMarker(const char* value) { m_nextKeyMarker.assign(value); }
177
182 inline ListMultipartUploadsResult& WithNextKeyMarker(const Aws::String& value) { SetNextKeyMarker(value); return *this;}
183
188 inline ListMultipartUploadsResult& WithNextKeyMarker(Aws::String&& value) { SetNextKeyMarker(std::move(value)); return *this;}
189
194 inline ListMultipartUploadsResult& WithNextKeyMarker(const char* value) { SetNextKeyMarker(value); return *this;}
195
196
201 inline const Aws::String& GetPrefix() const{ return m_prefix; }
202
207 inline void SetPrefix(const Aws::String& value) { m_prefix = value; }
208
213 inline void SetPrefix(Aws::String&& value) { m_prefix = std::move(value); }
214
219 inline void SetPrefix(const char* value) { m_prefix.assign(value); }
220
225 inline ListMultipartUploadsResult& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
226
231 inline ListMultipartUploadsResult& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
232
237 inline ListMultipartUploadsResult& WithPrefix(const char* value) { SetPrefix(value); return *this;}
238
239
244 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
245
250 inline void SetDelimiter(const Aws::String& value) { m_delimiter = value; }
251
256 inline void SetDelimiter(Aws::String&& value) { m_delimiter = std::move(value); }
257
262 inline void SetDelimiter(const char* value) { m_delimiter.assign(value); }
263
268 inline ListMultipartUploadsResult& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
269
274 inline ListMultipartUploadsResult& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
275
280 inline ListMultipartUploadsResult& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
281
282
288 inline const Aws::String& GetNextUploadIdMarker() const{ return m_nextUploadIdMarker; }
289
295 inline void SetNextUploadIdMarker(const Aws::String& value) { m_nextUploadIdMarker = value; }
296
302 inline void SetNextUploadIdMarker(Aws::String&& value) { m_nextUploadIdMarker = std::move(value); }
303
309 inline void SetNextUploadIdMarker(const char* value) { m_nextUploadIdMarker.assign(value); }
310
317
323 inline ListMultipartUploadsResult& WithNextUploadIdMarker(Aws::String&& value) { SetNextUploadIdMarker(std::move(value)); return *this;}
324
330 inline ListMultipartUploadsResult& WithNextUploadIdMarker(const char* value) { SetNextUploadIdMarker(value); return *this;}
331
332
337 inline int GetMaxUploads() const{ return m_maxUploads; }
338
343 inline void SetMaxUploads(int value) { m_maxUploads = value; }
344
349 inline ListMultipartUploadsResult& WithMaxUploads(int value) { SetMaxUploads(value); return *this;}
350
351
358 inline bool GetIsTruncated() const{ return m_isTruncated; }
359
366 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
367
374 inline ListMultipartUploadsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
375
376
381 inline const Aws::Vector<MultipartUpload>& GetUploads() const{ return m_uploads; }
382
387 inline void SetUploads(const Aws::Vector<MultipartUpload>& value) { m_uploads = value; }
388
393 inline void SetUploads(Aws::Vector<MultipartUpload>&& value) { m_uploads = std::move(value); }
394
400
405 inline ListMultipartUploadsResult& WithUploads(Aws::Vector<MultipartUpload>&& value) { SetUploads(std::move(value)); return *this;}
406
411 inline ListMultipartUploadsResult& AddUploads(const MultipartUpload& value) { m_uploads.push_back(value); return *this; }
412
417 inline ListMultipartUploadsResult& AddUploads(MultipartUpload&& value) { m_uploads.push_back(std::move(value)); return *this; }
418
419
426 inline const Aws::Vector<CommonPrefix>& GetCommonPrefixes() const{ return m_commonPrefixes; }
427
434 inline void SetCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { m_commonPrefixes = value; }
435
442 inline void SetCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { m_commonPrefixes = std::move(value); }
443
451
459
466 inline ListMultipartUploadsResult& AddCommonPrefixes(const CommonPrefix& value) { m_commonPrefixes.push_back(value); return *this; }
467
474 inline ListMultipartUploadsResult& AddCommonPrefixes(CommonPrefix&& value) { m_commonPrefixes.push_back(std::move(value)); return *this; }
475
476
485 inline const EncodingType& GetEncodingType() const{ return m_encodingType; }
486
495 inline void SetEncodingType(const EncodingType& value) { m_encodingType = value; }
496
505 inline void SetEncodingType(EncodingType&& value) { m_encodingType = std::move(value); }
506
515 inline ListMultipartUploadsResult& WithEncodingType(const EncodingType& value) { SetEncodingType(value); return *this;}
516
525 inline ListMultipartUploadsResult& WithEncodingType(EncodingType&& value) { SetEncodingType(std::move(value)); return *this;}
526
527 private:
528
529 Aws::String m_bucket;
530
531 Aws::String m_keyMarker;
532
533 Aws::String m_uploadIdMarker;
534
535 Aws::String m_nextKeyMarker;
536
537 Aws::String m_prefix;
538
539 Aws::String m_delimiter;
540
541 Aws::String m_nextUploadIdMarker;
542
543 int m_maxUploads;
544
545 bool m_isTruncated;
546
548
549 Aws::Vector<CommonPrefix> m_commonPrefixes;
550
551 EncodingType m_encodingType;
552 };
553
554} // namespace Model
555} // namespace S3
556} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API ListMultipartUploadsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListMultipartUploadsResult & WithNextUploadIdMarker(const Aws::String &value)
ListMultipartUploadsResult & WithCommonPrefixes(Aws::Vector< CommonPrefix > &&value)
const Aws::Vector< MultipartUpload > & GetUploads() const
ListMultipartUploadsResult & WithUploadIdMarker(Aws::String &&value)
ListMultipartUploadsResult & WithPrefix(Aws::String &&value)
ListMultipartUploadsResult & WithBucket(const Aws::String &value)
ListMultipartUploadsResult & WithNextKeyMarker(Aws::String &&value)
void SetCommonPrefixes(const Aws::Vector< CommonPrefix > &value)
ListMultipartUploadsResult & WithIsTruncated(bool value)
void SetCommonPrefixes(Aws::Vector< CommonPrefix > &&value)
ListMultipartUploadsResult & WithDelimiter(const Aws::String &value)
const Aws::Vector< CommonPrefix > & GetCommonPrefixes() const
ListMultipartUploadsResult & WithNextUploadIdMarker(const char *value)
ListMultipartUploadsResult & WithNextUploadIdMarker(Aws::String &&value)
ListMultipartUploadsResult & WithKeyMarker(const Aws::String &value)
ListMultipartUploadsResult & WithBucket(Aws::String &&value)
ListMultipartUploadsResult & AddCommonPrefixes(const CommonPrefix &value)
ListMultipartUploadsResult & WithBucket(const char *value)
void SetUploads(const Aws::Vector< MultipartUpload > &value)
ListMultipartUploadsResult & WithUploadIdMarker(const Aws::String &value)
ListMultipartUploadsResult & WithUploads(const Aws::Vector< MultipartUpload > &value)
ListMultipartUploadsResult & WithPrefix(const char *value)
AWS_S3_API ListMultipartUploadsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetUploads(Aws::Vector< MultipartUpload > &&value)
ListMultipartUploadsResult & WithMaxUploads(int value)
ListMultipartUploadsResult & AddUploads(const MultipartUpload &value)
ListMultipartUploadsResult & WithDelimiter(const char *value)
ListMultipartUploadsResult & WithEncodingType(EncodingType &&value)
ListMultipartUploadsResult & WithKeyMarker(Aws::String &&value)
ListMultipartUploadsResult & AddUploads(MultipartUpload &&value)
ListMultipartUploadsResult & WithDelimiter(Aws::String &&value)
ListMultipartUploadsResult & AddCommonPrefixes(CommonPrefix &&value)
ListMultipartUploadsResult & WithUploads(Aws::Vector< MultipartUpload > &&value)
ListMultipartUploadsResult & WithEncodingType(const EncodingType &value)
ListMultipartUploadsResult & WithUploadIdMarker(const char *value)
ListMultipartUploadsResult & WithKeyMarker(const char *value)
ListMultipartUploadsResult & WithNextKeyMarker(const char *value)
ListMultipartUploadsResult & WithPrefix(const Aws::String &value)
ListMultipartUploadsResult & WithNextKeyMarker(const Aws::String &value)
ListMultipartUploadsResult & WithCommonPrefixes(const Aws::Vector< CommonPrefix > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector