7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ce/model/Expression.h>
10#include <aws/ce/model/CostCategoryInheritedValueDimension.h>
11#include <aws/ce/model/CostCategoryRuleType.h>
51 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
75 inline void SetRule(
Expression&& value) { m_ruleHasBeenSet =
true; m_rule = std::move(value); }
115 bool m_valueHasBeenSet =
false;
118 bool m_ruleHasBeenSet =
false;
121 bool m_inheritedValueHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
void SetRule(const Expression &value)
CostCategoryRule & WithRule(const Expression &value)
CostCategoryRule & WithType(CostCategoryRuleType &&value)
const CostCategoryInheritedValueDimension & GetInheritedValue() const
AWS_COSTEXPLORER_API CostCategoryRule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
CostCategoryRule & WithInheritedValue(CostCategoryInheritedValueDimension &&value)
const Aws::String & GetValue() const
CostCategoryRule & WithInheritedValue(const CostCategoryInheritedValueDimension &value)
void SetRule(Expression &&value)
void SetType(CostCategoryRuleType &&value)
const CostCategoryRuleType & GetType() const
void SetType(const CostCategoryRuleType &value)
void SetInheritedValue(CostCategoryInheritedValueDimension &&value)
CostCategoryRule & WithValue(Aws::String &&value)
CostCategoryRule & WithType(const CostCategoryRuleType &value)
bool RuleHasBeenSet() const
CostCategoryRule & WithRule(Expression &&value)
AWS_COSTEXPLORER_API CostCategoryRule(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const char *value)
bool ValueHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInheritedValue(const CostCategoryInheritedValueDimension &value)
const Expression & GetRule() const
AWS_COSTEXPLORER_API CostCategoryRule()
CostCategoryRule & WithValue(const Aws::String &value)
void SetValue(const Aws::String &value)
CostCategoryRule & WithValue(const char *value)
bool InheritedValueHasBeenSet() const
void SetValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue