AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AutoMLAlgorithmConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/AutoMLAlgorithm.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API AutoMLAlgorithmConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
63 inline const Aws::Vector<AutoMLAlgorithm>& GetAutoMLAlgorithms() const { return m_autoMLAlgorithms; }
64 inline bool AutoMLAlgorithmsHasBeenSet() const { return m_autoMLAlgorithmsHasBeenSet; }
65 template<typename AutoMLAlgorithmsT = Aws::Vector<AutoMLAlgorithm>>
66 void SetAutoMLAlgorithms(AutoMLAlgorithmsT&& value) { m_autoMLAlgorithmsHasBeenSet = true; m_autoMLAlgorithms = std::forward<AutoMLAlgorithmsT>(value); }
67 template<typename AutoMLAlgorithmsT = Aws::Vector<AutoMLAlgorithm>>
68 AutoMLAlgorithmConfig& WithAutoMLAlgorithms(AutoMLAlgorithmsT&& value) { SetAutoMLAlgorithms(std::forward<AutoMLAlgorithmsT>(value)); return *this;}
69 inline AutoMLAlgorithmConfig& AddAutoMLAlgorithms(AutoMLAlgorithm value) { m_autoMLAlgorithmsHasBeenSet = true; m_autoMLAlgorithms.push_back(value); return *this; }
71 private:
72
73 Aws::Vector<AutoMLAlgorithm> m_autoMLAlgorithms;
74 bool m_autoMLAlgorithmsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
AutoMLAlgorithmConfig & WithAutoMLAlgorithms(AutoMLAlgorithmsT &&value)
AWS_SAGEMAKER_API AutoMLAlgorithmConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AutoMLAlgorithmConfig()=default
AWS_SAGEMAKER_API AutoMLAlgorithmConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoMLAlgorithms(AutoMLAlgorithmsT &&value)
const Aws::Vector< AutoMLAlgorithm > & GetAutoMLAlgorithms() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMLAlgorithmConfig & AddAutoMLAlgorithms(AutoMLAlgorithm value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue