AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 UpdateFileSystemResult& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
57 inline UpdateFileSystemResult& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
58 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
70 inline UpdateFileSystemResult& WithCreationToken(Aws::String&& value) { SetCreationToken(std::move(value)); return *this;}
71 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
83 inline UpdateFileSystemResult& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
84 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithFileSystemArn(const Aws::String& value) { SetFileSystemArn(value); return *this;}
100 inline UpdateFileSystemResult& WithFileSystemArn(Aws::String&& value) { SetFileSystemArn(std::move(value)); return *this;}
101 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& 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 UpdateFileSystemResult& WithLifeCycleState(const LifeCycleState& value) { SetLifeCycleState(value); return *this;}
124 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithName(const Aws::String& value) { SetName(value); return *this;}
138 inline UpdateFileSystemResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
139 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithSizeInBytes(const FileSystemSize& value) { SetSizeInBytes(value); return *this;}
169 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& 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 UpdateFileSystemResult& 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 UpdateFileSystemResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
202 inline UpdateFileSystemResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
203 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
216 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
244 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
261 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
273 inline UpdateFileSystemResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
274 inline UpdateFileSystemResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
275 inline UpdateFileSystemResult& 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 UpdateFileSystemResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
296 inline UpdateFileSystemResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
297 inline UpdateFileSystemResult& 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
UpdateFileSystemResult & WithKmsKeyId(const char *value)
UpdateFileSystemResult & WithFileSystemId(const Aws::String &value)
UpdateFileSystemResult & WithFileSystemId(Aws::String &&value)
UpdateFileSystemResult & WithFileSystemArn(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetPerformanceMode(const PerformanceMode &value)
UpdateFileSystemResult & AddTags(const Tag &value)
void SetOwnerId(const Aws::String &value)
UpdateFileSystemResult & WithName(Aws::String &&value)
AWS_EFS_API UpdateFileSystemResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFileSystemResult & WithFileSystemId(const char *value)
UpdateFileSystemResult & WithPerformanceMode(const PerformanceMode &value)
void SetAvailabilityZoneName(const Aws::String &value)
const Aws::String & GetAvailabilityZoneName() const
void SetAvailabilityZoneId(const Aws::String &value)
UpdateFileSystemResult & WithTags(const Aws::Vector< Tag > &value)
const PerformanceMode & GetPerformanceMode() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
void SetCreationToken(const Aws::String &value)
UpdateFileSystemResult & WithOwnerId(const Aws::String &value)
UpdateFileSystemResult & WithRequestId(Aws::String &&value)
UpdateFileSystemResult & WithFileSystemProtection(const FileSystemProtectionDescription &value)
UpdateFileSystemResult & WithKmsKeyId(const Aws::String &value)
UpdateFileSystemResult & WithOwnerId(Aws::String &&value)
UpdateFileSystemResult & AddTags(Tag &&value)
const FileSystemSize & GetSizeInBytes() const
UpdateFileSystemResult & WithThroughputMode(const ThroughputMode &value)
UpdateFileSystemResult & WithOwnerId(const char *value)
UpdateFileSystemResult & WithPerformanceMode(PerformanceMode &&value)
void SetPerformanceMode(PerformanceMode &&value)
UpdateFileSystemResult & WithCreationToken(const Aws::String &value)
void SetRequestId(const Aws::String &value)
UpdateFileSystemResult & WithAvailabilityZoneId(Aws::String &&value)
UpdateFileSystemResult & WithAvailabilityZoneId(const char *value)
void SetThroughputMode(const ThroughputMode &value)
UpdateFileSystemResult & WithName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetFileSystemId(const Aws::String &value)
UpdateFileSystemResult & WithSizeInBytes(const FileSystemSize &value)
UpdateFileSystemResult & WithAvailabilityZoneName(Aws::String &&value)
void SetLifeCycleState(const LifeCycleState &value)
UpdateFileSystemResult & WithName(const char *value)
void SetFileSystemArn(const Aws::String &value)
UpdateFileSystemResult & WithSizeInBytes(FileSystemSize &&value)
const LifeCycleState & GetLifeCycleState() const
UpdateFileSystemResult & WithCreationTime(Aws::Utils::DateTime &&value)
UpdateFileSystemResult & WithEncrypted(bool value)
void SetCreationTime(Aws::Utils::DateTime &&value)
UpdateFileSystemResult & WithNumberOfMountTargets(int value)
UpdateFileSystemResult & WithFileSystemProtection(FileSystemProtectionDescription &&value)
UpdateFileSystemResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetFileSystemProtection(const FileSystemProtectionDescription &value)
UpdateFileSystemResult & WithCreationToken(const char *value)
UpdateFileSystemResult & WithRequestId(const Aws::String &value)
const Aws::String & GetAvailabilityZoneId() const
AWS_EFS_API UpdateFileSystemResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFileSystemResult & WithAvailabilityZoneId(const Aws::String &value)
UpdateFileSystemResult & WithLifeCycleState(const LifeCycleState &value)
const FileSystemProtectionDescription & GetFileSystemProtection() const
UpdateFileSystemResult & WithAvailabilityZoneName(const Aws::String &value)
UpdateFileSystemResult & WithKmsKeyId(Aws::String &&value)
UpdateFileSystemResult & WithTags(Aws::Vector< Tag > &&value)
UpdateFileSystemResult & WithFileSystemArn(Aws::String &&value)
UpdateFileSystemResult & WithFileSystemArn(const Aws::String &value)
UpdateFileSystemResult & WithCreationToken(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateFileSystemResult & WithAvailabilityZoneName(const char *value)
UpdateFileSystemResult & WithProvisionedThroughputInMibps(double value)
UpdateFileSystemResult & WithThroughputMode(ThroughputMode &&value)
void SetSizeInBytes(const FileSystemSize &value)
UpdateFileSystemResult & WithRequestId(const char *value)
void SetFileSystemProtection(FileSystemProtectionDescription &&value)
const ThroughputMode & GetThroughputMode() const
UpdateFileSystemResult & WithLifeCycleState(LifeCycleState &&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