AWS SDK for C++  1.9.102
AWS SDK for C++
ListPartsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Glacier
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::String& GetMultipartUploadId() const{ return m_multipartUploadId; }
47 
51  inline void SetMultipartUploadId(const Aws::String& value) { m_multipartUploadId = value; }
52 
56  inline void SetMultipartUploadId(Aws::String&& value) { m_multipartUploadId = std::move(value); }
57 
61  inline void SetMultipartUploadId(const char* value) { m_multipartUploadId.assign(value); }
62 
66  inline ListPartsResult& WithMultipartUploadId(const Aws::String& value) { SetMultipartUploadId(value); return *this;}
67 
71  inline ListPartsResult& WithMultipartUploadId(Aws::String&& value) { SetMultipartUploadId(std::move(value)); return *this;}
72 
76  inline ListPartsResult& WithMultipartUploadId(const char* value) { SetMultipartUploadId(value); return *this;}
77 
78 
83  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
84 
89  inline void SetVaultARN(const Aws::String& value) { m_vaultARN = value; }
90 
95  inline void SetVaultARN(Aws::String&& value) { m_vaultARN = std::move(value); }
96 
101  inline void SetVaultARN(const char* value) { m_vaultARN.assign(value); }
102 
107  inline ListPartsResult& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
108 
113  inline ListPartsResult& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
114 
119  inline ListPartsResult& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
120 
121 
126  inline const Aws::String& GetArchiveDescription() const{ return m_archiveDescription; }
127 
132  inline void SetArchiveDescription(const Aws::String& value) { m_archiveDescription = value; }
133 
138  inline void SetArchiveDescription(Aws::String&& value) { m_archiveDescription = std::move(value); }
139 
144  inline void SetArchiveDescription(const char* value) { m_archiveDescription.assign(value); }
145 
150  inline ListPartsResult& WithArchiveDescription(const Aws::String& value) { SetArchiveDescription(value); return *this;}
151 
156  inline ListPartsResult& WithArchiveDescription(Aws::String&& value) { SetArchiveDescription(std::move(value)); return *this;}
157 
162  inline ListPartsResult& WithArchiveDescription(const char* value) { SetArchiveDescription(value); return *this;}
163 
164 
169  inline long long GetPartSizeInBytes() const{ return m_partSizeInBytes; }
170 
175  inline void SetPartSizeInBytes(long long value) { m_partSizeInBytes = value; }
176 
181  inline ListPartsResult& WithPartSizeInBytes(long long value) { SetPartSizeInBytes(value); return *this;}
182 
183 
187  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
188 
192  inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
193 
197  inline void SetCreationDate(Aws::String&& value) { m_creationDate = std::move(value); }
198 
202  inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
203 
207  inline ListPartsResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
208 
212  inline ListPartsResult& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
213 
217  inline ListPartsResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
218 
219 
225  inline const Aws::Vector<PartListElement>& GetParts() const{ return m_parts; }
226 
232  inline void SetParts(const Aws::Vector<PartListElement>& value) { m_parts = value; }
233 
239  inline void SetParts(Aws::Vector<PartListElement>&& value) { m_parts = std::move(value); }
240 
246  inline ListPartsResult& WithParts(const Aws::Vector<PartListElement>& value) { SetParts(value); return *this;}
247 
253  inline ListPartsResult& WithParts(Aws::Vector<PartListElement>&& value) { SetParts(std::move(value)); return *this;}
254 
260  inline ListPartsResult& AddParts(const PartListElement& value) { m_parts.push_back(value); return *this; }
261 
267  inline ListPartsResult& AddParts(PartListElement&& value) { m_parts.push_back(std::move(value)); return *this; }
268 
269 
275  inline const Aws::String& GetMarker() const{ return m_marker; }
276 
282  inline void SetMarker(const Aws::String& value) { m_marker = value; }
283 
289  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
290 
296  inline void SetMarker(const char* value) { m_marker.assign(value); }
297 
303  inline ListPartsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
304 
310  inline ListPartsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
311 
317  inline ListPartsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
318 
319  private:
320 
321  Aws::String m_multipartUploadId;
322 
323  Aws::String m_vaultARN;
324 
325  Aws::String m_archiveDescription;
326 
327  long long m_partSizeInBytes;
328 
329  Aws::String m_creationDate;
330 
332 
333  Aws::String m_marker;
334  };
335 
336 } // namespace Model
337 } // namespace Glacier
338 } // namespace Aws
Aws::Glacier::Model::ListPartsResult::WithMultipartUploadId
ListPartsResult & WithMultipartUploadId(Aws::String &&value)
Definition: ListPartsResult.h:71
Aws::Glacier::Model::ListPartsResult::AddParts
ListPartsResult & AddParts(PartListElement &&value)
Definition: ListPartsResult.h:267
Aws::Glacier::Model::ListPartsResult::SetMultipartUploadId
void SetMultipartUploadId(const char *value)
Definition: ListPartsResult.h:61
Aws::Glacier::Model::PartListElement
Definition: PartListElement.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListPartsResult::SetMultipartUploadId
void SetMultipartUploadId(const Aws::String &value)
Definition: ListPartsResult.h:51
Aws::Glacier::Model::ListPartsResult::WithPartSizeInBytes
ListPartsResult & WithPartSizeInBytes(long long value)
Definition: ListPartsResult.h:181
Aws::Glacier::Model::ListPartsResult::WithParts
ListPartsResult & WithParts(const Aws::Vector< PartListElement > &value)
Definition: ListPartsResult.h:246
Aws::Glacier::Model::ListPartsResult::SetMarker
void SetMarker(const char *value)
Definition: ListPartsResult.h:296
Aws::Glacier::Model::ListPartsResult::SetPartSizeInBytes
void SetPartSizeInBytes(long long value)
Definition: ListPartsResult.h:175
Aws::Glacier::Model::ListPartsResult::GetCreationDate
const Aws::String & GetCreationDate() const
Definition: ListPartsResult.h:187
Aws::Glacier::Model::ListPartsResult::SetArchiveDescription
void SetArchiveDescription(const Aws::String &value)
Definition: ListPartsResult.h:132
Aws::Glacier::Model::ListPartsResult::WithVaultARN
ListPartsResult & WithVaultARN(const char *value)
Definition: ListPartsResult.h:119
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Glacier::Model::ListPartsResult::operator=
ListPartsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListPartsResult::GetVaultARN
const Aws::String & GetVaultARN() const
Definition: ListPartsResult.h:83
Aws::Glacier::Model::ListPartsResult::WithMarker
ListPartsResult & WithMarker(const Aws::String &value)
Definition: ListPartsResult.h:303
Aws::Glacier::Model::ListPartsResult::WithMarker
ListPartsResult & WithMarker(const char *value)
Definition: ListPartsResult.h:317
Aws::Glacier::Model::ListPartsResult::SetMultipartUploadId
void SetMultipartUploadId(Aws::String &&value)
Definition: ListPartsResult.h:56
Aws::Glacier::Model::ListPartsResult::WithMultipartUploadId
ListPartsResult & WithMultipartUploadId(const char *value)
Definition: ListPartsResult.h:76
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListPartsResult::SetArchiveDescription
void SetArchiveDescription(Aws::String &&value)
Definition: ListPartsResult.h:138
Aws::Glacier::Model::ListPartsResult::GetMultipartUploadId
const Aws::String & GetMultipartUploadId() const
Definition: ListPartsResult.h:46
Aws::Glacier::Model::ListPartsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListPartsResult.h:289
Aws::Glacier::Model::ListPartsResult::WithArchiveDescription
ListPartsResult & WithArchiveDescription(const Aws::String &value)
Definition: ListPartsResult.h:150
Aws::Glacier::Model::ListPartsResult::ListPartsResult
ListPartsResult()
Aws::Glacier::Model::ListPartsResult::SetCreationDate
void SetCreationDate(const char *value)
Definition: ListPartsResult.h:202
Aws::Glacier::Model::ListPartsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListPartsResult.h:282
Aws::Glacier::Model::ListPartsResult::SetArchiveDescription
void SetArchiveDescription(const char *value)
Definition: ListPartsResult.h:144
AWSString.h
Aws::Glacier::Model::ListPartsResult::WithArchiveDescription
ListPartsResult & WithArchiveDescription(Aws::String &&value)
Definition: ListPartsResult.h:156
Aws::Glacier::Model::ListPartsResult::WithMarker
ListPartsResult & WithMarker(Aws::String &&value)
Definition: ListPartsResult.h:310
Aws::Glacier::Model::ListPartsResult::GetParts
const Aws::Vector< PartListElement > & GetParts() const
Definition: ListPartsResult.h:225
Aws::Glacier::Model::ListPartsResult::ListPartsResult
ListPartsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListPartsResult::AddParts
ListPartsResult & AddParts(const PartListElement &value)
Definition: ListPartsResult.h:260
Aws::Glacier::Model::ListPartsResult::WithCreationDate
ListPartsResult & WithCreationDate(const char *value)
Definition: ListPartsResult.h:217
Aws::Glacier::Model::ListPartsResult::WithCreationDate
ListPartsResult & WithCreationDate(Aws::String &&value)
Definition: ListPartsResult.h:212
Aws::Glacier::Model::ListPartsResult
Definition: ListPartsResult.h:36
Aws::Glacier::Model::ListPartsResult::SetVaultARN
void SetVaultARN(const Aws::String &value)
Definition: ListPartsResult.h:89
Aws::Glacier::Model::ListPartsResult::GetArchiveDescription
const Aws::String & GetArchiveDescription() const
Definition: ListPartsResult.h:126
PartListElement.h
Aws::Glacier::Model::ListPartsResult::SetCreationDate
void SetCreationDate(const Aws::String &value)
Definition: ListPartsResult.h:192
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListPartsResult::SetParts
void SetParts(const Aws::Vector< PartListElement > &value)
Definition: ListPartsResult.h:232
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListPartsResult::SetParts
void SetParts(Aws::Vector< PartListElement > &&value)
Definition: ListPartsResult.h:239
Aws::Glacier::Model::ListPartsResult::GetPartSizeInBytes
long long GetPartSizeInBytes() const
Definition: ListPartsResult.h:169
Aws::Glacier::Model::ListPartsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListPartsResult.h:275
Aws::Glacier::Model::ListPartsResult::WithVaultARN
ListPartsResult & WithVaultARN(Aws::String &&value)
Definition: ListPartsResult.h:113
Aws::Glacier::Model::ListPartsResult::WithParts
ListPartsResult & WithParts(Aws::Vector< PartListElement > &&value)
Definition: ListPartsResult.h:253
Aws::Glacier::Model::ListPartsResult::SetCreationDate
void SetCreationDate(Aws::String &&value)
Definition: ListPartsResult.h:197
Aws::Glacier::Model::ListPartsResult::WithArchiveDescription
ListPartsResult & WithArchiveDescription(const char *value)
Definition: ListPartsResult.h:162
Aws::Glacier::Model::ListPartsResult::SetVaultARN
void SetVaultARN(Aws::String &&value)
Definition: ListPartsResult.h:95
Aws::Glacier::Model::ListPartsResult::WithCreationDate
ListPartsResult & WithCreationDate(const Aws::String &value)
Definition: ListPartsResult.h:207
Aws::Glacier::Model::ListPartsResult::WithVaultARN
ListPartsResult & WithVaultARN(const Aws::String &value)
Definition: ListPartsResult.h:107
Aws::Glacier::Model::ListPartsResult::SetVaultARN
void SetVaultARN(const char *value)
Definition: ListPartsResult.h:101
Aws::Glacier::Model::ListPartsResult::WithMultipartUploadId
ListPartsResult & WithMultipartUploadId(const Aws::String &value)
Definition: ListPartsResult.h:66
Glacier_EXPORTS.h