AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessPointDescription.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace EFS
27{
28namespace Model
29{
30
38 {
39 public:
44
45
47
50 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
51 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
52 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
53 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
54 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
55 inline AccessPointDescription& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
56 inline AccessPointDescription& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
57 inline AccessPointDescription& WithClientToken(const char* value) { SetClientToken(value); return *this;}
59
61
65 inline const Aws::String& GetName() const{ return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
68 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
69 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
70 inline AccessPointDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
71 inline AccessPointDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 inline AccessPointDescription& WithName(const char* value) { SetName(value); return *this;}
74
76
80 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
83 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
84 inline AccessPointDescription& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
85 inline AccessPointDescription& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
86 inline AccessPointDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
87 inline AccessPointDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; }
95 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
96 inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; }
97 inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); }
98 inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); }
99 inline AccessPointDescription& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
100 inline AccessPointDescription& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
101 inline AccessPointDescription& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
103
105
108 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
109 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
110 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; }
111 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); }
112 inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); }
113 inline AccessPointDescription& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
114 inline AccessPointDescription& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
115 inline AccessPointDescription& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
117
119
122 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
123 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
124 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
125 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
126 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
127 inline AccessPointDescription& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
128 inline AccessPointDescription& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
129 inline AccessPointDescription& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
131
133
138 inline const PosixUser& GetPosixUser() const{ return m_posixUser; }
139 inline bool PosixUserHasBeenSet() const { return m_posixUserHasBeenSet; }
140 inline void SetPosixUser(const PosixUser& value) { m_posixUserHasBeenSet = true; m_posixUser = value; }
141 inline void SetPosixUser(PosixUser&& value) { m_posixUserHasBeenSet = true; m_posixUser = std::move(value); }
142 inline AccessPointDescription& WithPosixUser(const PosixUser& value) { SetPosixUser(value); return *this;}
143 inline AccessPointDescription& WithPosixUser(PosixUser&& value) { SetPosixUser(std::move(value)); return *this;}
145
147
151 inline const RootDirectory& GetRootDirectory() const{ return m_rootDirectory; }
152 inline bool RootDirectoryHasBeenSet() const { return m_rootDirectoryHasBeenSet; }
153 inline void SetRootDirectory(const RootDirectory& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = value; }
154 inline void SetRootDirectory(RootDirectory&& value) { m_rootDirectoryHasBeenSet = true; m_rootDirectory = std::move(value); }
155 inline AccessPointDescription& WithRootDirectory(const RootDirectory& value) { SetRootDirectory(value); return *this;}
156 inline AccessPointDescription& WithRootDirectory(RootDirectory&& value) { SetRootDirectory(std::move(value)); return *this;}
158
160
164 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
165 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
166 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
167 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
168 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
169 inline AccessPointDescription& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
170 inline AccessPointDescription& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
171 inline AccessPointDescription& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
173
175
178 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
179 inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; }
180 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
181 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = std::move(value); }
182 inline AccessPointDescription& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
183 inline AccessPointDescription& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
190 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
191 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
192 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
193 inline AccessPointDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
194 inline AccessPointDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
195 inline AccessPointDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
197 private:
198
199 Aws::String m_clientToken;
200 bool m_clientTokenHasBeenSet = false;
201
202 Aws::String m_name;
203 bool m_nameHasBeenSet = false;
204
205 Aws::Vector<Tag> m_tags;
206 bool m_tagsHasBeenSet = false;
207
208 Aws::String m_accessPointId;
209 bool m_accessPointIdHasBeenSet = false;
210
211 Aws::String m_accessPointArn;
212 bool m_accessPointArnHasBeenSet = false;
213
214 Aws::String m_fileSystemId;
215 bool m_fileSystemIdHasBeenSet = false;
216
217 PosixUser m_posixUser;
218 bool m_posixUserHasBeenSet = false;
219
220 RootDirectory m_rootDirectory;
221 bool m_rootDirectoryHasBeenSet = false;
222
223 Aws::String m_ownerId;
224 bool m_ownerIdHasBeenSet = false;
225
226 LifeCycleState m_lifeCycleState;
227 bool m_lifeCycleStateHasBeenSet = false;
228
229 Aws::String m_requestId;
230 bool m_requestIdHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace EFS
235} // namespace Aws
AccessPointDescription & WithName(const char *value)
void SetRequestId(const Aws::String &value)
AccessPointDescription & WithPosixUser(PosixUser &&value)
AccessPointDescription & AddTags(Tag &&value)
AccessPointDescription & WithOwnerId(const char *value)
AccessPointDescription & WithLifeCycleState(const LifeCycleState &value)
AccessPointDescription & AddTags(const Tag &value)
AccessPointDescription & WithClientToken(Aws::String &&value)
AccessPointDescription & WithFileSystemId(Aws::String &&value)
void SetLifeCycleState(const LifeCycleState &value)
AccessPointDescription & WithRequestId(const Aws::String &value)
AccessPointDescription & WithRequestId(Aws::String &&value)
AccessPointDescription & WithAccessPointId(Aws::String &&value)
const LifeCycleState & GetLifeCycleState() const
AccessPointDescription & WithRequestId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AccessPointDescription & WithAccessPointId(const Aws::String &value)
AccessPointDescription & WithRootDirectory(const RootDirectory &value)
const Aws::Vector< Tag > & GetTags() const
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
AccessPointDescription & WithLifeCycleState(LifeCycleState &&value)
AccessPointDescription & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
AccessPointDescription & WithClientToken(const char *value)
AccessPointDescription & WithPosixUser(const PosixUser &value)
AccessPointDescription & WithTags(Aws::Vector< Tag > &&value)
AccessPointDescription & WithAccessPointArn(const Aws::String &value)
AWS_EFS_API AccessPointDescription(Aws::Utils::Json::JsonView jsonValue)
AccessPointDescription & WithTags(const Aws::Vector< Tag > &value)
AccessPointDescription & WithName(const Aws::String &value)
void SetAccessPointId(const Aws::String &value)
AccessPointDescription & WithOwnerId(const Aws::String &value)
AccessPointDescription & WithAccessPointArn(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
AccessPointDescription & WithRootDirectory(RootDirectory &&value)
void SetFileSystemId(const Aws::String &value)
AccessPointDescription & WithFileSystemId(const char *value)
const RootDirectory & GetRootDirectory() const
AccessPointDescription & WithName(Aws::String &&value)
AccessPointDescription & WithFileSystemId(const Aws::String &value)
AccessPointDescription & WithOwnerId(Aws::String &&value)
void SetRootDirectory(const RootDirectory &value)
AccessPointDescription & WithAccessPointArn(const char *value)
void SetAccessPointArn(const Aws::String &value)
AWS_EFS_API AccessPointDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessPointDescription & WithAccessPointId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue