AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMultipartUploadsResult.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/EncodingType.h>
11#include <aws/s3/model/RequestCharged.h>
12#include <aws/s3/model/MultipartUpload.h>
13#include <aws/s3/model/CommonPrefix.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Xml
24{
25 class XmlDocument;
26} // namespace Xml
27} // namespace Utils
28namespace S3
29{
30namespace Model
31{
33 {
34 public:
38
39
41
45 inline const Aws::String& GetBucket() const{ return m_bucket; }
46 inline void SetBucket(const Aws::String& value) { m_bucket = value; }
47 inline void SetBucket(Aws::String&& value) { m_bucket = std::move(value); }
48 inline void SetBucket(const char* value) { m_bucket.assign(value); }
49 inline ListMultipartUploadsResult& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
50 inline ListMultipartUploadsResult& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
51 inline ListMultipartUploadsResult& WithBucket(const char* value) { SetBucket(value); return *this;}
53
55
58 inline const Aws::String& GetKeyMarker() const{ return m_keyMarker; }
59 inline void SetKeyMarker(const Aws::String& value) { m_keyMarker = value; }
60 inline void SetKeyMarker(Aws::String&& value) { m_keyMarker = std::move(value); }
61 inline void SetKeyMarker(const char* value) { m_keyMarker.assign(value); }
62 inline ListMultipartUploadsResult& WithKeyMarker(const Aws::String& value) { SetKeyMarker(value); return *this;}
63 inline ListMultipartUploadsResult& WithKeyMarker(Aws::String&& value) { SetKeyMarker(std::move(value)); return *this;}
64 inline ListMultipartUploadsResult& WithKeyMarker(const char* value) { SetKeyMarker(value); return *this;}
66
68
76 inline const Aws::String& GetUploadIdMarker() const{ return m_uploadIdMarker; }
77 inline void SetUploadIdMarker(const Aws::String& value) { m_uploadIdMarker = value; }
78 inline void SetUploadIdMarker(Aws::String&& value) { m_uploadIdMarker = std::move(value); }
79 inline void SetUploadIdMarker(const char* value) { m_uploadIdMarker.assign(value); }
80 inline ListMultipartUploadsResult& WithUploadIdMarker(const Aws::String& value) { SetUploadIdMarker(value); return *this;}
81 inline ListMultipartUploadsResult& WithUploadIdMarker(Aws::String&& value) { SetUploadIdMarker(std::move(value)); return *this;}
82 inline ListMultipartUploadsResult& WithUploadIdMarker(const char* value) { SetUploadIdMarker(value); return *this;}
84
86
90 inline const Aws::String& GetNextKeyMarker() const{ return m_nextKeyMarker; }
91 inline void SetNextKeyMarker(const Aws::String& value) { m_nextKeyMarker = value; }
92 inline void SetNextKeyMarker(Aws::String&& value) { m_nextKeyMarker = std::move(value); }
93 inline void SetNextKeyMarker(const char* value) { m_nextKeyMarker.assign(value); }
94 inline ListMultipartUploadsResult& WithNextKeyMarker(const Aws::String& value) { SetNextKeyMarker(value); return *this;}
95 inline ListMultipartUploadsResult& WithNextKeyMarker(Aws::String&& value) { SetNextKeyMarker(std::move(value)); return *this;}
96 inline ListMultipartUploadsResult& WithNextKeyMarker(const char* value) { SetNextKeyMarker(value); return *this;}
98
100
106 inline const Aws::String& GetPrefix() const{ return m_prefix; }
107 inline void SetPrefix(const Aws::String& value) { m_prefix = value; }
108 inline void SetPrefix(Aws::String&& value) { m_prefix = std::move(value); }
109 inline void SetPrefix(const char* value) { m_prefix.assign(value); }
110 inline ListMultipartUploadsResult& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
111 inline ListMultipartUploadsResult& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
112 inline ListMultipartUploadsResult& WithPrefix(const char* value) { SetPrefix(value); return *this;}
114
116
122 inline const Aws::String& GetDelimiter() const{ return m_delimiter; }
123 inline void SetDelimiter(const Aws::String& value) { m_delimiter = value; }
124 inline void SetDelimiter(Aws::String&& value) { m_delimiter = std::move(value); }
125 inline void SetDelimiter(const char* value) { m_delimiter.assign(value); }
126 inline ListMultipartUploadsResult& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;}
127 inline ListMultipartUploadsResult& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;}
128 inline ListMultipartUploadsResult& WithDelimiter(const char* value) { SetDelimiter(value); return *this;}
130
132
138 inline const Aws::String& GetNextUploadIdMarker() const{ return m_nextUploadIdMarker; }
139 inline void SetNextUploadIdMarker(const Aws::String& value) { m_nextUploadIdMarker = value; }
140 inline void SetNextUploadIdMarker(Aws::String&& value) { m_nextUploadIdMarker = std::move(value); }
141 inline void SetNextUploadIdMarker(const char* value) { m_nextUploadIdMarker.assign(value); }
143 inline ListMultipartUploadsResult& WithNextUploadIdMarker(Aws::String&& value) { SetNextUploadIdMarker(std::move(value)); return *this;}
144 inline ListMultipartUploadsResult& WithNextUploadIdMarker(const char* value) { SetNextUploadIdMarker(value); return *this;}
146
148
152 inline int GetMaxUploads() const{ return m_maxUploads; }
153 inline void SetMaxUploads(int value) { m_maxUploads = value; }
154 inline ListMultipartUploadsResult& WithMaxUploads(int value) { SetMaxUploads(value); return *this;}
156
158
164 inline bool GetIsTruncated() const{ return m_isTruncated; }
165 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
166 inline ListMultipartUploadsResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
168
170
174 inline const Aws::Vector<MultipartUpload>& GetUploads() const{ return m_uploads; }
175 inline void SetUploads(const Aws::Vector<MultipartUpload>& value) { m_uploads = value; }
176 inline void SetUploads(Aws::Vector<MultipartUpload>&& value) { m_uploads = std::move(value); }
178 inline ListMultipartUploadsResult& WithUploads(Aws::Vector<MultipartUpload>&& value) { SetUploads(std::move(value)); return *this;}
179 inline ListMultipartUploadsResult& AddUploads(const MultipartUpload& value) { m_uploads.push_back(value); return *this; }
180 inline ListMultipartUploadsResult& AddUploads(MultipartUpload&& value) { m_uploads.push_back(std::move(value)); return *this; }
182
184
191 inline const Aws::Vector<CommonPrefix>& GetCommonPrefixes() const{ return m_commonPrefixes; }
192 inline void SetCommonPrefixes(const Aws::Vector<CommonPrefix>& value) { m_commonPrefixes = value; }
193 inline void SetCommonPrefixes(Aws::Vector<CommonPrefix>&& value) { m_commonPrefixes = std::move(value); }
196 inline ListMultipartUploadsResult& AddCommonPrefixes(const CommonPrefix& value) { m_commonPrefixes.push_back(value); return *this; }
197 inline ListMultipartUploadsResult& AddCommonPrefixes(CommonPrefix&& value) { m_commonPrefixes.push_back(std::move(value)); return *this; }
199
201
209 inline const EncodingType& GetEncodingType() const{ return m_encodingType; }
210 inline void SetEncodingType(const EncodingType& value) { m_encodingType = value; }
211 inline void SetEncodingType(EncodingType&& value) { m_encodingType = std::move(value); }
212 inline ListMultipartUploadsResult& WithEncodingType(const EncodingType& value) { SetEncodingType(value); return *this;}
213 inline ListMultipartUploadsResult& WithEncodingType(EncodingType&& value) { SetEncodingType(std::move(value)); return *this;}
215
217
218 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
219 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
220 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
222 inline ListMultipartUploadsResult& WithRequestCharged(RequestCharged&& value) { SetRequestCharged(std::move(value)); return *this;}
224
226
227 inline const Aws::String& GetRequestId() const{ return m_requestId; }
228 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
229 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
230 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
231 inline ListMultipartUploadsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
232 inline ListMultipartUploadsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
233 inline ListMultipartUploadsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
235 private:
236
237 Aws::String m_bucket;
238
239 Aws::String m_keyMarker;
240
241 Aws::String m_uploadIdMarker;
242
243 Aws::String m_nextKeyMarker;
244
245 Aws::String m_prefix;
246
247 Aws::String m_delimiter;
248
249 Aws::String m_nextUploadIdMarker;
250
251 int m_maxUploads;
252
253 bool m_isTruncated;
254
256
257 Aws::Vector<CommonPrefix> m_commonPrefixes;
258
259 EncodingType m_encodingType;
260
261 RequestCharged m_requestCharged;
262
263 Aws::String m_requestId;
264 };
265
266} // namespace Model
267} // namespace S3
268} // namespace Aws
AWS_S3_API ListMultipartUploadsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListMultipartUploadsResult & WithRequestCharged(const RequestCharged &value)
ListMultipartUploadsResult & WithNextUploadIdMarker(const Aws::String &value)
ListMultipartUploadsResult & WithCommonPrefixes(Aws::Vector< CommonPrefix > &&value)
const Aws::Vector< MultipartUpload > & GetUploads() const
ListMultipartUploadsResult & WithUploadIdMarker(Aws::String &&value)
void SetRequestCharged(const RequestCharged &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 & WithRequestId(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)
ListMultipartUploadsResult & WithRequestId(const Aws::String &value)
ListMultipartUploadsResult & WithRequestId(const char *value)
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 & WithRequestCharged(RequestCharged &&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
Aws::Utils::Xml::XmlDocument XmlDocument