AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAppImageConfigRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/KernelGatewayImageConfig.h>
12#include <aws/sagemaker/model/JupyterLabAppImageConfig.h>
13#include <aws/sagemaker/model/CodeEditorAppImageConfig.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SAGEMAKER_API CreateAppImageConfigRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateAppImageConfig"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetAppImageConfigName() const { return m_appImageConfigName; }
47 inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
48 template<typename AppImageConfigNameT = Aws::String>
49 void SetAppImageConfigName(AppImageConfigNameT&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::forward<AppImageConfigNameT>(value); }
50 template<typename AppImageConfigNameT = Aws::String>
51 CreateAppImageConfigRequest& WithAppImageConfigName(AppImageConfigNameT&& value) { SetAppImageConfigName(std::forward<AppImageConfigNameT>(value)); return *this;}
53
55
58 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
59 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
60 template<typename TagsT = Aws::Vector<Tag>>
61 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
62 template<typename TagsT = Aws::Vector<Tag>>
63 CreateAppImageConfigRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
64 template<typename TagsT = Tag>
65 CreateAppImageConfigRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
67
69
74 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const { return m_kernelGatewayImageConfig; }
75 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
76 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
77 void SetKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::forward<KernelGatewayImageConfigT>(value); }
78 template<typename KernelGatewayImageConfigT = KernelGatewayImageConfig>
79 CreateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfigT&& value) { SetKernelGatewayImageConfig(std::forward<KernelGatewayImageConfigT>(value)); return *this;}
81
83
89 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const { return m_jupyterLabAppImageConfig; }
90 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
91 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
92 void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { m_jupyterLabAppImageConfigHasBeenSet = true; m_jupyterLabAppImageConfig = std::forward<JupyterLabAppImageConfigT>(value); }
93 template<typename JupyterLabAppImageConfigT = JupyterLabAppImageConfig>
94 CreateAppImageConfigRequest& WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT&& value) { SetJupyterLabAppImageConfig(std::forward<JupyterLabAppImageConfigT>(value)); return *this;}
96
98
103 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const { return m_codeEditorAppImageConfig; }
104 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
105 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
106 void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { m_codeEditorAppImageConfigHasBeenSet = true; m_codeEditorAppImageConfig = std::forward<CodeEditorAppImageConfigT>(value); }
107 template<typename CodeEditorAppImageConfigT = CodeEditorAppImageConfig>
108 CreateAppImageConfigRequest& WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT&& value) { SetCodeEditorAppImageConfig(std::forward<CodeEditorAppImageConfigT>(value)); return *this;}
110 private:
111
112 Aws::String m_appImageConfigName;
113 bool m_appImageConfigNameHasBeenSet = false;
114
115 Aws::Vector<Tag> m_tags;
116 bool m_tagsHasBeenSet = false;
117
118 KernelGatewayImageConfig m_kernelGatewayImageConfig;
119 bool m_kernelGatewayImageConfigHasBeenSet = false;
120
121 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
122 bool m_jupyterLabAppImageConfigHasBeenSet = false;
123
124 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
125 bool m_codeEditorAppImageConfigHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
AWS_SAGEMAKER_API CreateAppImageConfigRequest()=default
const CodeEditorAppImageConfig & GetCodeEditorAppImageConfig() const
CreateAppImageConfigRequest & WithCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
CreateAppImageConfigRequest & WithAppImageConfigName(AppImageConfigNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
CreateAppImageConfigRequest & WithKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
virtual const char * GetServiceRequestName() const override
CreateAppImageConfigRequest & WithJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
void SetJupyterLabAppImageConfig(JupyterLabAppImageConfigT &&value)
CreateAppImageConfigRequest & WithTags(TagsT &&value)
CreateAppImageConfigRequest & AddTags(TagsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetCodeEditorAppImageConfig(CodeEditorAppImageConfigT &&value)
const JupyterLabAppImageConfig & GetJupyterLabAppImageConfig() const
void SetKernelGatewayImageConfig(KernelGatewayImageConfigT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector