AWS SDK for C++  0.12.9
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 {
38  {
39  public:
43 
48  inline const Aws::String& GetMarker() const{ return m_marker; }
49 
54  inline void SetMarker(const Aws::String& value) { m_marker = value; }
55 
60  inline void SetMarker(Aws::String&& value) { m_marker = value; }
61 
66  inline void SetMarker(const char* value) { m_marker.assign(value); }
67 
72  inline DescribeMountTargetsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
73 
78  inline DescribeMountTargetsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
79 
84  inline DescribeMountTargetsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
85 
90  inline const Aws::Vector<MountTargetDescription>& GetMountTargets() const{ return m_mountTargets; }
91 
96  inline void SetMountTargets(const Aws::Vector<MountTargetDescription>& value) { m_mountTargets = value; }
97 
102  inline void SetMountTargets(Aws::Vector<MountTargetDescription>&& value) { m_mountTargets = value; }
103 
108  inline DescribeMountTargetsResult& WithMountTargets(const Aws::Vector<MountTargetDescription>& value) { SetMountTargets(value); return *this;}
109 
114  inline DescribeMountTargetsResult& WithMountTargets(Aws::Vector<MountTargetDescription>&& value) { SetMountTargets(value); return *this;}
115 
120  inline DescribeMountTargetsResult& AddMountTargets(const MountTargetDescription& value) { m_mountTargets.push_back(value); return *this; }
121 
126  inline DescribeMountTargetsResult& AddMountTargets(MountTargetDescription&& value) { m_mountTargets.push_back(value); return *this; }
127 
133  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
134 
140  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
141 
147  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
148 
154  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
155 
161  inline DescribeMountTargetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
162 
168  inline DescribeMountTargetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
169 
175  inline DescribeMountTargetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
176 
177  private:
178  Aws::String m_marker;
180  Aws::String m_nextMarker;
181  };
182 
183 } // namespace Model
184 } // namespace EFS
185 } // 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:34
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).