AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelInfrastructureConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ModelInfrastructureType.h>
9#include <aws/sagemaker/model/RealTimeInferenceConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ModelInfrastructureConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline ModelInfrastructureType GetInfrastructureType() const { return m_infrastructureType; }
49 inline bool InfrastructureTypeHasBeenSet() const { return m_infrastructureTypeHasBeenSet; }
50 inline void SetInfrastructureType(ModelInfrastructureType value) { m_infrastructureTypeHasBeenSet = true; m_infrastructureType = value; }
53
55
59 inline const RealTimeInferenceConfig& GetRealTimeInferenceConfig() const { return m_realTimeInferenceConfig; }
60 inline bool RealTimeInferenceConfigHasBeenSet() const { return m_realTimeInferenceConfigHasBeenSet; }
61 template<typename RealTimeInferenceConfigT = RealTimeInferenceConfig>
62 void SetRealTimeInferenceConfig(RealTimeInferenceConfigT&& value) { m_realTimeInferenceConfigHasBeenSet = true; m_realTimeInferenceConfig = std::forward<RealTimeInferenceConfigT>(value); }
63 template<typename RealTimeInferenceConfigT = RealTimeInferenceConfig>
64 ModelInfrastructureConfig& WithRealTimeInferenceConfig(RealTimeInferenceConfigT&& value) { SetRealTimeInferenceConfig(std::forward<RealTimeInferenceConfigT>(value)); return *this;}
66 private:
67
69 bool m_infrastructureTypeHasBeenSet = false;
70
71 RealTimeInferenceConfig m_realTimeInferenceConfig;
72 bool m_realTimeInferenceConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRealTimeInferenceConfig(RealTimeInferenceConfigT &&value)
const RealTimeInferenceConfig & GetRealTimeInferenceConfig() const
AWS_SAGEMAKER_API ModelInfrastructureConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelInfrastructureConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelInfrastructureConfig & WithRealTimeInferenceConfig(RealTimeInferenceConfigT &&value)
ModelInfrastructureConfig & WithInfrastructureType(ModelInfrastructureType value)
void SetInfrastructureType(ModelInfrastructureType value)
AWS_SAGEMAKER_API ModelInfrastructureConfig()=default
Aws::Utils::Json::JsonValue JsonValue