AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLDataSplitConfig.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
33 {
34 public:
35 AWS_SAGEMAKER_API AutoMLDataSplitConfig();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline double GetValidationFraction() const{ return m_validationFraction; }
49 inline bool ValidationFractionHasBeenSet() const { return m_validationFractionHasBeenSet; }
50 inline void SetValidationFraction(double value) { m_validationFractionHasBeenSet = true; m_validationFraction = value; }
51 inline AutoMLDataSplitConfig& WithValidationFraction(double value) { SetValidationFraction(value); return *this;}
53 private:
54
55 double m_validationFraction;
56 bool m_validationFractionHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
AWS_SAGEMAKER_API AutoMLDataSplitConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AutoMLDataSplitConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLDataSplitConfig & WithValidationFraction(double value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue