AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SpaceSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/AppType.h>
10#include <aws/sagemaker/model/CustomFileSystem.h>
11#include <aws/sagemaker/model/FeatureStatus.h>
12#include <aws/sagemaker/model/JupyterServerAppSettings.h>
13#include <aws/sagemaker/model/KernelGatewayAppSettings.h>
14#include <aws/sagemaker/model/SpaceCodeEditorAppSettings.h>
15#include <aws/sagemaker/model/SpaceJupyterLabAppSettings.h>
16#include <aws/sagemaker/model/SpaceStorageSettings.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
29
36 public:
37 AWS_SAGEMAKER_API SpaceSettings() = default;
38 AWS_SAGEMAKER_API SpaceSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API SpaceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
44 inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const { return m_jupyterServerAppSettings; }
45 inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
46 template <typename JupyterServerAppSettingsT = JupyterServerAppSettings>
47 void SetJupyterServerAppSettings(JupyterServerAppSettingsT&& value) {
48 m_jupyterServerAppSettingsHasBeenSet = true;
49 m_jupyterServerAppSettings = std::forward<JupyterServerAppSettingsT>(value);
50 }
51 template <typename JupyterServerAppSettingsT = JupyterServerAppSettings>
52 SpaceSettings& WithJupyterServerAppSettings(JupyterServerAppSettingsT&& value) {
53 SetJupyterServerAppSettings(std::forward<JupyterServerAppSettingsT>(value));
54 return *this;
55 }
57
59
60 inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const { return m_kernelGatewayAppSettings; }
61 inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
62 template <typename KernelGatewayAppSettingsT = KernelGatewayAppSettings>
63 void SetKernelGatewayAppSettings(KernelGatewayAppSettingsT&& value) {
64 m_kernelGatewayAppSettingsHasBeenSet = true;
65 m_kernelGatewayAppSettings = std::forward<KernelGatewayAppSettingsT>(value);
66 }
67 template <typename KernelGatewayAppSettingsT = KernelGatewayAppSettings>
68 SpaceSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettingsT&& value) {
69 SetKernelGatewayAppSettings(std::forward<KernelGatewayAppSettingsT>(value));
70 return *this;
71 }
73
75
78 inline const SpaceCodeEditorAppSettings& GetCodeEditorAppSettings() const { return m_codeEditorAppSettings; }
79 inline bool CodeEditorAppSettingsHasBeenSet() const { return m_codeEditorAppSettingsHasBeenSet; }
80 template <typename CodeEditorAppSettingsT = SpaceCodeEditorAppSettings>
81 void SetCodeEditorAppSettings(CodeEditorAppSettingsT&& value) {
82 m_codeEditorAppSettingsHasBeenSet = true;
83 m_codeEditorAppSettings = std::forward<CodeEditorAppSettingsT>(value);
84 }
85 template <typename CodeEditorAppSettingsT = SpaceCodeEditorAppSettings>
86 SpaceSettings& WithCodeEditorAppSettings(CodeEditorAppSettingsT&& value) {
87 SetCodeEditorAppSettings(std::forward<CodeEditorAppSettingsT>(value));
88 return *this;
89 }
91
93
96 inline const SpaceJupyterLabAppSettings& GetJupyterLabAppSettings() const { return m_jupyterLabAppSettings; }
97 inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; }
98 template <typename JupyterLabAppSettingsT = SpaceJupyterLabAppSettings>
99 void SetJupyterLabAppSettings(JupyterLabAppSettingsT&& value) {
100 m_jupyterLabAppSettingsHasBeenSet = true;
101 m_jupyterLabAppSettings = std::forward<JupyterLabAppSettingsT>(value);
102 }
103 template <typename JupyterLabAppSettingsT = SpaceJupyterLabAppSettings>
104 SpaceSettings& WithJupyterLabAppSettings(JupyterLabAppSettingsT&& value) {
105 SetJupyterLabAppSettings(std::forward<JupyterLabAppSettingsT>(value));
106 return *this;
107 }
109
111
117 inline AppType GetAppType() const { return m_appType; }
118 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
119 inline void SetAppType(AppType value) {
120 m_appTypeHasBeenSet = true;
121 m_appType = value;
122 }
124 SetAppType(value);
125 return *this;
126 }
128
130
133 inline const SpaceStorageSettings& GetSpaceStorageSettings() const { return m_spaceStorageSettings; }
134 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
135 template <typename SpaceStorageSettingsT = SpaceStorageSettings>
136 void SetSpaceStorageSettings(SpaceStorageSettingsT&& value) {
137 m_spaceStorageSettingsHasBeenSet = true;
138 m_spaceStorageSettings = std::forward<SpaceStorageSettingsT>(value);
139 }
140 template <typename SpaceStorageSettingsT = SpaceStorageSettings>
141 SpaceSettings& WithSpaceStorageSettings(SpaceStorageSettingsT&& value) {
142 SetSpaceStorageSettings(std::forward<SpaceStorageSettingsT>(value));
143 return *this;
144 }
146
148
154 inline FeatureStatus GetSpaceManagedResources() const { return m_spaceManagedResources; }
155 inline bool SpaceManagedResourcesHasBeenSet() const { return m_spaceManagedResourcesHasBeenSet; }
157 m_spaceManagedResourcesHasBeenSet = true;
158 m_spaceManagedResources = value;
159 }
162 return *this;
163 }
165
167
172 inline const Aws::Vector<CustomFileSystem>& GetCustomFileSystems() const { return m_customFileSystems; }
173 inline bool CustomFileSystemsHasBeenSet() const { return m_customFileSystemsHasBeenSet; }
174 template <typename CustomFileSystemsT = Aws::Vector<CustomFileSystem>>
175 void SetCustomFileSystems(CustomFileSystemsT&& value) {
176 m_customFileSystemsHasBeenSet = true;
177 m_customFileSystems = std::forward<CustomFileSystemsT>(value);
178 }
179 template <typename CustomFileSystemsT = Aws::Vector<CustomFileSystem>>
180 SpaceSettings& WithCustomFileSystems(CustomFileSystemsT&& value) {
181 SetCustomFileSystems(std::forward<CustomFileSystemsT>(value));
182 return *this;
183 }
184 template <typename CustomFileSystemsT = CustomFileSystem>
185 SpaceSettings& AddCustomFileSystems(CustomFileSystemsT&& value) {
186 m_customFileSystemsHasBeenSet = true;
187 m_customFileSystems.emplace_back(std::forward<CustomFileSystemsT>(value));
188 return *this;
189 }
191
193
197 inline FeatureStatus GetRemoteAccess() const { return m_remoteAccess; }
198 inline bool RemoteAccessHasBeenSet() const { return m_remoteAccessHasBeenSet; }
199 inline void SetRemoteAccess(FeatureStatus value) {
200 m_remoteAccessHasBeenSet = true;
201 m_remoteAccess = value;
202 }
204 SetRemoteAccess(value);
205 return *this;
206 }
208 private:
209 JupyterServerAppSettings m_jupyterServerAppSettings;
210
211 KernelGatewayAppSettings m_kernelGatewayAppSettings;
212
213 SpaceCodeEditorAppSettings m_codeEditorAppSettings;
214
215 SpaceJupyterLabAppSettings m_jupyterLabAppSettings;
216
217 AppType m_appType{AppType::NOT_SET};
218
219 SpaceStorageSettings m_spaceStorageSettings;
220
221 FeatureStatus m_spaceManagedResources{FeatureStatus::NOT_SET};
222
223 Aws::Vector<CustomFileSystem> m_customFileSystems;
224
226 bool m_jupyterServerAppSettingsHasBeenSet = false;
227 bool m_kernelGatewayAppSettingsHasBeenSet = false;
228 bool m_codeEditorAppSettingsHasBeenSet = false;
229 bool m_jupyterLabAppSettingsHasBeenSet = false;
230 bool m_appTypeHasBeenSet = false;
231 bool m_spaceStorageSettingsHasBeenSet = false;
232 bool m_spaceManagedResourcesHasBeenSet = false;
233 bool m_customFileSystemsHasBeenSet = false;
234 bool m_remoteAccessHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace SageMaker
239} // namespace Aws
void SetRemoteAccess(FeatureStatus value)
FeatureStatus GetRemoteAccess() const
void SetSpaceManagedResources(FeatureStatus value)
const Aws::Vector< CustomFileSystem > & GetCustomFileSystems() const
void SetJupyterServerAppSettings(JupyterServerAppSettingsT &&value)
SpaceSettings & WithJupyterServerAppSettings(JupyterServerAppSettingsT &&value)
void SetCustomFileSystems(CustomFileSystemsT &&value)
SpaceSettings & WithJupyterLabAppSettings(JupyterLabAppSettingsT &&value)
void SetKernelGatewayAppSettings(KernelGatewayAppSettingsT &&value)
void SetJupyterLabAppSettings(JupyterLabAppSettingsT &&value)
SpaceSettings & WithSpaceManagedResources(FeatureStatus value)
const SpaceJupyterLabAppSettings & GetJupyterLabAppSettings() const
const KernelGatewayAppSettings & GetKernelGatewayAppSettings() const
AWS_SAGEMAKER_API SpaceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SpaceSettings & AddCustomFileSystems(CustomFileSystemsT &&value)
AWS_SAGEMAKER_API SpaceSettings()=default
SpaceSettings & WithCustomFileSystems(CustomFileSystemsT &&value)
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
void SetCodeEditorAppSettings(CodeEditorAppSettingsT &&value)
const SpaceStorageSettings & GetSpaceStorageSettings() const
SpaceSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettingsT &&value)
SpaceSettings & WithCodeEditorAppSettings(CodeEditorAppSettingsT &&value)
SpaceSettings & WithAppType(AppType value)
const SpaceCodeEditorAppSettings & GetCodeEditorAppSettings() const
void SetSpaceStorageSettings(SpaceStorageSettingsT &&value)
AWS_SAGEMAKER_API SpaceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FeatureStatus GetSpaceManagedResources() const
SpaceSettings & WithRemoteAccess(FeatureStatus value)
SpaceSettings & WithSpaceStorageSettings(SpaceStorageSettingsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue