AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ForecastResult.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/DateInterval.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CostExplorer
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_COSTEXPLORER_API ForecastResult();
36 AWS_COSTEXPLORER_API ForecastResult(Aws::Utils::Json::JsonView jsonValue);
37 AWS_COSTEXPLORER_API ForecastResult& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DateInterval& GetTimePeriod() const{ return m_timePeriod; }
46 inline bool TimePeriodHasBeenSet() const { return m_timePeriodHasBeenSet; }
47 inline void SetTimePeriod(const DateInterval& value) { m_timePeriodHasBeenSet = true; m_timePeriod = value; }
48 inline void SetTimePeriod(DateInterval&& value) { m_timePeriodHasBeenSet = true; m_timePeriod = std::move(value); }
49 inline ForecastResult& WithTimePeriod(const DateInterval& value) { SetTimePeriod(value); return *this;}
50 inline ForecastResult& WithTimePeriod(DateInterval&& value) { SetTimePeriod(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetMeanValue() const{ return m_meanValue; }
58 inline bool MeanValueHasBeenSet() const { return m_meanValueHasBeenSet; }
59 inline void SetMeanValue(const Aws::String& value) { m_meanValueHasBeenSet = true; m_meanValue = value; }
60 inline void SetMeanValue(Aws::String&& value) { m_meanValueHasBeenSet = true; m_meanValue = std::move(value); }
61 inline void SetMeanValue(const char* value) { m_meanValueHasBeenSet = true; m_meanValue.assign(value); }
62 inline ForecastResult& WithMeanValue(const Aws::String& value) { SetMeanValue(value); return *this;}
63 inline ForecastResult& WithMeanValue(Aws::String&& value) { SetMeanValue(std::move(value)); return *this;}
64 inline ForecastResult& WithMeanValue(const char* value) { SetMeanValue(value); return *this;}
66
68
71 inline const Aws::String& GetPredictionIntervalLowerBound() const{ return m_predictionIntervalLowerBound; }
72 inline bool PredictionIntervalLowerBoundHasBeenSet() const { return m_predictionIntervalLowerBoundHasBeenSet; }
73 inline void SetPredictionIntervalLowerBound(const Aws::String& value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound = value; }
74 inline void SetPredictionIntervalLowerBound(Aws::String&& value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound = std::move(value); }
75 inline void SetPredictionIntervalLowerBound(const char* value) { m_predictionIntervalLowerBoundHasBeenSet = true; m_predictionIntervalLowerBound.assign(value); }
78 inline ForecastResult& WithPredictionIntervalLowerBound(const char* value) { SetPredictionIntervalLowerBound(value); return *this;}
80
82
85 inline const Aws::String& GetPredictionIntervalUpperBound() const{ return m_predictionIntervalUpperBound; }
86 inline bool PredictionIntervalUpperBoundHasBeenSet() const { return m_predictionIntervalUpperBoundHasBeenSet; }
87 inline void SetPredictionIntervalUpperBound(const Aws::String& value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound = value; }
88 inline void SetPredictionIntervalUpperBound(Aws::String&& value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound = std::move(value); }
89 inline void SetPredictionIntervalUpperBound(const char* value) { m_predictionIntervalUpperBoundHasBeenSet = true; m_predictionIntervalUpperBound.assign(value); }
92 inline ForecastResult& WithPredictionIntervalUpperBound(const char* value) { SetPredictionIntervalUpperBound(value); return *this;}
94 private:
95
96 DateInterval m_timePeriod;
97 bool m_timePeriodHasBeenSet = false;
98
99 Aws::String m_meanValue;
100 bool m_meanValueHasBeenSet = false;
101
102 Aws::String m_predictionIntervalLowerBound;
103 bool m_predictionIntervalLowerBoundHasBeenSet = false;
104
105 Aws::String m_predictionIntervalUpperBound;
106 bool m_predictionIntervalUpperBoundHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CostExplorer
111} // namespace Aws
void SetPredictionIntervalLowerBound(const char *value)
void SetTimePeriod(DateInterval &&value)
ForecastResult & WithPredictionIntervalUpperBound(const Aws::String &value)
ForecastResult & WithPredictionIntervalUpperBound(Aws::String &&value)
ForecastResult & WithTimePeriod(DateInterval &&value)
ForecastResult & WithPredictionIntervalUpperBound(const char *value)
void SetPredictionIntervalLowerBound(const Aws::String &value)
const Aws::String & GetPredictionIntervalUpperBound() const
ForecastResult & WithPredictionIntervalLowerBound(Aws::String &&value)
ForecastResult & WithTimePeriod(const DateInterval &value)
ForecastResult & WithMeanValue(const Aws::String &value)
void SetMeanValue(Aws::String &&value)
void SetMeanValue(const Aws::String &value)
void SetPredictionIntervalUpperBound(const char *value)
const Aws::String & GetMeanValue() const
void SetPredictionIntervalUpperBound(const Aws::String &value)
ForecastResult & WithMeanValue(const char *value)
ForecastResult & WithPredictionIntervalLowerBound(const Aws::String &value)
AWS_COSTEXPLORER_API ForecastResult(Aws::Utils::Json::JsonView jsonValue)
ForecastResult & WithMeanValue(Aws::String &&value)
void SetTimePeriod(const DateInterval &value)
void SetPredictionIntervalLowerBound(Aws::String &&value)
const DateInterval & GetTimePeriod() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ForecastResult & WithPredictionIntervalLowerBound(const char *value)
const Aws::String & GetPredictionIntervalLowerBound() const
AWS_COSTEXPLORER_API ForecastResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPredictionIntervalUpperBound(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue