AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileSystemDescription.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{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace EFS
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_EFS_API FileSystemDescription();
46
47
49
52 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
53 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
54 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
55 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
56 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
57 inline FileSystemDescription& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
58 inline FileSystemDescription& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
59 inline FileSystemDescription& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
61
63
66 inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
67 inline bool CreationTokenHasBeenSet() const { return m_creationTokenHasBeenSet; }
68 inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
69 inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = std::move(value); }
70 inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); }
71 inline FileSystemDescription& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
72 inline FileSystemDescription& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;}
73 inline FileSystemDescription& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
75
77
80 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
81 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
82 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
83 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
84 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
85 inline FileSystemDescription& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
86 inline FileSystemDescription& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
87 inline FileSystemDescription& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
89
91
98 inline const Aws::String& GetFileSystemArn() const{ return m_fileSystemArn; }
99 inline bool FileSystemArnHasBeenSet() const { return m_fileSystemArnHasBeenSet; }
100 inline void SetFileSystemArn(const Aws::String& value) { m_fileSystemArnHasBeenSet = true; m_fileSystemArn = value; }
101 inline void SetFileSystemArn(Aws::String&& value) { m_fileSystemArnHasBeenSet = true; m_fileSystemArn = std::move(value); }
102 inline void SetFileSystemArn(const char* value) { m_fileSystemArnHasBeenSet = true; m_fileSystemArn.assign(value); }
103 inline FileSystemDescription& WithFileSystemArn(const Aws::String& value) { SetFileSystemArn(value); return *this;}
104 inline FileSystemDescription& WithFileSystemArn(Aws::String&& value) { SetFileSystemArn(std::move(value)); return *this;}
105 inline FileSystemDescription& WithFileSystemArn(const char* value) { SetFileSystemArn(value); return *this;}
107
109
113 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
114 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
115 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
116 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
117 inline FileSystemDescription& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
118 inline FileSystemDescription& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
120
122
125 inline const LifeCycleState& GetLifeCycleState() const{ return m_lifeCycleState; }
126 inline bool LifeCycleStateHasBeenSet() const { return m_lifeCycleStateHasBeenSet; }
127 inline void SetLifeCycleState(const LifeCycleState& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
128 inline void SetLifeCycleState(LifeCycleState&& value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = std::move(value); }
129 inline FileSystemDescription& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
130 inline FileSystemDescription& WithLifeCycleState(LifeCycleState&& value) { SetLifeCycleState(std::move(value)); return *this;}
132
134
139 inline const Aws::String& GetName() const{ return m_name; }
140 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
142 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
144 inline FileSystemDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
145 inline FileSystemDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
146 inline FileSystemDescription& WithName(const char* value) { SetName(value); return *this;}
148
150
154 inline int GetNumberOfMountTargets() const{ return m_numberOfMountTargets; }
155 inline bool NumberOfMountTargetsHasBeenSet() const { return m_numberOfMountTargetsHasBeenSet; }
156 inline void SetNumberOfMountTargets(int value) { m_numberOfMountTargetsHasBeenSet = true; m_numberOfMountTargets = value; }
159
161
173 inline const FileSystemSize& GetSizeInBytes() const{ return m_sizeInBytes; }
174 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
175 inline void SetSizeInBytes(const FileSystemSize& value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
176 inline void SetSizeInBytes(FileSystemSize&& value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = std::move(value); }
177 inline FileSystemDescription& WithSizeInBytes(const FileSystemSize& value) { SetSizeInBytes(value); return *this;}
178 inline FileSystemDescription& WithSizeInBytes(FileSystemSize&& value) { SetSizeInBytes(std::move(value)); return *this;}
180
182
185 inline const PerformanceMode& GetPerformanceMode() const{ return m_performanceMode; }
186 inline bool PerformanceModeHasBeenSet() const { return m_performanceModeHasBeenSet; }
187 inline void SetPerformanceMode(const PerformanceMode& value) { m_performanceModeHasBeenSet = true; m_performanceMode = value; }
188 inline void SetPerformanceMode(PerformanceMode&& value) { m_performanceModeHasBeenSet = true; m_performanceMode = std::move(value); }
190 inline FileSystemDescription& WithPerformanceMode(PerformanceMode&& value) { SetPerformanceMode(std::move(value)); return *this;}
192
194
198 inline bool GetEncrypted() const{ return m_encrypted; }
199 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
200 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
201 inline FileSystemDescription& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
203
205
208 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
209 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
210 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
211 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
212 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
213 inline FileSystemDescription& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
214 inline FileSystemDescription& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
215 inline FileSystemDescription& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
217
219
224 inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
225 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
226 inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
227 inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); }
228 inline FileSystemDescription& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
229 inline FileSystemDescription& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
231
233
238 inline double GetProvisionedThroughputInMibps() const{ return m_provisionedThroughputInMibps; }
239 inline bool ProvisionedThroughputInMibpsHasBeenSet() const { return m_provisionedThroughputInMibpsHasBeenSet; }
240 inline void SetProvisionedThroughputInMibps(double value) { m_provisionedThroughputInMibpsHasBeenSet = true; m_provisionedThroughputInMibps = value; }
243
245
252 inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; }
253 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
254 inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = value; }
255 inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::move(value); }
256 inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName.assign(value); }
258 inline FileSystemDescription& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
259 inline FileSystemDescription& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;}
261
263
270 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
271 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
272 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
273 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
274 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
276 inline FileSystemDescription& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
277 inline FileSystemDescription& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
279
281
285 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
286 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
287 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
288 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
289 inline FileSystemDescription& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
290 inline FileSystemDescription& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
291 inline FileSystemDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
292 inline FileSystemDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
294
296
299 inline const FileSystemProtectionDescription& GetFileSystemProtection() const{ return m_fileSystemProtection; }
300 inline bool FileSystemProtectionHasBeenSet() const { return m_fileSystemProtectionHasBeenSet; }
301 inline void SetFileSystemProtection(const FileSystemProtectionDescription& value) { m_fileSystemProtectionHasBeenSet = true; m_fileSystemProtection = value; }
302 inline void SetFileSystemProtection(FileSystemProtectionDescription&& value) { m_fileSystemProtectionHasBeenSet = true; m_fileSystemProtection = std::move(value); }
306
308
309 inline const Aws::String& GetRequestId() const{ return m_requestId; }
310 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
311 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
312 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
313 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
314 inline FileSystemDescription& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
315 inline FileSystemDescription& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
316 inline FileSystemDescription& WithRequestId(const char* value) { SetRequestId(value); return *this;}
318 private:
319
320 Aws::String m_ownerId;
321 bool m_ownerIdHasBeenSet = false;
322
323 Aws::String m_creationToken;
324 bool m_creationTokenHasBeenSet = false;
325
326 Aws::String m_fileSystemId;
327 bool m_fileSystemIdHasBeenSet = false;
328
329 Aws::String m_fileSystemArn;
330 bool m_fileSystemArnHasBeenSet = false;
331
332 Aws::Utils::DateTime m_creationTime;
333 bool m_creationTimeHasBeenSet = false;
334
335 LifeCycleState m_lifeCycleState;
336 bool m_lifeCycleStateHasBeenSet = false;
337
338 Aws::String m_name;
339 bool m_nameHasBeenSet = false;
340
341 int m_numberOfMountTargets;
342 bool m_numberOfMountTargetsHasBeenSet = false;
343
344 FileSystemSize m_sizeInBytes;
345 bool m_sizeInBytesHasBeenSet = false;
346
347 PerformanceMode m_performanceMode;
348 bool m_performanceModeHasBeenSet = false;
349
350 bool m_encrypted;
351 bool m_encryptedHasBeenSet = false;
352
353 Aws::String m_kmsKeyId;
354 bool m_kmsKeyIdHasBeenSet = false;
355
356 ThroughputMode m_throughputMode;
357 bool m_throughputModeHasBeenSet = false;
358
359 double m_provisionedThroughputInMibps;
360 bool m_provisionedThroughputInMibpsHasBeenSet = false;
361
362 Aws::String m_availabilityZoneName;
363 bool m_availabilityZoneNameHasBeenSet = false;
364
365 Aws::String m_availabilityZoneId;
366 bool m_availabilityZoneIdHasBeenSet = false;
367
368 Aws::Vector<Tag> m_tags;
369 bool m_tagsHasBeenSet = false;
370
371 FileSystemProtectionDescription m_fileSystemProtection;
372 bool m_fileSystemProtectionHasBeenSet = false;
373
374 Aws::String m_requestId;
375 bool m_requestIdHasBeenSet = false;
376 };
377
378} // namespace Model
379} // namespace EFS
380} // namespace Aws
FileSystemDescription & WithCreationToken(const Aws::String &value)
FileSystemDescription & WithKmsKeyId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetFileSystemProtection(const FileSystemProtectionDescription &value)
const Aws::String & GetCreationToken() const
FileSystemDescription & WithThroughputMode(ThroughputMode &&value)
FileSystemDescription & WithAvailabilityZoneId(const Aws::String &value)
FileSystemDescription & WithSizeInBytes(const FileSystemSize &value)
const FileSystemProtectionDescription & GetFileSystemProtection() const
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemDescription & WithAvailabilityZoneId(Aws::String &&value)
FileSystemDescription & WithRequestId(const Aws::String &value)
FileSystemDescription & WithAvailabilityZoneName(const Aws::String &value)
FileSystemDescription & WithKmsKeyId(const char *value)
FileSystemDescription & WithLifeCycleState(LifeCycleState &&value)
FileSystemDescription & WithName(const char *value)
FileSystemDescription & WithThroughputMode(const ThroughputMode &value)
FileSystemDescription & WithOwnerId(const char *value)
void SetSizeInBytes(FileSystemSize &&value)
void SetRequestId(const Aws::String &value)
FileSystemDescription & WithCreationTime(const Aws::Utils::DateTime &value)
void SetOwnerId(const Aws::String &value)
FileSystemDescription & WithOwnerId(const Aws::String &value)
void SetPerformanceMode(const PerformanceMode &value)
FileSystemDescription & WithRequestId(Aws::String &&value)
FileSystemDescription & WithFileSystemId(const char *value)
FileSystemDescription & WithFileSystemProtection(const FileSystemProtectionDescription &value)
FileSystemDescription & WithAvailabilityZoneName(const char *value)
FileSystemDescription & WithFileSystemId(Aws::String &&value)
const Aws::String & GetAvailabilityZoneName() const
AWS_EFS_API FileSystemDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemDescription & WithName(const Aws::String &value)
void SetThroughputMode(const ThroughputMode &value)
FileSystemDescription & WithCreationToken(Aws::String &&value)
FileSystemDescription & WithAvailabilityZoneId(const char *value)
FileSystemDescription & AddTags(const Tag &value)
FileSystemDescription & WithFileSystemArn(Aws::String &&value)
void SetCreationToken(const Aws::String &value)
FileSystemDescription & WithLifeCycleState(const LifeCycleState &value)
void SetFileSystemProtection(FileSystemProtectionDescription &&value)
const FileSystemSize & GetSizeInBytes() const
void SetLifeCycleState(LifeCycleState &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLifeCycleState(const LifeCycleState &value)
FileSystemDescription & WithSizeInBytes(FileSystemSize &&value)
const Aws::String & GetAvailabilityZoneId() const
FileSystemDescription & WithProvisionedThroughputInMibps(double value)
FileSystemDescription & WithFileSystemId(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetKmsKeyId(const Aws::String &value)
FileSystemDescription & WithCreationTime(Aws::Utils::DateTime &&value)
const ThroughputMode & GetThroughputMode() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetAvailabilityZoneName(Aws::String &&value)
FileSystemDescription & WithName(Aws::String &&value)
FileSystemDescription & WithNumberOfMountTargets(int value)
FileSystemDescription & WithKmsKeyId(Aws::String &&value)
FileSystemDescription & WithCreationToken(const char *value)
const Aws::String & GetFileSystemArn() const
void SetThroughputMode(ThroughputMode &&value)
void SetFileSystemArn(const Aws::String &value)
void SetSizeInBytes(const FileSystemSize &value)
FileSystemDescription & WithOwnerId(Aws::String &&value)
FileSystemDescription & WithPerformanceMode(const PerformanceMode &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetPerformanceMode(PerformanceMode &&value)
FileSystemDescription & AddTags(Tag &&value)
const PerformanceMode & GetPerformanceMode() const
void SetTags(const Aws::Vector< Tag > &value)
FileSystemDescription & WithRequestId(const char *value)
FileSystemDescription & WithEncrypted(bool value)
void SetAvailabilityZoneId(const Aws::String &value)
void SetFileSystemId(const Aws::String &value)
FileSystemDescription & WithAvailabilityZoneName(Aws::String &&value)
FileSystemDescription & WithFileSystemArn(const char *value)
FileSystemDescription & WithTags(Aws::Vector< Tag > &&value)
FileSystemDescription & WithFileSystemArn(const Aws::String &value)
void SetAvailabilityZoneName(const Aws::String &value)
const Aws::String & GetFileSystemId() const
FileSystemDescription & WithTags(const Aws::Vector< Tag > &value)
FileSystemDescription & WithFileSystemProtection(FileSystemProtectionDescription &&value)
const LifeCycleState & GetLifeCycleState() const
AWS_EFS_API FileSystemDescription(Aws::Utils::Json::JsonView jsonValue)
FileSystemDescription & WithPerformanceMode(PerformanceMode &&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