AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeMountTargetsRequest.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 
35  {
36  public:
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
46  inline int GetMaxItems() const{ return m_maxItems; }
47 
52  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
53 
58  inline DescribeMountTargetsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
59 
65  inline const Aws::String& GetMarker() const{ return m_marker; }
66 
72  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
73 
79  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
80 
86  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
87 
93  inline DescribeMountTargetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
94 
100  inline DescribeMountTargetsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
101 
107  inline DescribeMountTargetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
108 
114  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
115 
121  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
122 
128  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
129 
135  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
136 
142  inline DescribeMountTargetsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
143 
149  inline DescribeMountTargetsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(value); return *this;}
150 
156  inline DescribeMountTargetsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
157 
163  inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
164 
170  inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
171 
177  inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
178 
184  inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); }
185 
191  inline DescribeMountTargetsRequest& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
192 
198  inline DescribeMountTargetsRequest& WithMountTargetId(Aws::String&& value) { SetMountTargetId(value); return *this;}
199 
205  inline DescribeMountTargetsRequest& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
206 
207  private:
208  int m_maxItems;
209  bool m_maxItemsHasBeenSet;
210  Aws::String m_marker;
211  bool m_markerHasBeenSet;
212  Aws::String m_fileSystemId;
213  bool m_fileSystemIdHasBeenSet;
214  Aws::String m_mountTargetId;
215  bool m_mountTargetIdHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace EFS
220 } // namespace Aws
DescribeMountTargetsRequest & WithMarker(const char *value)
DescribeMountTargetsRequest & WithMountTargetId(const Aws::String &value)
DescribeMountTargetsRequest & WithMarker(const Aws::String &value)
DescribeMountTargetsRequest & WithFileSystemId(const char *value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
DescribeMountTargetsRequest & WithMaxItems(int value)
DescribeMountTargetsRequest & WithMountTargetId(const char *value)
DescribeMountTargetsRequest & WithMountTargetId(Aws::String &&value)
DescribeMountTargetsRequest & WithFileSystemId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeMountTargetsRequest & WithMarker(Aws::String &&value)
DescribeMountTargetsRequest & WithFileSystemId(Aws::String &&value)
JSON (JavaScript Object Notation).