AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateInferenceComponent"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetInferenceComponentName() const{ return m_inferenceComponentName; }
44 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
45 inline void SetInferenceComponentName(const Aws::String& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = value; }
46 inline void SetInferenceComponentName(Aws::String&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::move(value); }
47 inline void SetInferenceComponentName(const char* value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName.assign(value); }
52
54
58 inline const InferenceComponentSpecification& GetSpecification() const{ return m_specification; }
59 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
60 inline void SetSpecification(const InferenceComponentSpecification& value) { m_specificationHasBeenSet = true; m_specification = value; }
61 inline void SetSpecification(InferenceComponentSpecification&& value) { m_specificationHasBeenSet = true; m_specification = std::move(value); }
65
67
71 inline const InferenceComponentRuntimeConfig& GetRuntimeConfig() const{ return m_runtimeConfig; }
72 inline bool RuntimeConfigHasBeenSet() const { return m_runtimeConfigHasBeenSet; }
73 inline void SetRuntimeConfig(const InferenceComponentRuntimeConfig& value) { m_runtimeConfigHasBeenSet = true; m_runtimeConfig = value; }
74 inline void SetRuntimeConfig(InferenceComponentRuntimeConfig&& value) { m_runtimeConfigHasBeenSet = true; m_runtimeConfig = std::move(value); }
78 private:
79
80 Aws::String m_inferenceComponentName;
81 bool m_inferenceComponentNameHasBeenSet = false;
82
83 InferenceComponentSpecification m_specification;
84 bool m_specificationHasBeenSet = false;
85
86 InferenceComponentRuntimeConfig m_runtimeConfig;
87 bool m_runtimeConfigHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
UpdateInferenceComponentRequest & WithInferenceComponentName(Aws::String &&value)
UpdateInferenceComponentRequest & WithInferenceComponentName(const char *value)
UpdateInferenceComponentRequest & WithSpecification(const InferenceComponentSpecification &value)
void SetSpecification(const InferenceComponentSpecification &value)
const InferenceComponentRuntimeConfig & GetRuntimeConfig() const
UpdateInferenceComponentRequest & WithInferenceComponentName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const InferenceComponentSpecification & GetSpecification() const
void SetRuntimeConfig(const InferenceComponentRuntimeConfig &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInferenceComponentRequest & WithRuntimeConfig(InferenceComponentRuntimeConfig &&value)
void SetRuntimeConfig(InferenceComponentRuntimeConfig &&value)
UpdateInferenceComponentRequest & WithRuntimeConfig(const InferenceComponentRuntimeConfig &value)
UpdateInferenceComponentRequest & WithSpecification(InferenceComponentSpecification &&value)
void SetSpecification(InferenceComponentSpecification &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String