AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateFileSystemResult.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:
43 AWS_EFS_API UpdateFileSystemResult() = default;
46
47
49
52 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
53 template<typename OwnerIdT = Aws::String>
54 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::forward<OwnerIdT>(value); }
55 template<typename OwnerIdT = Aws::String>
56 UpdateFileSystemResult& WithOwnerId(OwnerIdT&& value) { SetOwnerId(std::forward<OwnerIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetCreationToken() const { return m_creationToken; }
64 template<typename CreationTokenT = Aws::String>
65 void SetCreationToken(CreationTokenT&& value) { m_creationTokenHasBeenSet = true; m_creationToken = std::forward<CreationTokenT>(value); }
66 template<typename CreationTokenT = Aws::String>
67 UpdateFileSystemResult& WithCreationToken(CreationTokenT&& value) { SetCreationToken(std::forward<CreationTokenT>(value)); return *this;}
69
71
74 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
75 template<typename FileSystemIdT = Aws::String>
76 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
77 template<typename FileSystemIdT = Aws::String>
78 UpdateFileSystemResult& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
80
82
89 inline const Aws::String& GetFileSystemArn() const { return m_fileSystemArn; }
90 template<typename FileSystemArnT = Aws::String>
91 void SetFileSystemArn(FileSystemArnT&& value) { m_fileSystemArnHasBeenSet = true; m_fileSystemArn = std::forward<FileSystemArnT>(value); }
92 template<typename FileSystemArnT = Aws::String>
93 UpdateFileSystemResult& WithFileSystemArn(FileSystemArnT&& value) { SetFileSystemArn(std::forward<FileSystemArnT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
102 template<typename CreationTimeT = Aws::Utils::DateTime>
103 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
104 template<typename CreationTimeT = Aws::Utils::DateTime>
105 UpdateFileSystemResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
107
109
112 inline LifeCycleState GetLifeCycleState() const { return m_lifeCycleState; }
113 inline void SetLifeCycleState(LifeCycleState value) { m_lifeCycleStateHasBeenSet = true; m_lifeCycleState = value; }
116
118
123 inline const Aws::String& GetName() const { return m_name; }
124 template<typename NameT = Aws::String>
125 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
126 template<typename NameT = Aws::String>
127 UpdateFileSystemResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
129
131
135 inline int GetNumberOfMountTargets() const { return m_numberOfMountTargets; }
136 inline void SetNumberOfMountTargets(int value) { m_numberOfMountTargetsHasBeenSet = true; m_numberOfMountTargets = value; }
139
141
153 inline const FileSystemSize& GetSizeInBytes() const { return m_sizeInBytes; }
154 template<typename SizeInBytesT = FileSystemSize>
155 void SetSizeInBytes(SizeInBytesT&& value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = std::forward<SizeInBytesT>(value); }
156 template<typename SizeInBytesT = FileSystemSize>
157 UpdateFileSystemResult& WithSizeInBytes(SizeInBytesT&& value) { SetSizeInBytes(std::forward<SizeInBytesT>(value)); return *this;}
159
161
164 inline PerformanceMode GetPerformanceMode() const { return m_performanceMode; }
165 inline void SetPerformanceMode(PerformanceMode value) { m_performanceModeHasBeenSet = true; m_performanceMode = value; }
168
170
174 inline bool GetEncrypted() const { return m_encrypted; }
175 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
176 inline UpdateFileSystemResult& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
178
180
183 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
184 template<typename KmsKeyIdT = Aws::String>
185 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
186 template<typename KmsKeyIdT = Aws::String>
187 UpdateFileSystemResult& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
189
191
196 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
197 inline void SetThroughputMode(ThroughputMode value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
200
202
207 inline double GetProvisionedThroughputInMibps() const { return m_provisionedThroughputInMibps; }
208 inline void SetProvisionedThroughputInMibps(double value) { m_provisionedThroughputInMibpsHasBeenSet = true; m_provisionedThroughputInMibps = value; }
211
213
220 inline const Aws::String& GetAvailabilityZoneName() const { return m_availabilityZoneName; }
221 template<typename AvailabilityZoneNameT = Aws::String>
222 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value); }
223 template<typename AvailabilityZoneNameT = Aws::String>
224 UpdateFileSystemResult& WithAvailabilityZoneName(AvailabilityZoneNameT&& value) { SetAvailabilityZoneName(std::forward<AvailabilityZoneNameT>(value)); return *this;}
226
228
235 inline const Aws::String& GetAvailabilityZoneId() const { return m_availabilityZoneId; }
236 template<typename AvailabilityZoneIdT = Aws::String>
237 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
238 template<typename AvailabilityZoneIdT = Aws::String>
239 UpdateFileSystemResult& WithAvailabilityZoneId(AvailabilityZoneIdT&& value) { SetAvailabilityZoneId(std::forward<AvailabilityZoneIdT>(value)); return *this;}
241
243
247 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
248 template<typename TagsT = Aws::Vector<Tag>>
249 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
250 template<typename TagsT = Aws::Vector<Tag>>
251 UpdateFileSystemResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
252 template<typename TagsT = Tag>
253 UpdateFileSystemResult& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
255
257
260 inline const FileSystemProtectionDescription& GetFileSystemProtection() const { return m_fileSystemProtection; }
261 template<typename FileSystemProtectionT = FileSystemProtectionDescription>
262 void SetFileSystemProtection(FileSystemProtectionT&& value) { m_fileSystemProtectionHasBeenSet = true; m_fileSystemProtection = std::forward<FileSystemProtectionT>(value); }
263 template<typename FileSystemProtectionT = FileSystemProtectionDescription>
264 UpdateFileSystemResult& WithFileSystemProtection(FileSystemProtectionT&& value) { SetFileSystemProtection(std::forward<FileSystemProtectionT>(value)); return *this;}
266
268
269 inline const Aws::String& GetRequestId() const { return m_requestId; }
270 template<typename RequestIdT = Aws::String>
271 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
272 template<typename RequestIdT = Aws::String>
273 UpdateFileSystemResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
275 private:
276
277 Aws::String m_ownerId;
278 bool m_ownerIdHasBeenSet = false;
279
280 Aws::String m_creationToken;
281 bool m_creationTokenHasBeenSet = false;
282
283 Aws::String m_fileSystemId;
284 bool m_fileSystemIdHasBeenSet = false;
285
286 Aws::String m_fileSystemArn;
287 bool m_fileSystemArnHasBeenSet = false;
288
289 Aws::Utils::DateTime m_creationTime{};
290 bool m_creationTimeHasBeenSet = false;
291
292 LifeCycleState m_lifeCycleState{LifeCycleState::NOT_SET};
293 bool m_lifeCycleStateHasBeenSet = false;
294
295 Aws::String m_name;
296 bool m_nameHasBeenSet = false;
297
298 int m_numberOfMountTargets{0};
299 bool m_numberOfMountTargetsHasBeenSet = false;
300
301 FileSystemSize m_sizeInBytes;
302 bool m_sizeInBytesHasBeenSet = false;
303
304 PerformanceMode m_performanceMode{PerformanceMode::NOT_SET};
305 bool m_performanceModeHasBeenSet = false;
306
307 bool m_encrypted{false};
308 bool m_encryptedHasBeenSet = false;
309
310 Aws::String m_kmsKeyId;
311 bool m_kmsKeyIdHasBeenSet = false;
312
313 ThroughputMode m_throughputMode{ThroughputMode::NOT_SET};
314 bool m_throughputModeHasBeenSet = false;
315
316 double m_provisionedThroughputInMibps{0.0};
317 bool m_provisionedThroughputInMibpsHasBeenSet = false;
318
319 Aws::String m_availabilityZoneName;
320 bool m_availabilityZoneNameHasBeenSet = false;
321
322 Aws::String m_availabilityZoneId;
323 bool m_availabilityZoneIdHasBeenSet = false;
324
325 Aws::Vector<Tag> m_tags;
326 bool m_tagsHasBeenSet = false;
327
328 FileSystemProtectionDescription m_fileSystemProtection;
329 bool m_fileSystemProtectionHasBeenSet = false;
330
331 Aws::String m_requestId;
332 bool m_requestIdHasBeenSet = false;
333 };
334
335} // namespace Model
336} // namespace EFS
337} // namespace Aws
UpdateFileSystemResult & WithName(NameT &&value)
AWS_EFS_API UpdateFileSystemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAvailabilityZoneName() const
UpdateFileSystemResult & WithRequestId(RequestIdT &&value)
UpdateFileSystemResult & WithSizeInBytes(SizeInBytesT &&value)
UpdateFileSystemResult & WithPerformanceMode(PerformanceMode value)
const Aws::Vector< Tag > & GetTags() const
UpdateFileSystemResult & WithCreationToken(CreationTokenT &&value)
const FileSystemSize & GetSizeInBytes() const
UpdateFileSystemResult & AddTags(TagsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
UpdateFileSystemResult & WithFileSystemProtection(FileSystemProtectionT &&value)
UpdateFileSystemResult & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
UpdateFileSystemResult & WithCreationTime(CreationTimeT &&value)
void SetAvailabilityZoneName(AvailabilityZoneNameT &&value)
UpdateFileSystemResult & WithKmsKeyId(KmsKeyIdT &&value)
UpdateFileSystemResult & WithEncrypted(bool value)
UpdateFileSystemResult & WithNumberOfMountTargets(int value)
UpdateFileSystemResult & WithFileSystemId(FileSystemIdT &&value)
const Aws::String & GetAvailabilityZoneId() const
AWS_EFS_API UpdateFileSystemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const FileSystemProtectionDescription & GetFileSystemProtection() const
void SetFileSystemArn(FileSystemArnT &&value)
UpdateFileSystemResult & WithOwnerId(OwnerIdT &&value)
void SetFileSystemProtection(FileSystemProtectionT &&value)
UpdateFileSystemResult & WithLifeCycleState(LifeCycleState value)
UpdateFileSystemResult & WithTags(TagsT &&value)
UpdateFileSystemResult & WithThroughputMode(ThroughputMode value)
AWS_EFS_API UpdateFileSystemResult()=default
UpdateFileSystemResult & WithAvailabilityZoneName(AvailabilityZoneNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateFileSystemResult & WithProvisionedThroughputInMibps(double value)
void SetCreationToken(CreationTokenT &&value)
UpdateFileSystemResult & WithFileSystemArn(FileSystemArnT &&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