AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeMountTargetsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10#include <aws/elasticfilesystem/model/MountTargetDescription.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EFS {
24namespace Model {
31 public:
32 AWS_EFS_API DescribeMountTargetsResult() = default;
35
37
41 inline const Aws::String& GetMarker() const { return m_marker; }
42 template <typename MarkerT = Aws::String>
43 void SetMarker(MarkerT&& value) {
44 m_markerHasBeenSet = true;
45 m_marker = std::forward<MarkerT>(value);
46 }
47 template <typename MarkerT = Aws::String>
49 SetMarker(std::forward<MarkerT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::Vector<MountTargetDescription>& GetMountTargets() const { return m_mountTargets; }
60 template <typename MountTargetsT = Aws::Vector<MountTargetDescription>>
61 void SetMountTargets(MountTargetsT&& value) {
62 m_mountTargetsHasBeenSet = true;
63 m_mountTargets = std::forward<MountTargetsT>(value);
64 }
65 template <typename MountTargetsT = Aws::Vector<MountTargetDescription>>
67 SetMountTargets(std::forward<MountTargetsT>(value));
68 return *this;
69 }
70 template <typename MountTargetsT = MountTargetDescription>
72 m_mountTargetsHasBeenSet = true;
73 m_mountTargets.emplace_back(std::forward<MountTargetsT>(value));
74 return *this;
75 }
77
79
84 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
85 template <typename NextMarkerT = Aws::String>
86 void SetNextMarker(NextMarkerT&& value) {
87 m_nextMarkerHasBeenSet = true;
88 m_nextMarker = std::forward<NextMarkerT>(value);
89 }
90 template <typename NextMarkerT = Aws::String>
92 SetNextMarker(std::forward<NextMarkerT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_marker;
113
115
116 Aws::String m_nextMarker;
117
118 Aws::String m_requestId;
119 bool m_markerHasBeenSet = false;
120 bool m_mountTargetsHasBeenSet = false;
121 bool m_nextMarkerHasBeenSet = false;
122 bool m_requestIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace EFS
127} // namespace Aws
DescribeMountTargetsResult & WithMarker(MarkerT &&value)
DescribeMountTargetsResult & WithNextMarker(NextMarkerT &&value)
AWS_EFS_API DescribeMountTargetsResult()=default
AWS_EFS_API DescribeMountTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMountTargetsResult & WithRequestId(RequestIdT &&value)
DescribeMountTargetsResult & WithMountTargets(MountTargetsT &&value)
const Aws::Vector< MountTargetDescription > & GetMountTargets() const
DescribeMountTargetsResult & AddMountTargets(MountTargetsT &&value)
AWS_EFS_API DescribeMountTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue