AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteFileSystemRequest.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/DeleteFileSystemWindowsConfiguration.h>
11#include <aws/fsx/model/DeleteFileSystemLustreConfiguration.h>
12#include <aws/fsx/model/DeleteFileSystemOpenZFSConfiguration.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace FSx
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_FSX_API DeleteFileSystemRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "DeleteFileSystem"; }
39
40 AWS_FSX_API Aws::String SerializePayload() const override;
41
43
44
46
49 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
50 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
51 template<typename FileSystemIdT = Aws::String>
52 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
53 template<typename FileSystemIdT = Aws::String>
54 DeleteFileSystemRequest& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
56
58
63 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
64 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
65 template<typename ClientRequestTokenT = Aws::String>
66 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
67 template<typename ClientRequestTokenT = Aws::String>
68 DeleteFileSystemRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
70
72
73 inline const DeleteFileSystemWindowsConfiguration& GetWindowsConfiguration() const { return m_windowsConfiguration; }
74 inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; }
75 template<typename WindowsConfigurationT = DeleteFileSystemWindowsConfiguration>
76 void SetWindowsConfiguration(WindowsConfigurationT&& value) { m_windowsConfigurationHasBeenSet = true; m_windowsConfiguration = std::forward<WindowsConfigurationT>(value); }
77 template<typename WindowsConfigurationT = DeleteFileSystemWindowsConfiguration>
78 DeleteFileSystemRequest& WithWindowsConfiguration(WindowsConfigurationT&& value) { SetWindowsConfiguration(std::forward<WindowsConfigurationT>(value)); return *this;}
80
82
83 inline const DeleteFileSystemLustreConfiguration& GetLustreConfiguration() const { return m_lustreConfiguration; }
84 inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; }
85 template<typename LustreConfigurationT = DeleteFileSystemLustreConfiguration>
86 void SetLustreConfiguration(LustreConfigurationT&& value) { m_lustreConfigurationHasBeenSet = true; m_lustreConfiguration = std::forward<LustreConfigurationT>(value); }
87 template<typename LustreConfigurationT = DeleteFileSystemLustreConfiguration>
88 DeleteFileSystemRequest& WithLustreConfiguration(LustreConfigurationT&& value) { SetLustreConfiguration(std::forward<LustreConfigurationT>(value)); return *this;}
90
92
96 inline const DeleteFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const { return m_openZFSConfiguration; }
97 inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; }
98 template<typename OpenZFSConfigurationT = DeleteFileSystemOpenZFSConfiguration>
99 void SetOpenZFSConfiguration(OpenZFSConfigurationT&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::forward<OpenZFSConfigurationT>(value); }
100 template<typename OpenZFSConfigurationT = DeleteFileSystemOpenZFSConfiguration>
101 DeleteFileSystemRequest& WithOpenZFSConfiguration(OpenZFSConfigurationT&& value) { SetOpenZFSConfiguration(std::forward<OpenZFSConfigurationT>(value)); return *this;}
103 private:
104
105 Aws::String m_fileSystemId;
106 bool m_fileSystemIdHasBeenSet = false;
107
108 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
109 bool m_clientRequestTokenHasBeenSet = true;
110
111 DeleteFileSystemWindowsConfiguration m_windowsConfiguration;
112 bool m_windowsConfigurationHasBeenSet = false;
113
114 DeleteFileSystemLustreConfiguration m_lustreConfiguration;
115 bool m_lustreConfigurationHasBeenSet = false;
116
117 DeleteFileSystemOpenZFSConfiguration m_openZFSConfiguration;
118 bool m_openZFSConfigurationHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace FSx
123} // namespace Aws
DeleteFileSystemRequest & WithOpenZFSConfiguration(OpenZFSConfigurationT &&value)
const DeleteFileSystemOpenZFSConfiguration & GetOpenZFSConfiguration() const
AWS_FSX_API DeleteFileSystemRequest()=default
void SetLustreConfiguration(LustreConfigurationT &&value)
DeleteFileSystemRequest & WithClientRequestToken(ClientRequestTokenT &&value)
DeleteFileSystemRequest & WithFileSystemId(FileSystemIdT &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetWindowsConfiguration(WindowsConfigurationT &&value)
void SetOpenZFSConfiguration(OpenZFSConfigurationT &&value)
DeleteFileSystemRequest & WithWindowsConfiguration(WindowsConfigurationT &&value)
AWS_FSX_API Aws::String SerializePayload() const override
const DeleteFileSystemWindowsConfiguration & GetWindowsConfiguration() const
virtual const char * GetServiceRequestName() const override
DeleteFileSystemRequest & WithLustreConfiguration(LustreConfigurationT &&value)
const DeleteFileSystemLustreConfiguration & GetLustreConfiguration() const
void SetClientRequestToken(ClientRequestTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String