7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
19namespace ForecastService {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
57 inline double GetValue()
const {
return m_value; }
60 m_valueHasBeenSet =
true;
72 bool m_nameHasBeenSet =
false;
73 bool m_valueHasBeenSet =
false;
BaselineMetric & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_FORECASTSERVICE_API BaselineMetric()=default
void SetName(NameT &&value)
AWS_FORECASTSERVICE_API BaselineMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetValue(double value)
bool NameHasBeenSet() const
BaselineMetric & WithValue(double value)
AWS_FORECASTSERVICE_API BaselineMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue