/*
* 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
{
///
/// Provides detailed information about a specific Call Analytics job.
///
public partial class CallAnalyticsJobSummary
{
private string _callAnalyticsJobName;
private CallAnalyticsJobStatus _callAnalyticsJobStatus;
private DateTime? _completionTime;
private DateTime? _creationTime;
private string _failureReason;
private LanguageCode _languageCode;
private DateTime? _startTime;
///
/// Gets and sets the property CallAnalyticsJobName.
///
/// The name of the Call Analytics job. Job names are case sensitive and must be unique
/// within an Amazon Web Services account.
///
///
[AWSProperty(Min=1, Max=200)]
public string CallAnalyticsJobName
{
get { return this._callAnalyticsJobName; }
set { this._callAnalyticsJobName = value; }
}
// Check to see if CallAnalyticsJobName property is set
internal bool IsSetCallAnalyticsJobName()
{
return this._callAnalyticsJobName != null;
}
///
/// Gets and sets the property CallAnalyticsJobStatus.
///
/// Provides the status of your Call Analytics job.
///
///
///
/// If the status is COMPLETED
, the job is finished and you can find the
/// results at the location specified in TranscriptFileUri
(or RedactedTranscriptFileUri
,
/// if you requested transcript redaction). If the status is FAILED
, FailureReason
/// provides details on why your transcription job failed.
///
///
public CallAnalyticsJobStatus CallAnalyticsJobStatus
{
get { return this._callAnalyticsJobStatus; }
set { this._callAnalyticsJobStatus = value; }
}
// Check to see if CallAnalyticsJobStatus property is set
internal bool IsSetCallAnalyticsJobStatus()
{
return this._callAnalyticsJobStatus != null;
}
///
/// Gets and sets the property CompletionTime.
///
/// The date and time the specified Call Analytics job finished processing.
///
///
///
/// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
/// 2022-05-04T12:33:13.922000-07:00
represents a transcription job that
/// started processing at 12:33 PM UTC-7 on May 4, 2022.
///
///
public DateTime CompletionTime
{
get { return this._completionTime.GetValueOrDefault(); }
set { this._completionTime = value; }
}
// Check to see if CompletionTime property is set
internal bool IsSetCompletionTime()
{
return this._completionTime.HasValue;
}
///
/// Gets and sets the property CreationTime.
///
/// The date and time the specified Call Analytics job request was made.
///
///
///
/// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
/// 2022-05-04T12:32:58.761000-07:00
represents a transcription job that
/// started processing at 12:32 PM UTC-7 on May 4, 2022.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property FailureReason.
///
/// If CallAnalyticsJobStatus
is FAILED
, FailureReason
/// contains information about why the Call Analytics job failed. See also: Common
/// Errors.
///
///
public string FailureReason
{
get { return this._failureReason; }
set { this._failureReason = value; }
}
// Check to see if FailureReason property is set
internal bool IsSetFailureReason()
{
return this._failureReason != null;
}
///
/// Gets and sets the property LanguageCode.
///
/// The language code used to create your Call Analytics transcription.
///
///
public LanguageCode LanguageCode
{
get { return this._languageCode; }
set { this._languageCode = value; }
}
// Check to see if LanguageCode property is set
internal bool IsSetLanguageCode()
{
return this._languageCode != null;
}
///
/// Gets and sets the property StartTime.
///
/// The date and time your Call Analytics job began processing.
///
///
///
/// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
/// 2022-05-04T12:32:58.789000-07:00
represents a transcription job that
/// started processing at 12:32 PM UTC-7 on May 4, 2022.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
}
}