AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
44
45
47
50 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
51 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
52 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
53 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
54 inline CreateAccessPointResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
55 inline CreateAccessPointResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
56 inline CreateAccessPointResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
58
60
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline void SetName(const Aws::String& value) { m_name = value; }
66 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
67 inline void SetName(const char* value) { m_name.assign(value); }
68 inline CreateAccessPointResult& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline CreateAccessPointResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline CreateAccessPointResult& WithName(const char* value) { SetName(value); return *this;}
72
74
78 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
79 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
80 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
81 inline CreateAccessPointResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
82 inline CreateAccessPointResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
83 inline CreateAccessPointResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
84 inline CreateAccessPointResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; }
92 inline void SetAccessPointId(const Aws::String& value) { m_accessPointId = value; }
93 inline void SetAccessPointId(Aws::String&& value) { m_accessPointId = std::move(value); }
94 inline void SetAccessPointId(const char* value) { m_accessPointId.assign(value); }
95 inline CreateAccessPointResult& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
96 inline CreateAccessPointResult& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
97 inline CreateAccessPointResult& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
99
101
104 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
105 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArn = value; }
106 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArn = std::move(value); }
107 inline void SetAccessPointArn(const char* value) { m_accessPointArn.assign(value); }
108 inline CreateAccessPointResult& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
109 inline CreateAccessPointResult& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
110 inline CreateAccessPointResult& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
112
114
117 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
118 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemId = value; }
119 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemId = std::move(value); }
120 inline void SetFileSystemId(const char* value) { m_fileSystemId.assign(value); }
121 inline CreateAccessPointResult& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
122 inline CreateAccessPointResult& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
123 inline CreateAccessPointResult& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
125
127
132 inline const PosixUser& GetPosixUser() const{ return m_posixUser; }
133 inline void SetPosixUser(const PosixUser& value) { m_posixUser = value; }
134 inline void SetPosixUser(PosixUser&& value) { m_posixUser = std::move(value); }
135 inline CreateAccessPointResult& WithPosixUser(const PosixUser& value) { SetPosixUser(value); return *this;}
136 inline CreateAccessPointResult& WithPosixUser(PosixUser&& value) { SetPosixUser(std::move(value)); return *this;}
138
140
144 inline const RootDirectory& GetRootDirectory() const{ return m_rootDirectory; }
145 inline void SetRootDirectory(const RootDirectory& value) { m_rootDirectory = value; }
146 inline void SetRootDirectory(RootDirectory&& value) { m_rootDirectory = std::move(value); }
147 inline CreateAccessPointResult& WithRootDirectory(const RootDirectory& value) { SetRootDirectory(value); return *this;}
148 inline CreateAccessPointResult& WithRootDirectory(RootDirectory&& value) { SetRootDirectory(std::move(value)); return *this;}
150
152
156 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
157 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
158 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
159 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
160 inline CreateAccessPointResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
161 inline CreateAccessPointResult& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
162 inline CreateAccessPointResult& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
164
166
169 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
170 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; }
171 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleState = std::move(value); }
172 inline CreateAccessPointResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
173 inline CreateAccessPointResult& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline CreateAccessPointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline CreateAccessPointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline CreateAccessPointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 Aws::String m_clientToken;
189
190 Aws::String m_name;
191
192 Aws::Vector<Tag> m_tags;
193
194 Aws::String m_accessPointId;
195
196 Aws::String m_accessPointArn;
197
198 Aws::String m_fileSystemId;
199
200 PosixUser m_posixUser;
201
202 RootDirectory m_rootDirectory;
203
204 Aws::String m_ownerId;
205
206 LifeCycleState m_lifeCycleState;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace EFS
213} // namespace Aws
CreateAccessPointResult & WithPosixUser(const PosixUser &value)
CreateAccessPointResult & WithRequestId(const char *value)
CreateAccessPointResult & WithOwnerId(const char *value)
CreateAccessPointResult & WithAccessPointId(const Aws::String &value)
void SetRootDirectory(const RootDirectory &value)
CreateAccessPointResult & AddTags(Tag &&value)
void SetClientToken(const Aws::String &value)
const LifeCycleState & GetLifeCycleState() const
CreateAccessPointResult & WithFileSystemId(const char *value)
CreateAccessPointResult & WithAccessPointArn(const char *value)
CreateAccessPointResult & WithClientToken(Aws::String &&value)
void SetLifeCycleState(const LifeCycleState &value)
CreateAccessPointResult & WithTags(const Aws::Vector< Tag > &value)
CreateAccessPointResult & WithAccessPointArn(const Aws::String &value)
CreateAccessPointResult & WithFileSystemId(const Aws::String &value)
CreateAccessPointResult & WithName(Aws::String &&value)
CreateAccessPointResult & WithRootDirectory(RootDirectory &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateAccessPointResult & WithTags(Aws::Vector< Tag > &&value)
CreateAccessPointResult & WithAccessPointId(Aws::String &&value)
CreateAccessPointResult & WithOwnerId(Aws::String &&value)
void SetAccessPointId(const Aws::String &value)
CreateAccessPointResult & WithLifeCycleState(const LifeCycleState &value)
CreateAccessPointResult & WithLifeCycleState(LifeCycleState &&value)
CreateAccessPointResult & WithFileSystemId(Aws::String &&value)
CreateAccessPointResult & WithName(const Aws::String &value)
CreateAccessPointResult & WithAccessPointArn(Aws::String &&value)
CreateAccessPointResult & WithName(const char *value)
CreateAccessPointResult & WithClientToken(const char *value)
CreateAccessPointResult & AddTags(const Tag &value)
CreateAccessPointResult & WithOwnerId(const Aws::String &value)
AWS_EFS_API CreateAccessPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAccessPointArn(const Aws::String &value)
CreateAccessPointResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateAccessPointResult & WithPosixUser(PosixUser &&value)
AWS_EFS_API CreateAccessPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAccessPointResult & WithClientToken(const Aws::String &value)
CreateAccessPointResult & WithAccessPointId(const char *value)
CreateAccessPointResult & WithRequestId(Aws::String &&value)
CreateAccessPointResult & WithRootDirectory(const RootDirectory &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