AWS SDK for C++  1.9.160
AWS SDK for C++
JupyterServerAppSettings.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
46  inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; }
47 
52  inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
53 
58  inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
59 
64  inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
65 
70  inline JupyterServerAppSettings& WithDefaultResourceSpec(const ResourceSpec& value) { SetDefaultResourceSpec(value); return *this;}
71 
76  inline JupyterServerAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;}
77 
78 
83  inline const Aws::Vector<Aws::String>& GetLifecycleConfigArns() const{ return m_lifecycleConfigArns; }
84 
89  inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; }
90 
95  inline void SetLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; }
96 
101  inline void SetLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); }
102 
107  inline JupyterServerAppSettings& WithLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { SetLifecycleConfigArns(value); return *this;}
108 
113  inline JupyterServerAppSettings& WithLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { SetLifecycleConfigArns(std::move(value)); return *this;}
114 
119  inline JupyterServerAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
120 
125  inline JupyterServerAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; }
126 
131  inline JupyterServerAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
132 
133  private:
134 
135  ResourceSpec m_defaultResourceSpec;
136  bool m_defaultResourceSpecHasBeenSet;
137 
138  Aws::Vector<Aws::String> m_lifecycleConfigArns;
139  bool m_lifecycleConfigArnsHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace SageMaker
144 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::JupyterServerAppSettings::WithLifecycleConfigArns
JupyterServerAppSettings & WithLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
Definition: JupyterServerAppSettings.h:113
SageMaker_EXPORTS.h
Aws::SageMaker::Model::JupyterServerAppSettings::DefaultResourceSpecHasBeenSet
bool DefaultResourceSpecHasBeenSet() const
Definition: JupyterServerAppSettings.h:52
Aws::SageMaker::Model::JupyterServerAppSettings::JupyterServerAppSettings
JupyterServerAppSettings()
Aws::SageMaker::Model::JupyterServerAppSettings::operator=
JupyterServerAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::JupyterServerAppSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::JupyterServerAppSettings::WithDefaultResourceSpec
JupyterServerAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
Definition: JupyterServerAppSettings.h:70
Aws::SageMaker::Model::JupyterServerAppSettings::WithLifecycleConfigArns
JupyterServerAppSettings & WithLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
Definition: JupyterServerAppSettings.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::JupyterServerAppSettings::SetDefaultResourceSpec
void SetDefaultResourceSpec(ResourceSpec &&value)
Definition: JupyterServerAppSettings.h:64
Aws::SageMaker::Model::JupyterServerAppSettings::LifecycleConfigArnsHasBeenSet
bool LifecycleConfigArnsHasBeenSet() const
Definition: JupyterServerAppSettings.h:89
AWSVector.h
Aws::SageMaker::Model::JupyterServerAppSettings
Definition: JupyterServerAppSettings.h:34
Aws::SageMaker::Model::ResourceSpec
Definition: ResourceSpec.h:34
Aws::SageMaker::Model::JupyterServerAppSettings::SetLifecycleConfigArns
void SetLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
Definition: JupyterServerAppSettings.h:101
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::JupyterServerAppSettings::GetLifecycleConfigArns
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
Definition: JupyterServerAppSettings.h:83
Aws::SageMaker::Model::JupyterServerAppSettings::WithDefaultResourceSpec
JupyterServerAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
Definition: JupyterServerAppSettings.h:76
Aws::SageMaker::Model::JupyterServerAppSettings::JupyterServerAppSettings
JupyterServerAppSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::JupyterServerAppSettings::SetLifecycleConfigArns
void SetLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
Definition: JupyterServerAppSettings.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::JupyterServerAppSettings::AddLifecycleConfigArns
JupyterServerAppSettings & AddLifecycleConfigArns(Aws::String &&value)
Definition: JupyterServerAppSettings.h:125
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::JupyterServerAppSettings::AddLifecycleConfigArns
JupyterServerAppSettings & AddLifecycleConfigArns(const char *value)
Definition: JupyterServerAppSettings.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::JupyterServerAppSettings::GetDefaultResourceSpec
const ResourceSpec & GetDefaultResourceSpec() const
Definition: JupyterServerAppSettings.h:46
Aws::SageMaker::Model::JupyterServerAppSettings::AddLifecycleConfigArns
JupyterServerAppSettings & AddLifecycleConfigArns(const Aws::String &value)
Definition: JupyterServerAppSettings.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResourceSpec.h
Aws::SageMaker::Model::JupyterServerAppSettings::SetDefaultResourceSpec
void SetDefaultResourceSpec(const ResourceSpec &value)
Definition: JupyterServerAppSettings.h:58