AWS SDK for C++  0.12.9
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 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
45  inline long GetMaxItems() const{ return m_maxItems; }
46 
51  inline void SetMaxItems(long value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
52 
57  inline DescribeMountTargetsRequest& WithMaxItems(long value) { SetMaxItems(value); return *this;}
58 
64  inline const Aws::String& GetMarker() const{ return m_marker; }
65 
71  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
72 
78  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
79 
85  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
86 
92  inline DescribeMountTargetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
93 
99  inline DescribeMountTargetsRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
100 
106  inline DescribeMountTargetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
107 
113  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
114 
120  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
121 
127  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
128 
134  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
135 
141  inline DescribeMountTargetsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
142 
148  inline DescribeMountTargetsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(value); return *this;}
149 
155  inline DescribeMountTargetsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
156 
162  inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
163 
169  inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
170 
176  inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
177 
183  inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); }
184 
190  inline DescribeMountTargetsRequest& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
191 
197  inline DescribeMountTargetsRequest& WithMountTargetId(Aws::String&& value) { SetMountTargetId(value); return *this;}
198 
204  inline DescribeMountTargetsRequest& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
205 
206  private:
207  long m_maxItems;
208  bool m_maxItemsHasBeenSet;
209  Aws::String m_marker;
210  bool m_markerHasBeenSet;
211  Aws::String m_fileSystemId;
212  bool m_fileSystemIdHasBeenSet;
213  Aws::String m_mountTargetId;
214  bool m_mountTargetIdHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace EFS
219 } // 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:34
DescribeMountTargetsRequest & WithMaxItems(long 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).