AWS SDK for C++  1.9.108
AWS SDK for C++
TunedHPOParams.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::Map<Aws::String, Aws::String>& GetAlgorithmHyperParameters() const{ return m_algorithmHyperParameters; }
47 
51  inline bool AlgorithmHyperParametersHasBeenSet() const { return m_algorithmHyperParametersHasBeenSet; }
52 
56  inline void SetAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = value; }
57 
61  inline void SetAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters = std::move(value); }
62 
66  inline TunedHPOParams& WithAlgorithmHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetAlgorithmHyperParameters(value); return *this;}
67 
71  inline TunedHPOParams& WithAlgorithmHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetAlgorithmHyperParameters(std::move(value)); return *this;}
72 
76  inline TunedHPOParams& AddAlgorithmHyperParameters(const Aws::String& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
77 
81  inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, const Aws::String& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
82 
86  inline TunedHPOParams& AddAlgorithmHyperParameters(const Aws::String& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
87 
91  inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), std::move(value)); return *this; }
92 
96  inline TunedHPOParams& AddAlgorithmHyperParameters(const char* key, Aws::String&& value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, std::move(value)); return *this; }
97 
101  inline TunedHPOParams& AddAlgorithmHyperParameters(Aws::String&& key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(std::move(key), value); return *this; }
102 
106  inline TunedHPOParams& AddAlgorithmHyperParameters(const char* key, const char* value) { m_algorithmHyperParametersHasBeenSet = true; m_algorithmHyperParameters.emplace(key, value); return *this; }
107 
108  private:
109 
110  Aws::Map<Aws::String, Aws::String> m_algorithmHyperParameters;
111  bool m_algorithmHyperParametersHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace Personalize
116 } // namespace Aws
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(const char *key, const char *value)
Definition: TunedHPOParams.h:106
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(const Aws::String &key, const Aws::String &value)
Definition: TunedHPOParams.h:76
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(const Aws::String &key, Aws::String &&value)
Definition: TunedHPOParams.h:86
Aws::Personalize::Model::TunedHPOParams::operator=
TunedHPOParams & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(const char *key, Aws::String &&value)
Definition: TunedHPOParams.h:96
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, const Aws::String &value)
Definition: TunedHPOParams.h:81
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::TunedHPOParams::SetAlgorithmHyperParameters
void SetAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: TunedHPOParams.h:56
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, Aws::String &&value)
Definition: TunedHPOParams.h:91
Aws::Personalize::Model::TunedHPOParams::GetAlgorithmHyperParameters
const Aws::Map< Aws::String, Aws::String > & GetAlgorithmHyperParameters() const
Definition: TunedHPOParams.h:46
Aws::Personalize::Model::TunedHPOParams::AddAlgorithmHyperParameters
TunedHPOParams & AddAlgorithmHyperParameters(Aws::String &&key, const char *value)
Definition: TunedHPOParams.h:101
Aws::Personalize::Model::TunedHPOParams::AlgorithmHyperParametersHasBeenSet
bool AlgorithmHyperParametersHasBeenSet() const
Definition: TunedHPOParams.h:51
Aws::Personalize::Model::TunedHPOParams::SetAlgorithmHyperParameters
void SetAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: TunedHPOParams.h:61
Aws::Personalize::Model::TunedHPOParams
Definition: TunedHPOParams.h:35
Aws::Personalize::Model::TunedHPOParams::WithAlgorithmHyperParameters
TunedHPOParams & WithAlgorithmHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: TunedHPOParams.h:66
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::TunedHPOParams::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::TunedHPOParams::WithAlgorithmHyperParameters
TunedHPOParams & WithAlgorithmHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: TunedHPOParams.h:71
Personalize_EXPORTS.h
Aws::Personalize::Model::TunedHPOParams::TunedHPOParams
TunedHPOParams(Aws::Utils::Json::JsonView jsonValue)
AWSMap.h
Aws::Personalize::Model::TunedHPOParams::TunedHPOParams
TunedHPOParams()
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19