/** * 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 CampaignConfig { public: AWS_PERSONALIZE_API CampaignConfig(); AWS_PERSONALIZE_API CampaignConfig(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API CampaignConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

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

Specifies the exploration configuration hyperparameters, including * explorationWeight and explorationItemAgeCutOff, you * want to use to configure the amount of item exploration Amazon Personalize uses * when recommending items. Provide itemExplorationConfig data only if * your solution uses the User-Personalization * recipe.

*/ 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 = false; }; } // namespace Model } // namespace Personalize } // namespace Aws