AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateMountTargetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10#include <aws/elasticfilesystem/model/LifeCycleState.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 CreateMountTargetResult() = default;
35
37
40 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
41 template <typename OwnerIdT = Aws::String>
42 void SetOwnerId(OwnerIdT&& value) {
43 m_ownerIdHasBeenSet = true;
44 m_ownerId = std::forward<OwnerIdT>(value);
45 }
46 template <typename OwnerIdT = Aws::String>
48 SetOwnerId(std::forward<OwnerIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetMountTargetId() const { return m_mountTargetId; }
58 template <typename MountTargetIdT = Aws::String>
59 void SetMountTargetId(MountTargetIdT&& value) {
60 m_mountTargetIdHasBeenSet = true;
61 m_mountTargetId = std::forward<MountTargetIdT>(value);
62 }
63 template <typename MountTargetIdT = Aws::String>
64 CreateMountTargetResult& WithMountTargetId(MountTargetIdT&& value) {
65 SetMountTargetId(std::forward<MountTargetIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
75 template <typename FileSystemIdT = Aws::String>
76 void SetFileSystemId(FileSystemIdT&& value) {
77 m_fileSystemIdHasBeenSet = true;
78 m_fileSystemId = std::forward<FileSystemIdT>(value);
79 }
80 template <typename FileSystemIdT = Aws::String>
81 CreateMountTargetResult& WithFileSystemId(FileSystemIdT&& value) {
82 SetFileSystemId(std::forward<FileSystemIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
92 template <typename SubnetIdT = Aws::String>
93 void SetSubnetId(SubnetIdT&& value) {
94 m_subnetIdHasBeenSet = true;
95 m_subnetId = std::forward<SubnetIdT>(value);
96 }
97 template <typename SubnetIdT = Aws::String>
99 SetSubnetId(std::forward<SubnetIdT>(value));
100 return *this;
101 }
103
105
108 inline LifeCycleState GetLifeCycleState() const { return m_lifeCycleState; }
110 m_lifeCycleStateHasBeenSet = true;
111 m_lifeCycleState = value;
112 }
114 SetLifeCycleState(value);
115 return *this;
116 }
118
120
124 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
125 template <typename IpAddressT = Aws::String>
126 void SetIpAddress(IpAddressT&& value) {
127 m_ipAddressHasBeenSet = true;
128 m_ipAddress = std::forward<IpAddressT>(value);
129 }
130 template <typename IpAddressT = Aws::String>
132 SetIpAddress(std::forward<IpAddressT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::String& GetIpv6Address() const { return m_ipv6Address; }
142 template <typename Ipv6AddressT = Aws::String>
143 void SetIpv6Address(Ipv6AddressT&& value) {
144 m_ipv6AddressHasBeenSet = true;
145 m_ipv6Address = std::forward<Ipv6AddressT>(value);
146 }
147 template <typename Ipv6AddressT = Aws::String>
149 SetIpv6Address(std::forward<Ipv6AddressT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
160 template <typename NetworkInterfaceIdT = Aws::String>
161 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) {
162 m_networkInterfaceIdHasBeenSet = true;
163 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
164 }
165 template <typename NetworkInterfaceIdT = Aws::String>
166 CreateMountTargetResult& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) {
167 SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value));
168 return *this;
169 }
171
173
179 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
180 template <typename AvailabilityZoneIdT = Aws::String>
181 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
182 m_availabilityZoneIdHasBeenSet = true;
183 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
184 }
185 template <typename AvailabilityZoneIdT = Aws::String>
186 CreateMountTargetResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
187 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
188 return *this;
189 }
191
193
200 inline const Aws::String& GetAvailabilityZoneName() const { return m_availabilityZoneName; }
201 template <typename AvailabilityZoneNameT = Aws::String>
202 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) {
203 m_availabilityZoneNameHasBeenSet = true;
204 m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value);
205 }
206 template <typename AvailabilityZoneNameT = Aws::String>
207 CreateMountTargetResult& WithAvailabilityZoneName(AvailabilityZoneNameT&& value) {
208 SetAvailabilityZoneName(std::forward<AvailabilityZoneNameT>(value));
209 return *this;
210 }
212
214
218 inline const Aws::String& GetVpcId() const { return m_vpcId; }
219 template <typename VpcIdT = Aws::String>
220 void SetVpcId(VpcIdT&& value) {
221 m_vpcIdHasBeenSet = true;
222 m_vpcId = std::forward<VpcIdT>(value);
223 }
224 template <typename VpcIdT = Aws::String>
226 SetVpcId(std::forward<VpcIdT>(value));
227 return *this;
228 }
230
232
233 inline const Aws::String& GetRequestId() const { return m_requestId; }
234 template <typename RequestIdT = Aws::String>
235 void SetRequestId(RequestIdT&& value) {
236 m_requestIdHasBeenSet = true;
237 m_requestId = std::forward<RequestIdT>(value);
238 }
239 template <typename RequestIdT = Aws::String>
241 SetRequestId(std::forward<RequestIdT>(value));
242 return *this;
243 }
245 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
246
247 private:
248 Aws::String m_ownerId;
249
250 Aws::String m_mountTargetId;
251
252 Aws::String m_fileSystemId;
253
254 Aws::String m_subnetId;
255
256 LifeCycleState m_lifeCycleState{LifeCycleState::NOT_SET};
257
258 Aws::String m_ipAddress;
259
260 Aws::String m_ipv6Address;
261
262 Aws::String m_networkInterfaceId;
263
264 Aws::String m_availabilityZoneId;
265
266 Aws::String m_availabilityZoneName;
267
268 Aws::String m_vpcId;
269
270 Aws::String m_requestId;
271 Aws::Http::HttpResponseCode m_HttpResponseCode;
272 bool m_ownerIdHasBeenSet = false;
273 bool m_mountTargetIdHasBeenSet = false;
274 bool m_fileSystemIdHasBeenSet = false;
275 bool m_subnetIdHasBeenSet = false;
276 bool m_lifeCycleStateHasBeenSet = false;
277 bool m_ipAddressHasBeenSet = false;
278 bool m_ipv6AddressHasBeenSet = false;
279 bool m_networkInterfaceIdHasBeenSet = false;
280 bool m_availabilityZoneIdHasBeenSet = false;
281 bool m_availabilityZoneNameHasBeenSet = false;
282 bool m_vpcIdHasBeenSet = false;
283 bool m_requestIdHasBeenSet = false;
284};
285
286} // namespace Model
287} // namespace EFS
288} // namespace Aws
CreateMountTargetResult & WithAvailabilityZoneName(AvailabilityZoneNameT &&value)
AWS_EFS_API CreateMountTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateMountTargetResult & WithFileSystemId(FileSystemIdT &&value)
AWS_EFS_API CreateMountTargetResult()=default
CreateMountTargetResult & WithLifeCycleState(LifeCycleState value)
CreateMountTargetResult & WithIpAddress(IpAddressT &&value)
CreateMountTargetResult & WithVpcId(VpcIdT &&value)
CreateMountTargetResult & WithIpv6Address(Ipv6AddressT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
CreateMountTargetResult & WithRequestId(RequestIdT &&value)
CreateMountTargetResult & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
CreateMountTargetResult & WithOwnerId(OwnerIdT &&value)
CreateMountTargetResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetAvailabilityZoneName(AvailabilityZoneNameT &&value)
CreateMountTargetResult & WithMountTargetId(MountTargetIdT &&value)
AWS_EFS_API CreateMountTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMountTargetResult & WithSubnetId(SubnetIdT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue