AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInferenceComponentRuntimeConfigRequest.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/InferenceComponentRuntimeConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace 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 "UpdateInferenceComponentRuntimeConfig"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetInferenceComponentName() const{ return m_inferenceComponentName; }
43 inline bool InferenceComponentNameHasBeenSet() const { return m_inferenceComponentNameHasBeenSet; }
44 inline void SetInferenceComponentName(const Aws::String& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = value; }
45 inline void SetInferenceComponentName(Aws::String&& value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName = std::move(value); }
46 inline void SetInferenceComponentName(const char* value) { m_inferenceComponentNameHasBeenSet = true; m_inferenceComponentName.assign(value); }
51
53
57 inline const InferenceComponentRuntimeConfig& GetDesiredRuntimeConfig() const{ return m_desiredRuntimeConfig; }
58 inline bool DesiredRuntimeConfigHasBeenSet() const { return m_desiredRuntimeConfigHasBeenSet; }
59 inline void SetDesiredRuntimeConfig(const InferenceComponentRuntimeConfig& value) { m_desiredRuntimeConfigHasBeenSet = true; m_desiredRuntimeConfig = value; }
60 inline void SetDesiredRuntimeConfig(InferenceComponentRuntimeConfig&& value) { m_desiredRuntimeConfigHasBeenSet = true; m_desiredRuntimeConfig = std::move(value); }
64 private:
65
66 Aws::String m_inferenceComponentName;
67 bool m_inferenceComponentNameHasBeenSet = false;
68
69 InferenceComponentRuntimeConfig m_desiredRuntimeConfig;
70 bool m_desiredRuntimeConfigHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateInferenceComponentRuntimeConfigRequest & WithDesiredRuntimeConfig(const InferenceComponentRuntimeConfig &value)
UpdateInferenceComponentRuntimeConfigRequest & WithInferenceComponentName(const Aws::String &value)
UpdateInferenceComponentRuntimeConfigRequest & WithInferenceComponentName(Aws::String &&value)
UpdateInferenceComponentRuntimeConfigRequest & WithDesiredRuntimeConfig(InferenceComponentRuntimeConfig &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateInferenceComponentRuntimeConfigRequest & WithInferenceComponentName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String