AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetScalingConfigurationRecommendationResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetInferenceRecommendationsJobName() const{ return m_inferenceRecommendationsJobName; }
43 inline void SetInferenceRecommendationsJobName(const Aws::String& value) { m_inferenceRecommendationsJobName = value; }
44 inline void SetInferenceRecommendationsJobName(Aws::String&& value) { m_inferenceRecommendationsJobName = std::move(value); }
45 inline void SetInferenceRecommendationsJobName(const char* value) { m_inferenceRecommendationsJobName.assign(value); }
50
52
55 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
56 inline void SetRecommendationId(const Aws::String& value) { m_recommendationId = value; }
57 inline void SetRecommendationId(Aws::String&& value) { m_recommendationId = std::move(value); }
58 inline void SetRecommendationId(const char* value) { m_recommendationId.assign(value); }
63
65
69 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
70 inline void SetEndpointName(const Aws::String& value) { m_endpointName = value; }
71 inline void SetEndpointName(Aws::String&& value) { m_endpointName = std::move(value); }
72 inline void SetEndpointName(const char* value) { m_endpointName.assign(value); }
75 inline GetScalingConfigurationRecommendationResult& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
77
79
83 inline int GetTargetCpuUtilizationPerCore() const{ return m_targetCpuUtilizationPerCore; }
84 inline void SetTargetCpuUtilizationPerCore(int value) { m_targetCpuUtilizationPerCore = value; }
87
89
93 inline const ScalingPolicyObjective& GetScalingPolicyObjective() const{ return m_scalingPolicyObjective; }
94 inline void SetScalingPolicyObjective(const ScalingPolicyObjective& value) { m_scalingPolicyObjective = value; }
95 inline void SetScalingPolicyObjective(ScalingPolicyObjective&& value) { m_scalingPolicyObjective = std::move(value); }
99
101
105 inline const ScalingPolicyMetric& GetMetric() const{ return m_metric; }
106 inline void SetMetric(const ScalingPolicyMetric& value) { m_metric = value; }
107 inline void SetMetric(ScalingPolicyMetric&& value) { m_metric = std::move(value); }
109 inline GetScalingConfigurationRecommendationResult& WithMetric(ScalingPolicyMetric&& value) { SetMetric(std::move(value)); return *this;}
111
113
117 inline const DynamicScalingConfiguration& GetDynamicScalingConfiguration() const{ return m_dynamicScalingConfiguration; }
118 inline void SetDynamicScalingConfiguration(const DynamicScalingConfiguration& value) { m_dynamicScalingConfiguration = value; }
119 inline void SetDynamicScalingConfiguration(DynamicScalingConfiguration&& value) { m_dynamicScalingConfiguration = std::move(value); }
123
125
126 inline const Aws::String& GetRequestId() const{ return m_requestId; }
127 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
128 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
129 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline GetScalingConfigurationRecommendationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
132 inline GetScalingConfigurationRecommendationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
134 private:
135
136 Aws::String m_inferenceRecommendationsJobName;
137
138 Aws::String m_recommendationId;
139
140 Aws::String m_endpointName;
141
142 int m_targetCpuUtilizationPerCore;
143
144 ScalingPolicyObjective m_scalingPolicyObjective;
145
146 ScalingPolicyMetric m_metric;
147
148 DynamicScalingConfiguration m_dynamicScalingConfiguration;
149
150 Aws::String m_requestId;
151 };
152
153} // namespace Model
154} // namespace SageMaker
155} // namespace Aws
GetScalingConfigurationRecommendationResult & WithEndpointName(const Aws::String &value)
GetScalingConfigurationRecommendationResult & WithDynamicScalingConfiguration(const DynamicScalingConfiguration &value)
GetScalingConfigurationRecommendationResult & WithTargetCpuUtilizationPerCore(int value)
AWS_SAGEMAKER_API GetScalingConfigurationRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScalingConfigurationRecommendationResult & WithRecommendationId(const Aws::String &value)
GetScalingConfigurationRecommendationResult & WithRequestId(const Aws::String &value)
GetScalingConfigurationRecommendationResult & WithInferenceRecommendationsJobName(const Aws::String &value)
GetScalingConfigurationRecommendationResult & WithMetric(ScalingPolicyMetric &&value)
GetScalingConfigurationRecommendationResult & WithEndpointName(const char *value)
GetScalingConfigurationRecommendationResult & WithRequestId(Aws::String &&value)
GetScalingConfigurationRecommendationResult & WithMetric(const ScalingPolicyMetric &value)
GetScalingConfigurationRecommendationResult & WithEndpointName(Aws::String &&value)
AWS_SAGEMAKER_API GetScalingConfigurationRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetScalingConfigurationRecommendationResult & WithDynamicScalingConfiguration(DynamicScalingConfiguration &&value)
GetScalingConfigurationRecommendationResult & WithRecommendationId(Aws::String &&value)
GetScalingConfigurationRecommendationResult & WithRecommendationId(const char *value)
GetScalingConfigurationRecommendationResult & WithInferenceRecommendationsJobName(const char *value)
GetScalingConfigurationRecommendationResult & WithInferenceRecommendationsJobName(Aws::String &&value)
GetScalingConfigurationRecommendationResult & WithScalingPolicyObjective(const ScalingPolicyObjective &value)
GetScalingConfigurationRecommendationResult & WithRequestId(const char *value)
GetScalingConfigurationRecommendationResult & WithScalingPolicyObjective(ScalingPolicyObjective &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue