7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AppMonetization {
43 template <
typename AppScoresT = Aws::Map<Aws::String,
double>>
45 m_appScoresHasBeenSet =
true;
46 m_appScores = std::forward<AppScoresT>(value);
48 template <
typename AppScoresT = Aws::Map<Aws::String,
double>>
54 m_appScoresHasBeenSet =
true;
55 m_appScores.emplace(key, value);
68 template <
typename WeightsT = Aws::Map<Aws::String,
double>>
70 m_weightsHasBeenSet =
true;
71 m_weights = std::forward<WeightsT>(value);
73 template <
typename WeightsT = Aws::Map<Aws::String,
double>>
79 m_weightsHasBeenSet =
true;
80 m_weights.emplace(key, value);
88 bool m_appScoresHasBeenSet =
false;
89 bool m_weightsHasBeenSet =
false;
const Aws::Map< Aws::String, double > & GetWeights() const
AWS_APPMONETIZATION_API FeatureScores(Aws::Utils::Json::JsonView jsonValue)
AWS_APPMONETIZATION_API FeatureScores & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureScores & AddWeights(Aws::String key, double value)
void SetWeights(WeightsT &&value)
bool AppScoresHasBeenSet() const
FeatureScores & WithAppScores(AppScoresT &&value)
const Aws::Map< Aws::String, double > & GetAppScores() const
AWS_APPMONETIZATION_API FeatureScores()=default
FeatureScores & WithWeights(WeightsT &&value)
void SetAppScores(AppScoresT &&value)
bool WeightsHasBeenSet() const
FeatureScores & AddAppScores(Aws::String key, double value)
AWS_APPMONETIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
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