AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SpaceSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/JupyterServerAppSettings.h>
9#include <aws/sagemaker/model/KernelGatewayAppSettings.h>
10#include <aws/sagemaker/model/SpaceCodeEditorAppSettings.h>
11#include <aws/sagemaker/model/SpaceJupyterLabAppSettings.h>
12#include <aws/sagemaker/model/AppType.h>
13#include <aws/sagemaker/model/SpaceStorageSettings.h>
14#include <aws/sagemaker/model/FeatureStatus.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/sagemaker/model/CustomFileSystem.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_SAGEMAKER_API SpaceSettings() = default;
43 AWS_SAGEMAKER_API SpaceSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API SpaceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
50 inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const { return m_jupyterServerAppSettings; }
51 inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
52 template<typename JupyterServerAppSettingsT = JupyterServerAppSettings>
53 void SetJupyterServerAppSettings(JupyterServerAppSettingsT&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::forward<JupyterServerAppSettingsT>(value); }
54 template<typename JupyterServerAppSettingsT = JupyterServerAppSettings>
55 SpaceSettings& WithJupyterServerAppSettings(JupyterServerAppSettingsT&& value) { SetJupyterServerAppSettings(std::forward<JupyterServerAppSettingsT>(value)); return *this;}
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) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::forward<KernelGatewayAppSettingsT>(value); }
64 template<typename KernelGatewayAppSettingsT = KernelGatewayAppSettings>
65 SpaceSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettingsT&& value) { SetKernelGatewayAppSettings(std::forward<KernelGatewayAppSettingsT>(value)); return *this;}
67
69
72 inline const SpaceCodeEditorAppSettings& GetCodeEditorAppSettings() const { return m_codeEditorAppSettings; }
73 inline bool CodeEditorAppSettingsHasBeenSet() const { return m_codeEditorAppSettingsHasBeenSet; }
74 template<typename CodeEditorAppSettingsT = SpaceCodeEditorAppSettings>
75 void SetCodeEditorAppSettings(CodeEditorAppSettingsT&& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = std::forward<CodeEditorAppSettingsT>(value); }
76 template<typename CodeEditorAppSettingsT = SpaceCodeEditorAppSettings>
77 SpaceSettings& WithCodeEditorAppSettings(CodeEditorAppSettingsT&& value) { SetCodeEditorAppSettings(std::forward<CodeEditorAppSettingsT>(value)); return *this;}
79
81
84 inline const SpaceJupyterLabAppSettings& GetJupyterLabAppSettings() const { return m_jupyterLabAppSettings; }
85 inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; }
86 template<typename JupyterLabAppSettingsT = SpaceJupyterLabAppSettings>
87 void SetJupyterLabAppSettings(JupyterLabAppSettingsT&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::forward<JupyterLabAppSettingsT>(value); }
88 template<typename JupyterLabAppSettingsT = SpaceJupyterLabAppSettings>
89 SpaceSettings& WithJupyterLabAppSettings(JupyterLabAppSettingsT&& value) { SetJupyterLabAppSettings(std::forward<JupyterLabAppSettingsT>(value)); return *this;}
91
93
99 inline AppType GetAppType() const { return m_appType; }
100 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
101 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
102 inline SpaceSettings& WithAppType(AppType value) { SetAppType(value); return *this;}
104
106
109 inline const SpaceStorageSettings& GetSpaceStorageSettings() const { return m_spaceStorageSettings; }
110 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
111 template<typename SpaceStorageSettingsT = SpaceStorageSettings>
112 void SetSpaceStorageSettings(SpaceStorageSettingsT&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::forward<SpaceStorageSettingsT>(value); }
113 template<typename SpaceStorageSettingsT = SpaceStorageSettings>
114 SpaceSettings& WithSpaceStorageSettings(SpaceStorageSettingsT&& value) { SetSpaceStorageSettings(std::forward<SpaceStorageSettingsT>(value)); return *this;}
116
118
124 inline FeatureStatus GetSpaceManagedResources() const { return m_spaceManagedResources; }
125 inline bool SpaceManagedResourcesHasBeenSet() const { return m_spaceManagedResourcesHasBeenSet; }
126 inline void SetSpaceManagedResources(FeatureStatus value) { m_spaceManagedResourcesHasBeenSet = true; m_spaceManagedResources = value; }
129
131
136 inline const Aws::Vector<CustomFileSystem>& GetCustomFileSystems() const { return m_customFileSystems; }
137 inline bool CustomFileSystemsHasBeenSet() const { return m_customFileSystemsHasBeenSet; }
138 template<typename CustomFileSystemsT = Aws::Vector<CustomFileSystem>>
139 void SetCustomFileSystems(CustomFileSystemsT&& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems = std::forward<CustomFileSystemsT>(value); }
140 template<typename CustomFileSystemsT = Aws::Vector<CustomFileSystem>>
141 SpaceSettings& WithCustomFileSystems(CustomFileSystemsT&& value) { SetCustomFileSystems(std::forward<CustomFileSystemsT>(value)); return *this;}
142 template<typename CustomFileSystemsT = CustomFileSystem>
143 SpaceSettings& AddCustomFileSystems(CustomFileSystemsT&& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems.emplace_back(std::forward<CustomFileSystemsT>(value)); return *this; }
145
147
151 inline FeatureStatus GetRemoteAccess() const { return m_remoteAccess; }
152 inline bool RemoteAccessHasBeenSet() const { return m_remoteAccessHasBeenSet; }
153 inline void SetRemoteAccess(FeatureStatus value) { m_remoteAccessHasBeenSet = true; m_remoteAccess = value; }
154 inline SpaceSettings& WithRemoteAccess(FeatureStatus value) { SetRemoteAccess(value); return *this;}
156 private:
157
158 JupyterServerAppSettings m_jupyterServerAppSettings;
159 bool m_jupyterServerAppSettingsHasBeenSet = false;
160
161 KernelGatewayAppSettings m_kernelGatewayAppSettings;
162 bool m_kernelGatewayAppSettingsHasBeenSet = false;
163
164 SpaceCodeEditorAppSettings m_codeEditorAppSettings;
165 bool m_codeEditorAppSettingsHasBeenSet = false;
166
167 SpaceJupyterLabAppSettings m_jupyterLabAppSettings;
168 bool m_jupyterLabAppSettingsHasBeenSet = false;
169
170 AppType m_appType{AppType::NOT_SET};
171 bool m_appTypeHasBeenSet = false;
172
173 SpaceStorageSettings m_spaceStorageSettings;
174 bool m_spaceStorageSettingsHasBeenSet = false;
175
176 FeatureStatus m_spaceManagedResources{FeatureStatus::NOT_SET};
177 bool m_spaceManagedResourcesHasBeenSet = false;
178
179 Aws::Vector<CustomFileSystem> m_customFileSystems;
180 bool m_customFileSystemsHasBeenSet = false;
181
183 bool m_remoteAccessHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace SageMaker
188} // 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