AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetScalingConfigurationRecommendationRequest.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/ScalingPolicyObjective.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 "GetScalingConfigurationRecommendation"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetInferenceRecommendationsJobName() const{ return m_inferenceRecommendationsJobName; }
43 inline bool InferenceRecommendationsJobNameHasBeenSet() const { return m_inferenceRecommendationsJobNameHasBeenSet; }
44 inline void SetInferenceRecommendationsJobName(const Aws::String& value) { m_inferenceRecommendationsJobNameHasBeenSet = true; m_inferenceRecommendationsJobName = value; }
45 inline void SetInferenceRecommendationsJobName(Aws::String&& value) { m_inferenceRecommendationsJobNameHasBeenSet = true; m_inferenceRecommendationsJobName = std::move(value); }
46 inline void SetInferenceRecommendationsJobName(const char* value) { m_inferenceRecommendationsJobNameHasBeenSet = true; m_inferenceRecommendationsJobName.assign(value); }
51
53
59 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
60 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
61 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
62 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
63 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
68
70
77 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
78 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
79 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
80 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
81 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
84 inline GetScalingConfigurationRecommendationRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
86
88
92 inline int GetTargetCpuUtilizationPerCore() const{ return m_targetCpuUtilizationPerCore; }
93 inline bool TargetCpuUtilizationPerCoreHasBeenSet() const { return m_targetCpuUtilizationPerCoreHasBeenSet; }
94 inline void SetTargetCpuUtilizationPerCore(int value) { m_targetCpuUtilizationPerCoreHasBeenSet = true; m_targetCpuUtilizationPerCore = value; }
97
99
103 inline const ScalingPolicyObjective& GetScalingPolicyObjective() const{ return m_scalingPolicyObjective; }
104 inline bool ScalingPolicyObjectiveHasBeenSet() const { return m_scalingPolicyObjectiveHasBeenSet; }
105 inline void SetScalingPolicyObjective(const ScalingPolicyObjective& value) { m_scalingPolicyObjectiveHasBeenSet = true; m_scalingPolicyObjective = value; }
106 inline void SetScalingPolicyObjective(ScalingPolicyObjective&& value) { m_scalingPolicyObjectiveHasBeenSet = true; m_scalingPolicyObjective = std::move(value); }
110 private:
111
112 Aws::String m_inferenceRecommendationsJobName;
113 bool m_inferenceRecommendationsJobNameHasBeenSet = false;
114
115 Aws::String m_recommendationId;
116 bool m_recommendationIdHasBeenSet = false;
117
118 Aws::String m_endpointName;
119 bool m_endpointNameHasBeenSet = false;
120
121 int m_targetCpuUtilizationPerCore;
122 bool m_targetCpuUtilizationPerCoreHasBeenSet = false;
123
124 ScalingPolicyObjective m_scalingPolicyObjective;
125 bool m_scalingPolicyObjectiveHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SageMaker
130} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetScalingConfigurationRecommendationRequest & WithRecommendationId(Aws::String &&value)
GetScalingConfigurationRecommendationRequest & WithInferenceRecommendationsJobName(const Aws::String &value)
GetScalingConfigurationRecommendationRequest & WithTargetCpuUtilizationPerCore(int value)
GetScalingConfigurationRecommendationRequest & WithScalingPolicyObjective(ScalingPolicyObjective &&value)
GetScalingConfigurationRecommendationRequest & WithInferenceRecommendationsJobName(const char *value)
GetScalingConfigurationRecommendationRequest & WithEndpointName(Aws::String &&value)
GetScalingConfigurationRecommendationRequest & WithEndpointName(const char *value)
GetScalingConfigurationRecommendationRequest & WithRecommendationId(const char *value)
GetScalingConfigurationRecommendationRequest & WithRecommendationId(const Aws::String &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
GetScalingConfigurationRecommendationRequest & WithInferenceRecommendationsJobName(Aws::String &&value)
GetScalingConfigurationRecommendationRequest & WithEndpointName(const Aws::String &value)
GetScalingConfigurationRecommendationRequest & WithScalingPolicyObjective(const ScalingPolicyObjective &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String