AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const ModelInfrastructureType& GetInfrastructureType() const{ return m_infrastructureType; }
49 inline bool InfrastructureTypeHasBeenSet() const { return m_infrastructureTypeHasBeenSet; }
50 inline void SetInfrastructureType(const ModelInfrastructureType& value) { m_infrastructureTypeHasBeenSet = true; m_infrastructureType = value; }
51 inline void SetInfrastructureType(ModelInfrastructureType&& value) { m_infrastructureTypeHasBeenSet = true; m_infrastructureType = std::move(value); }
55
57
61 inline const RealTimeInferenceConfig& GetRealTimeInferenceConfig() const{ return m_realTimeInferenceConfig; }
62 inline bool RealTimeInferenceConfigHasBeenSet() const { return m_realTimeInferenceConfigHasBeenSet; }
63 inline void SetRealTimeInferenceConfig(const RealTimeInferenceConfig& value) { m_realTimeInferenceConfigHasBeenSet = true; m_realTimeInferenceConfig = value; }
64 inline void SetRealTimeInferenceConfig(RealTimeInferenceConfig&& value) { m_realTimeInferenceConfigHasBeenSet = true; m_realTimeInferenceConfig = std::move(value); }
68 private:
69
70 ModelInfrastructureType m_infrastructureType;
71 bool m_infrastructureTypeHasBeenSet = false;
72
73 RealTimeInferenceConfig m_realTimeInferenceConfig;
74 bool m_realTimeInferenceConfigHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRealTimeInferenceConfig(const RealTimeInferenceConfig &value)
void SetInfrastructureType(ModelInfrastructureType &&value)
const RealTimeInferenceConfig & GetRealTimeInferenceConfig() const
AWS_SAGEMAKER_API ModelInfrastructureConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelInfrastructureConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModelInfrastructureType & GetInfrastructureType() const
ModelInfrastructureConfig & WithRealTimeInferenceConfig(const RealTimeInferenceConfig &value)
ModelInfrastructureConfig & WithInfrastructureType(const ModelInfrastructureType &value)
ModelInfrastructureConfig & WithInfrastructureType(ModelInfrastructureType &&value)
void SetRealTimeInferenceConfig(RealTimeInferenceConfig &&value)
void SetInfrastructureType(const ModelInfrastructureType &value)
ModelInfrastructureConfig & WithRealTimeInferenceConfig(RealTimeInferenceConfig &&value)
Aws::Utils::Json::JsonValue JsonValue