AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GlobalInferenceGatewayRouting.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/GlobalInferenceGatewayRoutingWeights.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
30 public:
31 AWS_SAGEMAKER_API GlobalInferenceGatewayRouting() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const GlobalInferenceGatewayRoutingWeights& GetWeights() const { return m_weights; }
42 inline bool WeightsHasBeenSet() const { return m_weightsHasBeenSet; }
43 template <typename WeightsT = GlobalInferenceGatewayRoutingWeights>
44 void SetWeights(WeightsT&& value) {
45 m_weightsHasBeenSet = true;
46 m_weights = std::forward<WeightsT>(value);
47 }
48 template <typename WeightsT = GlobalInferenceGatewayRoutingWeights>
50 SetWeights(std::forward<WeightsT>(value));
51 return *this;
52 }
54 private:
56 bool m_weightsHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const GlobalInferenceGatewayRoutingWeights & GetWeights() const
AWS_SAGEMAKER_API GlobalInferenceGatewayRouting()=default
AWS_SAGEMAKER_API GlobalInferenceGatewayRouting(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API GlobalInferenceGatewayRouting & operator=(Aws::Utils::Json::JsonView jsonValue)
GlobalInferenceGatewayRouting & WithWeights(WeightsT &&value)
Aws::Utils::Json::JsonValue JsonValue