/*
* 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 transcribe-2017-10-26.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.TranscribeService.Model
{
///
/// A rule is a set of criteria that you can specify to flag an attribute in your Call
/// Analytics output. Rules define a Call Analytics category.
///
///
///
/// Rules can include these parameters: , , , and .
///
///
///
/// To learn more about Call Analytics rules and categories, see Creating
/// categories for post-call transcriptions and Creating
/// categories for real-time transcriptions.
///
///
///
/// To learn more about Call Analytics, see Analyzing
/// call center audio with Call Analytics.
///
///
public partial class Rule
{
private InterruptionFilter _interruptionFilter;
private NonTalkTimeFilter _nonTalkTimeFilter;
private SentimentFilter _sentimentFilter;
private TranscriptFilter _transcriptFilter;
///
/// Gets and sets the property InterruptionFilter.
///
/// Flag the presence or absence of interruptions in your Call Analytics transcription
/// output. Refer to for more detail.
///
///
public InterruptionFilter InterruptionFilter
{
get { return this._interruptionFilter; }
set { this._interruptionFilter = value; }
}
// Check to see if InterruptionFilter property is set
internal bool IsSetInterruptionFilter()
{
return this._interruptionFilter != null;
}
///
/// Gets and sets the property NonTalkTimeFilter.
///
/// Flag the presence or absence of periods of silence in your Call Analytics transcription
/// output. Refer to for more detail.
///
///
public NonTalkTimeFilter NonTalkTimeFilter
{
get { return this._nonTalkTimeFilter; }
set { this._nonTalkTimeFilter = value; }
}
// Check to see if NonTalkTimeFilter property is set
internal bool IsSetNonTalkTimeFilter()
{
return this._nonTalkTimeFilter != null;
}
///
/// Gets and sets the property SentimentFilter.
///
/// Flag the presence or absence of specific sentiments in your Call Analytics transcription
/// output. Refer to for more detail.
///
///
public SentimentFilter SentimentFilter
{
get { return this._sentimentFilter; }
set { this._sentimentFilter = value; }
}
// Check to see if SentimentFilter property is set
internal bool IsSetSentimentFilter()
{
return this._sentimentFilter != null;
}
///
/// Gets and sets the property TranscriptFilter.
///
/// Flag the presence or absence of specific words or phrases in your Call Analytics transcription
/// output. Refer to for more detail.
///
///
public TranscriptFilter TranscriptFilter
{
get { return this._transcriptFilter; }
set { this._transcriptFilter = value; }
}
// Check to see if TranscriptFilter property is set
internal bool IsSetTranscriptFilter()
{
return this._transcriptFilter != null;
}
}
}