AWS SDK for C++  0.14.3
AWS SDK for C++
ListVolumesRequest.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 
40 
41  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
42 
43 
44  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
45 
46 
47  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
48 
49 
50  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
51 
52 
53  inline ListVolumesRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
54 
55 
56  inline ListVolumesRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(value); return *this;}
57 
58 
59  inline ListVolumesRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
60 
66  inline const Aws::String& GetMarker() const{ return m_marker; }
67 
73  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
74 
80  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
81 
87  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
88 
94  inline ListVolumesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
95 
101  inline ListVolumesRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
102 
108  inline ListVolumesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
109 
114  inline int GetLimit() const{ return m_limit; }
115 
120  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
121 
126  inline ListVolumesRequest& WithLimit(int value) { SetLimit(value); return *this;}
127 
128  private:
129  Aws::String m_gatewayARN;
130  bool m_gatewayARNHasBeenSet;
131  Aws::String m_marker;
132  bool m_markerHasBeenSet;
133  int m_limit;
134  bool m_limitHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace StorageGateway
139 } // namespace Aws
ListVolumesRequest & WithMarker(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ListVolumesRequest & WithGatewayARN(const Aws::String &value)
ListVolumesRequest & WithMarker(const char *value)
void SetGatewayARN(const Aws::String &value)
ListVolumesRequest & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListVolumesRequest & WithGatewayARN(Aws::String &&value)
#define AWS_STORAGEGATEWAY_API
ListVolumesRequest & WithGatewayARN(const char *value)
JSON (JavaScript Object Notation).