AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchInferenceJobConfig.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
34 {
35 public:
36 AWS_PERSONALIZE_API BatchInferenceJobConfig() = default;
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::Map<Aws::String, Aws::String>& GetItemExplorationConfig() const { return m_itemExplorationConfig; }
51 inline bool ItemExplorationConfigHasBeenSet() const { return m_itemExplorationConfigHasBeenSet; }
52 template<typename ItemExplorationConfigT = Aws::Map<Aws::String, Aws::String>>
53 void SetItemExplorationConfig(ItemExplorationConfigT&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = std::forward<ItemExplorationConfigT>(value); }
54 template<typename ItemExplorationConfigT = Aws::Map<Aws::String, Aws::String>>
55 BatchInferenceJobConfig& WithItemExplorationConfig(ItemExplorationConfigT&& value) { SetItemExplorationConfig(std::forward<ItemExplorationConfigT>(value)); return *this;}
56 template<typename ItemExplorationConfigKeyT = Aws::String, typename ItemExplorationConfigValueT = Aws::String>
57 BatchInferenceJobConfig& AddItemExplorationConfig(ItemExplorationConfigKeyT&& key, ItemExplorationConfigValueT&& value) {
58 m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::forward<ItemExplorationConfigKeyT>(key), std::forward<ItemExplorationConfigValueT>(value)); return *this;
59 }
61 private:
62
63 Aws::Map<Aws::String, Aws::String> m_itemExplorationConfig;
64 bool m_itemExplorationConfigHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Personalize
69} // namespace Aws
void SetItemExplorationConfig(ItemExplorationConfigT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchInferenceJobConfig & AddItemExplorationConfig(ItemExplorationConfigKeyT &&key, ItemExplorationConfigValueT &&value)
AWS_PERSONALIZE_API BatchInferenceJobConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API BatchInferenceJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetItemExplorationConfig() const
BatchInferenceJobConfig & WithItemExplorationConfig(ItemExplorationConfigT &&value)
AWS_PERSONALIZE_API BatchInferenceJobConfig()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue