7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/budgets/model/MatchOption.h>
49 template<
typename KeyT = Aws::String>
50 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
51 template<
typename KeyT = Aws::String>
61 template<
typename ValuesT = Aws::Vector<Aws::String>>
62 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
63 template<
typename ValuesT = Aws::Vector<Aws::String>>
65 template<
typename ValuesT = Aws::String>
66 CostCategoryValues&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
75 template<
typename MatchOptionsT = Aws::Vector<MatchOption>>
76 void SetMatchOptions(MatchOptionsT&& value) { m_matchOptionsHasBeenSet =
true; m_matchOptions = std::forward<MatchOptionsT>(value); }
77 template<
typename MatchOptionsT = Aws::Vector<MatchOption>>
84 bool m_keyHasBeenSet =
false;
87 bool m_valuesHasBeenSet =
false;
90 bool m_matchOptionsHasBeenSet =
false;
AWS_BUDGETS_API CostCategoryValues()=default
CostCategoryValues & AddValues(ValuesT &&value)
void SetMatchOptions(MatchOptionsT &&value)
CostCategoryValues & WithKey(KeyT &&value)
bool MatchOptionsHasBeenSet() const
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
CostCategoryValues & AddMatchOptions(MatchOption value)
const Aws::Vector< MatchOption > & GetMatchOptions() const
void SetValues(ValuesT &&value)
bool KeyHasBeenSet() const
CostCategoryValues & WithValues(ValuesT &&value)
void SetKey(KeyT &&value)
const Aws::String & GetKey() const
AWS_BUDGETS_API CostCategoryValues & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValuesHasBeenSet() const
const Aws::Vector< Aws::String > & GetValues() const
CostCategoryValues & WithMatchOptions(MatchOptionsT &&value)
AWS_BUDGETS_API CostCategoryValues(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue