AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
46 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
47 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
48 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
49 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
50 inline MountTargetDescription& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
51 inline MountTargetDescription& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
52 inline MountTargetDescription& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
54
56
59 inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
60 inline bool MountTargetIdHasBeenSet() const { return m_mountTargetIdHasBeenSet; }
61 inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
62 inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = std::move(value); }
63 inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); }
64 inline MountTargetDescription& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
65 inline MountTargetDescription& WithMountTargetId(Aws::String&& value) { SetMountTargetId(std::move(value)); return *this;}
66 inline MountTargetDescription& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
68
70
73 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
74 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
75 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
76 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
77 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
78 inline MountTargetDescription& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
79 inline MountTargetDescription& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
80 inline MountTargetDescription& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
82
84
87 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
88 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
89 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
90 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
91 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
92 inline MountTargetDescription& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
93 inline MountTargetDescription& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
94 inline MountTargetDescription& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
96
98
101 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
102 inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; }
103 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
104 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = std::move(value); }
105 inline MountTargetDescription& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
106 inline MountTargetDescription& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
108
110
114 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
115 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
116 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
117 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
118 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
119 inline MountTargetDescription& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
120 inline MountTargetDescription& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
121 inline MountTargetDescription& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
123
125
129 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
130 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
131 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
132 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
133 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
135 inline MountTargetDescription& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
136 inline MountTargetDescription& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
138
140
146 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
147 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
148 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
149 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
150 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
152 inline MountTargetDescription& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
153 inline MountTargetDescription& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
155
157
164 inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; }
165 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
166 inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = value; }
167 inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::move(value); }
168 inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName.assign(value); }
170 inline MountTargetDescription& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
171 inline MountTargetDescription& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;}
173
175
179 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
180 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
181 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
182 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
183 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
184 inline MountTargetDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
185 inline MountTargetDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
186 inline MountTargetDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
188
190
191 inline const Aws::String& GetRequestId() const{ return m_requestId; }
192 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
193 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
194 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
195 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
196 inline MountTargetDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
197 inline MountTargetDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
198 inline MountTargetDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
200 private:
201
202 Aws::String m_ownerId;
203 bool m_ownerIdHasBeenSet = false;
204
205 Aws::String m_mountTargetId;
206 bool m_mountTargetIdHasBeenSet = false;
207
208 Aws::String m_fileSystemId;
209 bool m_fileSystemIdHasBeenSet = false;
210
211 Aws::String m_subnetId;
212 bool m_subnetIdHasBeenSet = false;
213
214 LifeCycleState m_lifeCycleState;
215 bool m_lifeCycleStateHasBeenSet = false;
216
217 Aws::String m_ipAddress;
218 bool m_ipAddressHasBeenSet = false;
219
220 Aws::String m_networkInterfaceId;
221 bool m_networkInterfaceIdHasBeenSet = false;
222
223 Aws::String m_availabilityZoneId;
224 bool m_availabilityZoneIdHasBeenSet = false;
225
226 Aws::String m_availabilityZoneName;
227 bool m_availabilityZoneNameHasBeenSet = false;
228
229 Aws::String m_vpcId;
230 bool m_vpcIdHasBeenSet = false;
231
232 Aws::String m_requestId;
233 bool m_requestIdHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace EFS
238} // namespace Aws
MountTargetDescription & WithNetworkInterfaceId(const char *value)
MountTargetDescription & WithIpAddress(const char *value)
MountTargetDescription & WithOwnerId(const Aws::String &value)
AWS_EFS_API MountTargetDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
MountTargetDescription & WithNetworkInterfaceId(Aws::String &&value)
MountTargetDescription & WithIpAddress(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetNetworkInterfaceId() const
AWS_EFS_API MountTargetDescription(Aws::Utils::Json::JsonView jsonValue)
void SetOwnerId(const Aws::String &value)
MountTargetDescription & WithRequestId(const Aws::String &value)
void SetMountTargetId(const Aws::String &value)
MountTargetDescription & WithAvailabilityZoneName(const char *value)
MountTargetDescription & WithAvailabilityZoneName(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
MountTargetDescription & WithAvailabilityZoneId(const Aws::String &value)
MountTargetDescription & WithAvailabilityZoneId(Aws::String &&value)
const Aws::String & GetAvailabilityZoneId() const
MountTargetDescription & WithVpcId(const Aws::String &value)
MountTargetDescription & WithSubnetId(const char *value)
void SetLifeCycleState(const LifeCycleState &value)
void SetSubnetId(const Aws::String &value)
MountTargetDescription & WithSubnetId(Aws::String &&value)
void SetIpAddress(const Aws::String &value)
MountTargetDescription & WithIpAddress(Aws::String &&value)
MountTargetDescription & WithLifeCycleState(const LifeCycleState &value)
const Aws::String & GetAvailabilityZoneName() const
MountTargetDescription & WithRequestId(const char *value)
void SetAvailabilityZoneId(const Aws::String &value)
MountTargetDescription & WithOwnerId(Aws::String &&value)
MountTargetDescription & WithOwnerId(const char *value)
MountTargetDescription & WithMountTargetId(const char *value)
MountTargetDescription & WithFileSystemId(Aws::String &&value)
void SetFileSystemId(const Aws::String &value)
MountTargetDescription & WithRequestId(Aws::String &&value)
MountTargetDescription & WithMountTargetId(const Aws::String &value)
MountTargetDescription & WithAvailabilityZoneId(const char *value)
MountTargetDescription & WithLifeCycleState(LifeCycleState &&value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
const LifeCycleState & GetLifeCycleState() const
MountTargetDescription & WithNetworkInterfaceId(const Aws::String &value)
MountTargetDescription & WithVpcId(const char *value)
MountTargetDescription & WithVpcId(Aws::String &&value)
void SetAvailabilityZoneName(const Aws::String &value)
MountTargetDescription & WithSubnetId(const Aws::String &value)
MountTargetDescription & WithFileSystemId(const char *value)
MountTargetDescription & WithFileSystemId(const Aws::String &value)
MountTargetDescription & WithAvailabilityZoneName(const Aws::String &value)
MountTargetDescription & WithMountTargetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue