AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeEditorAppSettings.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/AppLifecycleManagement.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/sagemaker/model/CustomImage.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_SAGEMAKER_API CodeEditorAppSettings();
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; }
50 inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; }
51 inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; }
52 inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); }
54 inline CodeEditorAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;}
56
58
62 inline const Aws::Vector<CustomImage>& GetCustomImages() const{ return m_customImages; }
63 inline bool CustomImagesHasBeenSet() const { return m_customImagesHasBeenSet; }
64 inline void SetCustomImages(const Aws::Vector<CustomImage>& value) { m_customImagesHasBeenSet = true; m_customImages = value; }
65 inline void SetCustomImages(Aws::Vector<CustomImage>&& value) { m_customImagesHasBeenSet = true; m_customImages = std::move(value); }
67 inline CodeEditorAppSettings& WithCustomImages(Aws::Vector<CustomImage>&& value) { SetCustomImages(std::move(value)); return *this;}
68 inline CodeEditorAppSettings& AddCustomImages(const CustomImage& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(value); return *this; }
69 inline CodeEditorAppSettings& AddCustomImages(CustomImage&& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(std::move(value)); return *this; }
71
73
77 inline const Aws::Vector<Aws::String>& GetLifecycleConfigArns() const{ return m_lifecycleConfigArns; }
78 inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; }
79 inline void SetLifecycleConfigArns(const Aws::Vector<Aws::String>& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; }
80 inline void SetLifecycleConfigArns(Aws::Vector<Aws::String>&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); }
83 inline CodeEditorAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
84 inline CodeEditorAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; }
85 inline CodeEditorAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; }
87
89
93 inline const AppLifecycleManagement& GetAppLifecycleManagement() const{ return m_appLifecycleManagement; }
94 inline bool AppLifecycleManagementHasBeenSet() const { return m_appLifecycleManagementHasBeenSet; }
95 inline void SetAppLifecycleManagement(const AppLifecycleManagement& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = value; }
96 inline void SetAppLifecycleManagement(AppLifecycleManagement&& value) { m_appLifecycleManagementHasBeenSet = true; m_appLifecycleManagement = std::move(value); }
100
102
107 inline const Aws::String& GetBuiltInLifecycleConfigArn() const{ return m_builtInLifecycleConfigArn; }
108 inline bool BuiltInLifecycleConfigArnHasBeenSet() const { return m_builtInLifecycleConfigArnHasBeenSet; }
109 inline void SetBuiltInLifecycleConfigArn(const Aws::String& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = value; }
110 inline void SetBuiltInLifecycleConfigArn(Aws::String&& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = std::move(value); }
111 inline void SetBuiltInLifecycleConfigArn(const char* value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn.assign(value); }
114 inline CodeEditorAppSettings& WithBuiltInLifecycleConfigArn(const char* value) { SetBuiltInLifecycleConfigArn(value); return *this;}
116 private:
117
118 ResourceSpec m_defaultResourceSpec;
119 bool m_defaultResourceSpecHasBeenSet = false;
120
121 Aws::Vector<CustomImage> m_customImages;
122 bool m_customImagesHasBeenSet = false;
123
124 Aws::Vector<Aws::String> m_lifecycleConfigArns;
125 bool m_lifecycleConfigArnsHasBeenSet = false;
126
127 AppLifecycleManagement m_appLifecycleManagement;
128 bool m_appLifecycleManagementHasBeenSet = false;
129
130 Aws::String m_builtInLifecycleConfigArn;
131 bool m_builtInLifecycleConfigArnHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace SageMaker
136} // namespace Aws
CodeEditorAppSettings & WithAppLifecycleManagement(AppLifecycleManagement &&value)
void SetLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
void SetLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
void SetCustomImages(const Aws::Vector< CustomImage > &value)
CodeEditorAppSettings & AddCustomImages(const CustomImage &value)
CodeEditorAppSettings & WithDefaultResourceSpec(ResourceSpec &&value)
CodeEditorAppSettings & AddLifecycleConfigArns(const Aws::String &value)
CodeEditorAppSettings & WithDefaultResourceSpec(const ResourceSpec &value)
CodeEditorAppSettings & WithLifecycleConfigArns(Aws::Vector< Aws::String > &&value)
void SetAppLifecycleManagement(const AppLifecycleManagement &value)
const AppLifecycleManagement & GetAppLifecycleManagement() const
AWS_SAGEMAKER_API CodeEditorAppSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeEditorAppSettings & WithBuiltInLifecycleConfigArn(Aws::String &&value)
void SetAppLifecycleManagement(AppLifecycleManagement &&value)
CodeEditorAppSettings & WithAppLifecycleManagement(const AppLifecycleManagement &value)
CodeEditorAppSettings & WithCustomImages(Aws::Vector< CustomImage > &&value)
void SetCustomImages(Aws::Vector< CustomImage > &&value)
void SetDefaultResourceSpec(const ResourceSpec &value)
CodeEditorAppSettings & WithCustomImages(const Aws::Vector< CustomImage > &value)
const Aws::Vector< Aws::String > & GetLifecycleConfigArns() const
CodeEditorAppSettings & AddLifecycleConfigArns(const char *value)
CodeEditorAppSettings & AddCustomImages(CustomImage &&value)
const Aws::Vector< CustomImage > & GetCustomImages() const
CodeEditorAppSettings & AddLifecycleConfigArns(Aws::String &&value)
AWS_SAGEMAKER_API CodeEditorAppSettings(Aws::Utils::Json::JsonView jsonValue)
CodeEditorAppSettings & WithBuiltInLifecycleConfigArn(const char *value)
CodeEditorAppSettings & WithLifecycleConfigArns(const Aws::Vector< Aws::String > &value)
CodeEditorAppSettings & WithBuiltInLifecycleConfigArn(const Aws::String &value)
void SetBuiltInLifecycleConfigArn(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue