AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DefaultSpaceSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/JupyterServerAppSettings.h>
11#include <aws/sagemaker/model/KernelGatewayAppSettings.h>
12#include <aws/sagemaker/model/JupyterLabAppSettings.h>
13#include <aws/sagemaker/model/DefaultSpaceStorageSettings.h>
14#include <aws/sagemaker/model/CustomPosixUserConfig.h>
15#include <aws/sagemaker/model/CustomFileSystemConfig.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
41 {
42 public:
43 AWS_SAGEMAKER_API DefaultSpaceSettings() = default;
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
54 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
55 template<typename ExecutionRoleT = Aws::String>
56 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
57 template<typename ExecutionRoleT = Aws::String>
58 DefaultSpaceSettings& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
60
62
66 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
67 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
68 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
69 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
70 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
71 DefaultSpaceSettings& WithSecurityGroups(SecurityGroupsT&& value) { SetSecurityGroups(std::forward<SecurityGroupsT>(value)); return *this;}
72 template<typename SecurityGroupsT = Aws::String>
73 DefaultSpaceSettings& AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value)); return *this; }
75
77
78 inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const { return m_jupyterServerAppSettings; }
79 inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
80 template<typename JupyterServerAppSettingsT = JupyterServerAppSettings>
81 void SetJupyterServerAppSettings(JupyterServerAppSettingsT&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::forward<JupyterServerAppSettingsT>(value); }
82 template<typename JupyterServerAppSettingsT = JupyterServerAppSettings>
83 DefaultSpaceSettings& WithJupyterServerAppSettings(JupyterServerAppSettingsT&& value) { SetJupyterServerAppSettings(std::forward<JupyterServerAppSettingsT>(value)); return *this;}
85
87
88 inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const { return m_kernelGatewayAppSettings; }
89 inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
90 template<typename KernelGatewayAppSettingsT = KernelGatewayAppSettings>
91 void SetKernelGatewayAppSettings(KernelGatewayAppSettingsT&& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::forward<KernelGatewayAppSettingsT>(value); }
92 template<typename KernelGatewayAppSettingsT = KernelGatewayAppSettings>
93 DefaultSpaceSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettingsT&& value) { SetKernelGatewayAppSettings(std::forward<KernelGatewayAppSettingsT>(value)); return *this;}
95
97
98 inline const JupyterLabAppSettings& GetJupyterLabAppSettings() const { return m_jupyterLabAppSettings; }
99 inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; }
100 template<typename JupyterLabAppSettingsT = JupyterLabAppSettings>
101 void SetJupyterLabAppSettings(JupyterLabAppSettingsT&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::forward<JupyterLabAppSettingsT>(value); }
102 template<typename JupyterLabAppSettingsT = JupyterLabAppSettings>
103 DefaultSpaceSettings& WithJupyterLabAppSettings(JupyterLabAppSettingsT&& value) { SetJupyterLabAppSettings(std::forward<JupyterLabAppSettingsT>(value)); return *this;}
105
107
108 inline const DefaultSpaceStorageSettings& GetSpaceStorageSettings() const { return m_spaceStorageSettings; }
109 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
110 template<typename SpaceStorageSettingsT = DefaultSpaceStorageSettings>
111 void SetSpaceStorageSettings(SpaceStorageSettingsT&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::forward<SpaceStorageSettingsT>(value); }
112 template<typename SpaceStorageSettingsT = DefaultSpaceStorageSettings>
113 DefaultSpaceSettings& WithSpaceStorageSettings(SpaceStorageSettingsT&& value) { SetSpaceStorageSettings(std::forward<SpaceStorageSettingsT>(value)); return *this;}
115
117
118 inline const CustomPosixUserConfig& GetCustomPosixUserConfig() const { return m_customPosixUserConfig; }
119 inline bool CustomPosixUserConfigHasBeenSet() const { return m_customPosixUserConfigHasBeenSet; }
120 template<typename CustomPosixUserConfigT = CustomPosixUserConfig>
121 void SetCustomPosixUserConfig(CustomPosixUserConfigT&& value) { m_customPosixUserConfigHasBeenSet = true; m_customPosixUserConfig = std::forward<CustomPosixUserConfigT>(value); }
122 template<typename CustomPosixUserConfigT = CustomPosixUserConfig>
123 DefaultSpaceSettings& WithCustomPosixUserConfig(CustomPosixUserConfigT&& value) { SetCustomPosixUserConfig(std::forward<CustomPosixUserConfigT>(value)); return *this;}
125
127
131 inline const Aws::Vector<CustomFileSystemConfig>& GetCustomFileSystemConfigs() const { return m_customFileSystemConfigs; }
132 inline bool CustomFileSystemConfigsHasBeenSet() const { return m_customFileSystemConfigsHasBeenSet; }
133 template<typename CustomFileSystemConfigsT = Aws::Vector<CustomFileSystemConfig>>
134 void SetCustomFileSystemConfigs(CustomFileSystemConfigsT&& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs = std::forward<CustomFileSystemConfigsT>(value); }
135 template<typename CustomFileSystemConfigsT = Aws::Vector<CustomFileSystemConfig>>
136 DefaultSpaceSettings& WithCustomFileSystemConfigs(CustomFileSystemConfigsT&& value) { SetCustomFileSystemConfigs(std::forward<CustomFileSystemConfigsT>(value)); return *this;}
137 template<typename CustomFileSystemConfigsT = CustomFileSystemConfig>
138 DefaultSpaceSettings& AddCustomFileSystemConfigs(CustomFileSystemConfigsT&& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs.emplace_back(std::forward<CustomFileSystemConfigsT>(value)); return *this; }
140 private:
141
142 Aws::String m_executionRole;
143 bool m_executionRoleHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_securityGroups;
146 bool m_securityGroupsHasBeenSet = false;
147
148 JupyterServerAppSettings m_jupyterServerAppSettings;
149 bool m_jupyterServerAppSettingsHasBeenSet = false;
150
151 KernelGatewayAppSettings m_kernelGatewayAppSettings;
152 bool m_kernelGatewayAppSettingsHasBeenSet = false;
153
154 JupyterLabAppSettings m_jupyterLabAppSettings;
155 bool m_jupyterLabAppSettingsHasBeenSet = false;
156
157 DefaultSpaceStorageSettings m_spaceStorageSettings;
158 bool m_spaceStorageSettingsHasBeenSet = false;
159
160 CustomPosixUserConfig m_customPosixUserConfig;
161 bool m_customPosixUserConfigHasBeenSet = false;
162
163 Aws::Vector<CustomFileSystemConfig> m_customFileSystemConfigs;
164 bool m_customFileSystemConfigsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
DefaultSpaceSettings & WithJupyterServerAppSettings(JupyterServerAppSettingsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
DefaultSpaceSettings & WithExecutionRole(ExecutionRoleT &&value)
DefaultSpaceSettings & WithSpaceStorageSettings(SpaceStorageSettingsT &&value)
const CustomPosixUserConfig & GetCustomPosixUserConfig() const
void SetKernelGatewayAppSettings(KernelGatewayAppSettingsT &&value)
DefaultSpaceSettings & WithCustomPosixUserConfig(CustomPosixUserConfigT &&value)
const JupyterLabAppSettings & GetJupyterLabAppSettings() const
DefaultSpaceSettings & WithCustomFileSystemConfigs(CustomFileSystemConfigsT &&value)
void SetJupyterServerAppSettings(JupyterServerAppSettingsT &&value)
void SetCustomFileSystemConfigs(CustomFileSystemConfigsT &&value)
void SetJupyterLabAppSettings(JupyterLabAppSettingsT &&value)
const Aws::Vector< CustomFileSystemConfig > & GetCustomFileSystemConfigs() const
DefaultSpaceSettings & AddSecurityGroups(SecurityGroupsT &&value)
AWS_SAGEMAKER_API DefaultSpaceSettings()=default
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
DefaultSpaceSettings & WithSecurityGroups(SecurityGroupsT &&value)
void SetSpaceStorageSettings(SpaceStorageSettingsT &&value)
DefaultSpaceSettings & AddCustomFileSystemConfigs(CustomFileSystemConfigsT &&value)
const DefaultSpaceStorageSettings & GetSpaceStorageSettings() const
AWS_SAGEMAKER_API DefaultSpaceSettings(Aws::Utils::Json::JsonView jsonValue)
DefaultSpaceSettings & WithJupyterLabAppSettings(JupyterLabAppSettingsT &&value)
DefaultSpaceSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettingsT &&value)
void SetCustomPosixUserConfig(CustomPosixUserConfigT &&value)
AWS_SAGEMAKER_API DefaultSpaceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const KernelGatewayAppSettings & GetKernelGatewayAppSettings() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecurityGroups(SecurityGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue