AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperbandStrategyConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_SAGEMAKER_API HyperbandStrategyConfig();
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline int GetMinResource() const{ return m_minResource; }
52 inline bool MinResourceHasBeenSet() const { return m_minResourceHasBeenSet; }
53 inline void SetMinResource(int value) { m_minResourceHasBeenSet = true; m_minResource = value; }
54 inline HyperbandStrategyConfig& WithMinResource(int value) { SetMinResource(value); return *this;}
56
58
81 inline int GetMaxResource() const{ return m_maxResource; }
82 inline bool MaxResourceHasBeenSet() const { return m_maxResourceHasBeenSet; }
83 inline void SetMaxResource(int value) { m_maxResourceHasBeenSet = true; m_maxResource = value; }
84 inline HyperbandStrategyConfig& WithMaxResource(int value) { SetMaxResource(value); return *this;}
86 private:
87
88 int m_minResource;
89 bool m_minResourceHasBeenSet = false;
90
91 int m_maxResource;
92 bool m_maxResourceHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SageMaker
97} // namespace Aws
HyperbandStrategyConfig & WithMinResource(int value)
AWS_SAGEMAKER_API HyperbandStrategyConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HyperbandStrategyConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperbandStrategyConfig & WithMaxResource(int value)
Aws::Utils::Json::JsonValue JsonValue