AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AppImageConfigDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/CodeEditorAppImageConfig.h>
11#include <aws/sagemaker/model/JupyterLabAppImageConfig.h>
12#include <aws/sagemaker/model/KernelGatewayImageConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
25
33 public:
34 AWS_SAGEMAKER_API AppImageConfigDetails() = default;
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetAppImageConfigArn() const { return m_appImageConfigArn; }
44 inline bool AppImageConfigArnHasBeenSet() const { return m_appImageConfigArnHasBeenSet; }
45 template <typename AppImageConfigArnT = Aws::String>
46 void SetAppImageConfigArn(AppImageConfigArnT&& value) {
47 m_appImageConfigArnHasBeenSet = true;
48 m_appImageConfigArn = std::forward<AppImageConfigArnT>(value);
49 }
50 template <typename AppImageConfigArnT = Aws::String>
51 AppImageConfigDetails& WithAppImageConfigArn(AppImageConfigArnT&& value) {
52 SetAppImageConfigArn(std::forward<AppImageConfigArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetAppImageConfigName() const { return m_appImageConfigName; }
62 inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
63 template <typename AppImageConfigNameT = Aws::String>
64 void SetAppImageConfigName(AppImageConfigNameT&& value) {
65 m_appImageConfigNameHasBeenSet = true;
66 m_appImageConfigName = std::forward<AppImageConfigNameT>(value);
67 }
68 template <typename AppImageConfigNameT = Aws::String>
69 AppImageConfigDetails& WithAppImageConfigName(AppImageConfigNameT&& value) {
70 SetAppImageConfigName(std::forward<AppImageConfigNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
80 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
81 template <typename CreationTimeT = Aws::Utils::DateTime>
82 void SetCreationTime(CreationTimeT&& value) {
83 m_creationTimeHasBeenSet = true;
84 m_creationTime = std::forward<CreationTimeT>(value);
85 }
86 template <typename CreationTimeT = Aws::Utils::DateTime>
87 AppImageConfigDetails& WithCreationTime(CreationTimeT&& value) {
88 SetCreationTime(std::forward<CreationTimeT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
98 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
99 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
100 void SetLastModifiedTime(LastModifiedTimeT&& value) {
101 m_lastModifiedTimeHasBeenSet = true;
102 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
103 }
104 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
105 AppImageConfigDetails& WithLastModifiedTime(LastModifiedTimeT&& value) {
106 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
107 return *this;
108 }
110
112
116 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
117 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
118 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
119 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
120 m_kernelGatewayImageConfigHasBeenSet = true;
121 m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value);
122 }
123 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
124 AppImageConfigDetails& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
125 SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value));
126 return *this;
127 }
129
131
135 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
136 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
137 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
138 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
139 m_jupyterLabAppImageConfigHasBeenSet = true;
140 m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value);
141 }
142 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
143 AppImageConfigDetails& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
144 SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value));
145 return *this;
146 }
148
150
154 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
155 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
156 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
157 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
158 m_codeEditorAppImageConfigHasBeenSet = true;
159 m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value);
160 }
161 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
162 AppImageConfigDetails& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
163 SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value));
164 return *this;
165 }
167 private:
168 Aws::String m_appImageConfigArn;
169
170 Aws::String m_appImageConfigName;
171
172 Aws::Utils::DateTime m_creationTime{};
173
174 Aws::Utils::DateTime m_lastModifiedTime{};
175
176 KernelGatewayImageConfig m_kernelGatewayImageConfig;
177
178 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
179
180 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
181 bool m_appImageConfigArnHasBeenSet = false;
182 bool m_appImageConfigNameHasBeenSet = false;
183 bool m_creationTimeHasBeenSet = false;
184 bool m_lastModifiedTimeHasBeenSet = false;
185 bool m_kernelGatewayImageConfigHasBeenSet = false;
186 bool m_jupyterLabAppImageConfigHasBeenSet = false;
187 bool m_codeEditorAppImageConfigHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace SageMaker
192} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
AppImageConfigDetails & WithAppImageConfigArn(AppImageConfigArnT &&value)
AWS_SAGEMAKER_API AppImageConfigDetails()=default
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
const CodeEditorAppImageConfig & GetCodeEditorAppImageConfig() const
void SetAppImageConfigName(AppImageConfigNameT &&value)
AWS_SAGEMAKER_API AppImageConfigDetails(Aws::Utils::Json::JsonView jsonValue)
void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
AppImageConfigDetails & WithAppImageConfigName(AppImageConfigNameT &&value)
void SetKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
AppImageConfigDetails & WithLastModifiedTime(LastModifiedTimeT &&value)
AppImageConfigDetails & WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
AppImageConfigDetails & WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
void SetAppImageConfigArn(AppImageConfigArnT &&value)
AWS_SAGEMAKER_API AppImageConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AppImageConfigDetails & WithCreationTime(CreationTimeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Utils::DateTime & GetCreationTime() const
const JupyterLabAppImageConfig & GetJupyterLabAppImageConfig() const
AppImageConfigDetails & WithKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue