AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
ForecastConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ForecastScenario.h>
9#include <aws/quicksight/model/TimeBasedForecastProperties.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API ForecastConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const TimeBasedForecastProperties& GetForecastProperties() const { return m_forecastProperties; }
41 inline bool ForecastPropertiesHasBeenSet() const { return m_forecastPropertiesHasBeenSet; }
42 template <typename ForecastPropertiesT = TimeBasedForecastProperties>
43 void SetForecastProperties(ForecastPropertiesT&& value) {
44 m_forecastPropertiesHasBeenSet = true;
45 m_forecastProperties = std::forward<ForecastPropertiesT>(value);
46 }
47 template <typename ForecastPropertiesT = TimeBasedForecastProperties>
48 ForecastConfiguration& WithForecastProperties(ForecastPropertiesT&& value) {
49 SetForecastProperties(std::forward<ForecastPropertiesT>(value));
50 return *this;
51 }
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) {
62 m_scenarioHasBeenSet = true;
63 m_scenario = std::forward<ScenarioT>(value);
64 }
65 template <typename ScenarioT = ForecastScenario>
66 ForecastConfiguration& WithScenario(ScenarioT&& value) {
67 SetScenario(std::forward<ScenarioT>(value));
68 return *this;
69 }
71 private:
72 TimeBasedForecastProperties m_forecastProperties;
73
74 ForecastScenario m_scenario;
75 bool m_forecastPropertiesHasBeenSet = false;
76 bool m_scenarioHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // 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