AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TunedHPOParams.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Personalize
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PERSONALIZE_API TunedHPOParams();
38 AWS_PERSONALIZE_API TunedHPOParams(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API TunedHPOParams& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Map<Aws::String, Aws::String>& GetAlgorithmHyperParameters() const{ return m_algorithmHyperParameters; }
48 inline bool AlgorithmHyperParametersHasBeenSet() const { return m_algorithmHyperParametersHasBeenSet; }
49 inline void SetAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = value; }
50 inline void SetAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = std::move(value); }
53 inline TunedHPOParams& AddAlgorithmHyperParameters(const Aws::String& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
54 inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
55 inline TunedHPOParams& AddAlgorithmHyperParameters(const Aws::String& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
56 inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), std::move(value)); return *this; }
57 inline TunedHPOParams& AddAlgorithmHyperParameters(const char* key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
58 inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
59 inline TunedHPOParams& AddAlgorithmHyperParameters(const char* key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
61 private:
62
63 Aws::Map<Aws::String, Aws::String> m_algorithmHyperParameters;
64 bool m_algorithmHyperParametersHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Personalize
69} // namespace Aws
AWS_PERSONALIZE_API TunedHPOParams(Aws::Utils::Json::JsonView jsonValue)
TunedHPOParams & AddAlgorithmHyperParameters(const char *key, Aws::String &&value)
TunedHPOParams & WithAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAlgorithmHyperParameters() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, Aws::String &&value)
AWS_PERSONALIZE_API TunedHPOParams & operator=(Aws::Utils::Json::JsonView jsonValue)
TunedHPOParams & AddAlgorithmHyperParameters(const Aws::String &key, const Aws::String &value)
TunedHPOParams & AddAlgorithmHyperParameters(const Aws::String &key, Aws::String &&value)
TunedHPOParams & AddAlgorithmHyperParameters(const char *key, const char *value)
void SetAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, const Aws::String &value)
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, const char *value)
TunedHPOParams & WithAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue