AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BudgetPerformanceHistory.h
1
6#pragma once
7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/budgets/model/BudgetType.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/core/utils/memory/stl/AWSVector.h>
14#include <aws/budgets/model/BudgetedAndActualAmounts.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Budgets
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_BUDGETS_API BudgetPerformanceHistory();
44 AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
49 inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
50 inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
51 inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
52 inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
53 inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
54 inline BudgetPerformanceHistory& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
55 inline BudgetPerformanceHistory& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
56 inline BudgetPerformanceHistory& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
58
60
61 inline const BudgetType& GetBudgetType() const{ return m_budgetType; }
62 inline bool BudgetTypeHasBeenSet() const { return m_budgetTypeHasBeenSet; }
63 inline void SetBudgetType(const BudgetType& value) { m_budgetTypeHasBeenSet = true; m_budgetType = value; }
64 inline void SetBudgetType(BudgetType&& value) { m_budgetTypeHasBeenSet = true; m_budgetType = std::move(value); }
65 inline BudgetPerformanceHistory& WithBudgetType(const BudgetType& value) { SetBudgetType(value); return *this;}
66 inline BudgetPerformanceHistory& WithBudgetType(BudgetType&& value) { SetBudgetType(std::move(value)); return *this;}
68
70
74 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetCostFilters() const{ return m_costFilters; }
75 inline bool CostFiltersHasBeenSet() const { return m_costFiltersHasBeenSet; }
76 inline void SetCostFilters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_costFiltersHasBeenSet = true; m_costFilters = value; }
77 inline void SetCostFilters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_costFiltersHasBeenSet = true; m_costFilters = std::move(value); }
80 inline BudgetPerformanceHistory& AddCostFilters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(key, value); return *this; }
81 inline BudgetPerformanceHistory& AddCostFilters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(std::move(key), value); return *this; }
82 inline BudgetPerformanceHistory& AddCostFilters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(key, std::move(value)); return *this; }
83 inline BudgetPerformanceHistory& AddCostFilters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(std::move(key), std::move(value)); return *this; }
84 inline BudgetPerformanceHistory& AddCostFilters(const char* key, Aws::Vector<Aws::String>&& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(key, std::move(value)); return *this; }
85 inline BudgetPerformanceHistory& AddCostFilters(const char* key, const Aws::Vector<Aws::String>& value) { m_costFiltersHasBeenSet = true; m_costFilters.emplace(key, value); return *this; }
87
89
93 inline const CostTypes& GetCostTypes() const{ return m_costTypes; }
94 inline bool CostTypesHasBeenSet() const { return m_costTypesHasBeenSet; }
95 inline void SetCostTypes(const CostTypes& value) { m_costTypesHasBeenSet = true; m_costTypes = value; }
96 inline void SetCostTypes(CostTypes&& value) { m_costTypesHasBeenSet = true; m_costTypes = std::move(value); }
97 inline BudgetPerformanceHistory& WithCostTypes(const CostTypes& value) { SetCostTypes(value); return *this;}
98 inline BudgetPerformanceHistory& WithCostTypes(CostTypes&& value) { SetCostTypes(std::move(value)); return *this;}
100
102
103 inline const TimeUnit& GetTimeUnit() const{ return m_timeUnit; }
104 inline bool TimeUnitHasBeenSet() const { return m_timeUnitHasBeenSet; }
105 inline void SetTimeUnit(const TimeUnit& value) { m_timeUnitHasBeenSet = true; m_timeUnit = value; }
106 inline void SetTimeUnit(TimeUnit&& value) { m_timeUnitHasBeenSet = true; m_timeUnit = std::move(value); }
107 inline BudgetPerformanceHistory& WithTimeUnit(const TimeUnit& value) { SetTimeUnit(value); return *this;}
108 inline BudgetPerformanceHistory& WithTimeUnit(TimeUnit&& value) { SetTimeUnit(std::move(value)); return *this;}
110
112
116 inline const Aws::Vector<BudgetedAndActualAmounts>& GetBudgetedAndActualAmountsList() const{ return m_budgetedAndActualAmountsList; }
117 inline bool BudgetedAndActualAmountsListHasBeenSet() const { return m_budgetedAndActualAmountsListHasBeenSet; }
118 inline void SetBudgetedAndActualAmountsList(const Aws::Vector<BudgetedAndActualAmounts>& value) { m_budgetedAndActualAmountsListHasBeenSet = true; m_budgetedAndActualAmountsList = value; }
119 inline void SetBudgetedAndActualAmountsList(Aws::Vector<BudgetedAndActualAmounts>&& value) { m_budgetedAndActualAmountsListHasBeenSet = true; m_budgetedAndActualAmountsList = std::move(value); }
122 inline BudgetPerformanceHistory& AddBudgetedAndActualAmountsList(const BudgetedAndActualAmounts& value) { m_budgetedAndActualAmountsListHasBeenSet = true; m_budgetedAndActualAmountsList.push_back(value); return *this; }
123 inline BudgetPerformanceHistory& AddBudgetedAndActualAmountsList(BudgetedAndActualAmounts&& value) { m_budgetedAndActualAmountsListHasBeenSet = true; m_budgetedAndActualAmountsList.push_back(std::move(value)); return *this; }
125 private:
126
127 Aws::String m_budgetName;
128 bool m_budgetNameHasBeenSet = false;
129
130 BudgetType m_budgetType;
131 bool m_budgetTypeHasBeenSet = false;
132
134 bool m_costFiltersHasBeenSet = false;
135
136 CostTypes m_costTypes;
137 bool m_costTypesHasBeenSet = false;
138
139 TimeUnit m_timeUnit;
140 bool m_timeUnitHasBeenSet = false;
141
142 Aws::Vector<BudgetedAndActualAmounts> m_budgetedAndActualAmountsList;
143 bool m_budgetedAndActualAmountsListHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Budgets
148} // namespace Aws
BudgetPerformanceHistory & AddCostFilters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
BudgetPerformanceHistory & WithBudgetName(Aws::String &&value)
BudgetPerformanceHistory & AddCostFilters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
BudgetPerformanceHistory & AddCostFilters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
BudgetPerformanceHistory & WithBudgetType(BudgetType &&value)
BudgetPerformanceHistory & WithCostTypes(CostTypes &&value)
void SetBudgetedAndActualAmountsList(const Aws::Vector< BudgetedAndActualAmounts > &value)
BudgetPerformanceHistory & AddCostFilters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
BudgetPerformanceHistory & WithBudgetName(const Aws::String &value)
void SetBudgetedAndActualAmountsList(Aws::Vector< BudgetedAndActualAmounts > &&value)
BudgetPerformanceHistory & WithBudgetName(const char *value)
AWS_BUDGETS_API BudgetPerformanceHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCostFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
BudgetPerformanceHistory & WithCostFilters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AWS_BUDGETS_API BudgetPerformanceHistory(Aws::Utils::Json::JsonView jsonValue)
BudgetPerformanceHistory & WithBudgetedAndActualAmountsList(Aws::Vector< BudgetedAndActualAmounts > &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetCostFilters() const
BudgetPerformanceHistory & AddCostFilters(const char *key, Aws::Vector< Aws::String > &&value)
BudgetPerformanceHistory & WithBudgetedAndActualAmountsList(const Aws::Vector< BudgetedAndActualAmounts > &value)
BudgetPerformanceHistory & AddBudgetedAndActualAmountsList(BudgetedAndActualAmounts &&value)
BudgetPerformanceHistory & AddBudgetedAndActualAmountsList(const BudgetedAndActualAmounts &value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
BudgetPerformanceHistory & WithTimeUnit(TimeUnit &&value)
void SetCostFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
BudgetPerformanceHistory & WithCostFilters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
BudgetPerformanceHistory & WithTimeUnit(const TimeUnit &value)
BudgetPerformanceHistory & WithCostTypes(const CostTypes &value)
BudgetPerformanceHistory & WithBudgetType(const BudgetType &value)
const Aws::Vector< BudgetedAndActualAmounts > & GetBudgetedAndActualAmountsList() const
BudgetPerformanceHistory & AddCostFilters(const char *key, const Aws::Vector< Aws::String > &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