AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeMountTargetsResult.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
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace EFS
34 {
35 namespace Model
36 {
41  {
42  public:
46 
51  inline const Aws::String& GetMarker() const{ return m_marker; }
52 
57  inline void SetMarker(const Aws::String& value) { m_marker = value; }
58 
63  inline void SetMarker(Aws::String&& value) { m_marker = value; }
64 
69  inline void SetMarker(const char* value) { m_marker.assign(value); }
70 
75  inline DescribeMountTargetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
76 
81  inline DescribeMountTargetsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
82 
87  inline DescribeMountTargetsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
88 
93  inline const Aws::Vector<MountTargetDescription>& GetMountTargets() const{ return m_mountTargets; }
94 
99  inline void SetMountTargets(const Aws::Vector<MountTargetDescription>& value) { m_mountTargets = value; }
100 
105  inline void SetMountTargets(Aws::Vector<MountTargetDescription>&& value) { m_mountTargets = value; }
106 
111  inline DescribeMountTargetsResult& WithMountTargets(const Aws::Vector<MountTargetDescription>& value) { SetMountTargets(value); return *this;}
112 
117  inline DescribeMountTargetsResult& WithMountTargets(Aws::Vector<MountTargetDescription>&& value) { SetMountTargets(value); return *this;}
118 
123  inline DescribeMountTargetsResult& AddMountTargets(const MountTargetDescription& value) { m_mountTargets.push_back(value); return *this; }
124 
129  inline DescribeMountTargetsResult& AddMountTargets(MountTargetDescription&& value) { m_mountTargets.push_back(value); return *this; }
130 
136  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
137 
143  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
144 
150  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
151 
157  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
158 
164  inline DescribeMountTargetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
165 
171  inline DescribeMountTargetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
172 
178  inline DescribeMountTargetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
179 
180  private:
181  Aws::String m_marker;
183  Aws::String m_nextMarker;
184  };
185 
186 } // namespace Model
187 } // namespace EFS
188 } // namespace Aws
DescribeMountTargetsResult & WithNextMarker(Aws::String &&value)
DescribeMountTargetsResult & WithMountTargets(Aws::Vector< MountTargetDescription > &&value)
DescribeMountTargetsResult & WithNextMarker(const Aws::String &value)
const Aws::Vector< MountTargetDescription > & GetMountTargets() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
void SetMountTargets(Aws::Vector< MountTargetDescription > &&value)
DescribeMountTargetsResult & WithMarker(Aws::String &&value)
DescribeMountTargetsResult & AddMountTargets(MountTargetDescription &&value)
DescribeMountTargetsResult & WithMountTargets(const Aws::Vector< MountTargetDescription > &value)
DescribeMountTargetsResult & WithMarker(const Aws::String &value)
DescribeMountTargetsResult & WithMarker(const char *value)
void SetMountTargets(const Aws::Vector< MountTargetDescription > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeMountTargetsResult & AddMountTargets(const MountTargetDescription &value)
DescribeMountTargetsResult & WithNextMarker(const char *value)
JSON (JavaScript Object Notation).