AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiModelConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ModelCacheSetting.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 MultiModelConfig();
36 AWS_SAGEMAKER_API MultiModelConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const ModelCacheSetting& GetModelCacheSetting() const{ return m_modelCacheSetting; }
52 inline bool ModelCacheSettingHasBeenSet() const { return m_modelCacheSettingHasBeenSet; }
53 inline void SetModelCacheSetting(const ModelCacheSetting& value) { m_modelCacheSettingHasBeenSet = true; m_modelCacheSetting = value; }
54 inline void SetModelCacheSetting(ModelCacheSetting&& value) { m_modelCacheSettingHasBeenSet = true; m_modelCacheSetting = std::move(value); }
56 inline MultiModelConfig& WithModelCacheSetting(ModelCacheSetting&& value) { SetModelCacheSetting(std::move(value)); return *this;}
58 private:
59
60 ModelCacheSetting m_modelCacheSetting;
61 bool m_modelCacheSettingHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SageMaker
66} // namespace Aws
AWS_SAGEMAKER_API MultiModelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelCacheSetting(const ModelCacheSetting &value)
const ModelCacheSetting & GetModelCacheSetting() const
void SetModelCacheSetting(ModelCacheSetting &&value)
MultiModelConfig & WithModelCacheSetting(const ModelCacheSetting &value)
AWS_SAGEMAKER_API MultiModelConfig(Aws::Utils::Json::JsonView jsonValue)
MultiModelConfig & WithModelCacheSetting(ModelCacheSetting &&value)
Aws::Utils::Json::JsonValue JsonValue