7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/budgets/model/CostCategoryValues.h>
9#include <aws/budgets/model/ExpressionDimensionValues.h>
10#include <aws/budgets/model/TagValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename OrT = Aws::Vector<Expression>>
46 m_orHasBeenSet =
true;
47 m_or = std::forward<OrT>(value);
49 template <
typename OrT = Aws::Vector<Expression>>
51 SetOr(std::forward<OrT>(value));
54 template <
typename OrT = Expression>
56 m_orHasBeenSet =
true;
57 m_or.emplace_back(std::forward<OrT>(value));
68 template <
typename AndT = Aws::Vector<Expression>>
70 m_andHasBeenSet =
true;
71 m_and = std::forward<AndT>(value);
73 template <
typename AndT = Aws::Vector<Expression>>
75 SetAnd(std::forward<AndT>(value));
78 template <
typename AndT = Expression>
80 m_andHasBeenSet =
true;
81 m_and.emplace_back(std::forward<AndT>(value));
92 template <
typename NotT = Expression>
94 m_notHasBeenSet =
true;
95 m_not = Aws::MakeShared<Expression>(
"Expression", std::forward<NotT>(value));
97 template <
typename NotT = Expression>
99 SetNot(std::forward<NotT>(value));
110 template <
typename DimensionsT = ExpressionDimensionValues>
112 m_dimensionsHasBeenSet =
true;
113 m_dimensions = std::forward<DimensionsT>(value);
115 template <
typename DimensionsT = ExpressionDimensionValues>
128 template <
typename TagsT = TagValues>
130 m_tagsHasBeenSet =
true;
131 m_tags = std::forward<TagsT>(value);
133 template <
typename TagsT = TagValues>
135 SetTags(std::forward<TagsT>(value));
146 template <
typename CostCategoriesT = CostCategoryValues>
148 m_costCategoriesHasBeenSet =
true;
149 m_costCategories = std::forward<CostCategoriesT>(value);
151 template <
typename CostCategoriesT = CostCategoryValues>
162 std::shared_ptr<Expression> m_not;
169 bool m_orHasBeenSet =
false;
170 bool m_andHasBeenSet =
false;
171 bool m_notHasBeenSet =
false;
172 bool m_dimensionsHasBeenSet =
false;
173 bool m_tagsHasBeenSet =
false;
174 bool m_costCategoriesHasBeenSet =
false;
void SetDimensions(DimensionsT &&value)
AWS_BUDGETS_API Expression(Aws::Utils::Json::JsonView jsonValue)
Expression & WithAnd(AndT &&value)
Expression & AddAnd(AndT &&value)
bool NotHasBeenSet() const
bool OrHasBeenSet() const
void SetCostCategories(CostCategoriesT &&value)
Expression & WithTags(TagsT &&value)
Expression & WithOr(OrT &&value)
const Expression & GetNot() const
bool AndHasBeenSet() const
AWS_BUDGETS_API Expression & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNot(NotT &&value)
const TagValues & GetTags() const
bool TagsHasBeenSet() const
const Aws::Vector< Expression > & GetOr() const
Expression & WithCostCategories(CostCategoriesT &&value)
bool DimensionsHasBeenSet() const
const ExpressionDimensionValues & GetDimensions() const
void SetAnd(AndT &&value)
Expression & AddOr(OrT &&value)
const Aws::Vector< Expression > & GetAnd() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
Expression & WithNot(NotT &&value)
Expression & WithDimensions(DimensionsT &&value)
AWS_BUDGETS_API Expression()=default
void SetTags(TagsT &&value)
bool CostCategoriesHasBeenSet() const
const CostCategoryValues & GetCostCategories() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue