7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/CostCategoryValues.h>
9#include <aws/ce/model/DimensionValues.h>
10#include <aws/ce/model/TagValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CostExplorer {
96 template <
typename OrT = Aws::Vector<Expression>>
98 m_orHasBeenSet =
true;
99 m_or = std::forward<OrT>(value);
101 template <
typename OrT = Aws::Vector<Expression>>
103 SetOr(std::forward<OrT>(value));
106 template <
typename OrT = Expression>
108 m_orHasBeenSet =
true;
109 m_or.emplace_back(std::forward<OrT>(value));
120 template <
typename AndT = Aws::Vector<Expression>>
122 m_andHasBeenSet =
true;
123 m_and = std::forward<AndT>(value);
125 template <
typename AndT = Aws::Vector<Expression>>
127 SetAnd(std::forward<AndT>(value));
130 template <
typename AndT = Expression>
132 m_andHasBeenSet =
true;
133 m_and.emplace_back(std::forward<AndT>(value));
144 template <
typename NotT = Expression>
146 m_notHasBeenSet =
true;
147 m_not = Aws::MakeShared<Expression>(
"Expression", std::forward<NotT>(value));
149 template <
typename NotT = Expression>
151 SetNot(std::forward<NotT>(value));
162 template <
typename DimensionsT = DimensionValues>
164 m_dimensionsHasBeenSet =
true;
165 m_dimensions = std::forward<DimensionsT>(value);
167 template <
typename DimensionsT = DimensionValues>
180 template <
typename TagsT = TagValues>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = TagValues>
187 SetTags(std::forward<TagsT>(value));
198 template <
typename CostCategoriesT = CostCategoryValues>
200 m_costCategoriesHasBeenSet =
true;
201 m_costCategories = std::forward<CostCategoriesT>(value);
203 template <
typename CostCategoriesT = CostCategoryValues>
214 std::shared_ptr<Expression> m_not;
221 bool m_orHasBeenSet =
false;
222 bool m_andHasBeenSet =
false;
223 bool m_notHasBeenSet =
false;
224 bool m_dimensionsHasBeenSet =
false;
225 bool m_tagsHasBeenSet =
false;
226 bool m_costCategoriesHasBeenSet =
false;
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnd(AndT &&value)
const TagValues & GetTags() const
bool TagsHasBeenSet() const
Expression & WithOr(OrT &&value)
AWS_COSTEXPLORER_API Expression & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Expression > & GetOr() const
bool AndHasBeenSet() const
bool OrHasBeenSet() const
Expression & WithCostCategories(CostCategoriesT &&value)
bool DimensionsHasBeenSet() const
Expression & WithNot(NotT &&value)
const DimensionValues & GetDimensions() const
const Expression & GetNot() const
AWS_COSTEXPLORER_API Expression(Aws::Utils::Json::JsonView jsonValue)
void SetNot(NotT &&value)
bool NotHasBeenSet() const
bool CostCategoriesHasBeenSet() const
const CostCategoryValues & GetCostCategories() const
void SetDimensions(DimensionsT &&value)
void SetCostCategories(CostCategoriesT &&value)
Expression & WithAnd(AndT &&value)
AWS_COSTEXPLORER_API Expression()=default
void SetTags(TagsT &&value)
Expression & WithTags(TagsT &&value)
Expression & WithDimensions(DimensionsT &&value)
Expression & AddOr(OrT &&value)
Expression & AddAnd(AndT &&value)
const Aws::Vector< Expression > & GetAnd() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue