7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/TrainingMetricName.h>
22namespace CustomerProfiles {
44 template <
typename TimeT = Aws::Utils::DateTime>
46 m_timeHasBeenSet =
true;
47 m_time = std::forward<TimeT>(value);
49 template <
typename TimeT = Aws::Utils::DateTime>
51 SetTime(std::forward<TimeT>(value));
63 template <
typename MetricsT = Aws::Map<TrainingMetricName,
double>>
65 m_metricsHasBeenSet =
true;
66 m_metrics = std::forward<MetricsT>(value);
68 template <
typename MetricsT = Aws::Map<TrainingMetricName,
double>>
74 m_metricsHasBeenSet =
true;
75 m_metrics.emplace(key, value);
86 template <
typename RecommenderVersionNameT = Aws::String>
88 m_recommenderVersionNameHasBeenSet =
true;
89 m_recommenderVersionName = std::forward<RecommenderVersionNameT>(value);
91 template <
typename RecommenderVersionNameT = Aws::String>
103 bool m_timeHasBeenSet =
false;
104 bool m_metricsHasBeenSet =
false;
105 bool m_recommenderVersionNameHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API TrainingMetrics()=default
TrainingMetrics & WithRecommenderVersionName(RecommenderVersionNameT &&value)
bool TimeHasBeenSet() const
void SetTime(TimeT &&value)
const Aws::String & GetRecommenderVersionName() const
const Aws::Map< TrainingMetricName, double > & GetMetrics() const
void SetRecommenderVersionName(RecommenderVersionNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API TrainingMetrics(Aws::Utils::Json::JsonView jsonValue)
TrainingMetrics & AddMetrics(TrainingMetricName key, double value)
void SetMetrics(MetricsT &&value)
TrainingMetrics & WithMetrics(MetricsT &&value)
AWS_CUSTOMERPROFILES_API TrainingMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecommenderVersionNameHasBeenSet() const
const Aws::Utils::DateTime & GetTime() const
bool MetricsHasBeenSet() const
TrainingMetrics & WithTime(TimeT &&value)
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