7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ScalingPolicyObjective.h>
10#include <aws/sagemaker/model/ScalingPolicyMetric.h>
11#include <aws/sagemaker/model/DynamicScalingConfiguration.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename InferenceRecommendationsJobNameT = Aws::String>
44 void SetInferenceRecommendationsJobName(InferenceRecommendationsJobNameT&& value) { m_inferenceRecommendationsJobNameHasBeenSet =
true; m_inferenceRecommendationsJobName = std::forward<InferenceRecommendationsJobNameT>(value); }
45 template<
typename InferenceRecommendationsJobNameT = Aws::String>
54 template<
typename RecommendationIdT = Aws::String>
55 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
56 template<
typename RecommendationIdT = Aws::String>
66 template<
typename Endpo
intNameT = Aws::String>
67 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
68 template<
typename Endpo
intNameT = Aws::String>
88 template<
typename ScalingPolicyObjectiveT = ScalingPolicyObjective>
89 void SetScalingPolicyObjective(ScalingPolicyObjectiveT&& value) { m_scalingPolicyObjectiveHasBeenSet =
true; m_scalingPolicyObjective = std::forward<ScalingPolicyObjectiveT>(value); }
90 template<
typename ScalingPolicyObjectiveT = ScalingPolicyObjective>
100 template<
typename MetricT = ScalingPolicyMetric>
101 void SetMetric(MetricT&& value) { m_metricHasBeenSet =
true; m_metric = std::forward<MetricT>(value); }
102 template<
typename MetricT = ScalingPolicyMetric>
112 template<
typename DynamicScalingConfigurationT = DynamicScalingConfiguration>
113 void SetDynamicScalingConfiguration(DynamicScalingConfigurationT&& value) { m_dynamicScalingConfigurationHasBeenSet =
true; m_dynamicScalingConfiguration = std::forward<DynamicScalingConfigurationT>(value); }
114 template<
typename DynamicScalingConfigurationT = DynamicScalingConfiguration>
121 template<
typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
123 template<
typename RequestIdT = Aws::String>
129 bool m_inferenceRecommendationsJobNameHasBeenSet =
false;
132 bool m_recommendationIdHasBeenSet =
false;
135 bool m_endpointNameHasBeenSet =
false;
137 int m_targetCpuUtilizationPerCore{0};
138 bool m_targetCpuUtilizationPerCoreHasBeenSet =
false;
140 ScalingPolicyObjective m_scalingPolicyObjective;
141 bool m_scalingPolicyObjectiveHasBeenSet =
false;
143 ScalingPolicyMetric m_metric;
144 bool m_metricHasBeenSet =
false;
146 DynamicScalingConfiguration m_dynamicScalingConfiguration;
147 bool m_dynamicScalingConfigurationHasBeenSet =
false;
150 bool m_requestIdHasBeenSet =
false;
AWS_SAGEMAKER_API GetScalingConfigurationRecommendationResult()=default
int GetTargetCpuUtilizationPerCore() const
const Aws::String & GetInferenceRecommendationsJobName() const
GetScalingConfigurationRecommendationResult & WithDynamicScalingConfiguration(DynamicScalingConfigurationT &&value)
void SetInferenceRecommendationsJobName(InferenceRecommendationsJobNameT &&value)
GetScalingConfigurationRecommendationResult & WithRequestId(RequestIdT &&value)
GetScalingConfigurationRecommendationResult & WithTargetCpuUtilizationPerCore(int value)
AWS_SAGEMAKER_API GetScalingConfigurationRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const DynamicScalingConfiguration & GetDynamicScalingConfiguration() const
const ScalingPolicyMetric & GetMetric() const
void SetDynamicScalingConfiguration(DynamicScalingConfigurationT &&value)
GetScalingConfigurationRecommendationResult & WithEndpointName(EndpointNameT &&value)
void SetRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API GetScalingConfigurationRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEndpointName(EndpointNameT &&value)
void SetMetric(MetricT &&value)
void SetRecommendationId(RecommendationIdT &&value)
const Aws::String & GetEndpointName() const
GetScalingConfigurationRecommendationResult & WithInferenceRecommendationsJobName(InferenceRecommendationsJobNameT &&value)
void SetScalingPolicyObjective(ScalingPolicyObjectiveT &&value)
void SetTargetCpuUtilizationPerCore(int value)
GetScalingConfigurationRecommendationResult & WithMetric(MetricT &&value)
GetScalingConfigurationRecommendationResult & WithScalingPolicyObjective(ScalingPolicyObjectiveT &&value)
const Aws::String & GetRecommendationId() const
const Aws::String & GetRequestId() const
GetScalingConfigurationRecommendationResult & WithRecommendationId(RecommendationIdT &&value)
const ScalingPolicyObjective & GetScalingPolicyObjective() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue