AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeightedQuantileLoss.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ForecastService
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_FORECASTSERVICE_API WeightedQuantileLoss();
34 AWS_FORECASTSERVICE_API WeightedQuantileLoss(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FORECASTSERVICE_API WeightedQuantileLoss& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline double GetQuantile() const{ return m_quantile; }
46 inline bool QuantileHasBeenSet() const { return m_quantileHasBeenSet; }
47 inline void SetQuantile(double value) { m_quantileHasBeenSet = true; m_quantile = value; }
48 inline WeightedQuantileLoss& WithQuantile(double value) { SetQuantile(value); return *this;}
50
52
56 inline double GetLossValue() const{ return m_lossValue; }
57 inline bool LossValueHasBeenSet() const { return m_lossValueHasBeenSet; }
58 inline void SetLossValue(double value) { m_lossValueHasBeenSet = true; m_lossValue = value; }
59 inline WeightedQuantileLoss& WithLossValue(double value) { SetLossValue(value); return *this;}
61 private:
62
63 double m_quantile;
64 bool m_quantileHasBeenSet = false;
65
66 double m_lossValue;
67 bool m_lossValueHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace ForecastService
72} // namespace Aws
AWS_FORECASTSERVICE_API WeightedQuantileLoss & operator=(Aws::Utils::Json::JsonView jsonValue)
WeightedQuantileLoss & WithLossValue(double value)
WeightedQuantileLoss & WithQuantile(double value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API WeightedQuantileLoss(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue