7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CustomerProfiles
58 template<
typename RuleT = Aws::Vector<Aws::String>>
59 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
60 template<
typename RuleT = Aws::Vector<Aws::String>>
62 template<
typename RuleT = Aws::String>
63 MatchingRule&
AddRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule.emplace_back(std::forward<RuleT>(value));
return *
this; }
68 bool m_ruleHasBeenSet =
false;
MatchingRule & WithRule(RuleT &&value)
AWS_CUSTOMERPROFILES_API MatchingRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API MatchingRule()=default
const Aws::Vector< Aws::String > & GetRule() const
void SetRule(RuleT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleHasBeenSet() const
MatchingRule & AddRule(RuleT &&value)
AWS_CUSTOMERPROFILES_API MatchingRule & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue