AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
49 inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
53
55
59 inline const Aws::Vector<CodeRepository>& GetCodeRepositories() const{ return m_codeRepositories; }
60 inline bool CodeRepositoriesHasBeenSet() const { return m_codeRepositoriesHasBeenSet; }
61 inline void SetCodeRepositories(const Aws::Vector<CodeRepository>& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = value; }
62 inline void SetCodeRepositories(Aws::Vector<CodeRepository>&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = std::move(value); }
65 inline SpaceJupyterLabAppSettings& AddCodeRepositories(const CodeRepository& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(value); return *this; }
66 inline SpaceJupyterLabAppSettings& AddCodeRepositories(CodeRepository&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(std::move(value)); return *this; }
68
70
74 inline const SpaceAppLifecycleManagement& GetAppLifecycleManagement() const{ return m_appLifecycleManagement; }
75 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
76 inline void SetAppLifecycleManagement(const SpaceAppLifecycleManagement& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = value; }
77 inline void SetAppLifecycleManagement(SpaceAppLifecycleManagement&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::move(value); }
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
void SetCodeRepositories(const Aws::Vector< CodeRepository > &value)
AWS_SAGEMAKER_API SpaceJupyterLabAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SpaceJupyterLabAppSettings & WithAppLifecycleManagement(const SpaceAppLifecycleManagement &value)
void SetCodeRepositories(Aws::Vector< CodeRepository > &&value)
AWS_SAGEMAKER_API SpaceJupyterLabAppSettings(Aws::Utils::Json::JsonView jsonValue)
SpaceJupyterLabAppSettings & WithCodeRepositories(Aws::Vector< CodeRepository > &&value)
SpaceJupyterLabAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
SpaceJupyterLabAppSettings & WithAppLifecycleManagement(SpaceAppLifecycleManagement &&value)
SpaceJupyterLabAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
const Aws::Vector< CodeRepository > & GetCodeRepositories() const
void SetAppLifecycleManagement(const SpaceAppLifecycleManagement &value)
void SetAppLifecycleManagement(SpaceAppLifecycleManagement &&value)
SpaceJupyterLabAppSettings & AddCodeRepositories(const CodeRepository &value)
SpaceJupyterLabAppSettings & WithCodeRepositories(const Aws::Vector< CodeRepository > &value)
SpaceJupyterLabAppSettings & AddCodeRepositories(CodeRepository &&value)
const SpaceAppLifecycleManagement & GetAppLifecycleManagement() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue