AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobsRequest.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/GlacierRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Glacier
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_GLACIER_API ListJobsRequest();
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_GLACIER_API Aws::String SerializePayload() const override;
41
42 AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
53 inline const Aws::String& GetAccountId() const{ return m_accountId; }
54 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
55 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
58 inline ListJobsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
59 inline ListJobsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline ListJobsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
67 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
68 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
69 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
70 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
71 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
72 inline ListJobsRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
73 inline ListJobsRequest& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
74 inline ListJobsRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
76
78
83 inline const Aws::String& GetLimit() const{ return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
86 inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
87 inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
88 inline ListJobsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
89 inline ListJobsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
90 inline ListJobsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
92
94
100 inline const Aws::String& GetMarker() const{ return m_marker; }
101 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
102 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
103 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
104 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
105 inline ListJobsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
106 inline ListJobsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
107 inline ListJobsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
109
111
115 inline const Aws::String& GetStatuscode() const{ return m_statuscode; }
116 inline bool StatuscodeHasBeenSet() const { return m_statuscodeHasBeenSet; }
117 inline void SetStatuscode(const Aws::String& value) { m_statuscodeHasBeenSet = true; m_statuscode = value; }
118 inline void SetStatuscode(Aws::String&& value) { m_statuscodeHasBeenSet = true; m_statuscode = std::move(value); }
119 inline void SetStatuscode(const char* value) { m_statuscodeHasBeenSet = true; m_statuscode.assign(value); }
120 inline ListJobsRequest& WithStatuscode(const Aws::String& value) { SetStatuscode(value); return *this;}
121 inline ListJobsRequest& WithStatuscode(Aws::String&& value) { SetStatuscode(std::move(value)); return *this;}
122 inline ListJobsRequest& WithStatuscode(const char* value) { SetStatuscode(value); return *this;}
124
126
130 inline const Aws::String& GetCompleted() const{ return m_completed; }
131 inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
132 inline void SetCompleted(const Aws::String& value) { m_completedHasBeenSet = true; m_completed = value; }
133 inline void SetCompleted(Aws::String&& value) { m_completedHasBeenSet = true; m_completed = std::move(value); }
134 inline void SetCompleted(const char* value) { m_completedHasBeenSet = true; m_completed.assign(value); }
135 inline ListJobsRequest& WithCompleted(const Aws::String& value) { SetCompleted(value); return *this;}
136 inline ListJobsRequest& WithCompleted(Aws::String&& value) { SetCompleted(std::move(value)); return *this;}
137 inline ListJobsRequest& WithCompleted(const char* value) { SetCompleted(value); return *this;}
139 private:
140
141 Aws::String m_accountId;
142 bool m_accountIdHasBeenSet = false;
143
144 Aws::String m_vaultName;
145 bool m_vaultNameHasBeenSet = false;
146
147 Aws::String m_limit;
148 bool m_limitHasBeenSet = false;
149
150 Aws::String m_marker;
151 bool m_markerHasBeenSet = false;
152
153 Aws::String m_statuscode;
154 bool m_statuscodeHasBeenSet = false;
155
156 Aws::String m_completed;
157 bool m_completedHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Glacier
162} // namespace Aws
void SetMarker(const Aws::String &value)
AWS_GLACIER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListJobsRequest & WithVaultName(const char *value)
void SetStatuscode(Aws::String &&value)
ListJobsRequest & WithAccountId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetStatuscode(const char *value)
const Aws::String & GetLimit() const
ListJobsRequest & WithStatuscode(const Aws::String &value)
ListJobsRequest & WithVaultName(Aws::String &&value)
void SetCompleted(Aws::String &&value)
const Aws::String & GetVaultName() const
ListJobsRequest & WithStatuscode(const char *value)
ListJobsRequest & WithMarker(Aws::String &&value)
void SetAccountId(const Aws::String &value)
ListJobsRequest & WithMarker(const Aws::String &value)
void SetAccountId(Aws::String &&value)
ListJobsRequest & WithCompleted(const char *value)
ListJobsRequest & WithMarker(const char *value)
ListJobsRequest & WithCompleted(const Aws::String &value)
void SetVaultName(const char *value)
void SetVaultName(const Aws::String &value)
void SetVaultName(Aws::String &&value)
void SetMarker(Aws::String &&value)
void SetStatuscode(const Aws::String &value)
void SetLimit(Aws::String &&value)
void SetLimit(const Aws::String &value)
void SetAccountId(const char *value)
const Aws::String & GetMarker() const
const Aws::String & GetStatuscode() const
ListJobsRequest & WithLimit(const Aws::String &value)
AWS_GLACIER_API Aws::String SerializePayload() const override
ListJobsRequest & WithCompleted(Aws::String &&value)
const Aws::String & GetCompleted() const
ListJobsRequest & WithAccountId(Aws::String &&value)
const Aws::String & GetAccountId() const
ListJobsRequest & WithLimit(Aws::String &&value)
void SetCompleted(const Aws::String &value)
ListJobsRequest & WithLimit(const char *value)
ListJobsRequest & WithAccountId(const Aws::String &value)
ListJobsRequest & WithStatuscode(Aws::String &&value)
ListJobsRequest & WithVaultName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String