AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/CustomFileSystem.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_SAGEMAKER_API SpaceSettings();
42 AWS_SAGEMAKER_API SpaceSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API SpaceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const{ return m_jupyterServerAppSettings; }
50 inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
51 inline void SetJupyterServerAppSettings(const JupyterServerAppSettings& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = value; }
52 inline void SetJupyterServerAppSettings(JupyterServerAppSettings&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::move(value); }
56
58
59 inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const{ return m_kernelGatewayAppSettings; }
60 inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
61 inline void SetKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = value; }
62 inline void SetKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::move(value); }
66
68
71 inline const SpaceCodeEditorAppSettings& GetCodeEditorAppSettings() const{ return m_codeEditorAppSettings; }
72 inline bool CodeEditorAppSettingsHasBeenSet() const { return m_codeEditorAppSettingsHasBeenSet; }
73 inline void SetCodeEditorAppSettings(const SpaceCodeEditorAppSettings& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = value; }
74 inline void SetCodeEditorAppSettings(SpaceCodeEditorAppSettings&& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = std::move(value); }
78
80
83 inline const SpaceJupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; }
84 inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; }
85 inline void SetJupyterLabAppSettings(const SpaceJupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; }
86 inline void SetJupyterLabAppSettings(SpaceJupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); }
90
92
95 inline const AppType& GetAppType() const{ return m_appType; }
96 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
97 inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
98 inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
99 inline SpaceSettings& WithAppType(const AppType& value) { SetAppType(value); return *this;}
100 inline SpaceSettings& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
102
104
107 inline const SpaceStorageSettings& GetSpaceStorageSettings() const{ return m_spaceStorageSettings; }
108 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
109 inline void SetSpaceStorageSettings(const SpaceStorageSettings& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = value; }
110 inline void SetSpaceStorageSettings(SpaceStorageSettings&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::move(value); }
112 inline SpaceSettings& WithSpaceStorageSettings(SpaceStorageSettings&& value) { SetSpaceStorageSettings(std::move(value)); return *this;}
114
116
121 inline const Aws::Vector<CustomFileSystem>& GetCustomFileSystems() const{ return m_customFileSystems; }
122 inline bool CustomFileSystemsHasBeenSet() const { return m_customFileSystemsHasBeenSet; }
123 inline void SetCustomFileSystems(const Aws::Vector<CustomFileSystem>& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems = value; }
124 inline void SetCustomFileSystems(Aws::Vector<CustomFileSystem>&& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems = std::move(value); }
127 inline SpaceSettings& AddCustomFileSystems(const CustomFileSystem& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems.push_back(value); return *this; }
128 inline SpaceSettings& AddCustomFileSystems(CustomFileSystem&& value) { m_customFileSystemsHasBeenSet = true; m_customFileSystems.push_back(std::move(value)); return *this; }
130 private:
131
132 JupyterServerAppSettings m_jupyterServerAppSettings;
133 bool m_jupyterServerAppSettingsHasBeenSet = false;
134
135 KernelGatewayAppSettings m_kernelGatewayAppSettings;
136 bool m_kernelGatewayAppSettingsHasBeenSet = false;
137
138 SpaceCodeEditorAppSettings m_codeEditorAppSettings;
139 bool m_codeEditorAppSettingsHasBeenSet = false;
140
141 SpaceJupyterLabAppSettings m_jupyterLabAppSettings;
142 bool m_jupyterLabAppSettingsHasBeenSet = false;
143
144 AppType m_appType;
145 bool m_appTypeHasBeenSet = false;
146
147 SpaceStorageSettings m_spaceStorageSettings;
148 bool m_spaceStorageSettingsHasBeenSet = false;
149
150 Aws::Vector<CustomFileSystem> m_customFileSystems;
151 bool m_customFileSystemsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace SageMaker
156} // namespace Aws
SpaceSettings & WithJupyterLabAppSettings(const SpaceJupyterLabAppSettings &value)
void SetJupyterLabAppSettings(SpaceJupyterLabAppSettings &&value)
SpaceSettings & WithAppType(const AppType &value)
SpaceSettings & WithJupyterLabAppSettings(SpaceJupyterLabAppSettings &&value)
void SetJupyterServerAppSettings(const JupyterServerAppSettings &value)
SpaceSettings & WithSpaceStorageSettings(SpaceStorageSettings &&value)
const Aws::Vector< CustomFileSystem > & GetCustomFileSystems() const
void SetJupyterServerAppSettings(JupyterServerAppSettings &&value)
void SetAppType(const AppType &value)
void SetSpaceStorageSettings(SpaceStorageSettings &&value)
SpaceSettings & WithKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
void SetSpaceStorageSettings(const SpaceStorageSettings &value)
SpaceSettings & AddCustomFileSystems(CustomFileSystem &&value)
SpaceSettings & WithCodeEditorAppSettings(const SpaceCodeEditorAppSettings &value)
SpaceSettings & WithJupyterServerAppSettings(JupyterServerAppSettings &&value)
void SetCustomFileSystems(const Aws::Vector< CustomFileSystem > &value)
const SpaceJupyterLabAppSettings & GetJupyterLabAppSettings() const
const KernelGatewayAppSettings & GetKernelGatewayAppSettings() const
AWS_SAGEMAKER_API SpaceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCodeEditorAppSettings(const SpaceCodeEditorAppSettings &value)
SpaceSettings & WithCustomFileSystems(const Aws::Vector< CustomFileSystem > &value)
SpaceSettings & WithJupyterServerAppSettings(const JupyterServerAppSettings &value)
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
const AppType & GetAppType() const
void SetKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
SpaceSettings & AddCustomFileSystems(const CustomFileSystem &value)
void SetKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
const SpaceStorageSettings & GetSpaceStorageSettings() const
void SetJupyterLabAppSettings(const SpaceJupyterLabAppSettings &value)
void SetCodeEditorAppSettings(SpaceCodeEditorAppSettings &&value)
const SpaceCodeEditorAppSettings & GetCodeEditorAppSettings() const
AWS_SAGEMAKER_API SpaceSettings(Aws::Utils::Json::JsonView jsonValue)
void SetCustomFileSystems(Aws::Vector< CustomFileSystem > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SpaceSettings & WithCustomFileSystems(Aws::Vector< CustomFileSystem > &&value)
SpaceSettings & WithSpaceStorageSettings(const SpaceStorageSettings &value)
SpaceSettings & WithCodeEditorAppSettings(SpaceCodeEditorAppSettings &&value)
SpaceSettings & WithAppType(AppType &&value)
SpaceSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue