AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateAccessPointResult.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticfilesystem/model/PosixUser.h>
11#include <aws/elasticfilesystem/model/RootDirectory.h>
12#include <aws/elasticfilesystem/model/LifeCycleState.h>
13#include <aws/elasticfilesystem/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace EFS
29{
30namespace Model
31{
39 {
40 public:
41 AWS_EFS_API CreateAccessPointResult() = default;
44
45
47
50 inline const Aws::String& GetClientToken() const { return m_clientToken; }
51 template<typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<typename ClientTokenT = Aws::String>
54 CreateAccessPointResult& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
56
58
62 inline const Aws::String& GetName() const { return m_name; }
63 template<typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
65 template<typename NameT = Aws::String>
66 CreateAccessPointResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
68
70
74 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
75 template<typename TagsT = Aws::Vector<Tag>>
76 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
77 template<typename TagsT = Aws::Vector<Tag>>
78 CreateAccessPointResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
79 template<typename TagsT = Tag>
80 CreateAccessPointResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
82
84
87 inline const Aws::String& GetAccessPointId() const { return m_accessPointId; }
88 template<typename AccessPointIdT = Aws::String>
89 void SetAccessPointId(AccessPointIdT&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::forward<AccessPointIdT>(value); }
90 template<typename AccessPointIdT = Aws::String>
91 CreateAccessPointResult& WithAccessPointId(AccessPointIdT&& value) { SetAccessPointId(std::forward<AccessPointIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetAccessPointArn() const { return m_accessPointArn; }
99 template<typename AccessPointArnT = Aws::String>
100 void SetAccessPointArn(AccessPointArnT&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::forward<AccessPointArnT>(value); }
101 template<typename AccessPointArnT = Aws::String>
102 CreateAccessPointResult& WithAccessPointArn(AccessPointArnT&& value) { SetAccessPointArn(std::forward<AccessPointArnT>(value)); return *this;}
104
106
109 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
110 template<typename FileSystemIdT = Aws::String>
111 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
112 template<typename FileSystemIdT = Aws::String>
113 CreateAccessPointResult& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
115
117
122 inline const PosixUser& GetPosixUser() const { return m_posixUser; }
123 template<typename PosixUserT = PosixUser>
124 void SetPosixUser(PosixUserT&& value) { m_posixUserHasBeenSet = true; m_posixUser = std::forward<PosixUserT>(value); }
125 template<typename PosixUserT = PosixUser>
126 CreateAccessPointResult& WithPosixUser(PosixUserT&& value) { SetPosixUser(std::forward<PosixUserT>(value)); return *this;}
128
130
134 inline const RootDirectory& GetRootDirectory() const { return m_rootDirectory; }
135 template<typename RootDirectoryT = RootDirectory>
136 void SetRootDirectory(RootDirectoryT&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::forward<RootDirectoryT>(value); }
137 template<typename RootDirectoryT = RootDirectory>
138 CreateAccessPointResult& WithRootDirectory(RootDirectoryT&& value) { SetRootDirectory(std::forward<RootDirectoryT>(value)); return *this;}
140
142
146 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
147 template<typename OwnerIdT = Aws::String>
148 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
149 template<typename OwnerIdT = Aws::String>
150 CreateAccessPointResult& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
152
154
157 inline LifeCycleState GetLifeCycleState() const { return m_lifeCycleState; }
158 inline void SetLifeCycleState(LifeCycleState value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
161
163
164 inline const Aws::String& GetRequestId() const { return m_requestId; }
165 template<typename RequestIdT = Aws::String>
166 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
167 template<typename RequestIdT = Aws::String>
168 CreateAccessPointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
170 private:
171
172 Aws::String m_clientToken;
173 bool m_clientTokenHasBeenSet = false;
174
175 Aws::String m_name;
176 bool m_nameHasBeenSet = false;
177
178 Aws::Vector<Tag> m_tags;
179 bool m_tagsHasBeenSet = false;
180
181 Aws::String m_accessPointId;
182 bool m_accessPointIdHasBeenSet = false;
183
184 Aws::String m_accessPointArn;
185 bool m_accessPointArnHasBeenSet = false;
186
187 Aws::String m_fileSystemId;
188 bool m_fileSystemIdHasBeenSet = false;
189
190 PosixUser m_posixUser;
191 bool m_posixUserHasBeenSet = false;
192
193 RootDirectory m_rootDirectory;
194 bool m_rootDirectoryHasBeenSet = false;
195
196 Aws::String m_ownerId;
197 bool m_ownerIdHasBeenSet = false;
198
199 LifeCycleState m_lifeCycleState{LifeCycleState::NOT_SET};
200 bool m_lifeCycleStateHasBeenSet = false;
201
202 Aws::String m_requestId;
203 bool m_requestIdHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace EFS
208} // namespace Aws
AWS_EFS_API CreateAccessPointResult()=default
CreateAccessPointResult & AddTags(TagsT &&value)
CreateAccessPointResult & WithOwnerId(OwnerIdT &&value)
CreateAccessPointResult & WithTags(TagsT &&value)
CreateAccessPointResult & WithClientToken(ClientTokenT &&value)
CreateAccessPointResult & WithName(NameT &&value)
CreateAccessPointResult & WithRootDirectory(RootDirectoryT &&value)
CreateAccessPointResult & WithPosixUser(PosixUserT &&value)
CreateAccessPointResult & WithAccessPointArn(AccessPointArnT &&value)
CreateAccessPointResult & WithRequestId(RequestIdT &&value)
CreateAccessPointResult & WithLifeCycleState(LifeCycleState value)
AWS_EFS_API CreateAccessPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessPointResult & WithFileSystemId(FileSystemIdT &&value)
CreateAccessPointResult & WithAccessPointId(AccessPointIdT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_EFS_API CreateAccessPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue