AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeAppImageConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/CodeEditorAppImageConfig.h>
12#include <aws/sagemaker/model/JupyterLabAppImageConfig.h>
13#include <aws/sagemaker/model/KernelGatewayImageConfig.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeAppImageConfigResult() = default;
33
35
38 inline const Aws::String& GetAppImageConfigArn() const { return m_appImageConfigArn; }
39 template <typename AppImageConfigArnT = Aws::String>
40 void SetAppImageConfigArn(AppImageConfigArnT&& value) {
41 m_appImageConfigArnHasBeenSet = true;
42 m_appImageConfigArn = std::forward<AppImageConfigArnT>(value);
43 }
44 template <typename AppImageConfigArnT = Aws::String>
46 SetAppImageConfigArn(std::forward<AppImageConfigArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetAppImageConfigName() const { return m_appImageConfigName; }
56 template <typename AppImageConfigNameT = Aws::String>
57 void SetAppImageConfigName(AppImageConfigNameT&& value) {
58 m_appImageConfigNameHasBeenSet = true;
59 m_appImageConfigName = std::forward<AppImageConfigNameT>(value);
60 }
61 template <typename AppImageConfigNameT = Aws::String>
63 SetAppImageConfigName(std::forward<AppImageConfigNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
73 template <typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) {
75 m_creationTimeHasBeenSet = true;
76 m_creationTime = std::forward<CreationTimeT>(value);
77 }
78 template <typename CreationTimeT = Aws::Utils::DateTime>
80 SetCreationTime(std::forward<CreationTimeT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
90 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
91 void SetLastModifiedTime(LastModifiedTimeT&& value) {
92 m_lastModifiedTimeHasBeenSet = true;
93 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
94 }
95 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
97 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
98 return *this;
99 }
101
103
106 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
107 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
108 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
109 m_kernelGatewayImageConfigHasBeenSet = true;
110 m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value);
111 }
112 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
113 DescribeAppImageConfigResult& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
114 SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value));
115 return *this;
116 }
118
120
123 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
124 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
125 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
126 m_jupyterLabAppImageConfigHasBeenSet = true;
127 m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value);
128 }
129 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
130 DescribeAppImageConfigResult& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
131 SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value));
132 return *this;
133 }
135
137
140 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
141 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
142 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
143 m_codeEditorAppImageConfigHasBeenSet = true;
144 m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value);
145 }
146 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
147 DescribeAppImageConfigResult& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
148 SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value));
149 return *this;
150 }
152
154
155 inline const Aws::String& GetRequestId() const { return m_requestId; }
156 template <typename RequestIdT = Aws::String>
157 void SetRequestId(RequestIdT&& value) {
158 m_requestIdHasBeenSet = true;
159 m_requestId = std::forward<RequestIdT>(value);
160 }
161 template <typename RequestIdT = Aws::String>
163 SetRequestId(std::forward<RequestIdT>(value));
164 return *this;
165 }
167 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
168
169 private:
170 Aws::String m_appImageConfigArn;
171
172 Aws::String m_appImageConfigName;
173
174 Aws::Utils::DateTime m_creationTime{};
175
176 Aws::Utils::DateTime m_lastModifiedTime{};
177
178 KernelGatewayImageConfig m_kernelGatewayImageConfig;
179
180 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
181
182 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
183
184 Aws::String m_requestId;
185 Aws::Http::HttpResponseCode m_HttpResponseCode;
186 bool m_appImageConfigArnHasBeenSet = false;
187 bool m_appImageConfigNameHasBeenSet = false;
188 bool m_creationTimeHasBeenSet = false;
189 bool m_lastModifiedTimeHasBeenSet = false;
190 bool m_kernelGatewayImageConfigHasBeenSet = false;
191 bool m_jupyterLabAppImageConfigHasBeenSet = false;
192 bool m_codeEditorAppImageConfigHasBeenSet = false;
193 bool m_requestIdHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace SageMaker
198} // namespace Aws
void SetKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
AWS_SAGEMAKER_API DescribeAppImageConfigResult()=default
DescribeAppImageConfigResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeAppImageConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppImageConfigResult & WithCreationTime(CreationTimeT &&value)
DescribeAppImageConfigResult & WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
DescribeAppImageConfigResult & WithKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
const JupyterLabAppImageConfig & GetJupyterLabAppImageConfig() const
DescribeAppImageConfigResult & WithAppImageConfigArn(AppImageConfigArnT &&value)
AWS_SAGEMAKER_API DescribeAppImageConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CodeEditorAppImageConfig & GetCodeEditorAppImageConfig() const
DescribeAppImageConfigResult & WithAppImageConfigName(AppImageConfigNameT &&value)
DescribeAppImageConfigResult & WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
DescribeAppImageConfigResult & WithRequestId(RequestIdT &&value)
void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue