AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
JupyterLabAppSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ResourceSpec.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/AppLifecycleManagement.h>
11#include <aws/sagemaker/model/EmrSettings.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/sagemaker/model/CustomImage.h>
14#include <aws/sagemaker/model/CodeRepository.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_SAGEMAKER_API JupyterLabAppSettings() = default;
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
48 inline const ResourceSpec& GetDefaultResourceSpec() const { return m_defaultResourceSpec; }
49 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
50 template<typename DefaultResourceSpecT = ResourceSpec>
51 void SetDefaultResourceSpec(DefaultResourceSpecT&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::forward<DefaultResourceSpecT>(value); }
52 template<typename DefaultResourceSpecT = ResourceSpec>
53 JupyterLabAppSettings& WithDefaultResourceSpec(DefaultResourceSpecT&& value) { SetDefaultResourceSpec(std::forward<DefaultResourceSpecT>(value)); return *this;}
55
57
61 inline const Aws::Vector<CustomImage>& GetCustomImages() const { return m_customImages; }
62 inline bool CustomImagesHasBeenSet() const { return m_customImagesHasBeenSet; }
63 template<typename CustomImagesT = Aws::Vector<CustomImage>>
64 void SetCustomImages(CustomImagesT&& value) { m_customImagesHasBeenSet = true; m_customImages = std::forward<CustomImagesT>(value); }
65 template<typename CustomImagesT = Aws::Vector<CustomImage>>
66 JupyterLabAppSettings& WithCustomImages(CustomImagesT&& value) { SetCustomImages(std::forward<CustomImagesT>(value)); return *this;}
67 template<typename CustomImagesT = CustomImage>
68 JupyterLabAppSettings& AddCustomImages(CustomImagesT&& value) { m_customImagesHasBeenSet = true; m_customImages.emplace_back(std::forward<CustomImagesT>(value)); return *this; }
70
72
77 inline const Aws::Vector<Aws::String>& GetLifecycleConfigArns() const { return m_lifecycleConfigArns; }
78 inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; }
79 template<typename LifecycleConfigArnsT = Aws::Vector<Aws::String>>
80 void SetLifecycleConfigArns(LifecycleConfigArnsT&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::forward<LifecycleConfigArnsT>(value); }
81 template<typename LifecycleConfigArnsT = Aws::Vector<Aws::String>>
82 JupyterLabAppSettings& WithLifecycleConfigArns(LifecycleConfigArnsT&& value) { SetLifecycleConfigArns(std::forward<LifecycleConfigArnsT>(value)); return *this;}
83 template<typename LifecycleConfigArnsT = Aws::String>
84 JupyterLabAppSettings& AddLifecycleConfigArns(LifecycleConfigArnsT&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.emplace_back(std::forward<LifecycleConfigArnsT>(value)); return *this; }
86
88
92 inline const Aws::Vector<CodeRepository>& GetCodeRepositories() const { return m_codeRepositories; }
93 inline bool CodeRepositoriesHasBeenSet() const { return m_codeRepositoriesHasBeenSet; }
94 template<typename CodeRepositoriesT = Aws::Vector<CodeRepository>>
95 void SetCodeRepositories(CodeRepositoriesT&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = std::forward<CodeRepositoriesT>(value); }
96 template<typename CodeRepositoriesT = Aws::Vector<CodeRepository>>
97 JupyterLabAppSettings& WithCodeRepositories(CodeRepositoriesT&& value) { SetCodeRepositories(std::forward<CodeRepositoriesT>(value)); return *this;}
98 template<typename CodeRepositoriesT = CodeRepository>
99 JupyterLabAppSettings& AddCodeRepositories(CodeRepositoriesT&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.emplace_back(std::forward<CodeRepositoriesT>(value)); return *this; }
101
103
106 inline const AppLifecycleManagement& GetAppLifecycleManagement() const { return m_appLifecycleManagement; }
107 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
108 template<typename AppLifecycleManagementT = AppLifecycleManagement>
109 void SetAppLifecycleManagement(AppLifecycleManagementT&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::forward<AppLifecycleManagementT>(value); }
110 template<typename AppLifecycleManagementT = AppLifecycleManagement>
111 JupyterLabAppSettings& WithAppLifecycleManagement(AppLifecycleManagementT&& value) { SetAppLifecycleManagement(std::forward<AppLifecycleManagementT>(value)); return *this;}
113
115
122 inline const EmrSettings& GetEmrSettings() const { return m_emrSettings; }
123 inline bool EmrSettingsHasBeenSet() const { return m_emrSettingsHasBeenSet; }
124 template<typename EmrSettingsT = EmrSettings>
125 void SetEmrSettings(EmrSettingsT&& value) { m_emrSettingsHasBeenSet = true; m_emrSettings = std::forward<EmrSettingsT>(value); }
126 template<typename EmrSettingsT = EmrSettings>
127 JupyterLabAppSettings& WithEmrSettings(EmrSettingsT&& value) { SetEmrSettings(std::forward<EmrSettingsT>(value)); return *this;}
129
131
136 inline const Aws::String& GetBuiltInLifecycleConfigArn() const { return m_builtInLifecycleConfigArn; }
137 inline bool BuiltInLifecycleConfigArnHasBeenSet() const { return m_builtInLifecycleConfigArnHasBeenSet; }
138 template<typename BuiltInLifecycleConfigArnT = Aws::String>
139 void SetBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = std::forward<BuiltInLifecycleConfigArnT>(value); }
140 template<typename BuiltInLifecycleConfigArnT = Aws::String>
141 JupyterLabAppSettings& WithBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { SetBuiltInLifecycleConfigArn(std::forward<BuiltInLifecycleConfigArnT>(value)); return *this;}
143 private:
144
145 ResourceSpec m_defaultResourceSpec;
146 bool m_defaultResourceSpecHasBeenSet = false;
147
148 Aws::Vector<CustomImage> m_customImages;
149 bool m_customImagesHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_lifecycleConfigArns;
152 bool m_lifecycleConfigArnsHasBeenSet = false;
153
154 Aws::Vector<CodeRepository> m_codeRepositories;
155 bool m_codeRepositoriesHasBeenSet = false;
156
157 AppLifecycleManagement m_appLifecycleManagement;
158 bool m_appLifecycleManagementHasBeenSet = false;
159
160 EmrSettings m_emrSettings;
161 bool m_emrSettingsHasBeenSet = false;
162
163 Aws::String m_builtInLifecycleConfigArn;
164 bool m_builtInLifecycleConfigArnHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
JupyterLabAppSettings & AddLifecycleConfigArns(LifecycleConfigArnsT &&value)
JupyterLabAppSettings & WithAppLifecycleManagement(AppLifecycleManagementT &&value)
JupyterLabAppSettings & AddCustomImages(CustomImagesT &&value)
JupyterLabAppSettings & WithLifecycleConfigArns(LifecycleConfigArnsT &&value)
const Aws::Vector< CustomImage > & GetCustomImages() const
JupyterLabAppSettings & WithEmrSettings(EmrSettingsT &&value)
AWS_SAGEMAKER_API JupyterLabAppSettings(Aws::Utils::Json::JsonView jsonValue)
JupyterLabAppSettings & AddCodeRepositories(CodeRepositoriesT &&value)
JupyterLabAppSettings & WithBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT &&value)
void SetAppLifecycleManagement(AppLifecycleManagementT &&value)
const Aws::Vector< CodeRepository > & GetCodeRepositories() const
AWS_SAGEMAKER_API JupyterLabAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JupyterLabAppSettings & WithCustomImages(CustomImagesT &&value)
JupyterLabAppSettings & WithCodeRepositories(CodeRepositoriesT &&value)
void SetBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT &&value)
AWS_SAGEMAKER_API JupyterLabAppSettings()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLifecycleConfigArns(LifecycleConfigArnsT &&value)
JupyterLabAppSettings & WithDefaultResourceSpec(DefaultResourceSpecT &&value)
const AppLifecycleManagement & GetAppLifecycleManagement() const
void SetDefaultResourceSpec(DefaultResourceSpecT &&value)
void SetCodeRepositories(CodeRepositoriesT &&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