AWS SDK for C++  0.14.3
AWS SDK for C++
ListGatewaysRequest.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 StorageGateway
23 {
24 namespace Model
25 {
26 
33  {
34  public:
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
44  inline const Aws::String& GetMarker() const{ return m_marker; }
45 
50  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
51 
56  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
57 
62  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
63 
68  inline ListGatewaysRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
69 
74  inline ListGatewaysRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
75 
80  inline ListGatewaysRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
81 
86  inline int GetLimit() const{ return m_limit; }
87 
92  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
93 
98  inline ListGatewaysRequest& WithLimit(int value) { SetLimit(value); return *this;}
99 
100  private:
101  Aws::String m_marker;
102  bool m_markerHasBeenSet;
103  int m_limit;
104  bool m_limitHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace StorageGateway
109 } // namespace Aws
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ListGatewaysRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListGatewaysRequest & WithMarker(const Aws::String &value)
ListGatewaysRequest & WithMarker(const char *value)
#define AWS_STORAGEGATEWAY_API
JSON (JavaScript Object Notation).