AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteFileSystemRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/FSxRequest.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11#include <aws/fsx/model/DeleteFileSystemLustreConfiguration.h>
12#include <aws/fsx/model/DeleteFileSystemOpenZFSConfiguration.h>
13#include <aws/fsx/model/DeleteFileSystemWindowsConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace FSx {
19namespace Model {
20
28 public:
29 AWS_FSX_API DeleteFileSystemRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteFileSystem"; }
36
37 AWS_FSX_API Aws::String SerializePayload() const override;
38
40
42
45 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
46 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
47 template <typename FileSystemIdT = Aws::String>
48 void SetFileSystemId(FileSystemIdT&& value) {
49 m_fileSystemIdHasBeenSet = true;
50 m_fileSystemId = std::forward<FileSystemIdT>(value);
51 }
52 template <typename FileSystemIdT = Aws::String>
53 DeleteFileSystemRequest& WithFileSystemId(FileSystemIdT&& value) {
54 SetFileSystemId(std::forward<FileSystemIdT>(value));
55 return *this;
56 }
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) {
69 m_clientRequestTokenHasBeenSet = true;
70 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
71 }
72 template <typename ClientRequestTokenT = Aws::String>
73 DeleteFileSystemRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
74 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
75 return *this;
76 }
78
80
81 inline const DeleteFileSystemWindowsConfiguration& GetWindowsConfiguration() const { return m_windowsConfiguration; }
82 inline bool WindowsConfigurationHasBeenSet() const { return m_windowsConfigurationHasBeenSet; }
83 template <typename WindowsConfigurationT = DeleteFileSystemWindowsConfiguration>
84 void SetWindowsConfiguration(WindowsConfigurationT&& value) {
85 m_windowsConfigurationHasBeenSet = true;
86 m_windowsConfiguration = std::forward<WindowsConfigurationT>(value);
87 }
88 template <typename WindowsConfigurationT = DeleteFileSystemWindowsConfiguration>
89 DeleteFileSystemRequest& WithWindowsConfiguration(WindowsConfigurationT&& value) {
90 SetWindowsConfiguration(std::forward<WindowsConfigurationT>(value));
91 return *this;
92 }
94
96
97 inline const DeleteFileSystemLustreConfiguration& GetLustreConfiguration() const { return m_lustreConfiguration; }
98 inline bool LustreConfigurationHasBeenSet() const { return m_lustreConfigurationHasBeenSet; }
99 template <typename LustreConfigurationT = DeleteFileSystemLustreConfiguration>
100 void SetLustreConfiguration(LustreConfigurationT&& value) {
101 m_lustreConfigurationHasBeenSet = true;
102 m_lustreConfiguration = std::forward<LustreConfigurationT>(value);
103 }
104 template <typename LustreConfigurationT = DeleteFileSystemLustreConfiguration>
105 DeleteFileSystemRequest& WithLustreConfiguration(LustreConfigurationT&& value) {
106 SetLustreConfiguration(std::forward<LustreConfigurationT>(value));
107 return *this;
108 }
110
112
116 inline const DeleteFileSystemOpenZFSConfiguration& GetOpenZFSConfiguration() const { return m_openZFSConfiguration; }
117 inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; }
118 template <typename OpenZFSConfigurationT = DeleteFileSystemOpenZFSConfiguration>
119 void SetOpenZFSConfiguration(OpenZFSConfigurationT&& value) {
120 m_openZFSConfigurationHasBeenSet = true;
121 m_openZFSConfiguration = std::forward<OpenZFSConfigurationT>(value);
122 }
123 template <typename OpenZFSConfigurationT = DeleteFileSystemOpenZFSConfiguration>
124 DeleteFileSystemRequest& WithOpenZFSConfiguration(OpenZFSConfigurationT&& value) {
125 SetOpenZFSConfiguration(std::forward<OpenZFSConfigurationT>(value));
126 return *this;
127 }
129 private:
130 Aws::String m_fileSystemId;
131
132 Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()};
133
134 DeleteFileSystemWindowsConfiguration m_windowsConfiguration;
135
136 DeleteFileSystemLustreConfiguration m_lustreConfiguration;
137
138 DeleteFileSystemOpenZFSConfiguration m_openZFSConfiguration;
139 bool m_fileSystemIdHasBeenSet = false;
140 bool m_clientRequestTokenHasBeenSet = true;
141 bool m_windowsConfigurationHasBeenSet = false;
142 bool m_lustreConfigurationHasBeenSet = false;
143 bool m_openZFSConfigurationHasBeenSet = false;
144};
145
146} // namespace Model
147} // namespace FSx
148} // 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