AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperParameterTuningInstanceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrainingInstanceType.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
36 {
37 public:
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline const TrainingInstanceType& GetInstanceType() const{ return m_instanceType; }
55 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
56 inline void SetInstanceType(const TrainingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
57 inline void SetInstanceType(TrainingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
61
63
71 inline int GetInstanceCount() const{ return m_instanceCount; }
72 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
73 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
74 inline HyperParameterTuningInstanceConfig& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
76
78
82 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
83 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
84 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
87 private:
88
89 TrainingInstanceType m_instanceType;
90 bool m_instanceTypeHasBeenSet = false;
91
92 int m_instanceCount;
93 bool m_instanceCountHasBeenSet = false;
94
95 int m_volumeSizeInGB;
96 bool m_volumeSizeInGBHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
HyperParameterTuningInstanceConfig & WithInstanceType(const TrainingInstanceType &value)
AWS_SAGEMAKER_API HyperParameterTuningInstanceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningInstanceConfig & WithInstanceType(TrainingInstanceType &&value)
AWS_SAGEMAKER_API HyperParameterTuningInstanceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue