AWS SDK for C++  1.9.107
AWS SDK for C++
ListJobsRequest.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 "ListJobs"; }
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 ListJobsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
98 
106  inline ListJobsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
107 
115  inline ListJobsRequest& 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 ListJobsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
147 
151  inline ListJobsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
152 
156  inline ListJobsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
157 
158 
164  inline const Aws::String& GetLimit() const{ return m_limit; }
165 
171  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
172 
178  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
179 
185  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
186 
192  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
193 
199  inline ListJobsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
200 
206  inline ListJobsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
207 
213  inline ListJobsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
214 
215 
222  inline const Aws::String& GetMarker() const{ return m_marker; }
223 
230  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
231 
238  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
239 
246  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
247 
254  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
255 
262  inline ListJobsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
263 
270  inline ListJobsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
271 
278  inline ListJobsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
279 
280 
285  inline const Aws::String& GetStatuscode() const{ return m_statuscode; }
286 
291  inline bool StatuscodeHasBeenSet() const { return m_statuscodeHasBeenSet; }
292 
297  inline void SetStatuscode(const Aws::String& value) { m_statuscodeHasBeenSet = true; m_statuscode = value; }
298 
303  inline void SetStatuscode(Aws::String&& value) { m_statuscodeHasBeenSet = true; m_statuscode = std::move(value); }
304 
309  inline void SetStatuscode(const char* value) { m_statuscodeHasBeenSet = true; m_statuscode.assign(value); }
310 
315  inline ListJobsRequest& WithStatuscode(const Aws::String& value) { SetStatuscode(value); return *this;}
316 
321  inline ListJobsRequest& WithStatuscode(Aws::String&& value) { SetStatuscode(std::move(value)); return *this;}
322 
327  inline ListJobsRequest& WithStatuscode(const char* value) { SetStatuscode(value); return *this;}
328 
329 
334  inline const Aws::String& GetCompleted() const{ return m_completed; }
335 
340  inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
341 
346  inline void SetCompleted(const Aws::String& value) { m_completedHasBeenSet = true; m_completed = value; }
347 
352  inline void SetCompleted(Aws::String&& value) { m_completedHasBeenSet = true; m_completed = std::move(value); }
353 
358  inline void SetCompleted(const char* value) { m_completedHasBeenSet = true; m_completed.assign(value); }
359 
364  inline ListJobsRequest& WithCompleted(const Aws::String& value) { SetCompleted(value); return *this;}
365 
370  inline ListJobsRequest& WithCompleted(Aws::String&& value) { SetCompleted(std::move(value)); return *this;}
371 
376  inline ListJobsRequest& WithCompleted(const char* value) { SetCompleted(value); return *this;}
377 
378  private:
379 
380  Aws::String m_accountId;
381  bool m_accountIdHasBeenSet;
382 
383  Aws::String m_vaultName;
384  bool m_vaultNameHasBeenSet;
385 
386  Aws::String m_limit;
387  bool m_limitHasBeenSet;
388 
389  Aws::String m_marker;
390  bool m_markerHasBeenSet;
391 
392  Aws::String m_statuscode;
393  bool m_statuscodeHasBeenSet;
394 
395  Aws::String m_completed;
396  bool m_completedHasBeenSet;
397  };
398 
399 } // namespace Model
400 } // namespace Glacier
401 } // namespace Aws
Aws::Glacier::Model::ListJobsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListJobsRequest.h:230
Aws::Http::URI
Definition: URI.h:32
Aws::Glacier::Model::ListJobsRequest::GetStatuscode
const Aws::String & GetStatuscode() const
Definition: ListJobsRequest.h:285
Aws::Glacier::Model::ListJobsRequest::WithCompleted
ListJobsRequest & WithCompleted(const char *value)
Definition: ListJobsRequest.h:376
Aws::Glacier::Model::ListJobsRequest::CompletedHasBeenSet
bool CompletedHasBeenSet() const
Definition: ListJobsRequest.h:340
Aws::Glacier::Model::ListJobsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListJobsRequest.h:79
Aws::Glacier::Model::ListJobsRequest::WithMarker
ListJobsRequest & WithMarker(Aws::String &&value)
Definition: ListJobsRequest.h:270
Aws::Glacier::Model::ListJobsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListJobsRequest.h:70
Aws::Glacier::Model::ListJobsRequest::WithLimit
ListJobsRequest & WithLimit(const char *value)
Definition: ListJobsRequest.h:213
Aws::Glacier::Model::ListJobsRequest::WithVaultName
ListJobsRequest & WithVaultName(const char *value)
Definition: ListJobsRequest.h:156
Aws::Glacier::Model::ListJobsRequest::ListJobsRequest
ListJobsRequest()
Aws::Glacier::Model::ListJobsRequest::VaultNameHasBeenSet
bool VaultNameHasBeenSet() const
Definition: ListJobsRequest.h:126
Aws::Glacier::Model::ListJobsRequest::WithMarker
ListJobsRequest & WithMarker(const Aws::String &value)
Definition: ListJobsRequest.h:262
Aws::Glacier::Model::ListJobsRequest::SetVaultName
void SetVaultName(const char *value)
Definition: ListJobsRequest.h:141
Aws::Glacier::Model::ListJobsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListJobsRequest.h:246
Aws::Glacier::Model::ListJobsRequest::WithCompleted
ListJobsRequest & WithCompleted(const Aws::String &value)
Definition: ListJobsRequest.h:364
Aws::Glacier::Model::ListJobsRequest::GetLimit
const Aws::String & GetLimit() const
Definition: ListJobsRequest.h:164
Aws::Glacier::Model::ListJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::ListJobsRequest::WithLimit
ListJobsRequest & WithLimit(const Aws::String &value)
Definition: ListJobsRequest.h:199
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
Aws::Glacier::Model::ListJobsRequest::WithStatuscode
ListJobsRequest & WithStatuscode(const char *value)
Definition: ListJobsRequest.h:327
Aws::Glacier::Model::ListJobsRequest::SetStatuscode
void SetStatuscode(const char *value)
Definition: ListJobsRequest.h:309
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListJobsRequest::WithAccountId
ListJobsRequest & WithAccountId(Aws::String &&value)
Definition: ListJobsRequest.h:106
Aws::Glacier::Model::ListJobsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListJobsRequest.h:238
Aws::Glacier::Model::ListJobsRequest::WithMarker
ListJobsRequest & WithMarker(const char *value)
Definition: ListJobsRequest.h:278
Aws::Glacier::Model::ListJobsRequest::WithCompleted
ListJobsRequest & WithCompleted(Aws::String &&value)
Definition: ListJobsRequest.h:370
Aws::Glacier::Model::ListJobsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListJobsRequest.h:88
Aws::Glacier::Model::ListJobsRequest::WithVaultName
ListJobsRequest & WithVaultName(const Aws::String &value)
Definition: ListJobsRequest.h:146
Aws::Glacier::Model::ListJobsRequest::SetCompleted
void SetCompleted(const Aws::String &value)
Definition: ListJobsRequest.h:346
Aws::Glacier::Model::ListJobsRequest::SetCompleted
void SetCompleted(const char *value)
Definition: ListJobsRequest.h:358
Aws::Glacier::Model::ListJobsRequest::SetStatuscode
void SetStatuscode(const Aws::String &value)
Definition: ListJobsRequest.h:297
Aws::Glacier::Model::ListJobsRequest::StatuscodeHasBeenSet
bool StatuscodeHasBeenSet() const
Definition: ListJobsRequest.h:291
Aws::Glacier::Model::ListJobsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListJobsRequest.h:254
Aws::Glacier::Model::ListJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListJobsRequest.h:38
Aws::Glacier::Model::ListJobsRequest::WithAccountId
ListJobsRequest & WithAccountId(const char *value)
Definition: ListJobsRequest.h:115
Aws::Glacier::Model::ListJobsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListJobsRequest.h:171
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::ListJobsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListJobsRequest.h:61
Aws::Glacier::Model::ListJobsRequest::WithVaultName
ListJobsRequest & WithVaultName(Aws::String &&value)
Definition: ListJobsRequest.h:151
Aws::Glacier::Model::ListJobsRequest::SetLimit
void SetLimit(Aws::String &&value)
Definition: ListJobsRequest.h:185
Aws::Glacier::Model::ListJobsRequest::SetCompleted
void SetCompleted(Aws::String &&value)
Definition: ListJobsRequest.h:352
Aws::Glacier::Model::ListJobsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListJobsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListJobsRequest.h:52
Aws::Glacier::Model::ListJobsRequest::SetVaultName
void SetVaultName(const Aws::String &value)
Definition: ListJobsRequest.h:131
Aws::Glacier::Model::ListJobsRequest
Definition: ListJobsRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListJobsRequest::SetStatuscode
void SetStatuscode(Aws::String &&value)
Definition: ListJobsRequest.h:303
Aws::Glacier::Model::ListJobsRequest::WithStatuscode
ListJobsRequest & WithStatuscode(Aws::String &&value)
Definition: ListJobsRequest.h:321
Aws::Glacier::Model::ListJobsRequest::GetVaultName
const Aws::String & GetVaultName() const
Definition: ListJobsRequest.h:121
Aws::Glacier::Model::ListJobsRequest::SetLimit
void SetLimit(const Aws::String &value)
Definition: ListJobsRequest.h:178
Aws::Glacier::Model::ListJobsRequest::WithAccountId
ListJobsRequest & WithAccountId(const Aws::String &value)
Definition: ListJobsRequest.h:97
Aws::Glacier::Model::ListJobsRequest::WithLimit
ListJobsRequest & WithLimit(Aws::String &&value)
Definition: ListJobsRequest.h:206
Aws::Glacier::Model::ListJobsRequest::WithStatuscode
ListJobsRequest & WithStatuscode(const Aws::String &value)
Definition: ListJobsRequest.h:315
Aws::Glacier::Model::ListJobsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListJobsRequest.h:222
Aws::Glacier::Model::ListJobsRequest::SetLimit
void SetLimit(const char *value)
Definition: ListJobsRequest.h:192
Aws::Glacier::Model::ListJobsRequest::SetVaultName
void SetVaultName(Aws::String &&value)
Definition: ListJobsRequest.h:136
Aws::Glacier::Model::ListJobsRequest::GetCompleted
const Aws::String & GetCompleted() const
Definition: ListJobsRequest.h:334
Glacier_EXPORTS.h