AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
54 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
55 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
56 inline UpdateFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
57 inline UpdateFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
58 inline UpdateFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
60
62
67 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
68 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
69 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
70 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
71 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
73 inline UpdateFileSystemRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
74 inline UpdateFileSystemRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
76
78
115 inline int GetStorageCapacity() const{ return m_storageCapacity; }
116 inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; }
117 inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; }
118 inline UpdateFileSystemRequest& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;}
120
122
126 inline const UpdateFileSystemWindowsConfiguration& GetWindowsConfiguration() const{ return m_windowsConfiguration; }
127 inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; }
128 inline void SetWindowsConfiguration(const UpdateFileSystemWindowsConfiguration& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = value; }
129 inline void SetWindowsConfiguration(UpdateFileSystemWindowsConfiguration&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::move(value); }
133
135
136 inline const UpdateFileSystemLustreConfiguration& GetLustreConfiguration() const{ return m_lustreConfiguration; }
137 inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; }
138 inline void SetLustreConfiguration(const UpdateFileSystemLustreConfiguration& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = value; }
139 inline void SetLustreConfiguration(UpdateFileSystemLustreConfiguration&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::move(value); }
143
145
146 inline const UpdateFileSystemOntapConfiguration& GetOntapConfiguration() const{ return m_ontapConfiguration; }
147 inline bool OntapConfigurationHasBeenSet() const { return m_ontapConfigurationHasBeenSet; }
148 inline void SetOntapConfiguration(const UpdateFileSystemOntapConfiguration& value) { m_ontapConfigurationHasBeenSet = true; m_ontapConfiguration = value; }
149 inline void SetOntapConfiguration(UpdateFileSystemOntapConfiguration&& value) { m_ontapConfigurationHasBeenSet = true; m_ontapConfiguration = std::move(value); }
153
155
158 inline const UpdateFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const{ return m_openZFSConfiguration; }
159 inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; }
160 inline void SetOpenZFSConfiguration(const UpdateFileSystemOpenZFSConfiguration& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = value; }
161 inline void SetOpenZFSConfiguration(UpdateFileSystemOpenZFSConfiguration&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::move(value); }
165
167
168 inline const StorageType& GetStorageType() const{ return m_storageType; }
169 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
170 inline void SetStorageType(const StorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
171 inline void SetStorageType(StorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
172 inline UpdateFileSystemRequest& WithStorageType(const StorageType& value) { SetStorageType(value); return *this;}
173 inline UpdateFileSystemRequest& WithStorageType(StorageType&& value) { SetStorageType(std::move(value)); return *this;}
175 private:
176
177 Aws::String m_fileSystemId;
178 bool m_fileSystemIdHasBeenSet = false;
179
180 Aws::String m_clientRequestToken;
181 bool m_clientRequestTokenHasBeenSet = false;
182
183 int m_storageCapacity;
184 bool m_storageCapacityHasBeenSet = false;
185
186 UpdateFileSystemWindowsConfiguration m_windowsConfiguration;
187 bool m_windowsConfigurationHasBeenSet = false;
188
189 UpdateFileSystemLustreConfiguration m_lustreConfiguration;
190 bool m_lustreConfigurationHasBeenSet = false;
191
192 UpdateFileSystemOntapConfiguration m_ontapConfiguration;
193 bool m_ontapConfigurationHasBeenSet = false;
194
195 UpdateFileSystemOpenZFSConfiguration m_openZFSConfiguration;
196 bool m_openZFSConfigurationHasBeenSet = false;
197
198 StorageType m_storageType;
199 bool m_storageTypeHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace FSx
204} // namespace Aws
void SetOpenZFSConfiguration(const UpdateFileSystemOpenZFSConfiguration &value)
UpdateFileSystemRequest & WithClientRequestToken(const Aws::String &value)
UpdateFileSystemRequest & WithLustreConfiguration(const UpdateFileSystemLustreConfiguration &value)
void SetClientRequestToken(const Aws::String &value)
UpdateFileSystemRequest & WithOpenZFSConfiguration(const UpdateFileSystemOpenZFSConfiguration &value)
const UpdateFileSystemOntapConfiguration & GetOntapConfiguration() const
UpdateFileSystemRequest & WithLustreConfiguration(UpdateFileSystemLustreConfiguration &&value)
void SetWindowsConfiguration(const UpdateFileSystemWindowsConfiguration &value)
void SetOpenZFSConfiguration(UpdateFileSystemOpenZFSConfiguration &&value)
UpdateFileSystemRequest & WithFileSystemId(const char *value)
void SetFileSystemId(const Aws::String &value)
UpdateFileSystemRequest & WithClientRequestToken(Aws::String &&value)
void SetOntapConfiguration(UpdateFileSystemOntapConfiguration &&value)
UpdateFileSystemRequest & WithStorageType(StorageType &&value)
UpdateFileSystemRequest & WithFileSystemId(const Aws::String &value)
UpdateFileSystemRequest & WithOpenZFSConfiguration(UpdateFileSystemOpenZFSConfiguration &&value)
UpdateFileSystemRequest & WithOntapConfiguration(const UpdateFileSystemOntapConfiguration &value)
void SetLustreConfiguration(const UpdateFileSystemLustreConfiguration &value)
UpdateFileSystemRequest & WithOntapConfiguration(UpdateFileSystemOntapConfiguration &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFileSystemRequest & WithWindowsConfiguration(UpdateFileSystemWindowsConfiguration &&value)
UpdateFileSystemRequest & WithStorageCapacity(int value)
UpdateFileSystemRequest & WithClientRequestToken(const char *value)
UpdateFileSystemRequest & WithWindowsConfiguration(const UpdateFileSystemWindowsConfiguration &value)
const UpdateFileSystemOpenZFSConfiguration & GetOpenZFSConfiguration() const
UpdateFileSystemRequest & WithStorageType(const StorageType &value)
void SetOntapConfiguration(const UpdateFileSystemOntapConfiguration &value)
const UpdateFileSystemLustreConfiguration & GetLustreConfiguration() const
AWS_FSX_API Aws::String SerializePayload() const override
const UpdateFileSystemWindowsConfiguration & GetWindowsConfiguration() const
void SetWindowsConfiguration(UpdateFileSystemWindowsConfiguration &&value)
UpdateFileSystemRequest & WithFileSystemId(Aws::String &&value)
void SetLustreConfiguration(UpdateFileSystemLustreConfiguration &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String