7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/budgets/model/Spend.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/budgets/model/TimeUnit.h>
12#include <aws/budgets/model/TimePeriod.h>
13#include <aws/budgets/model/CalculatedSpend.h>
14#include <aws/budgets/model/BudgetType.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/budgets/model/AutoAdjustData.h>
17#include <aws/budgets/model/Expression.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/budgets/model/HealthStatus.h>
20#include <aws/budgets/model/Metric.h>
65 template<
typename BudgetNameT = Aws::String>
66 void SetBudgetName(BudgetNameT&& value) { m_budgetNameHasBeenSet =
true; m_budgetName = std::forward<BudgetNameT>(value); }
67 template<
typename BudgetNameT = Aws::String>
84 template<
typename BudgetLimitT = Spend>
85 void SetBudgetLimit(BudgetLimitT&& value) { m_budgetLimitHasBeenSet =
true; m_budgetLimit = std::forward<BudgetLimitT>(value); }
86 template<
typename BudgetLimitT = Spend>
121 template<
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
122 void SetPlannedBudgetLimits(PlannedBudgetLimitsT&& value) { m_plannedBudgetLimitsHasBeenSet =
true; m_plannedBudgetLimits = std::forward<PlannedBudgetLimitsT>(value); }
123 template<
typename PlannedBudgetLimitsT = Aws::Map<Aws::String, Spend>>
125 template<
typename PlannedBudgetLimitsKeyT = Aws::String,
typename PlannedBudgetLimitsValueT = Spend>
127 m_plannedBudgetLimitsHasBeenSet =
true; m_plannedBudgetLimits.emplace(std::forward<PlannedBudgetLimitsKeyT>(key), std::forward<PlannedBudgetLimitsValueT>(value));
return *
this;
160 template<
typename TimePeriodT = TimePeriod>
161 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet =
true; m_timePeriod = std::forward<TimePeriodT>(value); }
162 template<
typename TimePeriodT = TimePeriod>
172 template<
typename CalculatedSpendT = CalculatedSpend>
173 void SetCalculatedSpend(CalculatedSpendT&& value) { m_calculatedSpendHasBeenSet =
true; m_calculatedSpend = std::forward<CalculatedSpendT>(value); }
174 template<
typename CalculatedSpendT = CalculatedSpend>
195 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
196 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
197 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
208 template<
typename AutoAdjustDataT = AutoAdjustData>
209 void SetAutoAdjustData(AutoAdjustDataT&& value) { m_autoAdjustDataHasBeenSet =
true; m_autoAdjustData = std::forward<AutoAdjustDataT>(value); }
210 template<
typename AutoAdjustDataT = AutoAdjustData>
220 template<
typename FilterExpressionT = Expression>
221 void SetFilterExpression(FilterExpressionT&& value) { m_filterExpressionHasBeenSet =
true; m_filterExpression = std::forward<FilterExpressionT>(value); }
222 template<
typename FilterExpressionT = Expression>
232 template<
typename MetricsT = Aws::Vector<Metric>>
233 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
234 template<
typename MetricsT = Aws::Vector<Metric>>
249 template<
typename BillingViewArnT = Aws::String>
250 void SetBillingViewArn(BillingViewArnT&& value) { m_billingViewArnHasBeenSet =
true; m_billingViewArn = std::forward<BillingViewArnT>(value); }
251 template<
typename BillingViewArnT = Aws::String>
261 template<
typename HealthStatusT = HealthStatus>
262 void SetHealthStatus(HealthStatusT&& value) { m_healthStatusHasBeenSet =
true; m_healthStatus = std::forward<HealthStatusT>(value); }
263 template<
typename HealthStatusT = HealthStatus>
269 bool m_budgetNameHasBeenSet =
false;
272 bool m_budgetLimitHasBeenSet =
false;
275 bool m_plannedBudgetLimitsHasBeenSet =
false;
278 bool m_timeUnitHasBeenSet =
false;
280 TimePeriod m_timePeriod;
281 bool m_timePeriodHasBeenSet =
false;
283 CalculatedSpend m_calculatedSpend;
284 bool m_calculatedSpendHasBeenSet =
false;
287 bool m_budgetTypeHasBeenSet =
false;
290 bool m_lastUpdatedTimeHasBeenSet =
false;
292 AutoAdjustData m_autoAdjustData;
293 bool m_autoAdjustDataHasBeenSet =
false;
295 Expression m_filterExpression;
296 bool m_filterExpressionHasBeenSet =
false;
299 bool m_metricsHasBeenSet =
false;
302 bool m_billingViewArnHasBeenSet =
false;
304 HealthStatus m_healthStatus;
305 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