AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFileSystemResult.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/DateTime.h>
10#include <aws/elasticfilesystem/model/LifeCycleState.h>
11#include <aws/elasticfilesystem/model/FileSystemSize.h>
12#include <aws/elasticfilesystem/model/PerformanceMode.h>
13#include <aws/elasticfilesystem/model/ThroughputMode.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticfilesystem/model/FileSystemProtectionDescription.h>
16#include <aws/elasticfilesystem/model/Tag.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace EFS
32{
33namespace Model
34{
41 {
42 public:
46
47
49
52 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
53 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
54 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
55 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
56 inline CreateFileSystemResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
57 inline CreateFileSystemResult& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
58 inline CreateFileSystemResult& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
60
62
65 inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
66 inline void SetCreationToken(const Aws::String& value) { m_creationToken = value; }
67 inline void SetCreationToken(Aws::String&& value) { m_creationToken = std::move(value); }
68 inline void SetCreationToken(const char* value) { m_creationToken.assign(value); }
69 inline CreateFileSystemResult& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
70 inline CreateFileSystemResult& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;}
71 inline CreateFileSystemResult& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
73
75
78 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
79 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemId = value; }
80 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemId = std::move(value); }
81 inline void SetFileSystemId(const char* value) { m_fileSystemId.assign(value); }
82 inline CreateFileSystemResult& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
83 inline CreateFileSystemResult& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
84 inline CreateFileSystemResult& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
86
88
95 inline const Aws::String& GetFileSystemArn() const{ return m_fileSystemArn; }
96 inline void SetFileSystemArn(const Aws::String& value) { m_fileSystemArn = value; }
97 inline void SetFileSystemArn(Aws::String&& value) { m_fileSystemArn = std::move(value); }
98 inline void SetFileSystemArn(const char* value) { m_fileSystemArn.assign(value); }
99 inline CreateFileSystemResult& WithFileSystemArn(const Aws::String& value) { SetFileSystemArn(value); return *this;}
100 inline CreateFileSystemResult& WithFileSystemArn(Aws::String&& value) { SetFileSystemArn(std::move(value)); return *this;}
101 inline CreateFileSystemResult& WithFileSystemArn(const char* value) { SetFileSystemArn(value); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
110 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
111 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
113 inline CreateFileSystemResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
115
117
120 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
121 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleState = value; }
122 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleState = std::move(value); }
123 inline CreateFileSystemResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
124 inline CreateFileSystemResult& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
126
128
133 inline const Aws::String& GetName() const{ return m_name; }
134 inline void SetName(const Aws::String& value) { m_name = value; }
135 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
136 inline void SetName(const char* value) { m_name.assign(value); }
137 inline CreateFileSystemResult& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline CreateFileSystemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline CreateFileSystemResult& WithName(const char* value) { SetName(value); return *this;}
141
143
147 inline int GetNumberOfMountTargets() const{ return m_numberOfMountTargets; }
148 inline void SetNumberOfMountTargets(int value) { m_numberOfMountTargets = value; }
151
153
165 inline const FileSystemSize& GetSizeInBytes() const{ return m_sizeInBytes; }
166 inline void SetSizeInBytes(const FileSystemSize& value) { m_sizeInBytes = value; }
167 inline void SetSizeInBytes(FileSystemSize&& value) { m_sizeInBytes = std::move(value); }
168 inline CreateFileSystemResult& WithSizeInBytes(const FileSystemSize& value) { SetSizeInBytes(value); return *this;}
169 inline CreateFileSystemResult& WithSizeInBytes(FileSystemSize&& value) { SetSizeInBytes(std::move(value)); return *this;}
171
173
176 inline const PerformanceMode& GetPerformanceMode() const{ return m_performanceMode; }
177 inline void SetPerformanceMode(const PerformanceMode& value) { m_performanceMode = value; }
178 inline void SetPerformanceMode(PerformanceMode&& value) { m_performanceMode = std::move(value); }
180 inline CreateFileSystemResult& WithPerformanceMode(PerformanceMode&& value) { SetPerformanceMode(std::move(value)); return *this;}
182
184
188 inline bool GetEncrypted() const{ return m_encrypted; }
189 inline void SetEncrypted(bool value) { m_encrypted = value; }
190 inline CreateFileSystemResult& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
192
194
197 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
198 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
199 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
200 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
201 inline CreateFileSystemResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
202 inline CreateFileSystemResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
203 inline CreateFileSystemResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
205
207
212 inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
213 inline void SetThroughputMode(const ThroughputMode& value) { m_throughputMode = value; }
214 inline void SetThroughputMode(ThroughputMode&& value) { m_throughputMode = std::move(value); }
215 inline CreateFileSystemResult& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
216 inline CreateFileSystemResult& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
218
220
225 inline double GetProvisionedThroughputInMibps() const{ return m_provisionedThroughputInMibps; }
226 inline void SetProvisionedThroughputInMibps(double value) { m_provisionedThroughputInMibps = value; }
229
231
238 inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; }
239 inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneName = value; }
240 inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneName = std::move(value); }
241 inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneName.assign(value); }
243 inline CreateFileSystemResult& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
244 inline CreateFileSystemResult& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;}
246
248
255 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
256 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneId = value; }
257 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneId = std::move(value); }
258 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneId.assign(value); }
260 inline CreateFileSystemResult& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
261 inline CreateFileSystemResult& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
263
265
269 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
270 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
271 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
272 inline CreateFileSystemResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
273 inline CreateFileSystemResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
274 inline CreateFileSystemResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
275 inline CreateFileSystemResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
277
279
282 inline const FileSystemProtectionDescription& GetFileSystemProtection() const{ return m_fileSystemProtection; }
283 inline void SetFileSystemProtection(const FileSystemProtectionDescription& value) { m_fileSystemProtection = value; }
284 inline void SetFileSystemProtection(FileSystemProtectionDescription&& value) { m_fileSystemProtection = std::move(value); }
288
290
291 inline const Aws::String& GetRequestId() const{ return m_requestId; }
292 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
293 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
294 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
295 inline CreateFileSystemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
296 inline CreateFileSystemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
297 inline CreateFileSystemResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
299 private:
300
301 Aws::String m_ownerId;
302
303 Aws::String m_creationToken;
304
305 Aws::String m_fileSystemId;
306
307 Aws::String m_fileSystemArn;
308
309 Aws::Utils::DateTime m_creationTime;
310
311 LifeCycleState m_lifeCycleState;
312
313 Aws::String m_name;
314
315 int m_numberOfMountTargets;
316
317 FileSystemSize m_sizeInBytes;
318
319 PerformanceMode m_performanceMode;
320
321 bool m_encrypted;
322
323 Aws::String m_kmsKeyId;
324
325 ThroughputMode m_throughputMode;
326
327 double m_provisionedThroughputInMibps;
328
329 Aws::String m_availabilityZoneName;
330
331 Aws::String m_availabilityZoneId;
332
333 Aws::Vector<Tag> m_tags;
334
335 FileSystemProtectionDescription m_fileSystemProtection;
336
337 Aws::String m_requestId;
338 };
339
340} // namespace Model
341} // namespace EFS
342} // namespace Aws
CreateFileSystemResult & WithAvailabilityZoneName(const char *value)
void SetPerformanceMode(const PerformanceMode &value)
void SetFileSystemProtection(const FileSystemProtectionDescription &value)
CreateFileSystemResult & WithTags(Aws::Vector< Tag > &&value)
void SetPerformanceMode(PerformanceMode &&value)
const Aws::Vector< Tag > & GetTags() const
CreateFileSystemResult & WithCreationToken(Aws::String &&value)
CreateFileSystemResult & WithThroughputMode(ThroughputMode &&value)
CreateFileSystemResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateFileSystemResult & WithOwnerId(const char *value)
CreateFileSystemResult & WithKmsKeyId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_EFS_API CreateFileSystemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFileSystemResult & WithSizeInBytes(FileSystemSize &&value)
CreateFileSystemResult & AddTags(const Tag &value)
void SetThroughputMode(const ThroughputMode &value)
const ThroughputMode & GetThroughputMode() const
void SetCreationToken(const Aws::String &value)
CreateFileSystemResult & WithRequestId(Aws::String &&value)
CreateFileSystemResult & WithName(Aws::String &&value)
CreateFileSystemResult & WithAvailabilityZoneId(Aws::String &&value)
CreateFileSystemResult & WithTags(const Aws::Vector< Tag > &value)
CreateFileSystemResult & WithRequestId(const Aws::String &value)
CreateFileSystemResult & WithPerformanceMode(const PerformanceMode &value)
CreateFileSystemResult & WithAvailabilityZoneName(Aws::String &&value)
CreateFileSystemResult & WithFileSystemProtection(const FileSystemProtectionDescription &value)
CreateFileSystemResult & WithLifeCycleState(LifeCycleState &&value)
CreateFileSystemResult & WithKmsKeyId(Aws::String &&value)
void SetFileSystemArn(const Aws::String &value)
CreateFileSystemResult & WithAvailabilityZoneId(const char *value)
void SetOwnerId(const Aws::String &value)
CreateFileSystemResult & WithFileSystemProtection(FileSystemProtectionDescription &&value)
CreateFileSystemResult & WithProvisionedThroughputInMibps(double value)
const LifeCycleState & GetLifeCycleState() const
void SetTags(Aws::Vector< Tag > &&value)
CreateFileSystemResult & WithEncrypted(bool value)
CreateFileSystemResult & WithAvailabilityZoneName(const Aws::String &value)
void SetAvailabilityZoneId(const Aws::String &value)
CreateFileSystemResult & WithFileSystemId(const Aws::String &value)
CreateFileSystemResult & WithKmsKeyId(const char *value)
void SetSizeInBytes(const FileSystemSize &value)
CreateFileSystemResult & WithPerformanceMode(PerformanceMode &&value)
CreateFileSystemResult & WithName(const char *value)
void SetLifeCycleState(const LifeCycleState &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetAvailabilityZoneName() const
const FileSystemSize & GetSizeInBytes() const
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateFileSystemResult & WithRequestId(const char *value)
const FileSystemProtectionDescription & GetFileSystemProtection() const
CreateFileSystemResult & WithName(const Aws::String &value)
const PerformanceMode & GetPerformanceMode() const
CreateFileSystemResult & WithFileSystemId(Aws::String &&value)
CreateFileSystemResult & WithSizeInBytes(const FileSystemSize &value)
CreateFileSystemResult & WithOwnerId(Aws::String &&value)
CreateFileSystemResult & WithNumberOfMountTargets(int value)
void SetAvailabilityZoneName(const Aws::String &value)
CreateFileSystemResult & WithFileSystemId(const char *value)
CreateFileSystemResult & WithFileSystemArn(const char *value)
CreateFileSystemResult & WithFileSystemArn(const Aws::String &value)
CreateFileSystemResult & WithThroughputMode(const ThroughputMode &value)
CreateFileSystemResult & AddTags(Tag &&value)
void SetFileSystemId(const Aws::String &value)
CreateFileSystemResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetFileSystemProtection(FileSystemProtectionDescription &&value)
CreateFileSystemResult & WithFileSystemArn(Aws::String &&value)
CreateFileSystemResult & WithOwnerId(const Aws::String &value)
AWS_EFS_API CreateFileSystemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFileSystemResult & WithLifeCycleState(const LifeCycleState &value)
CreateFileSystemResult & WithCreationToken(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetAvailabilityZoneId() const
CreateFileSystemResult & WithAvailabilityZoneId(const Aws::String &value)
CreateFileSystemResult & WithCreationToken(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&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