AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JupyterServerAppSettings.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/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_SAGEMAKER_API JupyterServerAppSettings();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; }
51 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
52 inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
53 inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
55 inline JupyterServerAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;}
57
59
66 inline const Aws::Vector<Aws::String>& GetLifecycleConfigArns() const{ return m_lifecycleConfigArns; }
67 inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; }
68 inline void SetLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; }
69 inline void SetLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); }
72 inline JupyterServerAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
73 inline JupyterServerAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; }
74 inline JupyterServerAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
76
78
82 inline const Aws::Vector<CodeRepository>& GetCodeRepositories() const{ return m_codeRepositories; }
83 inline bool CodeRepositoriesHasBeenSet() const { return m_codeRepositoriesHasBeenSet; }
84 inline void SetCodeRepositories(const Aws::Vector<CodeRepository>& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = value; }
85 inline void SetCodeRepositories(Aws::Vector<CodeRepository>&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories = std::move(value); }
88 inline JupyterServerAppSettings& AddCodeRepositories(const CodeRepository& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(value); return *this; }
89 inline JupyterServerAppSettings& AddCodeRepositories(CodeRepository&& value) { m_codeRepositoriesHasBeenSet = true; m_codeRepositories.push_back(std::move(value)); return *this; }
91 private:
92
93 ResourceSpec m_defaultResourceSpec;
94 bool m_defaultResourceSpecHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_lifecycleConfigArns;
97 bool m_lifecycleConfigArnsHasBeenSet = false;
98
99 Aws::Vector<CodeRepository> m_codeRepositories;
100 bool m_codeRepositoriesHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
JupyterServerAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
JupyterServerAppSettings & WithLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
void SetCodeRepositories(const Aws::Vector< CodeRepository > &value)
JupyterServerAppSettings & WithCodeRepositories(const Aws::Vector< CodeRepository > &value)
JupyterServerAppSettings & WithCodeRepositories(Aws::Vector< CodeRepository > &&value)
void SetCodeRepositories(Aws::Vector< CodeRepository > &&value)
JupyterServerAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
AWS_SAGEMAKER_API JupyterServerAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JupyterServerAppSettings & WithLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
JupyterServerAppSettings & AddLifecycleConfigArns(Aws::String &&value)
void SetLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
AWS_SAGEMAKER_API JupyterServerAppSettings(Aws::Utils::Json::JsonView jsonValue)
JupyterServerAppSettings & AddLifecycleConfigArns(const Aws::String &value)
JupyterServerAppSettings & AddCodeRepositories(const CodeRepository &value)
void SetLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
const Aws::Vector< CodeRepository > & GetCodeRepositories() const
JupyterServerAppSettings & AddCodeRepositories(CodeRepository &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
JupyterServerAppSettings & AddLifecycleConfigArns(const char *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