AWS SDK for C++  1.8.71
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
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVaultName() const
void SetVaultName(const char *value)
void SetCompleted(Aws::String &&value)
void SetMarker(const Aws::String &value)
const Aws::String & GetCompleted() const
void SetStatuscode(Aws::String &&value)
void SetLimit(const Aws::String &value)
ListJobsRequest & WithCompleted(const Aws::String &value)
ListJobsRequest & WithAccountId(const char *value)
const Aws::String & GetLimit() const
ListJobsRequest & WithAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
ListJobsRequest & WithVaultName(Aws::String &&value)
ListJobsRequest & WithStatuscode(Aws::String &&value)
void SetLimit(Aws::String &&value)
ListJobsRequest & WithAccountId(Aws::String &&value)
void SetVaultName(Aws::String &&value)
ListJobsRequest & WithMarker(Aws::String &&value)
ListJobsRequest & WithCompleted(Aws::String &&value)
const Aws::String & GetMarker() const
void SetStatuscode(const Aws::String &value)
const Aws::String & GetStatuscode() const
void SetMarker(Aws::String &&value)
ListJobsRequest & WithMarker(const char *value)
ListJobsRequest & WithVaultName(const char *value)
ListJobsRequest & WithMarker(const Aws::String &value)
void SetStatuscode(const char *value)
ListJobsRequest & WithLimit(const Aws::String &value)
ListJobsRequest & WithVaultName(const Aws::String &value)
ListJobsRequest & WithLimit(const char *value)
void SetAccountId(const char *value)
#define AWS_GLACIER_API
const Aws::String & GetAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListJobsRequest & WithCompleted(const char *value)
ListJobsRequest & WithStatuscode(const char *value)
void SetAccountId(const Aws::String &value)
void SetCompleted(const char *value)
ListJobsRequest & WithLimit(Aws::String &&value)
ListJobsRequest & WithStatuscode(const Aws::String &value)
void SetVaultName(const Aws::String &value)
void SetCompleted(const Aws::String &value)