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>
61 template <
typename BudgetNameT = Aws::String>
63 m_budgetNameHasBeenSet =
true;
64 m_budgetName = std::forward<BudgetNameT>(value);
66 template <
typename BudgetNameT = Aws::String>
86 template <
typename BudgetLimitT = Spend>
88 m_budgetLimitHasBeenSet =
true;
89 m_budgetLimit = std::forward<BudgetLimitT>(value);
91 template <
typename BudgetLimitT = Spend>
129 template <
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
131 m_plannedBudgetLimitsHasBeenSet =
true;
132 m_plannedBudgetLimits = std::forward<PlannedBudgetLimitsT>(value);
134 template <
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
139 template <
typename PlannedBudgetLimitsKeyT = Aws::String,
typename PlannedBudgetLimitsValueT = Spend>
141 m_plannedBudgetLimitsHasBeenSet =
true;
142 m_plannedBudgetLimits.emplace(std::forward<PlannedBudgetLimitsKeyT>(key), std::forward<PlannedBudgetLimitsValueT>(value));
154 m_timeUnitHasBeenSet =
true;
183 template <
typename TimePeriodT = TimePeriod>
185 m_timePeriodHasBeenSet =
true;
186 m_timePeriod = std::forward<TimePeriodT>(value);
188 template <
typename TimePeriodT = TimePeriod>
201 template <
typename CalculatedSpendT = CalculatedSpend>
203 m_calculatedSpendHasBeenSet =
true;
204 m_calculatedSpend = std::forward<CalculatedSpendT>(value);
206 template <
typename CalculatedSpendT = CalculatedSpend>
221 m_budgetTypeHasBeenSet =
true;
222 m_budgetType = value;
236 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
238 m_lastUpdatedTimeHasBeenSet =
true;
239 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
241 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
255 template <
typename AutoAdjustDataT = AutoAdjustData>
257 m_autoAdjustDataHasBeenSet =
true;
258 m_autoAdjustData = std::forward<AutoAdjustDataT>(value);
260 template <
typename AutoAdjustDataT = AutoAdjustData>
273 template <
typename FilterExpressionT = Expression>
275 m_filterExpressionHasBeenSet =
true;
276 m_filterExpression = std::forward<FilterExpressionT>(value);
278 template <
typename FilterExpressionT = Expression>
291 template <
typename MetricsT = Aws::Vector<Metric>>
293 m_metricsHasBeenSet =
true;
294 m_metrics = std::forward<MetricsT>(value);
296 template <
typename MetricsT = Aws::Vector<Metric>>
302 m_metricsHasBeenSet =
true;
303 m_metrics.push_back(value);
318 template <
typename BillingViewArnT = Aws::String>
320 m_billingViewArnHasBeenSet =
true;
321 m_billingViewArn = std::forward<BillingViewArnT>(value);
323 template <
typename BillingViewArnT = Aws::String>
336 template <
typename HealthStatusT = HealthStatus>
338 m_healthStatusHasBeenSet =
true;
339 m_healthStatus = std::forward<HealthStatusT>(value);
341 template <
typename HealthStatusT = HealthStatus>
356 TimePeriod m_timePeriod;
358 CalculatedSpend m_calculatedSpend;
364 AutoAdjustData m_autoAdjustData;
366 Expression m_filterExpression;
372 HealthStatus m_healthStatus;
373 bool m_budgetNameHasBeenSet =
false;
374 bool m_budgetLimitHasBeenSet =
false;
375 bool m_plannedBudgetLimitsHasBeenSet =
false;
376 bool m_timeUnitHasBeenSet =
false;
377 bool m_timePeriodHasBeenSet =
false;
378 bool m_calculatedSpendHasBeenSet =
false;
379 bool m_budgetTypeHasBeenSet =
false;
380 bool m_lastUpdatedTimeHasBeenSet =
false;
381 bool m_autoAdjustDataHasBeenSet =
false;
382 bool m_filterExpressionHasBeenSet =
false;
383 bool m_metricsHasBeenSet =
false;
384 bool m_billingViewArnHasBeenSet =
false;
385 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