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>
53 template<
typename ItemExplorationConfigT = Aws::Map<Aws::String, Aws::String>>
54 void SetItemExplorationConfig(ItemExplorationConfigT&& value) { m_itemExplorationConfigHasBeenSet =
true; m_itemExplorationConfig = std::forward<ItemExplorationConfigT>(value); }
55 template<
typename ItemExplorationConfigT = Aws::Map<Aws::String, Aws::String>>
57 template<
typename ItemExplorationConfigKeyT = Aws::String,
typename ItemExplorationConfigValueT = Aws::String>
59 m_itemExplorationConfigHasBeenSet =
true; m_itemExplorationConfig.emplace(std::forward<ItemExplorationConfigKeyT>(key), std::forward<ItemExplorationConfigValueT>(value));
return *
this;
102 bool m_itemExplorationConfigHasBeenSet =
false;
104 bool m_enableMetadataWithRecommendations{
false};
105 bool m_enableMetadataWithRecommendationsHasBeenSet =
false;
107 bool m_syncWithLatestSolutionVersion{
false};
108 bool m_syncWithLatestSolutionVersionHasBeenSet =
false;
AWS_PERSONALIZE_API CampaignConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSyncWithLatestSolutionVersion(bool value)
bool ItemExplorationConfigHasBeenSet() const
bool EnableMetadataWithRecommendationsHasBeenSet() const
CampaignConfig & AddItemExplorationConfig(ItemExplorationConfigKeyT &&key, ItemExplorationConfigValueT &&value)
CampaignConfig & WithSyncWithLatestSolutionVersion(bool value)
AWS_PERSONALIZE_API CampaignConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API CampaignConfig()=default
void SetItemExplorationConfig(ItemExplorationConfigT &&value)
bool GetEnableMetadataWithRecommendations() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetSyncWithLatestSolutionVersion() const
const Aws::Map< Aws::String, Aws::String > & GetItemExplorationConfig() const
bool SyncWithLatestSolutionVersionHasBeenSet() const
void SetEnableMetadataWithRecommendations(bool value)
CampaignConfig & WithEnableMetadataWithRecommendations(bool value)
CampaignConfig & WithItemExplorationConfig(ItemExplorationConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue