/* * 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 connectparticipant-2018-09-07.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.ConnectParticipant.Model { /// /// Container for the parameters to the GetTranscript operation. /// Retrieves a transcript of the session, including details about any attachments. For /// information about accessing past chat contact transcripts for a persistent chat, see /// Enable /// persistent chat. /// /// /// /// ConnectionToken is used for invoking this API instead of ParticipantToken. /// /// /// /// The Amazon Connect Participant Service APIs do not use Signature /// Version 4 authentication. /// /// public partial class GetTranscriptRequest : AmazonConnectParticipantRequest { private string _connectionToken; private string _contactId; private int? _maxResults; private string _nextToken; private ScanDirection _scanDirection; private SortKey _sortOrder; private StartPosition _startPosition; /// /// Gets and sets the property ConnectionToken. /// /// The authentication token associated with the participant's connection. /// /// [AWSProperty(Required=true, Min=1, Max=1000)] public string ConnectionToken { get { return this._connectionToken; } set { this._connectionToken = value; } } // Check to see if ConnectionToken property is set internal bool IsSetConnectionToken() { return this._connectionToken != null; } /// /// Gets and sets the property ContactId. /// /// The contactId from the current contact chain for which transcript is needed. /// /// [AWSProperty(Min=1, Max=256)] public string ContactId { get { return this._contactId; } set { this._contactId = value; } } // Check to see if ContactId property is set internal bool IsSetContactId() { return this._contactId != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of results to return in the page. Default: 10. /// /// [AWSProperty(Min=0, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// The pagination token. Use the value returned previously in the next subsequent request /// to retrieve the next set of results. /// /// [AWSProperty(Min=1, Max=1000)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property ScanDirection. /// /// The direction from StartPosition from which to retrieve message. Default: BACKWARD /// when no StartPosition is provided, FORWARD with StartPosition. /// /// public ScanDirection ScanDirection { get { return this._scanDirection; } set { this._scanDirection = value; } } // Check to see if ScanDirection property is set internal bool IsSetScanDirection() { return this._scanDirection != null; } /// /// Gets and sets the property SortOrder. /// /// The sort order for the records. Default: DESCENDING. /// /// public SortKey SortOrder { get { return this._sortOrder; } set { this._sortOrder = value; } } // Check to see if SortOrder property is set internal bool IsSetSortOrder() { return this._sortOrder != null; } /// /// Gets and sets the property StartPosition. /// /// A filtering option for where to start. /// /// public StartPosition StartPosition { get { return this._startPosition; } set { this._startPosition = value; } } // Check to see if StartPosition property is set internal bool IsSetStartPosition() { return this._startPosition != null; } } }