AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SpaceJupyterLabAppSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/CodeRepository.h>
10#include <aws/sagemaker/model/ResourceSpec.h>
11#include <aws/sagemaker/model/SpaceAppLifecycleManagement.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKER_API SpaceJupyterLabAppSettings() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const ResourceSpec& GetDefaultResourceSpec() const { return m_defaultResourceSpec; }
41 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
42 template <typename DefaultResourceSpecT = ResourceSpec>
43 void SetDefaultResourceSpec(DefaultResourceSpecT&& value) {
44 m_defaultResourceSpecHasBeenSet = true;
45 m_defaultResourceSpec = std::forward<DefaultResourceSpecT>(value);
46 }
47 template <typename DefaultResourceSpecT = ResourceSpec>
48 SpaceJupyterLabAppSettings& WithDefaultResourceSpec(DefaultResourceSpecT&& value) {
49 SetDefaultResourceSpec(std::forward<DefaultResourceSpecT>(value));
50 return *this;
51 }
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) {
63 m_codeRepositoriesHasBeenSet = true;
64 m_codeRepositories = std::forward<CodeRepositoriesT>(value);
65 }
66 template <typename CodeRepositoriesT = Aws::Vector<CodeRepository>>
68 SetCodeRepositories(std::forward<CodeRepositoriesT>(value));
69 return *this;
70 }
71 template <typename CodeRepositoriesT = CodeRepository>
72 SpaceJupyterLabAppSettings& AddCodeRepositories(CodeRepositoriesT&& value) {
73 m_codeRepositoriesHasBeenSet = true;
74 m_codeRepositories.emplace_back(std::forward<CodeRepositoriesT>(value));
75 return *this;
76 }
78
80
84 inline const SpaceAppLifecycleManagement& GetAppLifecycleManagement() const { return m_appLifecycleManagement; }
85 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
86 template <typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
87 void SetAppLifecycleManagement(AppLifecycleManagementT&& value) {
88 m_appLifecycleManagementHasBeenSet = true;
89 m_appLifecycleManagement = std::forward<AppLifecycleManagementT>(value);
90 }
91 template <typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
92 SpaceJupyterLabAppSettings& WithAppLifecycleManagement(AppLifecycleManagementT&& value) {
93 SetAppLifecycleManagement(std::forward<AppLifecycleManagementT>(value));
94 return *this;
95 }
97 private:
98 ResourceSpec m_defaultResourceSpec;
99
100 Aws::Vector<CodeRepository> m_codeRepositories;
101
102 SpaceAppLifecycleManagement m_appLifecycleManagement;
103 bool m_defaultResourceSpecHasBeenSet = false;
104 bool m_codeRepositoriesHasBeenSet = false;
105 bool m_appLifecycleManagementHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SageMaker
110} // 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