AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeMountTargetsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticfilesystem/EFS_EXPORTS.h>
11#include <aws/elasticfilesystem/model/MountTargetDescription.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EFS {
25namespace Model {
32 public:
33 AWS_EFS_API DescribeMountTargetsResult() = default;
36
38
42 inline const Aws::String& GetMarker() const { return m_marker; }
43 template <typename MarkerT = Aws::String>
44 void SetMarker(MarkerT&& value) {
45 m_markerHasBeenSet = true;
46 m_marker = std::forward<MarkerT>(value);
47 }
48 template <typename MarkerT = Aws::String>
50 SetMarker(std::forward<MarkerT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<MountTargetDescription>& GetMountTargets() const { return m_mountTargets; }
61 template <typename MountTargetsT = Aws::Vector<MountTargetDescription>>
62 void SetMountTargets(MountTargetsT&& value) {
63 m_mountTargetsHasBeenSet = true;
64 m_mountTargets = std::forward<MountTargetsT>(value);
65 }
66 template <typename MountTargetsT = Aws::Vector<MountTargetDescription>>
68 SetMountTargets(std::forward<MountTargetsT>(value));
69 return *this;
70 }
71 template <typename MountTargetsT = MountTargetDescription>
73 m_mountTargetsHasBeenSet = true;
74 m_mountTargets.emplace_back(std::forward<MountTargetsT>(value));
75 return *this;
76 }
78
80
85 inline const Aws::String& GetNextMarker() const { return m_nextMarker; }
86 template <typename NextMarkerT = Aws::String>
87 void SetNextMarker(NextMarkerT&& value) {
88 m_nextMarkerHasBeenSet = true;
89 m_nextMarker = std::forward<NextMarkerT>(value);
90 }
91 template <typename NextMarkerT = Aws::String>
93 SetNextMarker(std::forward<NextMarkerT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_marker;
116
118
119 Aws::String m_nextMarker;
120
121 Aws::String m_requestId;
122 Aws::Http::HttpResponseCode m_HttpResponseCode;
123 bool m_markerHasBeenSet = false;
124 bool m_mountTargetsHasBeenSet = false;
125 bool m_nextMarkerHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace EFS
131} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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