AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
56 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
57 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
58 inline DefaultSpaceSettings& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
59 inline DefaultSpaceSettings& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
60 inline DefaultSpaceSettings& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
62
64
68 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
69 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
70 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
71 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
73 inline DefaultSpaceSettings& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
74 inline DefaultSpaceSettings& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
75 inline DefaultSpaceSettings& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
76 inline DefaultSpaceSettings& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
78
80
81 inline const JupyterServerAppSettings& GetJupyterServerAppSettings() const{ return m_jupyterServerAppSettings; }
82 inline bool JupyterServerAppSettingsHasBeenSet() const { return m_jupyterServerAppSettingsHasBeenSet; }
83 inline void SetJupyterServerAppSettings(const JupyterServerAppSettings& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = value; }
84 inline void SetJupyterServerAppSettings(JupyterServerAppSettings&& value) { m_jupyterServerAppSettingsHasBeenSet = true; m_jupyterServerAppSettings = std::move(value); }
88
90
91 inline const KernelGatewayAppSettings& GetKernelGatewayAppSettings() const{ return m_kernelGatewayAppSettings; }
92 inline bool KernelGatewayAppSettingsHasBeenSet() const { return m_kernelGatewayAppSettingsHasBeenSet; }
93 inline void SetKernelGatewayAppSettings(const KernelGatewayAppSettings& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = value; }
94 inline void SetKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { m_kernelGatewayAppSettingsHasBeenSet = true; m_kernelGatewayAppSettings = std::move(value); }
98
100
101 inline const JupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; }
102 inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; }
103 inline void SetJupyterLabAppSettings(const JupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; }
104 inline void SetJupyterLabAppSettings(JupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); }
108
110
111 inline const DefaultSpaceStorageSettings& GetSpaceStorageSettings() const{ return m_spaceStorageSettings; }
112 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
113 inline void SetSpaceStorageSettings(const DefaultSpaceStorageSettings& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = value; }
114 inline void SetSpaceStorageSettings(DefaultSpaceStorageSettings&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::move(value); }
118
120
121 inline const CustomPosixUserConfig& GetCustomPosixUserConfig() const{ return m_customPosixUserConfig; }
122 inline bool CustomPosixUserConfigHasBeenSet() const { return m_customPosixUserConfigHasBeenSet; }
123 inline void SetCustomPosixUserConfig(const CustomPosixUserConfig& value) { m_customPosixUserConfigHasBeenSet = true; m_customPosixUserConfig = value; }
124 inline void SetCustomPosixUserConfig(CustomPosixUserConfig&& value) { m_customPosixUserConfigHasBeenSet = true; m_customPosixUserConfig = std::move(value); }
128
130
134 inline const Aws::Vector<CustomFileSystemConfig>& GetCustomFileSystemConfigs() const{ return m_customFileSystemConfigs; }
135 inline bool CustomFileSystemConfigsHasBeenSet() const { return m_customFileSystemConfigsHasBeenSet; }
136 inline void SetCustomFileSystemConfigs(const Aws::Vector<CustomFileSystemConfig>& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs = value; }
137 inline void SetCustomFileSystemConfigs(Aws::Vector<CustomFileSystemConfig>&& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs = std::move(value); }
140 inline DefaultSpaceSettings& AddCustomFileSystemConfigs(const CustomFileSystemConfig& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs.push_back(value); return *this; }
141 inline DefaultSpaceSettings& AddCustomFileSystemConfigs(CustomFileSystemConfig&& value) { m_customFileSystemConfigsHasBeenSet = true; m_customFileSystemConfigs.push_back(std::move(value)); return *this; }
143 private:
144
145 Aws::String m_executionRole;
146 bool m_executionRoleHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_securityGroups;
149 bool m_securityGroupsHasBeenSet = false;
150
151 JupyterServerAppSettings m_jupyterServerAppSettings;
152 bool m_jupyterServerAppSettingsHasBeenSet = false;
153
154 KernelGatewayAppSettings m_kernelGatewayAppSettings;
155 bool m_kernelGatewayAppSettingsHasBeenSet = false;
156
157 JupyterLabAppSettings m_jupyterLabAppSettings;
158 bool m_jupyterLabAppSettingsHasBeenSet = false;
159
160 DefaultSpaceStorageSettings m_spaceStorageSettings;
161 bool m_spaceStorageSettingsHasBeenSet = false;
162
163 CustomPosixUserConfig m_customPosixUserConfig;
164 bool m_customPosixUserConfigHasBeenSet = false;
165
166 Aws::Vector<CustomFileSystemConfig> m_customFileSystemConfigs;
167 bool m_customFileSystemConfigsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SageMaker
172} // namespace Aws
DefaultSpaceSettings & WithCustomFileSystemConfigs(const Aws::Vector< CustomFileSystemConfig > &value)
void SetSpaceStorageSettings(DefaultSpaceStorageSettings &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
void SetExecutionRole(const Aws::String &value)
void SetCustomPosixUserConfig(const CustomPosixUserConfig &value)
DefaultSpaceSettings & WithSpaceStorageSettings(DefaultSpaceStorageSettings &&value)
void SetKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
DefaultSpaceSettings & WithSpaceStorageSettings(const DefaultSpaceStorageSettings &value)
DefaultSpaceSettings & AddSecurityGroups(const Aws::String &value)
void SetSpaceStorageSettings(const DefaultSpaceStorageSettings &value)
DefaultSpaceSettings & WithKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
void SetJupyterServerAppSettings(JupyterServerAppSettings &&value)
DefaultSpaceSettings & WithCustomPosixUserConfig(CustomPosixUserConfig &&value)
void SetCustomFileSystemConfigs(const Aws::Vector< CustomFileSystemConfig > &value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetJupyterLabAppSettings(const JupyterLabAppSettings &value)
const CustomPosixUserConfig & GetCustomPosixUserConfig() const
void SetCustomFileSystemConfigs(Aws::Vector< CustomFileSystemConfig > &&value)
DefaultSpaceSettings & AddSecurityGroups(const char *value)
DefaultSpaceSettings & WithJupyterLabAppSettings(const JupyterLabAppSettings &value)
DefaultSpaceSettings & AddSecurityGroups(Aws::String &&value)
const JupyterLabAppSettings & GetJupyterLabAppSettings() const
DefaultSpaceSettings & AddCustomFileSystemConfigs(const CustomFileSystemConfig &value)
void SetJupyterLabAppSettings(JupyterLabAppSettings &&value)
void SetJupyterServerAppSettings(const JupyterServerAppSettings &value)
DefaultSpaceSettings & WithJupyterServerAppSettings(JupyterServerAppSettings &&value)
DefaultSpaceSettings & WithExecutionRole(const char *value)
DefaultSpaceSettings & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
DefaultSpaceSettings & WithCustomFileSystemConfigs(Aws::Vector< CustomFileSystemConfig > &&value)
const Aws::Vector< CustomFileSystemConfig > & GetCustomFileSystemConfigs() const
DefaultSpaceSettings & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
void SetKernelGatewayAppSettings(const KernelGatewayAppSettings &value)
DefaultSpaceSettings & AddCustomFileSystemConfigs(CustomFileSystemConfig &&value)
const JupyterServerAppSettings & GetJupyterServerAppSettings() const
DefaultSpaceSettings & WithJupyterServerAppSettings(const JupyterServerAppSettings &value)
DefaultSpaceSettings & WithExecutionRole(Aws::String &&value)
DefaultSpaceSettings & WithExecutionRole(const Aws::String &value)
void SetCustomPosixUserConfig(CustomPosixUserConfig &&value)
DefaultSpaceSettings & WithKernelGatewayAppSettings(KernelGatewayAppSettings &&value)
DefaultSpaceSettings & WithCustomPosixUserConfig(const CustomPosixUserConfig &value)
const DefaultSpaceStorageSettings & GetSpaceStorageSettings() const
AWS_SAGEMAKER_API DefaultSpaceSettings(Aws::Utils::Json::JsonView jsonValue)
DefaultSpaceSettings & WithJupyterLabAppSettings(JupyterLabAppSettings &&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(const Aws::Vector< Aws::String > &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