AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MountTargetDescription.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticfilesystem/model/LifeCycleState.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EFS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_EFS_API MountTargetDescription() = default;
39
40
42
45 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
46 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
47 template<typename OwnerIdT = Aws::String>
48 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
49 template<typename OwnerIdT = Aws::String>
50 MountTargetDescription& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
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) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = std::forward<MountTargetIdT>(value); }
61 template<typename MountTargetIdT = Aws::String>
62 MountTargetDescription& WithMountTargetId(MountTargetIdT&& value) { SetMountTargetId(std::forward<MountTargetIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
70 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
71 template<typename FileSystemIdT = Aws::String>
72 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
73 template<typename FileSystemIdT = Aws::String>
74 MountTargetDescription& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
82 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
83 template<typename SubnetIdT = Aws::String>
84 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
85 template<typename SubnetIdT = Aws::String>
86 MountTargetDescription& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
88
90
93 inline LifeCycleState GetLifeCycleState() const { return m_lifeCycleState; }
94 inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; }
95 inline void SetLifeCycleState(LifeCycleState value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
98
100
104 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
105 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
106 template<typename IpAddressT = Aws::String>
107 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
108 template<typename IpAddressT = Aws::String>
109 MountTargetDescription& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
111
113
116 inline const Aws::String& GetIpv6Address() const { return m_ipv6Address; }
117 inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; }
118 template<typename Ipv6AddressT = Aws::String>
119 void SetIpv6Address(Ipv6AddressT&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::forward<Ipv6AddressT>(value); }
120 template<typename Ipv6AddressT = Aws::String>
121 MountTargetDescription& WithIpv6Address(Ipv6AddressT&& value) { SetIpv6Address(std::forward<Ipv6AddressT>(value)); return *this;}
123
125
129 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
130 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
131 template<typename NetworkInterfaceIdT = Aws::String>
132 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
133 template<typename NetworkInterfaceIdT = Aws::String>
134 MountTargetDescription& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) { SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value)); return *this;}
136
138
144 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
145 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
146 template<typename AvailabilityZoneIdT = Aws::String>
147 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
148 template<typename AvailabilityZoneIdT = Aws::String>
149 MountTargetDescription& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
151
153
160 inline const Aws::String& GetAvailabilityZoneName() const { return m_availabilityZoneName; }
161 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
162 template<typename AvailabilityZoneNameT = Aws::String>
163 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value); }
164 template<typename AvailabilityZoneNameT = Aws::String>
165 MountTargetDescription& WithAvailabilityZoneName(AvailabilityZoneNameT&& value) { SetAvailabilityZoneName(std::forward<AvailabilityZoneNameT>(value)); return *this;}
167
169
173 inline const Aws::String& GetVpcId() const { return m_vpcId; }
174 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
175 template<typename VpcIdT = Aws::String>
176 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
177 template<typename VpcIdT = Aws::String>
178 MountTargetDescription& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
185 template<typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
187 template<typename RequestIdT = Aws::String>
188 MountTargetDescription& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
190 private:
191
192 Aws::String m_ownerId;
193 bool m_ownerIdHasBeenSet = false;
194
195 Aws::String m_mountTargetId;
196 bool m_mountTargetIdHasBeenSet = false;
197
198 Aws::String m_fileSystemId;
199 bool m_fileSystemIdHasBeenSet = false;
200
201 Aws::String m_subnetId;
202 bool m_subnetIdHasBeenSet = false;
203
204 LifeCycleState m_lifeCycleState{LifeCycleState::NOT_SET};
205 bool m_lifeCycleStateHasBeenSet = false;
206
207 Aws::String m_ipAddress;
208 bool m_ipAddressHasBeenSet = false;
209
210 Aws::String m_ipv6Address;
211 bool m_ipv6AddressHasBeenSet = false;
212
213 Aws::String m_networkInterfaceId;
214 bool m_networkInterfaceIdHasBeenSet = false;
215
216 Aws::String m_availabilityZoneId;
217 bool m_availabilityZoneIdHasBeenSet = false;
218
219 Aws::String m_availabilityZoneName;
220 bool m_availabilityZoneNameHasBeenSet = false;
221
222 Aws::String m_vpcId;
223 bool m_vpcIdHasBeenSet = false;
224
225 Aws::String m_requestId;
226 bool m_requestIdHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace EFS
231} // 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