/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Personalize { namespace Model { /** *

The configuration details of a campaign.

See Also:

AWS * API Reference

*/ class AWS_PERSONALIZE_API CampaignConfig { public: CampaignConfig(); CampaignConfig(Aws::Utils::Json::JsonView jsonValue); CampaignConfig& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline const Aws::Map& GetItemExplorationConfig() const{ return m_itemExplorationConfig; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline bool ItemExplorationConfigHasBeenSet() const { return m_itemExplorationConfigHasBeenSet; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline void SetItemExplorationConfig(const Aws::Map& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = value; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline void SetItemExplorationConfig(Aws::Map&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = std::move(value); } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& WithItemExplorationConfig(const Aws::Map& value) { SetItemExplorationConfig(value); return *this;} /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& WithItemExplorationConfig(Aws::Map&& value) { SetItemExplorationConfig(std::move(value)); return *this;} /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(const Aws::String& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(const Aws::String& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), std::move(value)); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(const char* key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; } /** *

A string to string map specifying the inference hyperparameters you wish to * use for hyperparameter optimization. See * customizing-solution-config-hpo.

*/ inline CampaignConfig& AddItemExplorationConfig(const char* key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; } private: Aws::Map m_itemExplorationConfig; bool m_itemExplorationConfigHasBeenSet; }; } // namespace Model } // namespace Personalize } // namespace Aws