/* * 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 chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// /// A representation of an asynchronous request to perform speaker search analysis on /// a Voice Connector call. /// public partial class SpeakerSearchTask { private CallDetails _callDetails; private DateTime? _createdTimestamp; private SpeakerSearchDetails _speakerSearchDetails; private string _speakerSearchTaskId; private string _speakerSearchTaskStatus; private DateTime? _startedTimestamp; private string _statusMessage; private DateTime? _updatedTimestamp; /// /// Gets and sets the property CallDetails. /// /// The call details of a speaker search task. /// /// public CallDetails CallDetails { get { return this._callDetails; } set { this._callDetails = value; } } // Check to see if CallDetails property is set internal bool IsSetCallDetails() { return this._callDetails != null; } /// /// Gets and sets the property CreatedTimestamp. /// /// The time at which a speaker search task was created. /// /// public DateTime CreatedTimestamp { get { return this._createdTimestamp.GetValueOrDefault(); } set { this._createdTimestamp = value; } } // Check to see if CreatedTimestamp property is set internal bool IsSetCreatedTimestamp() { return this._createdTimestamp.HasValue; } /// /// Gets and sets the property SpeakerSearchDetails. /// /// The details of a speaker search task. /// /// public SpeakerSearchDetails SpeakerSearchDetails { get { return this._speakerSearchDetails; } set { this._speakerSearchDetails = value; } } // Check to see if SpeakerSearchDetails property is set internal bool IsSetSpeakerSearchDetails() { return this._speakerSearchDetails != null; } /// /// Gets and sets the property SpeakerSearchTaskId. /// /// The speaker search task ID. /// /// [AWSProperty(Min=1, Max=256)] public string SpeakerSearchTaskId { get { return this._speakerSearchTaskId; } set { this._speakerSearchTaskId = value; } } // Check to see if SpeakerSearchTaskId property is set internal bool IsSetSpeakerSearchTaskId() { return this._speakerSearchTaskId != null; } /// /// Gets and sets the property SpeakerSearchTaskStatus. /// /// The status of the speaker search task, IN_QUEUE, IN_PROGRESS, /// PARTIAL_SUCCESS, SUCCEEDED, FAILED, or STOPPED. /// /// public string SpeakerSearchTaskStatus { get { return this._speakerSearchTaskStatus; } set { this._speakerSearchTaskStatus = value; } } // Check to see if SpeakerSearchTaskStatus property is set internal bool IsSetSpeakerSearchTaskStatus() { return this._speakerSearchTaskStatus != null; } /// /// Gets and sets the property StartedTimestamp. /// /// The time at which the speaker search task began. /// /// public DateTime StartedTimestamp { get { return this._startedTimestamp.GetValueOrDefault(); } set { this._startedTimestamp = value; } } // Check to see if StartedTimestamp property is set internal bool IsSetStartedTimestamp() { return this._startedTimestamp.HasValue; } /// /// Gets and sets the property StatusMessage. /// /// A detailed message about the status of a speaker search. /// /// public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// /// Gets and sets the property UpdatedTimestamp. /// /// The time at which a speaker search task was updated. /// /// public DateTime UpdatedTimestamp { get { return this._updatedTimestamp.GetValueOrDefault(); } set { this._updatedTimestamp = value; } } // Check to see if UpdatedTimestamp property is set internal bool IsSetUpdatedTimestamp() { return this._updatedTimestamp.HasValue; } } }