AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyScore.h
1
6#pragma once
7#include <aws/ce/CostExplorer_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 CostExplorer
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_COSTEXPLORER_API AnomalyScore();
34 AWS_COSTEXPLORER_API AnomalyScore(Aws::Utils::Json::JsonView jsonValue);
35 AWS_COSTEXPLORER_API AnomalyScore& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline double GetMaxScore() const{ return m_maxScore; }
45 inline bool MaxScoreHasBeenSet() const { return m_maxScoreHasBeenSet; }
46 inline void SetMaxScore(double value) { m_maxScoreHasBeenSet = true; m_maxScore = value; }
47 inline AnomalyScore& WithMaxScore(double value) { SetMaxScore(value); return *this;}
49
51
54 inline double GetCurrentScore() const{ return m_currentScore; }
55 inline bool CurrentScoreHasBeenSet() const { return m_currentScoreHasBeenSet; }
56 inline void SetCurrentScore(double value) { m_currentScoreHasBeenSet = true; m_currentScore = value; }
57 inline AnomalyScore& WithCurrentScore(double value) { SetCurrentScore(value); return *this;}
59 private:
60
61 double m_maxScore;
62 bool m_maxScoreHasBeenSet = false;
63
64 double m_currentScore;
65 bool m_currentScoreHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CostExplorer
70} // namespace Aws
AWS_COSTEXPLORER_API AnomalyScore()
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API AnomalyScore & operator=(Aws::Utils::Json::JsonView jsonValue)
AnomalyScore & WithMaxScore(double value)
AnomalyScore & WithCurrentScore(double value)
AWS_COSTEXPLORER_API AnomalyScore(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue