AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SpaceCodeEditorAppSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ResourceSpec.h>
9#include <aws/sagemaker/model/SpaceAppLifecycleManagement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API SpaceCodeEditorAppSettings() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const ResourceSpec& GetDefaultResourceSpec() const { return m_defaultResourceSpec; }
45 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
46 template<typename DefaultResourceSpecT = ResourceSpec>
47 void SetDefaultResourceSpec(DefaultResourceSpecT&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::forward<DefaultResourceSpecT>(value); }
48 template<typename DefaultResourceSpecT = ResourceSpec>
49 SpaceCodeEditorAppSettings& WithDefaultResourceSpec(DefaultResourceSpecT&& value) { SetDefaultResourceSpec(std::forward<DefaultResourceSpecT>(value)); return *this;}
51
53
57 inline const SpaceAppLifecycleManagement& GetAppLifecycleManagement() const { return m_appLifecycleManagement; }
58 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
59 template<typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
60 void SetAppLifecycleManagement(AppLifecycleManagementT&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::forward<AppLifecycleManagementT>(value); }
61 template<typename AppLifecycleManagementT = SpaceAppLifecycleManagement>
62 SpaceCodeEditorAppSettings& WithAppLifecycleManagement(AppLifecycleManagementT&& value) { SetAppLifecycleManagement(std::forward<AppLifecycleManagementT>(value)); return *this;}
64 private:
65
66 ResourceSpec m_defaultResourceSpec;
67 bool m_defaultResourceSpecHasBeenSet = false;
68
69 SpaceAppLifecycleManagement m_appLifecycleManagement;
70 bool m_appLifecycleManagementHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AWS_SAGEMAKER_API SpaceCodeEditorAppSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API SpaceCodeEditorAppSettings()=default
AWS_SAGEMAKER_API SpaceCodeEditorAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
SpaceCodeEditorAppSettings & WithDefaultResourceSpec(DefaultResourceSpecT &&value)
const SpaceAppLifecycleManagement & GetAppLifecycleManagement() const
SpaceCodeEditorAppSettings & WithAppLifecycleManagement(AppLifecycleManagementT &&value)
void SetAppLifecycleManagement(AppLifecycleManagementT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue