AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeFileSystemsRequest.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 EFS
27 {
28 namespace Model
29 {
30 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
48  inline long GetMaxItems() const{ return m_maxItems; }
49 
57  inline void SetMaxItems(long value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
58 
66  inline DescribeFileSystemsRequest& WithMaxItems(long value) { SetMaxItems(value); return *this;}
67 
73  inline const Aws::String& GetMarker() const{ return m_marker; }
74 
80  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
81 
87  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
88 
94  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
95 
101  inline DescribeFileSystemsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
102 
108  inline DescribeFileSystemsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
109 
115  inline DescribeFileSystemsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
116 
122  inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
123 
129  inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
130 
136  inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
137 
143  inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); }
144 
150  inline DescribeFileSystemsRequest& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
151 
157  inline DescribeFileSystemsRequest& WithCreationToken(Aws::String&& value) { SetCreationToken(value); return *this;}
158 
164  inline DescribeFileSystemsRequest& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
165 
169  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
170 
174  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
175 
179  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
180 
184  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
185 
189  inline DescribeFileSystemsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
190 
194  inline DescribeFileSystemsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(value); return *this;}
195 
199  inline DescribeFileSystemsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
200 
201  private:
202  long m_maxItems;
203  bool m_maxItemsHasBeenSet;
204  Aws::String m_marker;
205  bool m_markerHasBeenSet;
206  Aws::String m_creationToken;
207  bool m_creationTokenHasBeenSet;
208  Aws::String m_fileSystemId;
209  bool m_fileSystemIdHasBeenSet;
210  };
211 
212 } // namespace Model
213 } // namespace EFS
214 } // namespace Aws
DescribeFileSystemsRequest & WithMarker(const Aws::String &value)
DescribeFileSystemsRequest & WithMaxItems(long value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:34
DescribeFileSystemsRequest & WithCreationToken(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(Aws::String &&value)
DescribeFileSystemsRequest & WithMarker(const char *value)
DescribeFileSystemsRequest & WithCreationToken(Aws::String &&value)
DescribeFileSystemsRequest & WithCreationToken(const Aws::String &value)
DescribeFileSystemsRequest & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeFileSystemsRequest & WithFileSystemId(const char *value)
DescribeFileSystemsRequest & WithFileSystemId(const Aws::String &value)
JSON (JavaScript Object Notation).