AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMountTargetResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EFS
25{
26namespace Model
27{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
46 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
47 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
48 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
49 inline CreateMountTargetResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
50 inline CreateMountTargetResult& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
51 inline CreateMountTargetResult& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
53
55
58 inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
59 inline void SetMountTargetId(const Aws::String& value) { m_mountTargetId = value; }
60 inline void SetMountTargetId(Aws::String&& value) { m_mountTargetId = std::move(value); }
61 inline void SetMountTargetId(const char* value) { m_mountTargetId.assign(value); }
62 inline CreateMountTargetResult& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
63 inline CreateMountTargetResult& WithMountTargetId(Aws::String&& value) { SetMountTargetId(std::move(value)); return *this;}
64 inline CreateMountTargetResult& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
66
68
71 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
72 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemId = value; }
73 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemId = std::move(value); }
74 inline void SetFileSystemId(const char* value) { m_fileSystemId.assign(value); }
75 inline CreateMountTargetResult& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
76 inline CreateMountTargetResult& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
77 inline CreateMountTargetResult& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
79
81
84 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
85 inline void SetSubnetId(const Aws::String& value) { m_subnetId = value; }
86 inline void SetSubnetId(Aws::String&& value) { m_subnetId = std::move(value); }
87 inline void SetSubnetId(const char* value) { m_subnetId.assign(value); }
88 inline CreateMountTargetResult& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
89 inline CreateMountTargetResult& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
90 inline CreateMountTargetResult& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
92
94
97 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
98 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; }
99 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleState = std::move(value); }
100 inline CreateMountTargetResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
101 inline CreateMountTargetResult& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
103
105
109 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
110 inline void SetIpAddress(const Aws::String& value) { m_ipAddress = value; }
111 inline void SetIpAddress(Aws::String&& value) { m_ipAddress = std::move(value); }
112 inline void SetIpAddress(const char* value) { m_ipAddress.assign(value); }
113 inline CreateMountTargetResult& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
114 inline CreateMountTargetResult& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
115 inline CreateMountTargetResult& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
117
119
123 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
124 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceId = value; }
125 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceId = std::move(value); }
126 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceId.assign(value); }
128 inline CreateMountTargetResult& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
129 inline CreateMountTargetResult& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
131
133
139 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
140 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneId = value; }
141 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneId = std::move(value); }
142 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneId.assign(value); }
144 inline CreateMountTargetResult& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
145 inline CreateMountTargetResult& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
147
149
156 inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; }
157 inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneName = value; }
158 inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneName = std::move(value); }
159 inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneName.assign(value); }
161 inline CreateMountTargetResult& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
162 inline CreateMountTargetResult& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;}
164
166
170 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
171 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
172 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
173 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
174 inline CreateMountTargetResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
175 inline CreateMountTargetResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
176 inline CreateMountTargetResult& WithVpcId(const char* value) { SetVpcId(value); return *this;}
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline CreateMountTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline CreateMountTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline CreateMountTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::String m_ownerId;
192
193 Aws::String m_mountTargetId;
194
195 Aws::String m_fileSystemId;
196
197 Aws::String m_subnetId;
198
199 LifeCycleState m_lifeCycleState;
200
201 Aws::String m_ipAddress;
202
203 Aws::String m_networkInterfaceId;
204
205 Aws::String m_availabilityZoneId;
206
207 Aws::String m_availabilityZoneName;
208
209 Aws::String m_vpcId;
210
211 Aws::String m_requestId;
212 };
213
214} // namespace Model
215} // namespace EFS
216} // namespace Aws
CreateMountTargetResult & WithAvailabilityZoneId(const char *value)
AWS_EFS_API CreateMountTargetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateMountTargetResult & WithAvailabilityZoneName(const Aws::String &value)
CreateMountTargetResult & WithFileSystemId(const Aws::String &value)
CreateMountTargetResult & WithMountTargetId(const Aws::String &value)
CreateMountTargetResult & WithVpcId(Aws::String &&value)
CreateMountTargetResult & WithRequestId(const char *value)
CreateMountTargetResult & WithFileSystemId(const char *value)
CreateMountTargetResult & WithNetworkInterfaceId(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
CreateMountTargetResult & WithOwnerId(const char *value)
void SetLifeCycleState(const LifeCycleState &value)
CreateMountTargetResult & WithLifeCycleState(LifeCycleState &&value)
CreateMountTargetResult & WithIpAddress(const Aws::String &value)
CreateMountTargetResult & WithSubnetId(const char *value)
CreateMountTargetResult & WithAvailabilityZoneName(const char *value)
CreateMountTargetResult & WithSubnetId(const Aws::String &value)
void SetAvailabilityZoneId(const Aws::String &value)
CreateMountTargetResult & WithRequestId(Aws::String &&value)
CreateMountTargetResult & WithAvailabilityZoneId(const Aws::String &value)
CreateMountTargetResult & WithAvailabilityZoneName(Aws::String &&value)
const LifeCycleState & GetLifeCycleState() const
CreateMountTargetResult & WithRequestId(const Aws::String &value)
CreateMountTargetResult & WithOwnerId(const Aws::String &value)
CreateMountTargetResult & WithNetworkInterfaceId(Aws::String &&value)
CreateMountTargetResult & WithAvailabilityZoneId(Aws::String &&value)
void SetMountTargetId(const Aws::String &value)
void SetAvailabilityZoneName(const Aws::String &value)
CreateMountTargetResult & WithFileSystemId(Aws::String &&value)
CreateMountTargetResult & WithOwnerId(Aws::String &&value)
CreateMountTargetResult & WithIpAddress(const char *value)
CreateMountTargetResult & WithMountTargetId(const char *value)
CreateMountTargetResult & WithVpcId(const Aws::String &value)
CreateMountTargetResult & WithLifeCycleState(const LifeCycleState &value)
CreateMountTargetResult & WithMountTargetId(Aws::String &&value)
CreateMountTargetResult & WithIpAddress(Aws::String &&value)
AWS_EFS_API CreateMountTargetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFileSystemId(const Aws::String &value)
CreateMountTargetResult & WithSubnetId(Aws::String &&value)
CreateMountTargetResult & WithVpcId(const char *value)
CreateMountTargetResult & WithNetworkInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue