AWS SDK for C++  1.9.158
AWS SDK for C++
UpdateAppImageConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateAppImageConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetAppImageConfigName() const{ return m_appImageConfigName; }
42 
46  inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; }
47 
51  inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; }
52 
56  inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); }
57 
61  inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); }
62 
66  inline UpdateAppImageConfigRequest& WithAppImageConfigName(const Aws::String& value) { SetAppImageConfigName(value); return *this;}
67 
71  inline UpdateAppImageConfigRequest& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;}
72 
76  inline UpdateAppImageConfigRequest& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;}
77 
78 
82  inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const{ return m_kernelGatewayImageConfig; }
83 
87  inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; }
88 
92  inline void SetKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = value; }
93 
97  inline void SetKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::move(value); }
98 
102  inline UpdateAppImageConfigRequest& WithKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { SetKernelGatewayImageConfig(value); return *this;}
103 
107  inline UpdateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { SetKernelGatewayImageConfig(std::move(value)); return *this;}
108 
109  private:
110 
111  Aws::String m_appImageConfigName;
112  bool m_appImageConfigNameHasBeenSet;
113 
114  KernelGatewayImageConfig m_kernelGatewayImageConfig;
115  bool m_kernelGatewayImageConfigHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace SageMaker
120 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SetKernelGatewayImageConfig
void SetKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
Definition: UpdateAppImageConfigRequest.h:92
Aws::SageMaker::Model::UpdateAppImageConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAppImageConfigRequest.h:31
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateAppImageConfigRequest::KernelGatewayImageConfigHasBeenSet
bool KernelGatewayImageConfigHasBeenSet() const
Definition: UpdateAppImageConfigRequest.h:87
Aws::SageMaker::Model::UpdateAppImageConfigRequest::UpdateAppImageConfigRequest
UpdateAppImageConfigRequest()
KernelGatewayImageConfig.h
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(const char *value)
Definition: UpdateAppImageConfigRequest.h:61
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SetKernelGatewayImageConfig
void SetKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
Definition: UpdateAppImageConfigRequest.h:97
Aws::SageMaker::Model::UpdateAppImageConfigRequest
Definition: UpdateAppImageConfigRequest.h:23
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(Aws::String &&value)
Definition: UpdateAppImageConfigRequest.h:56
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SetAppImageConfigName
void SetAppImageConfigName(const Aws::String &value)
Definition: UpdateAppImageConfigRequest.h:51
Aws::SageMaker::Model::UpdateAppImageConfigRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::SageMaker::Model::UpdateAppImageConfigRequest::WithKernelGatewayImageConfig
UpdateAppImageConfigRequest & WithKernelGatewayImageConfig(KernelGatewayImageConfig &&value)
Definition: UpdateAppImageConfigRequest.h:107
Aws::SageMaker::Model::UpdateAppImageConfigRequest::WithKernelGatewayImageConfig
UpdateAppImageConfigRequest & WithKernelGatewayImageConfig(const KernelGatewayImageConfig &value)
Definition: UpdateAppImageConfigRequest.h:102
Aws::SageMaker::Model::UpdateAppImageConfigRequest::WithAppImageConfigName
UpdateAppImageConfigRequest & WithAppImageConfigName(Aws::String &&value)
Definition: UpdateAppImageConfigRequest.h:71
Aws::SageMaker::Model::UpdateAppImageConfigRequest::AppImageConfigNameHasBeenSet
bool AppImageConfigNameHasBeenSet() const
Definition: UpdateAppImageConfigRequest.h:46
Aws::SageMaker::Model::UpdateAppImageConfigRequest::WithAppImageConfigName
UpdateAppImageConfigRequest & WithAppImageConfigName(const Aws::String &value)
Definition: UpdateAppImageConfigRequest.h:66
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateAppImageConfigRequest::GetKernelGatewayImageConfig
const KernelGatewayImageConfig & GetKernelGatewayImageConfig() const
Definition: UpdateAppImageConfigRequest.h:82
Aws::SageMaker::Model::UpdateAppImageConfigRequest::GetAppImageConfigName
const Aws::String & GetAppImageConfigName() const
Definition: UpdateAppImageConfigRequest.h:41
Aws::SageMaker::Model::UpdateAppImageConfigRequest::WithAppImageConfigName
UpdateAppImageConfigRequest & WithAppImageConfigName(const char *value)
Definition: UpdateAppImageConfigRequest.h:76
Aws::SageMaker::Model::KernelGatewayImageConfig
Definition: KernelGatewayImageConfig.h:35
Aws::SageMaker::Model::UpdateAppImageConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override