7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/MatchOption.h>
53 template<
typename KeyT = Aws::String>
54 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
55 template<
typename KeyT = Aws::String>
65 template<
typename ValuesT = Aws::Vector<Aws::String>>
66 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
67 template<
typename ValuesT = Aws::Vector<Aws::String>>
69 template<
typename ValuesT = Aws::String>
70 CostCategoryValues&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
82 template<
typename MatchOptionsT = Aws::Vector<MatchOption>>
83 void SetMatchOptions(MatchOptionsT&& value) { m_matchOptionsHasBeenSet =
true; m_matchOptions = std::forward<MatchOptionsT>(value); }
84 template<
typename MatchOptionsT = Aws::Vector<MatchOption>>
91 bool m_keyHasBeenSet =
false;
94 bool m_valuesHasBeenSet =
false;
97 bool m_matchOptionsHasBeenSet =
false;
void SetMatchOptions(MatchOptionsT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
CostCategoryValues & WithMatchOptions(MatchOptionsT &&value)
bool ValuesHasBeenSet() const
void SetKey(KeyT &&value)
AWS_COSTEXPLORER_API CostCategoryValues()=default
CostCategoryValues & WithValues(ValuesT &&value)
CostCategoryValues & WithKey(KeyT &&value)
const Aws::String & GetKey() const
bool MatchOptionsHasBeenSet() const
void SetValues(ValuesT &&value)
const Aws::Vector< Aws::String > & GetValues() const
bool KeyHasBeenSet() const
CostCategoryValues & AddMatchOptions(MatchOption value)
CostCategoryValues & AddValues(ValuesT &&value)
const Aws::Vector< MatchOption > & GetMatchOptions() const
AWS_COSTEXPLORER_API CostCategoryValues & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_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