AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CandidateGenerationConfig.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/AutoMLAlgorithmConfig.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 CandidateGenerationConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
84 inline const Aws::Vector<AutoMLAlgorithmConfig>& GetAlgorithmsConfig() const { return m_algorithmsConfig; }
85 inline bool AlgorithmsConfigHasBeenSet() const { return m_algorithmsConfigHasBeenSet; }
86 template<typename AlgorithmsConfigT = Aws::Vector<AutoMLAlgorithmConfig>>
87 void SetAlgorithmsConfig(AlgorithmsConfigT&& value) { m_algorithmsConfigHasBeenSet = true; m_algorithmsConfig = std::forward<AlgorithmsConfigT>(value); }
88 template<typename AlgorithmsConfigT = Aws::Vector<AutoMLAlgorithmConfig>>
89 CandidateGenerationConfig& WithAlgorithmsConfig(AlgorithmsConfigT&& value) { SetAlgorithmsConfig(std::forward<AlgorithmsConfigT>(value)); return *this;}
90 template<typename AlgorithmsConfigT = AutoMLAlgorithmConfig>
91 CandidateGenerationConfig& AddAlgorithmsConfig(AlgorithmsConfigT&& value) { m_algorithmsConfigHasBeenSet = true; m_algorithmsConfig.emplace_back(std::forward<AlgorithmsConfigT>(value)); return *this; }
93 private:
94
95 Aws::Vector<AutoMLAlgorithmConfig> m_algorithmsConfig;
96 bool m_algorithmsConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SageMaker
101} // namespace Aws
AWS_SAGEMAKER_API CandidateGenerationConfig()=default
AWS_SAGEMAKER_API CandidateGenerationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CandidateGenerationConfig & WithAlgorithmsConfig(AlgorithmsConfigT &&value)
AWS_SAGEMAKER_API CandidateGenerationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CandidateGenerationConfig & AddAlgorithmsConfig(AlgorithmsConfigT &&value)
const Aws::Vector< AutoMLAlgorithmConfig > & GetAlgorithmsConfig() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue