AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateInferenceComponentRequest.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/InferenceComponentSpecification.h>
11#include <aws/sagemaker/model/InferenceComponentRuntimeConfig.h>
12#include <aws/sagemaker/model/InferenceComponentDeploymentConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API UpdateInferenceComponentRequest() = 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 "UpdateInferenceComponent"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetInferenceComponentName() const { return m_inferenceComponentName; }
45 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
46 template<typename InferenceComponentNameT = Aws::String>
47 void SetInferenceComponentName(InferenceComponentNameT&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::forward<InferenceComponentNameT>(value); }
48 template<typename InferenceComponentNameT = Aws::String>
49 UpdateInferenceComponentRequest& WithInferenceComponentName(InferenceComponentNameT&& value) { SetInferenceComponentName(std::forward<InferenceComponentNameT>(value)); return *this;}
51
53
57 inline const InferenceComponentSpecification& GetSpecification() const { return m_specification; }
58 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
59 template<typename SpecificationT = InferenceComponentSpecification>
60 void SetSpecification(SpecificationT&& value) { m_specificationHasBeenSet = true; m_specification = std::forward<SpecificationT>(value); }
61 template<typename SpecificationT = InferenceComponentSpecification>
62 UpdateInferenceComponentRequest& WithSpecification(SpecificationT&& value) { SetSpecification(std::forward<SpecificationT>(value)); return *this;}
64
66
70 inline const InferenceComponentRuntimeConfig& GetRuntimeConfig() const { return m_runtimeConfig; }
71 inline bool RuntimeConfigHasBeenSet() const { return m_runtimeConfigHasBeenSet; }
72 template<typename RuntimeConfigT = InferenceComponentRuntimeConfig>
73 void SetRuntimeConfig(RuntimeConfigT&& value) { m_runtimeConfigHasBeenSet = true; m_runtimeConfig = std::forward<RuntimeConfigT>(value); }
74 template<typename RuntimeConfigT = InferenceComponentRuntimeConfig>
75 UpdateInferenceComponentRequest& WithRuntimeConfig(RuntimeConfigT&& value) { SetRuntimeConfig(std::forward<RuntimeConfigT>(value)); return *this;}
77
79
83 inline const InferenceComponentDeploymentConfig& GetDeploymentConfig() const { return m_deploymentConfig; }
84 inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
85 template<typename DeploymentConfigT = InferenceComponentDeploymentConfig>
86 void SetDeploymentConfig(DeploymentConfigT&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::forward<DeploymentConfigT>(value); }
87 template<typename DeploymentConfigT = InferenceComponentDeploymentConfig>
88 UpdateInferenceComponentRequest& WithDeploymentConfig(DeploymentConfigT&& value) { SetDeploymentConfig(std::forward<DeploymentConfigT>(value)); return *this;}
90 private:
91
92 Aws::String m_inferenceComponentName;
93 bool m_inferenceComponentNameHasBeenSet = false;
94
95 InferenceComponentSpecification m_specification;
96 bool m_specificationHasBeenSet = false;
97
98 InferenceComponentRuntimeConfig m_runtimeConfig;
99 bool m_runtimeConfigHasBeenSet = false;
100
101 InferenceComponentDeploymentConfig m_deploymentConfig;
102 bool m_deploymentConfigHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SageMaker
107} // namespace Aws
const InferenceComponentRuntimeConfig & GetRuntimeConfig() const
const InferenceComponentDeploymentConfig & GetDeploymentConfig() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateInferenceComponentRequest & WithDeploymentConfig(DeploymentConfigT &&value)
UpdateInferenceComponentRequest & WithRuntimeConfig(RuntimeConfigT &&value)
AWS_SAGEMAKER_API UpdateInferenceComponentRequest()=default
const InferenceComponentSpecification & GetSpecification() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInferenceComponentRequest & WithInferenceComponentName(InferenceComponentNameT &&value)
UpdateInferenceComponentRequest & WithSpecification(SpecificationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String