AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProductionVariantRoutingConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RoutingStrategy.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ProductionVariantRoutingConfig();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const RoutingStrategy& GetRoutingStrategy() const{ return m_routingStrategy; }
50 inline bool RoutingStrategyHasBeenSet() const { return m_routingStrategyHasBeenSet; }
51 inline void SetRoutingStrategy(const RoutingStrategy& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = value; }
52 inline void SetRoutingStrategy(RoutingStrategy&& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = std::move(value); }
54 inline ProductionVariantRoutingConfig& WithRoutingStrategy(RoutingStrategy&& value) { SetRoutingStrategy(std::move(value)); return *this;}
56 private:
57
58 RoutingStrategy m_routingStrategy;
59 bool m_routingStrategyHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SageMaker
64} // namespace Aws
ProductionVariantRoutingConfig & WithRoutingStrategy(RoutingStrategy &&value)
AWS_SAGEMAKER_API ProductionVariantRoutingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ProductionVariantRoutingConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProductionVariantRoutingConfig & WithRoutingStrategy(const RoutingStrategy &value)
Aws::Utils::Json::JsonValue JsonValue