AWS SDK for C++  1.9.158
AWS SDK for C++
CreateAppImageConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
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 "CreateAppImageConfig"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetAppImageConfigName() const{ return m_appImageConfigName; }
44 
48  inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
49 
53  inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; }
54 
58  inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); }
59 
63  inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); }
64 
68  inline CreateAppImageConfigRequest& WithAppImageConfigName(const Aws::String& value) { SetAppImageConfigName(value); return *this;}
69 
73  inline CreateAppImageConfigRequest& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;}
74 
78  inline CreateAppImageConfigRequest& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;}
79 
80 
84  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
85 
89  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
90 
94  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
95 
99  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
100 
104  inline CreateAppImageConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
105 
109  inline CreateAppImageConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 
114  inline CreateAppImageConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
115 
119  inline CreateAppImageConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
120 
121 
125  inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const{ return m_kernelGatewayImageConfig; }
126 
130  inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
131 
135  inline void SetKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = value; }
136 
140  inline void SetKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::move(value); }
141 
145  inline CreateAppImageConfigRequest& WithKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { SetKernelGatewayImageConfig(value); return *this;}
146 
150  inline CreateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { SetKernelGatewayImageConfig(std::move(value)); return *this;}
151 
152  private:
153 
154  Aws::String m_appImageConfigName;
155  bool m_appImageConfigNameHasBeenSet;
156 
157  Aws::Vector<Tag> m_tags;
158  bool m_tagsHasBeenSet;
159 
160  KernelGatewayImageConfig m_kernelGatewayImageConfig;
161  bool m_kernelGatewayImageConfigHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace SageMaker
166 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithAppImageConfigName
CreateAppImageConfigRequest & WithAppImageConfigName(const Aws::String &value)
Definition: CreateAppImageConfigRequest.h:68
Aws::SageMaker::Model::CreateAppImageConfigRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateAppImageConfigRequest.h:89
Aws::SageMaker::Model::CreateAppImageConfigRequest::GetAppImageConfigName
const Aws::String & GetAppImageConfigName() const
Definition: CreateAppImageConfigRequest.h:43
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(const char *value)
Definition: CreateAppImageConfigRequest.h:63
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
KernelGatewayImageConfig.h
AWSVector.h
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithAppImageConfigName
CreateAppImageConfigRequest & WithAppImageConfigName(const char *value)
Definition: CreateAppImageConfigRequest.h:78
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(Aws::String &&value)
Definition: CreateAppImageConfigRequest.h:58
Aws::SageMaker::Model::CreateAppImageConfigRequest::AddTags
CreateAppImageConfigRequest & AddTags(const Tag &value)
Definition: CreateAppImageConfigRequest.h:114
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::CreateAppImageConfigRequest::AppImageConfigNameHasBeenSet
bool AppImageConfigNameHasBeenSet() const
Definition: CreateAppImageConfigRequest.h:48
Aws::SageMaker::Model::CreateAppImageConfigRequest
Definition: CreateAppImageConfigRequest.h:25
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateAppImageConfigRequest::KernelGatewayImageConfigHasBeenSet
bool KernelGatewayImageConfigHasBeenSet() const
Definition: CreateAppImageConfigRequest.h:130
Aws::SageMaker::Model::CreateAppImageConfigRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateAppImageConfigRequest.h:84
Aws::SageMaker::Model::CreateAppImageConfigRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Tag.h
Aws::SageMaker::Model::CreateAppImageConfigRequest::GetKernelGatewayImageConfig
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
Definition: CreateAppImageConfigRequest.h:125
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithKernelGatewayImageConfig
CreateAppImageConfigRequest & WithKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
Definition: CreateAppImageConfigRequest.h:150
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithAppImageConfigName
CreateAppImageConfigRequest & WithAppImageConfigName(Aws::String &&value)
Definition: CreateAppImageConfigRequest.h:73
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateAppImageConfigRequest.h:99
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetKernelGatewayImageConfig
void SetKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
Definition: CreateAppImageConfigRequest.h:140
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetKernelGatewayImageConfig
void SetKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
Definition: CreateAppImageConfigRequest.h:135
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithTags
CreateAppImageConfigRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateAppImageConfigRequest.h:104
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateAppImageConfigRequest::AddTags
CreateAppImageConfigRequest & AddTags(Tag &&value)
Definition: CreateAppImageConfigRequest.h:119
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithKernelGatewayImageConfig
CreateAppImageConfigRequest & WithKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
Definition: CreateAppImageConfigRequest.h:145
Aws::SageMaker::Model::CreateAppImageConfigRequest::WithTags
CreateAppImageConfigRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateAppImageConfigRequest.h:109
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(const Aws::String &value)
Definition: CreateAppImageConfigRequest.h:53
Aws::SageMaker::Model::CreateAppImageConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateAppImageConfigRequest::CreateAppImageConfigRequest
CreateAppImageConfigRequest()
Aws::SageMaker::Model::CreateAppImageConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateAppImageConfigRequest.h:33
Aws::SageMaker::Model::CreateAppImageConfigRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateAppImageConfigRequest.h:94
Aws::SageMaker::Model::KernelGatewayImageConfig
Definition: KernelGatewayImageConfig.h:35