AWS SDK for C++  1.9.160
AWS SDK for C++
KernelGatewayAppSettings.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
47  inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; }
48 
53  inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
54 
59  inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
60 
65  inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
66 
71  inline KernelGatewayAppSettings& WithDefaultResourceSpec(const ResourceSpec& value) { SetDefaultResourceSpec(value); return *this;}
72 
77  inline KernelGatewayAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;}
78 
79 
84  inline const Aws::Vector<CustomImage>& GetCustomImages() const{ return m_customImages; }
85 
90  inline bool CustomImagesHasBeenSet() const { return m_customImagesHasBeenSet; }
91 
96  inline void SetCustomImages(const Aws::Vector<CustomImage>& value) { m_customImagesHasBeenSet = true; m_customImages = value; }
97 
102  inline void SetCustomImages(Aws::Vector<CustomImage>&& value) { m_customImagesHasBeenSet = true; m_customImages = std::move(value); }
103 
108  inline KernelGatewayAppSettings& WithCustomImages(const Aws::Vector<CustomImage>& value) { SetCustomImages(value); return *this;}
109 
114  inline KernelGatewayAppSettings& WithCustomImages(Aws::Vector<CustomImage>&& value) { SetCustomImages(std::move(value)); return *this;}
115 
120  inline KernelGatewayAppSettings& AddCustomImages(const CustomImage& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(value); return *this; }
121 
126  inline KernelGatewayAppSettings& AddCustomImages(CustomImage&& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(std::move(value)); return *this; }
127 
128 
133  inline const Aws::Vector<Aws::String>& GetLifecycleConfigArns() const{ return m_lifecycleConfigArns; }
134 
139  inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; }
140 
145  inline void SetLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; }
146 
151  inline void SetLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); }
152 
157  inline KernelGatewayAppSettings& WithLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { SetLifecycleConfigArns(value); return *this;}
158 
163  inline KernelGatewayAppSettings& WithLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { SetLifecycleConfigArns(std::move(value)); return *this;}
164 
169  inline KernelGatewayAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
170 
175  inline KernelGatewayAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; }
176 
181  inline KernelGatewayAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
182 
183  private:
184 
185  ResourceSpec m_defaultResourceSpec;
186  bool m_defaultResourceSpecHasBeenSet;
187 
188  Aws::Vector<CustomImage> m_customImages;
189  bool m_customImagesHasBeenSet;
190 
191  Aws::Vector<Aws::String> m_lifecycleConfigArns;
192  bool m_lifecycleConfigArnsHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace SageMaker
197 } // namespace Aws
Aws::SageMaker::Model::KernelGatewayAppSettings::AddLifecycleConfigArns
KernelGatewayAppSettings & AddLifecycleConfigArns(Aws::String &&value)
Definition: KernelGatewayAppSettings.h:175
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::KernelGatewayAppSettings::AddLifecycleConfigArns
KernelGatewayAppSettings & AddLifecycleConfigArns(const Aws::String &value)
Definition: KernelGatewayAppSettings.h:169
Aws::SageMaker::Model::KernelGatewayAppSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SageMaker_EXPORTS.h
Aws::SageMaker::Model::KernelGatewayAppSettings::AddCustomImages
KernelGatewayAppSettings & AddCustomImages(const CustomImage &value)
Definition: KernelGatewayAppSettings.h:120
Aws::SageMaker::Model::KernelGatewayAppSettings::SetLifecycleConfigArns
void SetLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
Definition: KernelGatewayAppSettings.h:145
Aws::SageMaker::Model::KernelGatewayAppSettings::GetCustomImages
const Aws::Vector< CustomImage > & GetCustomImages() const
Definition: KernelGatewayAppSettings.h:84
Aws::SageMaker::Model::KernelGatewayAppSettings::KernelGatewayAppSettings
KernelGatewayAppSettings()
Aws::SageMaker::Model::KernelGatewayAppSettings::DefaultResourceSpecHasBeenSet
bool DefaultResourceSpecHasBeenSet() const
Definition: KernelGatewayAppSettings.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::KernelGatewayAppSettings::CustomImagesHasBeenSet
bool CustomImagesHasBeenSet() const
Definition: KernelGatewayAppSettings.h:90
Aws::SageMaker::Model::KernelGatewayAppSettings::WithLifecycleConfigArns
KernelGatewayAppSettings & WithLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
Definition: KernelGatewayAppSettings.h:163
Aws::SageMaker::Model::KernelGatewayAppSettings::AddLifecycleConfigArns
KernelGatewayAppSettings & AddLifecycleConfigArns(const char *value)
Definition: KernelGatewayAppSettings.h:181
AWSVector.h
CustomImage.h
Aws::SageMaker::Model::ResourceSpec
Definition: ResourceSpec.h:34
Aws::SageMaker::Model::KernelGatewayAppSettings::SetCustomImages
void SetCustomImages(const Aws::Vector< CustomImage > &value)
Definition: KernelGatewayAppSettings.h:96
Aws::SageMaker::Model::KernelGatewayAppSettings::SetDefaultResourceSpec
void SetDefaultResourceSpec(ResourceSpec &&value)
Definition: KernelGatewayAppSettings.h:65
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::KernelGatewayAppSettings::LifecycleConfigArnsHasBeenSet
bool LifecycleConfigArnsHasBeenSet() const
Definition: KernelGatewayAppSettings.h:139
Aws::SageMaker::Model::KernelGatewayAppSettings::SetLifecycleConfigArns
void SetLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
Definition: KernelGatewayAppSettings.h:151
Aws::SageMaker::Model::KernelGatewayAppSettings::AddCustomImages
KernelGatewayAppSettings & AddCustomImages(CustomImage &&value)
Definition: KernelGatewayAppSettings.h:126
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::CustomImage
Definition: CustomImage.h:34
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::KernelGatewayAppSettings::SetCustomImages
void SetCustomImages(Aws::Vector< CustomImage > &&value)
Definition: KernelGatewayAppSettings.h:102
Aws::SageMaker::Model::KernelGatewayAppSettings::WithDefaultResourceSpec
KernelGatewayAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
Definition: KernelGatewayAppSettings.h:77
Aws::SageMaker::Model::KernelGatewayAppSettings::WithCustomImages
KernelGatewayAppSettings & WithCustomImages(Aws::Vector< CustomImage > &&value)
Definition: KernelGatewayAppSettings.h:114
Aws::SageMaker::Model::KernelGatewayAppSettings::GetLifecycleConfigArns
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
Definition: KernelGatewayAppSettings.h:133
Aws::SageMaker::Model::KernelGatewayAppSettings
Definition: KernelGatewayAppSettings.h:35
Aws::SageMaker::Model::KernelGatewayAppSettings::SetDefaultResourceSpec
void SetDefaultResourceSpec(const ResourceSpec &value)
Definition: KernelGatewayAppSettings.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::KernelGatewayAppSettings::operator=
KernelGatewayAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelGatewayAppSettings::KernelGatewayAppSettings
KernelGatewayAppSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::KernelGatewayAppSettings::WithDefaultResourceSpec
KernelGatewayAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
Definition: KernelGatewayAppSettings.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResourceSpec.h
Aws::SageMaker::Model::KernelGatewayAppSettings::WithLifecycleConfigArns
KernelGatewayAppSettings & WithLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
Definition: KernelGatewayAppSettings.h:157
Aws::SageMaker::Model::KernelGatewayAppSettings::WithCustomImages
KernelGatewayAppSettings & WithCustomImages(const Aws::Vector< CustomImage > &value)
Definition: KernelGatewayAppSettings.h:108
Aws::SageMaker::Model::KernelGatewayAppSettings::GetDefaultResourceSpec
const ResourceSpec & GetDefaultResourceSpec() const
Definition: KernelGatewayAppSettings.h:47