AWS SDK for C++  0.14.3
AWS SDK for C++
CreateMountTargetResult.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 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace EFS
33 {
34 namespace Model
35 {
40  {
41  public:
45 
49  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
50 
54  inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
55 
59  inline void SetOwnerId(Aws::String&& value) { m_ownerId = value; }
60 
64  inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
65 
69  inline CreateMountTargetResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
70 
74  inline CreateMountTargetResult& WithOwnerId(Aws::String&& value) { SetOwnerId(value); return *this;}
75 
79  inline CreateMountTargetResult& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
80 
84  inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
85 
89  inline void SetMountTargetId(const Aws::String& value) { m_mountTargetId = value; }
90 
94  inline void SetMountTargetId(Aws::String&& value) { m_mountTargetId = value; }
95 
99  inline void SetMountTargetId(const char* value) { m_mountTargetId.assign(value); }
100 
104  inline CreateMountTargetResult& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
105 
109  inline CreateMountTargetResult& WithMountTargetId(Aws::String&& value) { SetMountTargetId(value); return *this;}
110 
114  inline CreateMountTargetResult& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
115 
119  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
120 
124  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemId = value; }
125 
129  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemId = value; }
130 
134  inline void SetFileSystemId(const char* value) { m_fileSystemId.assign(value); }
135 
139  inline CreateMountTargetResult& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
140 
144  inline CreateMountTargetResult& WithFileSystemId(Aws::String&& value) { SetFileSystemId(value); return *this;}
145 
149  inline CreateMountTargetResult& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
150 
154  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
155 
159  inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; }
160 
164  inline void SetSubnetId(Aws::String&& value) { m_subnetId = value; }
165 
169  inline void SetSubnetId(const char* value) { m_subnetId.assign(value); }
170 
174  inline CreateMountTargetResult& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
175 
179  inline CreateMountTargetResult& WithSubnetId(Aws::String&& value) { SetSubnetId(value); return *this;}
180 
184  inline CreateMountTargetResult& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
185 
189  inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
190 
194  inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; }
195 
199  inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleState = value; }
200 
204  inline CreateMountTargetResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
205 
209  inline CreateMountTargetResult& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(value); return *this;}
210 
214  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
215 
219  inline void SetIpAddress(const Aws::String& value) { m_ipAddress = value; }
220 
224  inline void SetIpAddress(Aws::String&& value) { m_ipAddress = value; }
225 
229  inline void SetIpAddress(const char* value) { m_ipAddress.assign(value); }
230 
234  inline CreateMountTargetResult& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
235 
239  inline CreateMountTargetResult& WithIpAddress(Aws::String&& value) { SetIpAddress(value); return *this;}
240 
244  inline CreateMountTargetResult& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
245 
250  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
251 
256  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
257 
262  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = value; }
263 
268  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
269 
274  inline CreateMountTargetResult& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
275 
280  inline CreateMountTargetResult& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(value); return *this;}
281 
286  inline CreateMountTargetResult& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
287 
288  private:
289  Aws::String m_ownerId;
290  Aws::String m_mountTargetId;
291  Aws::String m_fileSystemId;
292  Aws::String m_subnetId;
293  LifeCycleState m_lifeCycleState;
294  Aws::String m_ipAddress;
295  Aws::String m_networkInterfaceId;
296  };
297 
298 } // namespace Model
299 } // namespace EFS
300 } // namespace Aws
CreateMountTargetResult & WithFileSystemId(const Aws::String &value)
CreateMountTargetResult & WithSubnetId(const char *value)
CreateMountTargetResult & WithNetworkInterfaceId(const char *value)
CreateMountTargetResult & WithFileSystemId(Aws::String &&value)
CreateMountTargetResult & WithMountTargetId(Aws::String &&value)
CreateMountTargetResult & WithLifeCycleState(const LifeCycleState &value)
CreateMountTargetResult & WithSubnetId(Aws::String &&value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
void SetLifeCycleState(const LifeCycleState &value)
CreateMountTargetResult & WithNetworkInterfaceId(const Aws::String &value)
CreateMountTargetResult & WithLifeCycleState(LifeCycleState &&value)
CreateMountTargetResult & WithFileSystemId(const char *value)
CreateMountTargetResult & WithSubnetId(const Aws::String &value)
void SetFileSystemId(const Aws::String &value)
void SetMountTargetId(const Aws::String &value)
CreateMountTargetResult & WithIpAddress(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
CreateMountTargetResult & WithOwnerId(const char *value)
const Aws::String & GetNetworkInterfaceId() const
CreateMountTargetResult & WithMountTargetId(const char *value)
CreateMountTargetResult & WithIpAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateMountTargetResult & WithMountTargetId(const Aws::String &value)
CreateMountTargetResult & WithNetworkInterfaceId(Aws::String &&value)
CreateMountTargetResult & WithIpAddress(Aws::String &&value)
const LifeCycleState & GetLifeCycleState() const
CreateMountTargetResult & WithOwnerId(const Aws::String &value)
CreateMountTargetResult & WithOwnerId(Aws::String &&value)
JSON (JavaScript Object Notation).