AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Autotune.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutotuneMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
47class Autotune {
48 public:
49 AWS_SAGEMAKER_API Autotune() = default;
50 AWS_SAGEMAKER_API Autotune(Aws::Utils::Json::JsonView jsonValue);
51 AWS_SAGEMAKER_API Autotune& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
53
55
59 inline AutotuneMode GetMode() const { return m_mode; }
60 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
61 inline void SetMode(AutotuneMode value) {
62 m_modeHasBeenSet = true;
63 m_mode = value;
64 }
66 SetMode(value);
67 return *this;
68 }
70 private:
72 bool m_modeHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AWS_SAGEMAKER_API Autotune & operator=(Aws::Utils::Json::JsonView jsonValue)
AutotuneMode GetMode() const
Definition Autotune.h:59
AWS_SAGEMAKER_API Autotune()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Autotune(Aws::Utils::Json::JsonView jsonValue)
Autotune & WithMode(AutotuneMode value)
Definition Autotune.h:65
void SetMode(AutotuneMode value)
Definition Autotune.h:61
Aws::Utils::Json::JsonValue JsonValue