AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; }
49 inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); }
50 inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); }
52 inline CreateAppImageConfigRequest& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;}
53 inline CreateAppImageConfigRequest& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;}
55
57
60 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
61 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
62 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
63 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
64 inline CreateAppImageConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
65 inline CreateAppImageConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
66 inline CreateAppImageConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
67 inline CreateAppImageConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
69
71
76 inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const{ return m_kernelGatewayImageConfig; }
77 inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
78 inline void SetKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = value; }
79 inline void SetKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::move(value); }
83
85
91 inline const JupyterLabAppImageConfig& GetJupyterLabAppImageConfig() const{ return m_jupyterLabAppImageConfig; }
92 inline bool JupyterLabAppImageConfigHasBeenSet() const { return m_jupyterLabAppImageConfigHasBeenSet; }
93 inline void SetJupyterLabAppImageConfig(const JupyterLabAppImageConfig& value) { m_jupyterLabAppImageConfigHasBeenSet = true; m_jupyterLabAppImageConfig = value; }
94 inline void SetJupyterLabAppImageConfig(JupyterLabAppImageConfig&& value) { m_jupyterLabAppImageConfigHasBeenSet = true; m_jupyterLabAppImageConfig = std::move(value); }
98
100
105 inline const CodeEditorAppImageConfig& GetCodeEditorAppImageConfig() const{ return m_codeEditorAppImageConfig; }
106 inline bool CodeEditorAppImageConfigHasBeenSet() const { return m_codeEditorAppImageConfigHasBeenSet; }
107 inline void SetCodeEditorAppImageConfig(const CodeEditorAppImageConfig& value) { m_codeEditorAppImageConfigHasBeenSet = true; m_codeEditorAppImageConfig = value; }
108 inline void SetCodeEditorAppImageConfig(CodeEditorAppImageConfig&& value) { m_codeEditorAppImageConfigHasBeenSet = true; m_codeEditorAppImageConfig = std::move(value); }
112 private:
113
114 Aws::String m_appImageConfigName;
115 bool m_appImageConfigNameHasBeenSet = false;
116
117 Aws::Vector<Tag> m_tags;
118 bool m_tagsHasBeenSet = false;
119
120 KernelGatewayImageConfig m_kernelGatewayImageConfig;
121 bool m_kernelGatewayImageConfigHasBeenSet = false;
122
123 JupyterLabAppImageConfig m_jupyterLabAppImageConfig;
124 bool m_jupyterLabAppImageConfigHasBeenSet = false;
125
126 CodeEditorAppImageConfig m_codeEditorAppImageConfig;
127 bool m_codeEditorAppImageConfigHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
CreateAppImageConfigRequest & WithAppImageConfigName(const char *value)
void SetKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
void SetKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
void SetCodeEditorAppImageConfig(CodeEditorAppImageConfig &&value)
CreateAppImageConfigRequest & WithKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
CreateAppImageConfigRequest & WithCodeEditorAppImageConfig(const CodeEditorAppImageConfig &value)
CreateAppImageConfigRequest & WithAppImageConfigName(Aws::String &&value)
const CodeEditorAppImageConfig & GetCodeEditorAppImageConfig() const
void SetCodeEditorAppImageConfig(const CodeEditorAppImageConfig &value)
CreateAppImageConfigRequest & WithKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
CreateAppImageConfigRequest & WithJupyterLabAppImageConfig(const JupyterLabAppImageConfig &value)
CreateAppImageConfigRequest & WithAppImageConfigName(const Aws::String &value)
CreateAppImageConfigRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAppImageConfigRequest & AddTags(Tag &&value)
CreateAppImageConfigRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAppImageConfigRequest & WithCodeEditorAppImageConfig(CodeEditorAppImageConfig &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
CreateAppImageConfigRequest & WithJupyterLabAppImageConfig(JupyterLabAppImageConfig &&value)
void SetJupyterLabAppImageConfig(JupyterLabAppImageConfig &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const JupyterLabAppImageConfig & GetJupyterLabAppImageConfig() const
CreateAppImageConfigRequest & AddTags(const Tag &value)
void SetJupyterLabAppImageConfig(const JupyterLabAppImageConfig &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