AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AppImageConfigDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/KernelGatewayImageConfig.h>
11#include <aws/sagemaker/model/JupyterLabAppImageConfig.h>
12#include <aws/sagemaker/model/CodeEditorAppImageConfig.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
37 {
38 public:
39 AWS_SAGEMAKER_API AppImageConfigDetails() = default;
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAppImageConfigArn() const { return m_appImageConfigArn; }
50 inline bool AppImageConfigArnHasBeenSet() const { return m_appImageConfigArnHasBeenSet; }
51 template<typename AppImageConfigArnT = Aws::String>
52 void SetAppImageConfigArn(AppImageConfigArnT&& value) { m_appImageConfigArnHasBeenSet = true; m_appImageConfigArn = std::forward<AppImageConfigArnT>(value); }
53 template<typename AppImageConfigArnT = Aws::String>
54 AppImageConfigDetails& WithAppImageConfigArn(AppImageConfigArnT&& value) { SetAppImageConfigArn(std::forward<AppImageConfigArnT>(value)); return *this;}
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) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::forward<AppImageConfigNameT>(value); }
65 template<typename AppImageConfigNameT = Aws::String>
66 AppImageConfigDetails& WithAppImageConfigName(AppImageConfigNameT&& value) { SetAppImageConfigName(std::forward<AppImageConfigNameT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
74 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
77 template<typename CreationTimeT = Aws::Utils::DateTime>
78 AppImageConfigDetails& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
86 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
87 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
88 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
89 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
90 AppImageConfigDetails& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
92
94
98 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
99 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
100 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
101 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value); }
102 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
103 AppImageConfigDetails& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value)); return *this;}
105
107
111 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
112 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
113 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
114 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { m_jupyterLabAppImageConfigHasBeenSet = true; m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value); }
115 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
116 AppImageConfigDetails& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value)); return *this;}
118
120
124 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
125 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
126 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
127 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { m_codeEditorAppImageConfigHasBeenSet = true; m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value); }
128 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
129 AppImageConfigDetails& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value)); return *this;}
131 private:
132
133 Aws::String m_appImageConfigArn;
134 bool m_appImageConfigArnHasBeenSet = false;
135
136 Aws::String m_appImageConfigName;
137 bool m_appImageConfigNameHasBeenSet = false;
138
139 Aws::Utils::DateTime m_creationTime{};
140 bool m_creationTimeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastModifiedTime{};
143 bool m_lastModifiedTimeHasBeenSet = false;
144
145 KernelGatewayImageConfig m_kernelGatewayImageConfig;
146 bool m_kernelGatewayImageConfigHasBeenSet = false;
147
148 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
149 bool m_jupyterLabAppImageConfigHasBeenSet = false;
150
151 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
152 bool m_codeEditorAppImageConfigHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SageMaker
157} // 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