AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateAppImageConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.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 SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API UpdateAppImageConfigRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppImageConfig"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetAppImageConfigName() const { return m_appImageConfigName; }
41 inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
42 template <typename AppImageConfigNameT = Aws::String>
43 void SetAppImageConfigName(AppImageConfigNameT&& value) {
44 m_appImageConfigNameHasBeenSet = true;
45 m_appImageConfigName = std::forward<AppImageConfigNameT>(value);
46 }
47 template <typename AppImageConfigNameT = Aws::String>
49 SetAppImageConfigName(std::forward<AppImageConfigNameT>(value));
50 return *this;
51 }
53
55
58 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
59 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
60 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
61 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
62 m_kernelGatewayImageConfigHasBeenSet = true;
63 m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value);
64 }
65 template <typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
66 UpdateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) {
67 SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value));
68 return *this;
69 }
71
73
76 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
77 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
78 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
79 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
80 m_jupyterLabAppImageConfigHasBeenSet = true;
81 m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value);
82 }
83 template <typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
84 UpdateAppImageConfigRequest& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) {
85 SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value));
86 return *this;
87 }
89
91
94 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
95 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
96 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
97 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
98 m_codeEditorAppImageConfigHasBeenSet = true;
99 m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value);
100 }
101 template <typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
102 UpdateAppImageConfigRequest& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) {
103 SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_appImageConfigName;
109
110 KernelGatewayImageConfig m_kernelGatewayImageConfig;
111
112 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
113
114 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
115 bool m_appImageConfigNameHasBeenSet = false;
116 bool m_kernelGatewayImageConfigHasBeenSet = false;
117 bool m_jupyterLabAppImageConfigHasBeenSet = false;
118 bool m_codeEditorAppImageConfigHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
const CodeEditorAppImageConfig & GetCodeEditorAppImageConfig() const
void SetKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
UpdateAppImageConfigRequest & WithKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
const JupyterLabAppImageConfig & GetJupyterLabAppImageConfig() const
AWS_SAGEMAKER_API UpdateAppImageConfigRequest()=default
UpdateAppImageConfigRequest & WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
virtual const char * GetServiceRequestName() const override
UpdateAppImageConfigRequest & WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
UpdateAppImageConfigRequest & WithAppImageConfigName(AppImageConfigNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String