AWS SDK for C++  0.14.3
AWS SDK for C++
ListVaultsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Http
23 {
24  class URI;
25 } //namespace Http
26 namespace Glacier
27 {
28 namespace Model
29 {
30 
36  {
37  public:
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
51  inline const Aws::String& GetAccountId() const{ return m_accountId; }
52 
61  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
62 
71  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
72 
81  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
82 
91  inline ListVaultsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
92 
101  inline ListVaultsRequest& WithAccountId(Aws::String&& value) { SetAccountId(value); return *this;}
102 
111  inline ListVaultsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
112 
117  inline const Aws::String& GetMarker() const{ return m_marker; }
118 
123  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
124 
129  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
130 
135  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
136 
141  inline ListVaultsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
142 
147  inline ListVaultsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
148 
153  inline ListVaultsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
154 
159  inline const Aws::String& GetLimit() const{ return m_limit; }
160 
165  inline void SetLimit(const Aws::String& value) { m_limitHasBeenSet = true; m_limit = value; }
166 
171  inline void SetLimit(Aws::String&& value) { m_limitHasBeenSet = true; m_limit = value; }
172 
177  inline void SetLimit(const char* value) { m_limitHasBeenSet = true; m_limit.assign(value); }
178 
183  inline ListVaultsRequest& WithLimit(const Aws::String& value) { SetLimit(value); return *this;}
184 
189  inline ListVaultsRequest& WithLimit(Aws::String&& value) { SetLimit(value); return *this;}
190 
195  inline ListVaultsRequest& WithLimit(const char* value) { SetLimit(value); return *this;}
196 
197  private:
198  Aws::String m_accountId;
199  bool m_accountIdHasBeenSet;
200  Aws::String m_marker;
201  bool m_markerHasBeenSet;
202  Aws::String m_limit;
203  bool m_limitHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace Glacier
208 } // namespace Aws
void SetLimit(const Aws::String &value)
ListVaultsRequest & WithMarker(const char *value)
ListVaultsRequest & WithAccountId(Aws::String &&value)
void SetMarker(const Aws::String &value)
const Aws::String & GetMarker() const
const Aws::String & GetAccountId() const
ListVaultsRequest & WithMarker(Aws::String &&value)
ListVaultsRequest & WithLimit(const char *value)
ListVaultsRequest & WithLimit(const Aws::String &value)
#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)
const Aws::String & GetLimit() const
void SetAccountId(Aws::String &&value)
ListVaultsRequest & WithMarker(const Aws::String &value)
JSON (JavaScript Object Notation).