7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/AutoAdjustData.h>
9#include <aws/budgets/model/BudgetType.h>
10#include <aws/budgets/model/CalculatedSpend.h>
11#include <aws/budgets/model/Expression.h>
12#include <aws/budgets/model/HealthStatus.h>
13#include <aws/budgets/model/Metric.h>
14#include <aws/budgets/model/Spend.h>
15#include <aws/budgets/model/TimePeriod.h>
16#include <aws/budgets/model/TimeUnit.h>
17#include <aws/core/utils/DateTime.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
59 template <
typename BudgetNameT = Aws::String>
61 m_budgetNameHasBeenSet =
true;
62 m_budgetName = std::forward<BudgetNameT>(value);
64 template <
typename BudgetNameT = Aws::String>
84 template <
typename BudgetLimitT = Spend>
86 m_budgetLimitHasBeenSet =
true;
87 m_budgetLimit = std::forward<BudgetLimitT>(value);
89 template <
typename BudgetLimitT = Spend>
127 template <
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
129 m_plannedBudgetLimitsHasBeenSet =
true;
130 m_plannedBudgetLimits = std::forward<PlannedBudgetLimitsT>(value);
132 template <
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
137 template <
typename PlannedBudgetLimitsKeyT = Aws::String,
typename PlannedBudgetLimitsValueT = Spend>
139 m_plannedBudgetLimitsHasBeenSet =
true;
140 m_plannedBudgetLimits.emplace(std::forward<PlannedBudgetLimitsKeyT>(key), std::forward<PlannedBudgetLimitsValueT>(value));
152 m_timeUnitHasBeenSet =
true;
181 template <
typename TimePeriodT = TimePeriod>
183 m_timePeriodHasBeenSet =
true;
184 m_timePeriod = std::forward<TimePeriodT>(value);
186 template <
typename TimePeriodT = TimePeriod>
199 template <
typename CalculatedSpendT = CalculatedSpend>
201 m_calculatedSpendHasBeenSet =
true;
202 m_calculatedSpend = std::forward<CalculatedSpendT>(value);
204 template <
typename CalculatedSpendT = CalculatedSpend>
219 m_budgetTypeHasBeenSet =
true;
220 m_budgetType = value;
234 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
236 m_lastUpdatedTimeHasBeenSet =
true;
237 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
239 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
253 template <
typename AutoAdjustDataT = AutoAdjustData>
255 m_autoAdjustDataHasBeenSet =
true;
256 m_autoAdjustData = std::forward<AutoAdjustDataT>(value);
258 template <
typename AutoAdjustDataT = AutoAdjustData>
271 template <
typename FilterExpressionT = Expression>
273 m_filterExpressionHasBeenSet =
true;
274 m_filterExpression = std::forward<FilterExpressionT>(value);
276 template <
typename FilterExpressionT = Expression>
289 template <
typename MetricsT = Aws::Vector<Metric>>
291 m_metricsHasBeenSet =
true;
292 m_metrics = std::forward<MetricsT>(value);
294 template <
typename MetricsT = Aws::Vector<Metric>>
300 m_metricsHasBeenSet =
true;
301 m_metrics.push_back(value);
316 template <
typename BillingViewArnT = Aws::String>
318 m_billingViewArnHasBeenSet =
true;
319 m_billingViewArn = std::forward<BillingViewArnT>(value);
321 template <
typename BillingViewArnT = Aws::String>
334 template <
typename HealthStatusT = HealthStatus>
336 m_healthStatusHasBeenSet =
true;
337 m_healthStatus = std::forward<HealthStatusT>(value);
339 template <
typename HealthStatusT = HealthStatus>
354 TimePeriod m_timePeriod;
356 CalculatedSpend m_calculatedSpend;
362 AutoAdjustData m_autoAdjustData;
364 Expression m_filterExpression;
370 HealthStatus m_healthStatus;
371 bool m_budgetNameHasBeenSet =
false;
372 bool m_budgetLimitHasBeenSet =
false;
373 bool m_plannedBudgetLimitsHasBeenSet =
false;
374 bool m_timeUnitHasBeenSet =
false;
375 bool m_timePeriodHasBeenSet =
false;
376 bool m_calculatedSpendHasBeenSet =
false;
377 bool m_budgetTypeHasBeenSet =
false;
378 bool m_lastUpdatedTimeHasBeenSet =
false;
379 bool m_autoAdjustDataHasBeenSet =
false;
380 bool m_filterExpressionHasBeenSet =
false;
381 bool m_metricsHasBeenSet =
false;
382 bool m_billingViewArnHasBeenSet =
false;
383 bool m_healthStatusHasBeenSet =
false;
Budget & AddMetrics(Metric value)
Budget & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const TimePeriod & GetTimePeriod() const
bool PlannedBudgetLimitsHasBeenSet() const
const Aws::Map< Aws::String, Spend > & GetPlannedBudgetLimits() const
TimeUnit GetTimeUnit() const
Budget & WithCalculatedSpend(CalculatedSpendT &&value)
Budget & WithHealthStatus(HealthStatusT &&value)
bool TimeUnitHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
const AutoAdjustData & GetAutoAdjustData() const
const Spend & GetBudgetLimit() const
void SetBillingViewArn(BillingViewArnT &&value)
void SetAutoAdjustData(AutoAdjustDataT &&value)
AWS_BUDGETS_API Budget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBudgetName() const
const CalculatedSpend & GetCalculatedSpend() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBillingViewArn() const
const Aws::Vector< Metric > & GetMetrics() const
bool AutoAdjustDataHasBeenSet() const
Budget & WithTimeUnit(TimeUnit value)
AWS_BUDGETS_API Budget()=default
bool BillingViewArnHasBeenSet() const
Budget & WithBillingViewArn(BillingViewArnT &&value)
Budget & WithBudgetName(BudgetNameT &&value)
AWS_BUDGETS_API Budget(Aws::Utils::Json::JsonView jsonValue)
bool BudgetNameHasBeenSet() const
void SetMetrics(MetricsT &&value)
Budget & WithAutoAdjustData(AutoAdjustDataT &&value)
Budget & WithTimePeriod(TimePeriodT &&value)
Budget & WithBudgetType(BudgetType value)
void SetBudgetLimit(BudgetLimitT &&value)
bool MetricsHasBeenSet() const
bool FilterExpressionHasBeenSet() const
const HealthStatus & GetHealthStatus() const
const Expression & GetFilterExpression() const
bool CalculatedSpendHasBeenSet() const
void SetBudgetName(BudgetNameT &&value)
bool BudgetTypeHasBeenSet() const
Budget & WithPlannedBudgetLimits(PlannedBudgetLimitsT &&value)
Budget & WithFilterExpression(FilterExpressionT &&value)
Budget & WithBudgetLimit(BudgetLimitT &&value)
bool TimePeriodHasBeenSet() const
void SetHealthStatus(HealthStatusT &&value)
void SetPlannedBudgetLimits(PlannedBudgetLimitsT &&value)
void SetCalculatedSpend(CalculatedSpendT &&value)
Budget & WithMetrics(MetricsT &&value)
BudgetType GetBudgetType() const
void SetBudgetType(BudgetType value)
void SetTimePeriod(TimePeriodT &&value)
void SetFilterExpression(FilterExpressionT &&value)
bool BudgetLimitHasBeenSet() const
bool HealthStatusHasBeenSet() const
void SetTimeUnit(TimeUnit value)
Budget & AddPlannedBudgetLimits(PlannedBudgetLimitsKeyT &&key, PlannedBudgetLimitsValueT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue