AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SpaceJupyterLabAppSettings.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/SpaceAppLifecycleManagement.h>
11#include <aws/sagemaker/model/CodeRepository.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API SpaceJupyterLabAppSettings() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const ResourceSpec& GetDefaultResourceSpec() const { return m_defaultResourceSpec; }
47 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
48 template<typename DefaultResourceSpecT = ResourceSpec>
49 void SetDefaultResourceSpec(DefaultResourceSpecT&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::forward<DefaultResourceSpecT>(value); }
50 template<typename DefaultResourceSpecT = ResourceSpec>
51 SpaceJupyterLabAppSettings& WithDefaultResourceSpec(DefaultResourceSpecT&& value) { SetDefaultResourceSpec(std::forward<DefaultResourceSpecT>(value)); return *this;}
53
55
59 inline const Aws::Vector<CodeRepository>& GetCodeRepositories() const { return m_codeRepositories; }
60 inline bool CodeRepositoriesHasBeenSet() const { return m_codeRepositoriesHasBeenSet; }
61 template<typename CodeRepositoriesT = Aws::Vector<CodeRepository>>
62 void SetCodeRepositories(CodeRepositoriesT&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = std::forward<CodeRepositoriesT>(value); }
63 template<typename CodeRepositoriesT = Aws::Vector<CodeRepository>>
64 SpaceJupyterLabAppSettings& WithCodeRepositories(CodeRepositoriesT&& value) { SetCodeRepositories(std::forward<CodeRepositoriesT>(value)); return *this;}
65 template<typename CodeRepositoriesT = CodeRepository>
66 SpaceJupyterLabAppSettings& AddCodeRepositories(CodeRepositoriesT&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.emplace_back(std::forward<CodeRepositoriesT>(value)); return *this; }
68
70
74 inline const SpaceAppLifecycleManagement& GetAppLifecycleManagement() const { return m_appLifecycleManagement; }
75 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
76 template<typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
77 void SetAppLifecycleManagement(AppLifecycleManagementT&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::forward<AppLifecycleManagementT>(value); }
78 template<typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
79 SpaceJupyterLabAppSettings& WithAppLifecycleManagement(AppLifecycleManagementT&& value) { SetAppLifecycleManagement(std::forward<AppLifecycleManagementT>(value)); return *this;}
81 private:
82
83 ResourceSpec m_defaultResourceSpec;
84 bool m_defaultResourceSpecHasBeenSet = false;
85
86 Aws::Vector<CodeRepository> m_codeRepositories;
87 bool m_codeRepositoriesHasBeenSet = false;
88
89 SpaceAppLifecycleManagement m_appLifecycleManagement;
90 bool m_appLifecycleManagementHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
AWS_SAGEMAKER_API SpaceJupyterLabAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API SpaceJupyterLabAppSettings(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CodeRepository > & GetCodeRepositories() const
SpaceJupyterLabAppSettings & WithAppLifecycleManagement(AppLifecycleManagementT &&value)
void SetAppLifecycleManagement(AppLifecycleManagementT &&value)
AWS_SAGEMAKER_API SpaceJupyterLabAppSettings()=default
SpaceJupyterLabAppSettings & WithCodeRepositories(CodeRepositoriesT &&value)
SpaceJupyterLabAppSettings & AddCodeRepositories(CodeRepositoriesT &&value)
SpaceJupyterLabAppSettings & WithDefaultResourceSpec(DefaultResourceSpecT &&value)
const SpaceAppLifecycleManagement & GetAppLifecycleManagement() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue