AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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
52 {
53 public:
54 AWS_SAGEMAKER_API Autotune();
55 AWS_SAGEMAKER_API Autotune(Aws::Utils::Json::JsonView jsonValue);
56 AWS_SAGEMAKER_API Autotune& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
65 inline const AutotuneMode& GetMode() const{ return m_mode; }
66 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
67 inline void SetMode(const AutotuneMode& value) { m_modeHasBeenSet = true; m_mode = value; }
68 inline void SetMode(AutotuneMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
69 inline Autotune& WithMode(const AutotuneMode& value) { SetMode(value); return *this;}
70 inline Autotune& WithMode(AutotuneMode&& value) { SetMode(std::move(value)); return *this;}
72 private:
73
74 AutotuneMode m_mode;
75 bool m_modeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
void SetMode(const AutotuneMode &value)
Definition Autotune.h:67
Autotune & WithMode(AutotuneMode &&value)
Definition Autotune.h:70
AWS_SAGEMAKER_API Autotune & operator=(Aws::Utils::Json::JsonView jsonValue)
const AutotuneMode & GetMode() const
Definition Autotune.h:65
Autotune & WithMode(const AutotuneMode &value)
Definition Autotune.h:69
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMode(AutotuneMode &&value)
Definition Autotune.h:68
AWS_SAGEMAKER_API Autotune(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Autotune()
Aws::Utils::Json::JsonValue JsonValue