AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CandidateGenerationConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/AutoMLAlgorithmConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API CandidateGenerationConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
78 inline const Aws::Vector<AutoMLAlgorithmConfig>& GetAlgorithmsConfig() const { return m_algorithmsConfig; }
79 inline bool AlgorithmsConfigHasBeenSet() const { return m_algorithmsConfigHasBeenSet; }
80 template <typename AlgorithmsConfigT = Aws::Vector<AutoMLAlgorithmConfig>>
81 void SetAlgorithmsConfig(AlgorithmsConfigT&& value) {
82 m_algorithmsConfigHasBeenSet = true;
83 m_algorithmsConfig = std::forward<AlgorithmsConfigT>(value);
84 }
85 template <typename AlgorithmsConfigT = Aws::Vector<AutoMLAlgorithmConfig>>
86 CandidateGenerationConfig& WithAlgorithmsConfig(AlgorithmsConfigT&& value) {
87 SetAlgorithmsConfig(std::forward<AlgorithmsConfigT>(value));
88 return *this;
89 }
90 template <typename AlgorithmsConfigT = AutoMLAlgorithmConfig>
91 CandidateGenerationConfig& AddAlgorithmsConfig(AlgorithmsConfigT&& value) {
92 m_algorithmsConfigHasBeenSet = true;
93 m_algorithmsConfig.emplace_back(std::forward<AlgorithmsConfigT>(value));
94 return *this;
95 }
97 private:
98 Aws::Vector<AutoMLAlgorithmConfig> m_algorithmsConfig;
99 bool m_algorithmsConfigHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SageMaker
104} // 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