/*
* 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 entityresolution-2018-05-10.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.EntityResolution.Model
{
///
/// An object containing FieldField
, Type
, GroupName
,
/// and MatchKey
.
///
public partial class SchemaInputAttribute
{
private string _fieldName;
private string _groupName;
private string _matchKey;
private SchemaAttributeType _type;
///
/// Gets and sets the property FieldName.
///
/// A string containing the field name.
///
///
[AWSProperty(Required=true, Min=0, Max=255)]
public string FieldName
{
get { return this._fieldName; }
set { this._fieldName = value; }
}
// Check to see if FieldName property is set
internal bool IsSetFieldName()
{
return this._fieldName != null;
}
///
/// Gets and sets the property GroupName.
///
/// Instruct Entity Resolution to combine several columns into a unified column with the
/// identical attribute type. For example, when working with columns such as first_name,
/// middle_name, and last_name, assigning them a common GroupName
will prompt
/// Entity Resolution to concatenate them into a single value.
///
///
[AWSProperty(Min=0, Max=255)]
public string GroupName
{
get { return this._groupName; }
set { this._groupName = value; }
}
// Check to see if GroupName property is set
internal bool IsSetGroupName()
{
return this._groupName != null;
}
///
/// Gets and sets the property MatchKey.
///
/// A key that allows grouping of multiple input attributes into a unified matching group.
/// For example, let's consider a scenario where the source table contains various addresses,
/// such as business_address and shipping_address. By assigning the MatchKey
/// Address' to both attributes, Entity Resolution will match records across these
/// fields to create a consolidated matching group. If no MatchKey
is specified
/// for a column, it won't be utilized for matching purposes but will still be included
/// in the output table.
///
///
[AWSProperty(Min=0, Max=255)]
public string MatchKey
{
get { return this._matchKey; }
set { this._matchKey = value; }
}
// Check to see if MatchKey property is set
internal bool IsSetMatchKey()
{
return this._matchKey != null;
}
///
/// Gets and sets the property Type.
///
/// The type of the attribute, selected from a list of values.
///
///
[AWSProperty(Required=true)]
public SchemaAttributeType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}