AWS SDK for C++  1.9.159
AWS SDK for C++
MultiModelConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
50  inline const ModelCacheSetting& GetModelCacheSetting() const{ return m_modelCacheSetting; }
51 
61  inline bool ModelCacheSettingHasBeenSet() const { return m_modelCacheSettingHasBeenSet; }
62 
72  inline void SetModelCacheSetting(const ModelCacheSetting& value) { m_modelCacheSettingHasBeenSet = true; m_modelCacheSetting = value; }
73 
83  inline void SetModelCacheSetting(ModelCacheSetting&& value) { m_modelCacheSettingHasBeenSet = true; m_modelCacheSetting = std::move(value); }
84 
94  inline MultiModelConfig& WithModelCacheSetting(const ModelCacheSetting& value) { SetModelCacheSetting(value); return *this;}
95 
105  inline MultiModelConfig& WithModelCacheSetting(ModelCacheSetting&& value) { SetModelCacheSetting(std::move(value)); return *this;}
106 
107  private:
108 
109  ModelCacheSetting m_modelCacheSetting;
110  bool m_modelCacheSettingHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace SageMaker
115 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MultiModelConfig::SetModelCacheSetting
void SetModelCacheSetting(const ModelCacheSetting &value)
Definition: MultiModelConfig.h:72
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MultiModelConfig::ModelCacheSettingHasBeenSet
bool ModelCacheSettingHasBeenSet() const
Definition: MultiModelConfig.h:61
Aws::SageMaker::Model::ModelCacheSetting
ModelCacheSetting
Definition: ModelCacheSetting.h:17
ModelCacheSetting.h
Aws::SageMaker::Model::MultiModelConfig::MultiModelConfig
MultiModelConfig()
Aws::SageMaker::Model::MultiModelConfig
Definition: MultiModelConfig.h:33
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MultiModelConfig::MultiModelConfig
MultiModelConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MultiModelConfig::GetModelCacheSetting
const ModelCacheSetting & GetModelCacheSetting() const
Definition: MultiModelConfig.h:50
Aws::SageMaker::Model::MultiModelConfig::operator=
MultiModelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MultiModelConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::MultiModelConfig::WithModelCacheSetting
MultiModelConfig & WithModelCacheSetting(const ModelCacheSetting &value)
Definition: MultiModelConfig.h:94
Aws::SageMaker::Model::MultiModelConfig::SetModelCacheSetting
void SetModelCacheSetting(ModelCacheSetting &&value)
Definition: MultiModelConfig.h:83
Aws::SageMaker::Model::MultiModelConfig::WithModelCacheSetting
MultiModelConfig & WithModelCacheSetting(ModelCacheSetting &&value)
Definition: MultiModelConfig.h:105