7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/TrainingMetricName.h>
21namespace CustomerProfiles {
43 template <
typename TimeT = Aws::Utils::DateTime>
45 m_timeHasBeenSet =
true;
46 m_time = std::forward<TimeT>(value);
48 template <
typename TimeT = Aws::Utils::DateTime>
50 SetTime(std::forward<TimeT>(value));
62 template <
typename MetricsT = Aws::Map<TrainingMetricName,
double>>
64 m_metricsHasBeenSet =
true;
65 m_metrics = std::forward<MetricsT>(value);
67 template <
typename MetricsT = Aws::Map<TrainingMetricName,
double>>
73 m_metricsHasBeenSet =
true;
74 m_metrics.emplace(key, value);
82 bool m_timeHasBeenSet =
false;
83 bool m_metricsHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API TrainingMetrics()=default
bool TimeHasBeenSet() const
void SetTime(TimeT &&value)
const Aws::Map< TrainingMetricName, double > & GetMetrics() const
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)
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
Aws::Utils::Json::JsonValue JsonValue