AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
PrefixAwareRoutingConfig.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 PrefixAwareRoutingConfig() = default;
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
47 inline int GetPrefixLength() const { return m_prefixLength; }
48 inline bool PrefixLengthHasBeenSet() const { return m_prefixLengthHasBeenSet; }
49 inline void SetPrefixLength(int value) {
50 m_prefixLengthHasBeenSet = true;
51 m_prefixLength = value;
52 }
54 SetPrefixLength(value);
55 return *this;
56 }
58
60
67 inline int GetConcurrencyThreshold() const { return m_concurrencyThreshold; }
68 inline bool ConcurrencyThresholdHasBeenSet() const { return m_concurrencyThresholdHasBeenSet; }
69 inline void SetConcurrencyThreshold(int value) {
70 m_concurrencyThresholdHasBeenSet = true;
71 m_concurrencyThreshold = value;
72 }
75 return *this;
76 }
78 private:
79 int m_prefixLength{0};
80
81 int m_concurrencyThreshold{0};
82 bool m_prefixLengthHasBeenSet = false;
83 bool m_concurrencyThresholdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SageMaker
88} // namespace Aws
AWS_SAGEMAKER_API PrefixAwareRoutingConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PrefixAwareRoutingConfig()=default
AWS_SAGEMAKER_API PrefixAwareRoutingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
PrefixAwareRoutingConfig & WithPrefixLength(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PrefixAwareRoutingConfig & WithConcurrencyThreshold(int value)
Aws::Utils::Json::JsonValue JsonValue