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/CostTypes.h>
12#include <aws/budgets/model/TimeUnit.h>
13#include <aws/budgets/model/TimePeriod.h>
14#include <aws/budgets/model/CalculatedSpend.h>
15#include <aws/budgets/model/BudgetType.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/budgets/model/AutoAdjustData.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
65 inline void SetBudgetName(
const char* value) { m_budgetNameHasBeenSet =
true; m_budgetName.assign(value); }
84 inline void SetBudgetLimit(
const Spend& value) { m_budgetLimitHasBeenSet =
true; m_budgetLimit = value; }
85 inline void SetBudgetLimit(
Spend&& value) { m_budgetLimitHasBeenSet =
true; m_budgetLimit = std::move(value); }
129 inline Budget&
AddPlannedBudgetLimits(
const char* key,
Spend&& value) { m_plannedBudgetLimitsHasBeenSet =
true; m_plannedBudgetLimits.emplace(key, std::move(value));
return *
this; }
261 bool m_budgetNameHasBeenSet =
false;
264 bool m_budgetLimitHasBeenSet =
false;
267 bool m_plannedBudgetLimitsHasBeenSet =
false;
270 bool m_costFiltersHasBeenSet =
false;
273 bool m_costTypesHasBeenSet =
false;
276 bool m_timeUnitHasBeenSet =
false;
279 bool m_timePeriodHasBeenSet =
false;
282 bool m_calculatedSpendHasBeenSet =
false;
285 bool m_budgetTypeHasBeenSet =
false;
288 bool m_lastUpdatedTimeHasBeenSet =
false;
291 bool m_autoAdjustDataHasBeenSet =
false;
const CostTypes & GetCostTypes() const
const TimePeriod & GetTimePeriod() const
Budget & AddPlannedBudgetLimits(const char *key, Spend &&value)
void SetBudgetName(const char *value)
const BudgetType & GetBudgetType() const
bool PlannedBudgetLimitsHasBeenSet() const
bool CostFiltersHasBeenSet() const
const Aws::Map< Aws::String, Spend > & GetPlannedBudgetLimits() const
Budget & AddCostFilters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
bool TimeUnitHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
const AutoAdjustData & GetAutoAdjustData() const
const Spend & GetBudgetLimit() const
void SetCalculatedSpend(CalculatedSpend &&value)
Budget & AddCostFilters(const char *key, const Aws::Vector< Aws::String > &value)
Budget & WithBudgetLimit(const Spend &value)
Budget & AddPlannedBudgetLimits(const Aws::String &key, Spend &&value)
Budget & WithAutoAdjustData(AutoAdjustData &&value)
Budget & AddPlannedBudgetLimits(Aws::String &&key, const Spend &value)
AWS_BUDGETS_API Budget & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CostTypesHasBeenSet() const
Budget & WithBudgetName(const char *value)
const Aws::String & GetBudgetName() const
Budget & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetCostFilters() const
Budget & WithPlannedBudgetLimits(const Aws::Map< Aws::String, Spend > &value)
Budget & WithBudgetType(BudgetType &&value)
Budget & AddCostFilters(const char *key, Aws::Vector< Aws::String > &&value)
const CalculatedSpend & GetCalculatedSpend() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
Budget & AddPlannedBudgetLimits(const char *key, const Spend &value)
Budget & WithCostTypes(CostTypes &&value)
void SetPlannedBudgetLimits(Aws::Map< Aws::String, Spend > &&value)
bool AutoAdjustDataHasBeenSet() const
Budget & WithBudgetType(const BudgetType &value)
Budget & WithBudgetName(const Aws::String &value)
void SetBudgetName(Aws::String &&value)
void SetCostTypes(const CostTypes &value)
Budget & WithTimePeriod(TimePeriod &&value)
Budget & WithTimeUnit(TimeUnit &&value)
Budget & WithCalculatedSpend(CalculatedSpend &&value)
void SetCostTypes(CostTypes &&value)
void SetBudgetType(BudgetType &&value)
AWS_BUDGETS_API Budget(Aws::Utils::Json::JsonView jsonValue)
bool BudgetNameHasBeenSet() const
void SetBudgetLimit(Spend &&value)
Budget & WithCalculatedSpend(const CalculatedSpend &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetBudgetName(const Aws::String &value)
Budget & WithBudgetLimit(Spend &&value)
const TimeUnit & GetTimeUnit() const
void SetAutoAdjustData(const AutoAdjustData &value)
Budget & WithCostFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
bool CalculatedSpendHasBeenSet() const
Budget & WithCostTypes(const CostTypes &value)
Budget & WithAutoAdjustData(const AutoAdjustData &value)
Budget & WithCostFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Budget & AddCostFilters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
bool BudgetTypeHasBeenSet() const
void SetTimeUnit(TimeUnit &&value)
void SetTimeUnit(const TimeUnit &value)
bool TimePeriodHasBeenSet() const
Budget & AddPlannedBudgetLimits(const Aws::String &key, const Spend &value)
void SetTimePeriod(TimePeriod &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetTimePeriod(const TimePeriod &value)
Budget & WithTimePeriod(const TimePeriod &value)
void SetPlannedBudgetLimits(const Aws::Map< Aws::String, Spend > &value)
void SetCostFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
Budget & AddCostFilters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
Budget & WithTimeUnit(const TimeUnit &value)
Budget & WithPlannedBudgetLimits(Aws::Map< Aws::String, Spend > &&value)
bool BudgetLimitHasBeenSet() const
void SetBudgetType(const BudgetType &value)
Budget & WithBudgetName(Aws::String &&value)
void SetCostFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
Budget & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCalculatedSpend(const CalculatedSpend &value)
Budget & AddCostFilters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
void SetAutoAdjustData(AutoAdjustData &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Budget & AddPlannedBudgetLimits(Aws::String &&key, Spend &&value)
void SetBudgetLimit(const Spend &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