/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the customer-profiles-2020-08-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CustomerProfiles.Model
{
///
/// Specifies how does the rule-based matching process should match profiles. You can
/// choose from the following attributes to build the matching Rule:
///
/// -
///
/// AccountNumber
///
///
-
///
/// Address.Address
///
///
-
///
/// Address.City
///
///
-
///
/// Address.Country
///
///
-
///
/// Address.County
///
///
-
///
/// Address.PostalCode
///
///
-
///
/// Address.State
///
///
-
///
/// Address.Province
///
///
-
///
/// BirthDate
///
///
-
///
/// BusinessName
///
///
-
///
/// EmailAddress
///
///
-
///
/// FirstName
///
///
-
///
/// Gender
///
///
-
///
/// LastName
///
///
-
///
/// MiddleName
///
///
-
///
/// PhoneNumber
///
///
-
///
/// Any customized profile attributes that start with the
Attributes
///
///
///
public partial class MatchingRule
{
private List _rule = new List();
///
/// Gets and sets the property Rule.
///
/// A single rule level of the MatchRules
. Configures how the rule-based
/// matching process should match profiles.
///
///
[AWSProperty(Required=true, Min=1, Max=15)]
public List Rule
{
get { return this._rule; }
set { this._rule = value; }
}
// Check to see if Rule property is set
internal bool IsSetRule()
{
return this._rule != null && this._rule.Count > 0;
}
}
}