AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GlobalInferenceGatewayRoutingWeights.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
28 public:
29 AWS_SAGEMAKER_API GlobalInferenceGatewayRoutingWeights() = default;
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline double GetKVHeadroom() const { return m_kVHeadroom; }
39 inline bool KVHeadroomHasBeenSet() const { return m_kVHeadroomHasBeenSet; }
40 inline void SetKVHeadroom(double value) {
41 m_kVHeadroomHasBeenSet = true;
42 m_kVHeadroom = value;
43 }
45 SetKVHeadroom(value);
46 return *this;
47 }
49
51
54 inline double GetQueueDepth() const { return m_queueDepth; }
55 inline bool QueueDepthHasBeenSet() const { return m_queueDepthHasBeenSet; }
56 inline void SetQueueDepth(double value) {
57 m_queueDepthHasBeenSet = true;
58 m_queueDepth = value;
59 }
61 SetQueueDepth(value);
62 return *this;
63 }
65
67
70 inline double GetRegionProximity() const { return m_regionProximity; }
71 inline bool RegionProximityHasBeenSet() const { return m_regionProximityHasBeenSet; }
72 inline void SetRegionProximity(double value) {
73 m_regionProximityHasBeenSet = true;
74 m_regionProximity = value;
75 }
77 SetRegionProximity(value);
78 return *this;
79 }
81
83
86 inline double GetErrorRate() const { return m_errorRate; }
87 inline bool ErrorRateHasBeenSet() const { return m_errorRateHasBeenSet; }
88 inline void SetErrorRate(double value) {
89 m_errorRateHasBeenSet = true;
90 m_errorRate = value;
91 }
93 SetErrorRate(value);
94 return *this;
95 }
97 private:
98 double m_kVHeadroom{0.0};
99
100 double m_queueDepth{0.0};
101
102 double m_regionProximity{0.0};
103
104 double m_errorRate{0.0};
105 bool m_kVHeadroomHasBeenSet = false;
106 bool m_queueDepthHasBeenSet = false;
107 bool m_regionProximityHasBeenSet = false;
108 bool m_errorRateHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
AWS_SAGEMAKER_API GlobalInferenceGatewayRoutingWeights & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalInferenceGatewayRoutingWeights & WithErrorRate(double value)
GlobalInferenceGatewayRoutingWeights & WithKVHeadroom(double value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
GlobalInferenceGatewayRoutingWeights & WithRegionProximity(double value)
GlobalInferenceGatewayRoutingWeights & WithQueueDepth(double value)
AWS_SAGEMAKER_API GlobalInferenceGatewayRoutingWeights(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue