7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace EntityResolution
36 AWS_ENTITYRESOLUTION_API
Rule() =
default;
48 template<
typename RuleNameT = Aws::String>
49 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
50 template<
typename RuleNameT = Aws::String>
62 template<
typename MatchingKeysT = Aws::Vector<Aws::String>>
63 void SetMatchingKeys(MatchingKeysT&& value) { m_matchingKeysHasBeenSet =
true; m_matchingKeys = std::forward<MatchingKeysT>(value); }
64 template<
typename MatchingKeysT = Aws::Vector<Aws::String>>
66 template<
typename MatchingKeysT = Aws::String>
67 Rule&
AddMatchingKeys(MatchingKeysT&& value) { m_matchingKeysHasBeenSet =
true; m_matchingKeys.emplace_back(std::forward<MatchingKeysT>(value));
return *
this; }
72 bool m_ruleNameHasBeenSet =
false;
75 bool m_matchingKeysHasBeenSet =
false;
Rule & WithMatchingKeys(MatchingKeysT &&value)
bool RuleNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetMatchingKeys() const
void SetRuleName(RuleNameT &&value)
AWS_ENTITYRESOLUTION_API Rule(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API Rule()=default
Rule & AddMatchingKeys(MatchingKeysT &&value)
void SetMatchingKeys(MatchingKeysT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
Rule & WithRuleName(RuleNameT &&value)
AWS_ENTITYRESOLUTION_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MatchingKeysHasBeenSet() const
const Aws::String & GetRuleName() 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