AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ForecastConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TimeBasedForecastProperties.h>
9#include <aws/quicksight/model/ForecastScenario.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API ForecastConfiguration() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const TimeBasedForecastProperties& GetForecastProperties() const { return m_forecastProperties; }
47 inline bool ForecastPropertiesHasBeenSet() const { return m_forecastPropertiesHasBeenSet; }
48 template<typename ForecastPropertiesT = TimeBasedForecastProperties>
49 void SetForecastProperties(ForecastPropertiesT&& value) { m_forecastPropertiesHasBeenSet = true; m_forecastProperties = std::forward<ForecastPropertiesT>(value); }
50 template<typename ForecastPropertiesT = TimeBasedForecastProperties>
51 ForecastConfiguration& WithForecastProperties(ForecastPropertiesT&& value) { SetForecastProperties(std::forward<ForecastPropertiesT>(value)); return *this;}
53
55
58 inline const ForecastScenario& GetScenario() const { return m_scenario; }
59 inline bool ScenarioHasBeenSet() const { return m_scenarioHasBeenSet; }
60 template<typename ScenarioT = ForecastScenario>
61 void SetScenario(ScenarioT&& value) { m_scenarioHasBeenSet = true; m_scenario = std::forward<ScenarioT>(value); }
62 template<typename ScenarioT = ForecastScenario>
63 ForecastConfiguration& WithScenario(ScenarioT&& value) { SetScenario(std::forward<ScenarioT>(value)); return *this;}
65 private:
66
67 TimeBasedForecastProperties m_forecastProperties;
68 bool m_forecastPropertiesHasBeenSet = false;
69
70 ForecastScenario m_scenario;
71 bool m_scenarioHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
ForecastConfiguration & WithForecastProperties(ForecastPropertiesT &&value)
AWS_QUICKSIGHT_API ForecastConfiguration(Aws::Utils::Json::JsonView jsonValue)
ForecastConfiguration & WithScenario(ScenarioT &&value)
AWS_QUICKSIGHT_API ForecastConfiguration()=default
void SetForecastProperties(ForecastPropertiesT &&value)
AWS_QUICKSIGHT_API ForecastConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const TimeBasedForecastProperties & GetForecastProperties() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue