7#include <aws/personalize-runtime/PersonalizeRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace PersonalizeRuntime
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetPercentPromotedItems(
int value) { m_percentPromotedItemsHasBeenSet =
true; m_percentPromotedItems = value; }
78 inline void SetFilterArn(
const char* value) { m_filterArnHasBeenSet =
true; m_filterArn.assign(value); }
111 inline Promotion&
AddFilterValues(
const char* key,
const char* value) { m_filterValuesHasBeenSet =
true; m_filterValues.emplace(key, value);
return *
this; }
116 bool m_nameHasBeenSet =
false;
118 int m_percentPromotedItems;
119 bool m_percentPromotedItemsHasBeenSet =
false;
122 bool m_filterArnHasBeenSet =
false;
125 bool m_filterValuesHasBeenSet =
false;
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue