AWS SDK for C++  1.9.104
AWS SDK for C++
ListPartsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Glacier
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListParts"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
52  inline const Aws::String& GetAccountId() const{ return m_accountId; }
53 
61  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
62 
70  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
71 
79  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
80 
88  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
89 
97  inline ListPartsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
98 
106  inline ListPartsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
107 
115  inline ListPartsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
116 
117 
121  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
122 
126  inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
127 
131  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
132 
136  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
137 
141  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
142 
146  inline ListPartsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
147 
151  inline ListPartsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
152 
156  inline ListPartsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
157 
158 
162  inline const Aws::String& GetUploadId() const{ return m_uploadId; }
163 
167  inline bool UploadIdHasBeenSet() const { return m_uploadIdHasBeenSet; }
168 
172  inline void SetUploadId(const Aws::String& value) { m_uploadIdHasBeenSet = true; m_uploadId = value; }
173 
177  inline void SetUploadId(Aws::String&& value) { m_uploadIdHasBeenSet = true; m_uploadId = std::move(value); }
178 
182  inline void SetUploadId(const char* value) { m_uploadIdHasBeenSet = true; m_uploadId.assign(value); }
183 
187  inline ListPartsRequest& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
188 
192  inline ListPartsRequest& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
193 
197  inline ListPartsRequest& WithUploadId(const char* value) { SetUploadId(value); return *this;}
198 
199 
207  inline const Aws::String& GetMarker() const{ return m_marker; }
208 
216  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
217 
225  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
226 
234  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
235 
243  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
244 
252  inline ListPartsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
253 
261  inline ListPartsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
262 
270  inline ListPartsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
271 
272 
278  inline const Aws::String& GetLimit() const{ return m_limit; }
279 
285  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
286 
292  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
293 
299  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
300 
306  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
307 
313  inline ListPartsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
314 
320  inline ListPartsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
321 
327  inline ListPartsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
328 
329  private:
330 
331  Aws::String m_accountId;
332  bool m_accountIdHasBeenSet;
333 
334  Aws::String m_vaultName;
335  bool m_vaultNameHasBeenSet;
336 
337  Aws::String m_uploadId;
338  bool m_uploadIdHasBeenSet;
339 
340  Aws::String m_marker;
341  bool m_markerHasBeenSet;
342 
343  Aws::String m_limit;
344  bool m_limitHasBeenSet;
345  };
346 
347 } // namespace Model
348 } // namespace Glacier
349 } // namespace Aws
Aws::Glacier::Model::ListPartsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPartsRequest.h:38
Aws::Glacier::Model::ListPartsRequest::WithAccountId
ListPartsRequest & WithAccountId(Aws::String &&value)
Definition: ListPartsRequest.h:106
Aws::Http::URI
Definition: URI.h:32
Aws::Glacier::Model::ListPartsRequest::WithUploadId
ListPartsRequest & WithUploadId(Aws::String &&value)
Definition: ListPartsRequest.h:192
Aws::Glacier::Model::ListPartsRequest::WithAccountId
ListPartsRequest & WithAccountId(const Aws::String &value)
Definition: ListPartsRequest.h:97
Aws::Glacier::Model::ListPartsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListPartsRequest.h:79
Aws::Glacier::Model::ListPartsRequest::WithMarker
ListPartsRequest & WithMarker(const char *value)
Definition: ListPartsRequest.h:270
Aws::Glacier::Model::ListPartsRequest::WithMarker
ListPartsRequest & WithMarker(const Aws::String &value)
Definition: ListPartsRequest.h:252
Aws::Glacier::Model::ListPartsRequest::WithVaultName
ListPartsRequest & WithVaultName(Aws::String &&value)
Definition: ListPartsRequest.h:151
Aws::Glacier::Model::ListPartsRequest::SetLimit
void SetLimit(Aws::String &&value)
Definition: ListPartsRequest.h:299
Aws::Glacier::Model::ListPartsRequest::GetUploadId
const Aws::String & GetUploadId() const
Definition: ListPartsRequest.h:162
Aws::Glacier::Model::ListPartsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListPartsRequest.h:216
Aws::Glacier::Model::ListPartsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListPartsRequest.h:285
Aws::Glacier::Model::ListPartsRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: ListPartsRequest.h:121
Aws::Glacier::Model::ListPartsRequest::WithAccountId
ListPartsRequest & WithAccountId(const char *value)
Definition: ListPartsRequest.h:115
Aws::Glacier::Model::ListPartsRequest::SetUploadId
void SetUploadId(const Aws::String &value)
Definition: ListPartsRequest.h:172
Aws::Glacier::Model::ListPartsRequest::WithVaultName
ListPartsRequest & WithVaultName(const Aws::String &value)
Definition: ListPartsRequest.h:146
Aws::Glacier::Model::ListPartsRequest
Definition: ListPartsRequest.h:30
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::ListPartsRequest::SetVaultName
void SetVaultName(const char *value)
Definition: ListPartsRequest.h:141
Aws::Glacier::Model::ListPartsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListPartsRequest.h:234
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListPartsRequest::SetLimit
void SetLimit(const Aws::String &value)
Definition: ListPartsRequest.h:292
Aws::Glacier::Model::ListPartsRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: ListPartsRequest.h:136
Aws::Glacier::Model::ListPartsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListPartsRequest.h:70
Aws::Glacier::Model::ListPartsRequest::WithMarker
ListPartsRequest & WithMarker(Aws::String &&value)
Definition: ListPartsRequest.h:261
Aws::Glacier::Model::ListPartsRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: ListPartsRequest.h:126
Aws::Glacier::Model::ListPartsRequest::WithLimit
ListPartsRequest & WithLimit(const Aws::String &value)
Definition: ListPartsRequest.h:313
AWSString.h
Aws::Glacier::Model::ListPartsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Glacier::Model::ListPartsRequest::SetLimit
void SetLimit(const char *value)
Definition: ListPartsRequest.h:306
Aws::Glacier::Model::ListPartsRequest::SetUploadId
void SetUploadId(Aws::String &&value)
Definition: ListPartsRequest.h:177
Aws::Glacier::Model::ListPartsRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: ListPartsRequest.h:131
Aws::Glacier::Model::ListPartsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListPartsRequest.h:61
GlacierRequest.h
Aws::Glacier::Model::ListPartsRequest::WithLimit
ListPartsRequest & WithLimit(Aws::String &&value)
Definition: ListPartsRequest.h:320
Aws::Glacier::Model::ListPartsRequest::WithVaultName
ListPartsRequest & WithVaultName(const char *value)
Definition: ListPartsRequest.h:156
Aws::Glacier::Model::ListPartsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListPartsRequest.h:52
Aws::Glacier::Model::ListPartsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::ListPartsRequest::SetUploadId
void SetUploadId(const char *value)
Definition: ListPartsRequest.h:182
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListPartsRequest::GetLimit
const Aws::String & GetLimit() const
Definition: ListPartsRequest.h:278
Aws::Glacier::Model::ListPartsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListPartsRequest.h:88
Aws::Glacier::Model::ListPartsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListPartsRequest.h:243
Aws::Glacier::Model::ListPartsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListPartsRequest.h:207
Aws::Glacier::Model::ListPartsRequest::WithUploadId
ListPartsRequest & WithUploadId(const Aws::String &value)
Definition: ListPartsRequest.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListPartsRequest::ListPartsRequest
ListPartsRequest()
Aws::Glacier::Model::ListPartsRequest::WithUploadId
ListPartsRequest & WithUploadId(const char *value)
Definition: ListPartsRequest.h:197
Aws::Glacier::Model::ListPartsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListPartsRequest.h:225
Aws::Glacier::Model::ListPartsRequest::UploadIdHasBeenSet
bool UploadIdHasBeenSet() const
Definition: ListPartsRequest.h:167
Aws::Glacier::Model::ListPartsRequest::WithLimit
ListPartsRequest & WithLimit(const char *value)
Definition: ListPartsRequest.h:327
Glacier_EXPORTS.h