AWS SDK for C++  1.8.71
AWS SDK for C++
ListVaultsRequest.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 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "ListVaults"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
54  inline const Aws::String& GetAccountId() const{ return m_accountId; }
55 
64  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
65 
74  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
75 
84  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
85 
94  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
95 
104  inline ListVaultsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
105 
114  inline ListVaultsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
115 
124  inline ListVaultsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
125 
126 
131  inline const Aws::String& GetMarker() const{ return m_marker; }
132 
137  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
138 
143  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
144 
149  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
150 
155  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
156 
161  inline ListVaultsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
162 
167  inline ListVaultsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
168 
173  inline ListVaultsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
174 
175 
181  inline const Aws::String& GetLimit() const{ return m_limit; }
182 
188  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
189 
195  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
196 
202  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = std::move(value); }
203 
209  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
210 
216  inline ListVaultsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
217 
223  inline ListVaultsRequest& WithLimit(Aws::String&& value) { SetLimit(std::move(value)); return *this;}
224 
230  inline ListVaultsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
231 
232  private:
233 
234  Aws::String m_accountId;
235  bool m_accountIdHasBeenSet;
236 
237  Aws::String m_marker;
238  bool m_markerHasBeenSet;
239 
240  Aws::String m_limit;
241  bool m_limitHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Glacier
246 } // namespace Aws
void SetLimit(const Aws::String &value)
ListVaultsRequest & WithMarker(const char *value)
const Aws::String & GetAccountId() const
ListVaultsRequest & WithAccountId(Aws::String &&value)
void SetMarker(const Aws::String &value)
const Aws::String & GetMarker() const
ListVaultsRequest & WithMarker(Aws::String &&value)
ListVaultsRequest & WithLimit(const char *value)
ListVaultsRequest & WithLimit(const Aws::String &value)
const Aws::String & GetLimit() const
virtual const char * GetServiceRequestName() const override
#define AWS_GLACIER_API
void SetAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListVaultsRequest & WithLimit(Aws::String &&value)
ListVaultsRequest & WithAccountId(const char *value)
ListVaultsRequest & WithAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
ListVaultsRequest & WithMarker(const Aws::String &value)