AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MountTargetDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFS_EXPORTS.h>
9#include <aws/elasticfilesystem/model/LifeCycleState.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EFS {
21namespace Model {
22
29 public:
30 AWS_EFS_API MountTargetDescription() = default;
34
36
39 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
40 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
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 inline bool MountTargetIdHasBeenSet() const { return m_mountTargetIdHasBeenSet; }
59 template <typename MountTargetIdT = Aws::String>
60 void SetMountTargetId(MountTargetIdT&& value) {
61 m_mountTargetIdHasBeenSet = true;
62 m_mountTargetId = std::forward<MountTargetIdT>(value);
63 }
64 template <typename MountTargetIdT = Aws::String>
65 MountTargetDescription& WithMountTargetId(MountTargetIdT&& value) {
66 SetMountTargetId(std::forward<MountTargetIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
76 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
77 template <typename FileSystemIdT = Aws::String>
78 void SetFileSystemId(FileSystemIdT&& value) {
79 m_fileSystemIdHasBeenSet = true;
80 m_fileSystemId = std::forward<FileSystemIdT>(value);
81 }
82 template <typename FileSystemIdT = Aws::String>
83 MountTargetDescription& WithFileSystemId(FileSystemIdT&& value) {
84 SetFileSystemId(std::forward<FileSystemIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
94 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
95 template <typename SubnetIdT = Aws::String>
96 void SetSubnetId(SubnetIdT&& value) {
97 m_subnetIdHasBeenSet = true;
98 m_subnetId = std::forward<SubnetIdT>(value);
99 }
100 template <typename SubnetIdT = Aws::String>
102 SetSubnetId(std::forward<SubnetIdT>(value));
103 return *this;
104 }
106
108
111 inline LifeCycleState GetLifeCycleState() const { return m_lifeCycleState; }
112 inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; }
114 m_lifeCycleStateHasBeenSet = true;
115 m_lifeCycleState = value;
116 }
118 SetLifeCycleState(value);
119 return *this;
120 }
122
124
128 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
129 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
130 template <typename IpAddressT = Aws::String>
131 void SetIpAddress(IpAddressT&& value) {
132 m_ipAddressHasBeenSet = true;
133 m_ipAddress = std::forward<IpAddressT>(value);
134 }
135 template <typename IpAddressT = Aws::String>
137 SetIpAddress(std::forward<IpAddressT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetIpv6Address() const { return m_ipv6Address; }
147 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
148 template <typename Ipv6AddressT = Aws::String>
149 void SetIpv6Address(Ipv6AddressT&& value) {
150 m_ipv6AddressHasBeenSet = true;
151 m_ipv6Address = std::forward<Ipv6AddressT>(value);
152 }
153 template <typename Ipv6AddressT = Aws::String>
155 SetIpv6Address(std::forward<Ipv6AddressT>(value));
156 return *this;
157 }
159
161
165 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
166 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
167 template <typename NetworkInterfaceIdT = Aws::String>
168 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) {
169 m_networkInterfaceIdHasBeenSet = true;
170 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
171 }
172 template <typename NetworkInterfaceIdT = Aws::String>
173 MountTargetDescription& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) {
174 SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value));
175 return *this;
176 }
178
180
186 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
187 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
188 template <typename AvailabilityZoneIdT = Aws::String>
189 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) {
190 m_availabilityZoneIdHasBeenSet = true;
191 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
192 }
193 template <typename AvailabilityZoneIdT = Aws::String>
194 MountTargetDescription& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) {
195 SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value));
196 return *this;
197 }
199
201
208 inline const Aws::String& GetAvailabilityZoneName() const { return m_availabilityZoneName; }
209 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
210 template <typename AvailabilityZoneNameT = Aws::String>
211 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) {
212 m_availabilityZoneNameHasBeenSet = true;
213 m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value);
214 }
215 template <typename AvailabilityZoneNameT = Aws::String>
216 MountTargetDescription& WithAvailabilityZoneName(AvailabilityZoneNameT&& value) {
217 SetAvailabilityZoneName(std::forward<AvailabilityZoneNameT>(value));
218 return *this;
219 }
221
223
227 inline const Aws::String& GetVpcId() const { return m_vpcId; }
228 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
229 template <typename VpcIdT = Aws::String>
230 void SetVpcId(VpcIdT&& value) {
231 m_vpcIdHasBeenSet = true;
232 m_vpcId = std::forward<VpcIdT>(value);
233 }
234 template <typename VpcIdT = Aws::String>
236 SetVpcId(std::forward<VpcIdT>(value));
237 return *this;
238 }
240
242
243 inline const Aws::String& GetRequestId() const { return m_requestId; }
244 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
245 template <typename RequestIdT = Aws::String>
246 void SetRequestId(RequestIdT&& value) {
247 m_requestIdHasBeenSet = true;
248 m_requestId = std::forward<RequestIdT>(value);
249 }
250 template <typename RequestIdT = Aws::String>
252 SetRequestId(std::forward<RequestIdT>(value));
253 return *this;
254 }
256 private:
257 Aws::String m_ownerId;
258
259 Aws::String m_mountTargetId;
260
261 Aws::String m_fileSystemId;
262
263 Aws::String m_subnetId;
264
265 LifeCycleState m_lifeCycleState{LifeCycleState::NOT_SET};
266
267 Aws::String m_ipAddress;
268
269 Aws::String m_ipv6Address;
270
271 Aws::String m_networkInterfaceId;
272
273 Aws::String m_availabilityZoneId;
274
275 Aws::String m_availabilityZoneName;
276
277 Aws::String m_vpcId;
278
279 Aws::String m_requestId;
280 bool m_ownerIdHasBeenSet = false;
281 bool m_mountTargetIdHasBeenSet = false;
282 bool m_fileSystemIdHasBeenSet = false;
283 bool m_subnetIdHasBeenSet = false;
284 bool m_lifeCycleStateHasBeenSet = false;
285 bool m_ipAddressHasBeenSet = false;
286 bool m_ipv6AddressHasBeenSet = false;
287 bool m_networkInterfaceIdHasBeenSet = false;
288 bool m_availabilityZoneIdHasBeenSet = false;
289 bool m_availabilityZoneNameHasBeenSet = false;
290 bool m_vpcIdHasBeenSet = false;
291 bool m_requestIdHasBeenSet = false;
292};
293
294} // namespace Model
295} // namespace EFS
296} // namespace Aws
MountTargetDescription & WithSubnetId(SubnetIdT &&value)
AWS_EFS_API MountTargetDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZoneName(AvailabilityZoneNameT &&value)
MountTargetDescription & WithVpcId(VpcIdT &&value)
const Aws::String & GetNetworkInterfaceId() const
void SetMountTargetId(MountTargetIdT &&value)
AWS_EFS_API MountTargetDescription(Aws::Utils::Json::JsonView jsonValue)
MountTargetDescription & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_EFS_API MountTargetDescription()=default
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
MountTargetDescription & WithLifeCycleState(LifeCycleState value)
const Aws::String & GetAvailabilityZoneId() const
MountTargetDescription & WithAvailabilityZoneName(AvailabilityZoneNameT &&value)
MountTargetDescription & WithIpv6Address(Ipv6AddressT &&value)
MountTargetDescription & WithMountTargetId(MountTargetIdT &&value)
const Aws::String & GetAvailabilityZoneName() const
MountTargetDescription & WithFileSystemId(FileSystemIdT &&value)
MountTargetDescription & WithRequestId(RequestIdT &&value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
MountTargetDescription & WithOwnerId(OwnerIdT &&value)
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
MountTargetDescription & WithIpAddress(IpAddressT &&value)
MountTargetDescription & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue