AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAppImageConfigRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateAppImageConfigRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppImageConfig"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetAppImageConfigName() const { return m_appImageConfigName; }
45 inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
46 template<typename AppImageConfigNameT = Aws::String>
47 void SetAppImageConfigName(AppImageConfigNameT&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::forward<AppImageConfigNameT>(value); }
48 template<typename AppImageConfigNameT = Aws::String>
49 UpdateAppImageConfigRequest& WithAppImageConfigName(AppImageConfigNameT&& value) { SetAppImageConfigName(std::forward<AppImageConfigNameT>(value)); return *this;}
51
53
56 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
57 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
58 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
59 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value); }
60 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
61 UpdateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value)); return *this;}
63
65
68 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
69 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
70 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
71 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { m_jupyterLabAppImageConfigHasBeenSet = true; m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value); }
72 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
73 UpdateAppImageConfigRequest& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value)); return *this;}
75
77
80 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
81 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
82 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
83 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { m_codeEditorAppImageConfigHasBeenSet = true; m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value); }
84 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
85 UpdateAppImageConfigRequest& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value)); return *this;}
87 private:
88
89 Aws::String m_appImageConfigName;
90 bool m_appImageConfigNameHasBeenSet = false;
91
92 KernelGatewayImageConfig m_kernelGatewayImageConfig;
93 bool m_kernelGatewayImageConfigHasBeenSet = false;
94
95 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
96 bool m_jupyterLabAppImageConfigHasBeenSet = false;
97
98 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
99 bool m_codeEditorAppImageConfigHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SageMaker
104} // 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