AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
HistoricalOptions.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Budgets {
17namespace Model {
18
26 public:
27 AWS_BUDGETS_API HistoricalOptions() = default;
30 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
44 inline int GetBudgetAdjustmentPeriod() const { return m_budgetAdjustmentPeriod; }
45 inline bool BudgetAdjustmentPeriodHasBeenSet() const { return m_budgetAdjustmentPeriodHasBeenSet; }
46 inline void SetBudgetAdjustmentPeriod(int value) {
47 m_budgetAdjustmentPeriodHasBeenSet = true;
48 m_budgetAdjustmentPeriod = value;
49 }
52 return *this;
53 }
55
57
71 inline int GetLookBackAvailablePeriods() const { return m_lookBackAvailablePeriods; }
72 inline bool LookBackAvailablePeriodsHasBeenSet() const { return m_lookBackAvailablePeriodsHasBeenSet; }
73 inline void SetLookBackAvailablePeriods(int value) {
74 m_lookBackAvailablePeriodsHasBeenSet = true;
75 m_lookBackAvailablePeriods = value;
76 }
79 return *this;
80 }
82 private:
83 int m_budgetAdjustmentPeriod{0};
84
85 int m_lookBackAvailablePeriods{0};
86 bool m_budgetAdjustmentPeriodHasBeenSet = false;
87 bool m_lookBackAvailablePeriodsHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Budgets
92} // namespace Aws
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BUDGETS_API HistoricalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
HistoricalOptions & WithBudgetAdjustmentPeriod(int value)
AWS_BUDGETS_API HistoricalOptions()=default
AWS_BUDGETS_API HistoricalOptions(Aws::Utils::Json::JsonView jsonValue)
HistoricalOptions & WithLookBackAvailablePeriods(int value)
Aws::Utils::Json::JsonValue JsonValue