AWS SDK for C++  1.9.107
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
Aws::Http::URI
Definition: URI.h:32
Aws::Glacier::Model::ListVaultsRequest::WithAccountId
ListVaultsRequest & WithAccountId(Aws::String &&value)
Definition: ListVaultsRequest.h:114
Aws::Glacier::Model::ListVaultsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVaultsRequest.h:39
Aws::Glacier::Model::ListVaultsRequest::WithMarker
ListVaultsRequest & WithMarker(Aws::String &&value)
Definition: ListVaultsRequest.h:167
Aws::Glacier::Model::ListVaultsRequest::WithAccountId
ListVaultsRequest & WithAccountId(const Aws::String &value)
Definition: ListVaultsRequest.h:104
Aws::Glacier::Model::ListVaultsRequest::SetMarker
void SetMarker(const char *value)
Definition: ListVaultsRequest.h:155
Aws::Glacier::Model::ListVaultsRequest::WithMarker
ListVaultsRequest & WithMarker(const char *value)
Definition: ListVaultsRequest.h:173
Aws::Glacier::Model::ListVaultsRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: ListVaultsRequest.h:74
Aws::Glacier::Model::ListVaultsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListVaultsRequest.h:149
Aws::Glacier::Model::ListVaultsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListVaultsRequest.h:137
Aws::Glacier::Model::ListVaultsRequest::SetAccountId
void SetAccountId(const char *value)
Definition: ListVaultsRequest.h:94
Aws::Glacier::Model::ListVaultsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Glacier::Model::ListVaultsRequest
Definition: ListVaultsRequest.h:31
Aws::Glacier::GlacierRequest
Definition: GlacierRequest.h:18
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListVaultsRequest::SetLimit
void SetLimit(const Aws::String &value)
Definition: ListVaultsRequest.h:195
Aws::Glacier::Model::ListVaultsRequest::WithLimit
ListVaultsRequest & WithLimit(const char *value)
Definition: ListVaultsRequest.h:230
Aws::Glacier::Model::ListVaultsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glacier::Model::ListVaultsRequest::SetLimit
void SetLimit(Aws::String &&value)
Definition: ListVaultsRequest.h:202
Aws::Glacier::Model::ListVaultsRequest::WithLimit
ListVaultsRequest & WithLimit(const Aws::String &value)
Definition: ListVaultsRequest.h:216
Aws::Glacier::Model::ListVaultsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListVaultsRequest.h:188
Aws::Glacier::Model::ListVaultsRequest::WithLimit
ListVaultsRequest & WithLimit(Aws::String &&value)
Definition: ListVaultsRequest.h:223
Aws::Glacier::Model::ListVaultsRequest::ListVaultsRequest
ListVaultsRequest()
AWSString.h
GlacierRequest.h
Aws::Glacier::Model::ListVaultsRequest::WithMarker
ListVaultsRequest & WithMarker(const Aws::String &value)
Definition: ListVaultsRequest.h:161
Aws::Glacier::Model::ListVaultsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListVaultsRequest.h:143
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListVaultsRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: ListVaultsRequest.h:84
Aws::Glacier::Model::ListVaultsRequest::SetLimit
void SetLimit(const char *value)
Definition: ListVaultsRequest.h:209
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListVaultsRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: ListVaultsRequest.h:54
Aws::Glacier::Model::ListVaultsRequest::GetLimit
const Aws::String & GetLimit() const
Definition: ListVaultsRequest.h:181
Aws::Glacier::Model::ListVaultsRequest::WithAccountId
ListVaultsRequest & WithAccountId(const char *value)
Definition: ListVaultsRequest.h:124
Aws::Glacier::Model::ListVaultsRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: ListVaultsRequest.h:64
Aws::Glacier::Model::ListVaultsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListVaultsRequest.h:131
Glacier_EXPORTS.h