/*
* 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 rekognition-2016-06-27.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.Rekognition.Model
{
///
/// Contains filters for the object labels returned by DetectLabels. Filters can be inclusive,
/// exclusive, or a combination of both and can be applied to individual labels or entire
/// label categories. To see a list of label categories, see Detecting
/// Labels.
///
public partial class GeneralLabelsSettings
{
private List _labelCategoryExclusionFilters = new List();
private List _labelCategoryInclusionFilters = new List();
private List _labelExclusionFilters = new List();
private List _labelInclusionFilters = new List();
///
/// Gets and sets the property LabelCategoryExclusionFilters.
///
/// The label categories that should be excluded from the return from DetectLabels.
///
///
[AWSProperty(Min=0, Max=100)]
public List LabelCategoryExclusionFilters
{
get { return this._labelCategoryExclusionFilters; }
set { this._labelCategoryExclusionFilters = value; }
}
// Check to see if LabelCategoryExclusionFilters property is set
internal bool IsSetLabelCategoryExclusionFilters()
{
return this._labelCategoryExclusionFilters != null && this._labelCategoryExclusionFilters.Count > 0;
}
///
/// Gets and sets the property LabelCategoryInclusionFilters.
///
/// The label categories that should be included in the return from DetectLabels.
///
///
[AWSProperty(Min=0, Max=100)]
public List LabelCategoryInclusionFilters
{
get { return this._labelCategoryInclusionFilters; }
set { this._labelCategoryInclusionFilters = value; }
}
// Check to see if LabelCategoryInclusionFilters property is set
internal bool IsSetLabelCategoryInclusionFilters()
{
return this._labelCategoryInclusionFilters != null && this._labelCategoryInclusionFilters.Count > 0;
}
///
/// Gets and sets the property LabelExclusionFilters.
///
/// The labels that should be excluded from the return from DetectLabels.
///
///
[AWSProperty(Min=0, Max=100)]
public List LabelExclusionFilters
{
get { return this._labelExclusionFilters; }
set { this._labelExclusionFilters = value; }
}
// Check to see if LabelExclusionFilters property is set
internal bool IsSetLabelExclusionFilters()
{
return this._labelExclusionFilters != null && this._labelExclusionFilters.Count > 0;
}
///
/// Gets and sets the property LabelInclusionFilters.
///
/// The labels that should be included in the return from DetectLabels.
///
///
[AWSProperty(Min=0, Max=100)]
public List LabelInclusionFilters
{
get { return this._labelInclusionFilters; }
set { this._labelInclusionFilters = value; }
}
// Check to see if LabelInclusionFilters property is set
internal bool IsSetLabelInclusionFilters()
{
return this._labelInclusionFilters != null && this._labelInclusionFilters.Count > 0;
}
}
}