AWS SDK for C++  0.14.3
AWS SDK for C++
MountTargetDescription.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace EFS
30 {
31 namespace Model
32 {
33 
38  {
39  public:
42  MountTargetDescription& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
49 
53  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
54 
58  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
59 
63  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
64 
68  inline MountTargetDescription& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
69 
73  inline MountTargetDescription& WithOwnerId(Aws::String&& value) { SetOwnerId(value); return *this;}
74 
78  inline MountTargetDescription& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
79 
83  inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
84 
88  inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
89 
93  inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
94 
98  inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); }
99 
103  inline MountTargetDescription& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
104 
108  inline MountTargetDescription& WithMountTargetId(Aws::String&& value) { SetMountTargetId(value); return *this;}
109 
113  inline MountTargetDescription& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
114 
118  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
119 
123  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
124 
128  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
129 
133  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
134 
138  inline MountTargetDescription& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
139 
143  inline MountTargetDescription& WithFileSystemId(Aws::String&& value) { SetFileSystemId(value); return *this;}
144 
148  inline MountTargetDescription& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
149 
153  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
154 
158  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
159 
163  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
164 
168  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
169 
173  inline MountTargetDescription& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
174 
178  inline MountTargetDescription& WithSubnetId(Aws::String&& value) { SetSubnetId(value); return *this;}
179 
183  inline MountTargetDescription& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
184 
188  inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
189 
193  inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
194 
198  inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
199 
203  inline MountTargetDescription& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
204 
208  inline MountTargetDescription& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(value); return *this;}
209 
213  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
214 
218  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
219 
223  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
224 
228  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
229 
233  inline MountTargetDescription& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
234 
238  inline MountTargetDescription& WithIpAddress(Aws::String&& value) { SetIpAddress(value); return *this;}
239 
243  inline MountTargetDescription& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
244 
249  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
250 
255  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
256 
261  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
262 
267  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
268 
273  inline MountTargetDescription& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
274 
279  inline MountTargetDescription& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(value); return *this;}
280 
285  inline MountTargetDescription& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
286 
287  private:
288  Aws::String m_ownerId;
289  bool m_ownerIdHasBeenSet;
290  Aws::String m_mountTargetId;
291  bool m_mountTargetIdHasBeenSet;
292  Aws::String m_fileSystemId;
293  bool m_fileSystemIdHasBeenSet;
294  Aws::String m_subnetId;
295  bool m_subnetIdHasBeenSet;
296  LifeCycleState m_lifeCycleState;
297  bool m_lifeCycleStateHasBeenSet;
298  Aws::String m_ipAddress;
299  bool m_ipAddressHasBeenSet;
300  Aws::String m_networkInterfaceId;
301  bool m_networkInterfaceIdHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace EFS
306 } // namespace Aws
MountTargetDescription & WithFileSystemId(const Aws::String &value)
const Aws::String & GetNetworkInterfaceId() const
MountTargetDescription & WithFileSystemId(const char *value)
MountTargetDescription & WithNetworkInterfaceId(Aws::String &&value)
void SetLifeCycleState(LifeCycleState &&value)
MountTargetDescription & WithMountTargetId(const Aws::String &value)
MountTargetDescription & WithOwnerId(Aws::String &&value)
const Aws::String & GetMountTargetId() const
void SetIpAddress(const Aws::String &value)
MountTargetDescription & WithNetworkInterfaceId(const char *value)
void SetLifeCycleState(const LifeCycleState &value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
MountTargetDescription & WithNetworkInterfaceId(const Aws::String &value)
void SetOwnerId(const Aws::String &value)
MountTargetDescription & WithSubnetId(Aws::String &&value)
MountTargetDescription & WithMountTargetId(Aws::String &&value)
void SetSubnetId(const Aws::String &value)
MountTargetDescription & WithLifeCycleState(LifeCycleState &&value)
const LifeCycleState & GetLifeCycleState() const
MountTargetDescription & WithSubnetId(const char *value)
MountTargetDescription & WithLifeCycleState(const LifeCycleState &value)
MountTargetDescription & WithIpAddress(const Aws::String &value)
MountTargetDescription & WithSubnetId(const Aws::String &value)
MountTargetDescription & WithIpAddress(Aws::String &&value)
MountTargetDescription & WithOwnerId(const Aws::String &value)
MountTargetDescription & WithIpAddress(const char *value)
MountTargetDescription & WithMountTargetId(const char *value)
MountTargetDescription & WithOwnerId(const char *value)
void SetFileSystemId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetMountTargetId(const Aws::String &value)
void SetNetworkInterfaceId(const Aws::String &value)
MountTargetDescription & WithFileSystemId(Aws::String &&value)
JSON (JavaScript Object Notation).
const Aws::String & GetFileSystemId() const