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/ProductAttributeValues.h>
11#include <aws/budgets/model/TagValues.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename OrT = Aws::Vector<Expression>>
47 m_orHasBeenSet =
true;
48 m_or = std::forward<OrT>(value);
50 template <
typename OrT = Aws::Vector<Expression>>
52 SetOr(std::forward<OrT>(value));
55 template <
typename OrT = Expression>
57 m_orHasBeenSet =
true;
58 m_or.emplace_back(std::forward<OrT>(value));
69 template <
typename AndT = Aws::Vector<Expression>>
71 m_andHasBeenSet =
true;
72 m_and = std::forward<AndT>(value);
74 template <
typename AndT = Aws::Vector<Expression>>
76 SetAnd(std::forward<AndT>(value));
79 template <
typename AndT = Expression>
81 m_andHasBeenSet =
true;
82 m_and.emplace_back(std::forward<AndT>(value));
93 template <
typename NotT = Expression>
95 m_notHasBeenSet =
true;
96 m_not = Aws::MakeShared<Expression>(
"Expression", std::forward<NotT>(value));
98 template <
typename NotT = Expression>
100 SetNot(std::forward<NotT>(value));
111 template <
typename DimensionsT = ExpressionDimensionValues>
113 m_dimensionsHasBeenSet =
true;
114 m_dimensions = std::forward<DimensionsT>(value);
116 template <
typename DimensionsT = ExpressionDimensionValues>
129 template <
typename TagsT = TagValues>
131 m_tagsHasBeenSet =
true;
132 m_tags = std::forward<TagsT>(value);
134 template <
typename TagsT = TagValues>
136 SetTags(std::forward<TagsT>(value));
147 template <
typename CostCategoriesT = CostCategoryValues>
149 m_costCategoriesHasBeenSet =
true;
150 m_costCategories = std::forward<CostCategoriesT>(value);
152 template <
typename CostCategoriesT = CostCategoryValues>
166 template <
typename ProductAttributesT = ProductAttributeValues>
168 m_productAttributesHasBeenSet =
true;
169 m_productAttributes = std::forward<ProductAttributesT>(value);
171 template <
typename ProductAttributesT = ProductAttributeValues>
182 std::shared_ptr<Expression> m_not;
191 bool m_orHasBeenSet =
false;
192 bool m_andHasBeenSet =
false;
193 bool m_notHasBeenSet =
false;
194 bool m_dimensionsHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
196 bool m_costCategoriesHasBeenSet =
false;
197 bool m_productAttributesHasBeenSet =
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
const ProductAttributeValues & GetProductAttributes() 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
Expression & WithProductAttributes(ProductAttributesT &&value)
void SetProductAttributes(ProductAttributesT &&value)
const Aws::Vector< Expression > & GetOr() const
Expression & WithCostCategories(CostCategoriesT &&value)
bool DimensionsHasBeenSet() const
bool ProductAttributesHasBeenSet() 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