AWS SDK for C++  1.9.104
AWS SDK for C++
ListMultipartUploadsRequest.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 "ListMultipartUploads"; }
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 ListMultipartUploadsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
98 
106  inline ListMultipartUploadsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
107 
115  inline ListMultipartUploadsRequest& 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 ListMultipartUploadsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
147 
151  inline ListMultipartUploadsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
152 
156  inline ListMultipartUploadsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
157 
158 
165  inline const Aws::String& GetMarker() const{ return m_marker; }
166 
173  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
174 
181  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
182 
189  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
190 
197  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
198 
205  inline ListMultipartUploadsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
206 
213  inline ListMultipartUploadsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
214 
221  inline ListMultipartUploadsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
222 
223 
229  inline const Aws::String& GetLimit() const{ return m_limit; }
230 
236  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
237 
243  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
244 
250  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
251 
257  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
258 
264  inline ListMultipartUploadsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
265 
271  inline ListMultipartUploadsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
272 
278  inline ListMultipartUploadsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
279 
280  private:
281 
282  Aws::String m_accountId;
283  bool m_accountIdHasBeenSet;
284 
285  Aws::String m_vaultName;
286  bool m_vaultNameHasBeenSet;
287 
288  Aws::String m_marker;
289  bool m_markerHasBeenSet;
290 
291  Aws::String m_limit;
292  bool m_limitHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace Glacier
297 } // namespace Aws
Aws::Glacier::Model::ListMultipartUploadsRequest::SetVaultName
void SetVaultName(const char *value)
Definition: ListMultipartUploadsRequest.h:141
Aws::Http::URI
Definition: URI.h:32
Aws::Glacier::Model::ListMultipartUploadsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListMultipartUploadsRequest.h:88
Aws::Glacier::Model::ListMultipartUploadsRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: ListMultipartUploadsRequest.h:121
Aws::Glacier::Model::ListMultipartUploadsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::ListMultipartUploadsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListMultipartUploadsRequest.h:236
Aws::Glacier::Model::ListMultipartUploadsRequest::GetLimit
const Aws::String & GetLimit() const
Definition: ListMultipartUploadsRequest.h:229
Aws::Glacier::Model::ListMultipartUploadsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListMultipartUploadsRequest.h:173
Aws::Glacier::Model::ListMultipartUploadsRequest::ListMultipartUploadsRequest
ListMultipartUploadsRequest()
Aws::Glacier::Model::ListMultipartUploadsRequest::SetLimit
void SetLimit(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:243
Aws::Glacier::Model::ListMultipartUploadsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:70
Aws::Glacier::Model::ListMultipartUploadsRequest::WithLimit
ListMultipartUploadsRequest & WithLimit(const char *value)
Definition: ListMultipartUploadsRequest.h:278
Aws::Glacier::Model::ListMultipartUploadsRequest::WithMarker
ListMultipartUploadsRequest & WithMarker(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:213
Aws::Glacier::Model::ListMultipartUploadsRequest::WithVaultName
ListMultipartUploadsRequest & WithVaultName(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:146
Aws::Glacier::Model::ListMultipartUploadsRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: ListMultipartUploadsRequest.h:126
Aws::Glacier::Model::ListMultipartUploadsRequest::WithVaultName
ListMultipartUploadsRequest & WithVaultName(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:151
Aws::Glacier::Model::ListMultipartUploadsRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:131
Aws::Glacier::Model::ListMultipartUploadsRequest::WithLimit
ListMultipartUploadsRequest & WithLimit(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:271
Aws::Glacier::Model::ListMultipartUploadsRequest::SetLimit
void SetLimit(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:250
Aws::Glacier::Model::ListMultipartUploadsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListMultipartUploadsRequest.h:52
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::ListMultipartUploadsRequest::WithAccountId
ListMultipartUploadsRequest & WithAccountId(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:97
Aws::Glacier::Model::ListMultipartUploadsRequest::WithAccountId
ListMultipartUploadsRequest & WithAccountId(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:106
Aws::Glacier::Model::ListMultipartUploadsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListMultipartUploadsRequest.h:61
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListMultipartUploadsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:79
Aws::Glacier::Model::ListMultipartUploadsRequest::WithMarker
ListMultipartUploadsRequest & WithMarker(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:205
Aws::Glacier::Model::ListMultipartUploadsRequest::WithVaultName
ListMultipartUploadsRequest & WithVaultName(const char *value)
Definition: ListMultipartUploadsRequest.h:156
Aws::Glacier::Model::ListMultipartUploadsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:181
Aws::Glacier::Model::ListMultipartUploadsRequest::SetLimit
void SetLimit(const char *value)
Definition: ListMultipartUploadsRequest.h:257
Aws::Glacier::Model::ListMultipartUploadsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:189
AWSString.h
Aws::Glacier::Model::ListMultipartUploadsRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: ListMultipartUploadsRequest.h:136
GlacierRequest.h
Aws::Glacier::Model::ListMultipartUploadsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Glacier::Model::ListMultipartUploadsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListMultipartUploadsRequest.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListMultipartUploadsRequest::WithLimit
ListMultipartUploadsRequest & WithLimit(const Aws::String &value)
Definition: ListMultipartUploadsRequest.h:264
Aws::Glacier::Model::ListMultipartUploadsRequest::WithAccountId
ListMultipartUploadsRequest & WithAccountId(const char *value)
Definition: ListMultipartUploadsRequest.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListMultipartUploadsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListMultipartUploadsRequest.h:165
Aws::Glacier::Model::ListMultipartUploadsRequest::WithMarker
ListMultipartUploadsRequest & WithMarker(const char *value)
Definition: ListMultipartUploadsRequest.h:221
Aws::Glacier::Model::ListMultipartUploadsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListMultipartUploadsRequest.h:197
Glacier_EXPORTS.h
Aws::Glacier::Model::ListMultipartUploadsRequest
Definition: ListMultipartUploadsRequest.h:30