AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateFileSystemRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/UpdateFileSystemWindowsConfiguration.h>
11#include <aws/fsx/model/UpdateFileSystemLustreConfiguration.h>
12#include <aws/fsx/model/UpdateFileSystemOntapConfiguration.h>
13#include <aws/fsx/model/UpdateFileSystemOpenZFSConfiguration.h>
14#include <aws/fsx/model/StorageType.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace FSx
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_FSX_API UpdateFileSystemRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "UpdateFileSystem"; }
41
42 AWS_FSX_API Aws::String SerializePayload() const override;
43
45
46
48
51 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
52 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
53 template<typename FileSystemIdT = Aws::String>
54 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
55 template<typename FileSystemIdT = Aws::String>
56 UpdateFileSystemRequest& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
58
60
65 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
66 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
67 template<typename ClientRequestTokenT = Aws::String>
68 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
69 template<typename ClientRequestTokenT = Aws::String>
70 UpdateFileSystemRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
72
74
111 inline int GetStorageCapacity() const { return m_storageCapacity; }
112 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
113 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
114 inline UpdateFileSystemRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
116
118
122 inline const UpdateFileSystemWindowsConfiguration& GetWindowsConfiguration() const { return m_windowsConfiguration; }
123 inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; }
124 template<typename WindowsConfigurationT = UpdateFileSystemWindowsConfiguration>
125 void SetWindowsConfiguration(WindowsConfigurationT&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::forward<WindowsConfigurationT>(value); }
126 template<typename WindowsConfigurationT = UpdateFileSystemWindowsConfiguration>
127 UpdateFileSystemRequest& WithWindowsConfiguration(WindowsConfigurationT&& value) { SetWindowsConfiguration(std::forward<WindowsConfigurationT>(value)); return *this;}
129
131
132 inline const UpdateFileSystemLustreConfiguration& GetLustreConfiguration() const { return m_lustreConfiguration; }
133 inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; }
134 template<typename LustreConfigurationT = UpdateFileSystemLustreConfiguration>
135 void SetLustreConfiguration(LustreConfigurationT&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::forward<LustreConfigurationT>(value); }
136 template<typename LustreConfigurationT = UpdateFileSystemLustreConfiguration>
137 UpdateFileSystemRequest& WithLustreConfiguration(LustreConfigurationT&& value) { SetLustreConfiguration(std::forward<LustreConfigurationT>(value)); return *this;}
139
141
142 inline const UpdateFileSystemOntapConfiguration& GetOntapConfiguration() const { return m_ontapConfiguration; }
143 inline bool OntapConfigurationHasBeenSet() const { return m_ontapConfigurationHasBeenSet; }
144 template<typename OntapConfigurationT = UpdateFileSystemOntapConfiguration>
145 void SetOntapConfiguration(OntapConfigurationT&& value) { m_ontapConfigurationHasBeenSet = true; m_ontapConfiguration = std::forward<OntapConfigurationT>(value); }
146 template<typename OntapConfigurationT = UpdateFileSystemOntapConfiguration>
147 UpdateFileSystemRequest& WithOntapConfiguration(OntapConfigurationT&& value) { SetOntapConfiguration(std::forward<OntapConfigurationT>(value)); return *this;}
149
151
154 inline const UpdateFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const { return m_openZFSConfiguration; }
155 inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; }
156 template<typename OpenZFSConfigurationT = UpdateFileSystemOpenZFSConfiguration>
157 void SetOpenZFSConfiguration(OpenZFSConfigurationT&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::forward<OpenZFSConfigurationT>(value); }
158 template<typename OpenZFSConfigurationT = UpdateFileSystemOpenZFSConfiguration>
159 UpdateFileSystemRequest& WithOpenZFSConfiguration(OpenZFSConfigurationT&& value) { SetOpenZFSConfiguration(std::forward<OpenZFSConfigurationT>(value)); return *this;}
161
163
164 inline StorageType GetStorageType() const { return m_storageType; }
165 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
166 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
169
171
176 inline const Aws::String& GetFileSystemTypeVersion() const { return m_fileSystemTypeVersion; }
177 inline bool FileSystemTypeVersionHasBeenSet() const { return m_fileSystemTypeVersionHasBeenSet; }
178 template<typename FileSystemTypeVersionT = Aws::String>
179 void SetFileSystemTypeVersion(FileSystemTypeVersionT&& value) { m_fileSystemTypeVersionHasBeenSet = true; m_fileSystemTypeVersion = std::forward<FileSystemTypeVersionT>(value); }
180 template<typename FileSystemTypeVersionT = Aws::String>
181 UpdateFileSystemRequest& WithFileSystemTypeVersion(FileSystemTypeVersionT&& value) { SetFileSystemTypeVersion(std::forward<FileSystemTypeVersionT>(value)); return *this;}
183 private:
184
185 Aws::String m_fileSystemId;
186 bool m_fileSystemIdHasBeenSet = false;
187
188 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
189 bool m_clientRequestTokenHasBeenSet = true;
190
191 int m_storageCapacity{0};
192 bool m_storageCapacityHasBeenSet = false;
193
194 UpdateFileSystemWindowsConfiguration m_windowsConfiguration;
195 bool m_windowsConfigurationHasBeenSet = false;
196
197 UpdateFileSystemLustreConfiguration m_lustreConfiguration;
198 bool m_lustreConfigurationHasBeenSet = false;
199
200 UpdateFileSystemOntapConfiguration m_ontapConfiguration;
201 bool m_ontapConfigurationHasBeenSet = false;
202
203 UpdateFileSystemOpenZFSConfiguration m_openZFSConfiguration;
204 bool m_openZFSConfigurationHasBeenSet = false;
205
206 StorageType m_storageType{StorageType::NOT_SET};
207 bool m_storageTypeHasBeenSet = false;
208
209 Aws::String m_fileSystemTypeVersion;
210 bool m_fileSystemTypeVersionHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace FSx
215} // namespace Aws
const UpdateFileSystemOntapConfiguration & GetOntapConfiguration() const
UpdateFileSystemRequest & WithFileSystemId(FileSystemIdT &&value)
void SetLustreConfiguration(LustreConfigurationT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
UpdateFileSystemRequest & WithLustreConfiguration(LustreConfigurationT &&value)
UpdateFileSystemRequest & WithOpenZFSConfiguration(OpenZFSConfigurationT &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFileSystemRequest & WithStorageCapacity(int value)
void SetOntapConfiguration(OntapConfigurationT &&value)
void SetWindowsConfiguration(WindowsConfigurationT &&value)
AWS_FSX_API UpdateFileSystemRequest()=default
const UpdateFileSystemOpenZFSConfiguration & GetOpenZFSConfiguration() const
UpdateFileSystemRequest & WithWindowsConfiguration(WindowsConfigurationT &&value)
UpdateFileSystemRequest & WithClientRequestToken(ClientRequestTokenT &&value)
UpdateFileSystemRequest & WithStorageType(StorageType value)
const UpdateFileSystemLustreConfiguration & GetLustreConfiguration() const
AWS_FSX_API Aws::String SerializePayload() const override
const UpdateFileSystemWindowsConfiguration & GetWindowsConfiguration() const
UpdateFileSystemRequest & WithFileSystemTypeVersion(FileSystemTypeVersionT &&value)
UpdateFileSystemRequest & WithOntapConfiguration(OntapConfigurationT &&value)
void SetOpenZFSConfiguration(OpenZFSConfigurationT &&value)
void SetFileSystemTypeVersion(FileSystemTypeVersionT &&value)
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String