AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
51 inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
53 inline JupyterLabAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(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 inline void SetCustomImages(const Aws::Vector<CustomImage>& value) { m_customImagesHasBeenSet = true; m_customImages = value; }
64 inline void SetCustomImages(Aws::Vector<CustomImage>&& value) { m_customImagesHasBeenSet = true; m_customImages = std::move(value); }
66 inline JupyterLabAppSettings& WithCustomImages(Aws::Vector<CustomImage>&& value) { SetCustomImages(std::move(value)); return *this;}
67 inline JupyterLabAppSettings& AddCustomImages(const CustomImage& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(value); return *this; }
68 inline JupyterLabAppSettings& AddCustomImages(CustomImage&& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(std::move(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 inline void SetLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; }
80 inline void SetLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); }
83 inline JupyterLabAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
84 inline JupyterLabAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; }
85 inline JupyterLabAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
87
89
93 inline const Aws::Vector<CodeRepository>& GetCodeRepositories() const{ return m_codeRepositories; }
94 inline bool CodeRepositoriesHasBeenSet() const { return m_codeRepositoriesHasBeenSet; }
95 inline void SetCodeRepositories(const Aws::Vector<CodeRepository>& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = value; }
96 inline void SetCodeRepositories(Aws::Vector<CodeRepository>&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = std::move(value); }
99 inline JupyterLabAppSettings& AddCodeRepositories(const CodeRepository& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(value); return *this; }
100 inline JupyterLabAppSettings& AddCodeRepositories(CodeRepository&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(std::move(value)); return *this; }
102
104
107 inline const AppLifecycleManagement& GetAppLifecycleManagement() const{ return m_appLifecycleManagement; }
108 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
109 inline void SetAppLifecycleManagement(const AppLifecycleManagement& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = value; }
110 inline void SetAppLifecycleManagement(AppLifecycleManagement&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::move(value); }
114
116
123 inline const EmrSettings& GetEmrSettings() const{ return m_emrSettings; }
124 inline bool EmrSettingsHasBeenSet() const { return m_emrSettingsHasBeenSet; }
125 inline void SetEmrSettings(const EmrSettings& value) { m_emrSettingsHasBeenSet = true; m_emrSettings = value; }
126 inline void SetEmrSettings(EmrSettings&& value) { m_emrSettingsHasBeenSet = true; m_emrSettings = std::move(value); }
127 inline JupyterLabAppSettings& WithEmrSettings(const EmrSettings& value) { SetEmrSettings(value); return *this;}
128 inline JupyterLabAppSettings& WithEmrSettings(EmrSettings&& value) { SetEmrSettings(std::move(value)); return *this;}
130
132
137 inline const Aws::String& GetBuiltInLifecycleConfigArn() const{ return m_builtInLifecycleConfigArn; }
138 inline bool BuiltInLifecycleConfigArnHasBeenSet() const { return m_builtInLifecycleConfigArnHasBeenSet; }
139 inline void SetBuiltInLifecycleConfigArn(const Aws::String& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = value; }
140 inline void SetBuiltInLifecycleConfigArn(Aws::String&& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = std::move(value); }
141 inline void SetBuiltInLifecycleConfigArn(const char* value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn.assign(value); }
144 inline JupyterLabAppSettings& WithBuiltInLifecycleConfigArn(const char* value) { SetBuiltInLifecycleConfigArn(value); return *this;}
146 private:
147
148 ResourceSpec m_defaultResourceSpec;
149 bool m_defaultResourceSpecHasBeenSet = false;
150
151 Aws::Vector<CustomImage> m_customImages;
152 bool m_customImagesHasBeenSet = false;
153
154 Aws::Vector<Aws::String> m_lifecycleConfigArns;
155 bool m_lifecycleConfigArnsHasBeenSet = false;
156
157 Aws::Vector<CodeRepository> m_codeRepositories;
158 bool m_codeRepositoriesHasBeenSet = false;
159
160 AppLifecycleManagement m_appLifecycleManagement;
161 bool m_appLifecycleManagementHasBeenSet = false;
162
163 EmrSettings m_emrSettings;
164 bool m_emrSettingsHasBeenSet = false;
165
166 Aws::String m_builtInLifecycleConfigArn;
167 bool m_builtInLifecycleConfigArnHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SageMaker
172} // namespace Aws
JupyterLabAppSettings & WithAppLifecycleManagement(const AppLifecycleManagement &value)
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
JupyterLabAppSettings & WithCustomImages(const Aws::Vector< CustomImage > &value)
JupyterLabAppSettings & WithEmrSettings(const EmrSettings &value)
JupyterLabAppSettings & WithCustomImages(Aws::Vector< CustomImage > &&value)
void SetCustomImages(const Aws::Vector< CustomImage > &value)
const Aws::Vector< CustomImage > & GetCustomImages() const
JupyterLabAppSettings & AddLifecycleConfigArns(Aws::String &&value)
JupyterLabAppSettings & WithBuiltInLifecycleConfigArn(const Aws::String &value)
void SetCodeRepositories(const Aws::Vector< CodeRepository > &value)
AWS_SAGEMAKER_API JupyterLabAppSettings(Aws::Utils::Json::JsonView jsonValue)
JupyterLabAppSettings & AddLifecycleConfigArns(const char *value)
JupyterLabAppSettings & WithBuiltInLifecycleConfigArn(const char *value)
void SetDefaultResourceSpec(const ResourceSpec &value)
JupyterLabAppSettings & WithBuiltInLifecycleConfigArn(Aws::String &&value)
const Aws::Vector< CodeRepository > & GetCodeRepositories() const
JupyterLabAppSettings & AddLifecycleConfigArns(const Aws::String &value)
void SetLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
AWS_SAGEMAKER_API JupyterLabAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JupyterLabAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
void SetBuiltInLifecycleConfigArn(const Aws::String &value)
JupyterLabAppSettings & AddCodeRepositories(const CodeRepository &value)
JupyterLabAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
JupyterLabAppSettings & WithCodeRepositories(const Aws::Vector< CodeRepository > &value)
void SetCustomImages(Aws::Vector< CustomImage > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
JupyterLabAppSettings & WithCodeRepositories(Aws::Vector< CodeRepository > &&value)
void SetLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
JupyterLabAppSettings & AddCodeRepositories(CodeRepository &&value)
void SetAppLifecycleManagement(AppLifecycleManagement &&value)
void SetCodeRepositories(Aws::Vector< CodeRepository > &&value)
JupyterLabAppSettings & WithLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
void SetAppLifecycleManagement(const AppLifecycleManagement &value)
JupyterLabAppSettings & AddCustomImages(const CustomImage &value)
JupyterLabAppSettings & WithLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
const AppLifecycleManagement & GetAppLifecycleManagement() const
JupyterLabAppSettings & WithEmrSettings(EmrSettings &&value)
JupyterLabAppSettings & AddCustomImages(CustomImage &&value)
JupyterLabAppSettings & WithAppLifecycleManagement(AppLifecycleManagement &&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