7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/MatchOption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CostExplorer {
83 template <
typename KeyT = Aws::String>
85 m_keyHasBeenSet =
true;
86 m_key = std::forward<KeyT>(value);
88 template <
typename KeyT = Aws::String>
90 SetKey(std::forward<KeyT>(value));
107 template <
typename ValuesT = Aws::Vector<Aws::String>>
109 m_valuesHasBeenSet =
true;
110 m_values = std::forward<ValuesT>(value);
112 template <
typename ValuesT = Aws::Vector<Aws::String>>
117 template <
typename ValuesT = Aws::String>
119 m_valuesHasBeenSet =
true;
120 m_values.emplace_back(std::forward<ValuesT>(value));
137 template <
typename MatchOptionsT = Aws::Vector<MatchOption>>
139 m_matchOptionsHasBeenSet =
true;
140 m_matchOptions = std::forward<MatchOptionsT>(value);
142 template <
typename MatchOptionsT = Aws::Vector<MatchOption>>
148 m_matchOptionsHasBeenSet =
true;
149 m_matchOptions.push_back(value);
159 bool m_keyHasBeenSet =
false;
160 bool m_valuesHasBeenSet =
false;
161 bool m_matchOptionsHasBeenSet =
false;
AWS_COSTEXPLORER_API ProductAttributeValues()=default
bool MatchOptionsHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
ProductAttributeValues & WithMatchOptions(MatchOptionsT &&value)
ProductAttributeValues & AddValues(ValuesT &&value)
ProductAttributeValues & AddMatchOptions(MatchOption value)
void SetValues(ValuesT &&value)
AWS_COSTEXPLORER_API ProductAttributeValues(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
ProductAttributeValues & WithValues(ValuesT &&value)
void SetKey(KeyT &&value)
ProductAttributeValues & WithKey(KeyT &&value)
const Aws::Vector< Aws::String > & GetValues() const
AWS_COSTEXPLORER_API ProductAttributeValues & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMatchOptions(MatchOptionsT &&value)
const Aws::Vector< MatchOption > & GetMatchOptions() const
const Aws::String & GetKey() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue