/* * 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 nimble-2020-08-01.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.NimbleStudio.Model { /// /// A stream is an active connection to a streaming session, enabling a studio user to /// control the streaming session using a compatible client. Streaming session streams /// are compatible with the NICE DCV web client, included in the Nimble Studio portal, /// or the NICE DCV desktop client. /// public partial class StreamingSessionStream { private DateTime? _createdAt; private string _createdBy; private DateTime? _expiresAt; private string _ownedBy; private StreamingSessionStreamState _state; private StreamingSessionStreamStatusCode _statusCode; private string _streamId; private string _url; /// /// Gets and sets the property CreatedAt. /// /// The ISO timestamp in seconds for when the resource was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property CreatedBy. /// /// The user ID of the user that created the streaming session stream. /// /// public string CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// /// Gets and sets the property ExpiresAt. /// /// The ISO timestamp in seconds for when the resource expires. /// /// public DateTime ExpiresAt { get { return this._expiresAt.GetValueOrDefault(); } set { this._expiresAt = value; } } // Check to see if ExpiresAt property is set internal bool IsSetExpiresAt() { return this._expiresAt.HasValue; } /// /// Gets and sets the property OwnedBy. /// /// The user ID of the user that owns the streaming session. The user that owns the session /// will be logging into the session and interacting with the virtual workstation. /// /// public string OwnedBy { get { return this._ownedBy; } set { this._ownedBy = value; } } // Check to see if OwnedBy property is set internal bool IsSetOwnedBy() { return this._ownedBy != null; } /// /// Gets and sets the property State. /// /// The current state. /// /// public StreamingSessionStreamState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property StatusCode. /// /// The streaming session stream status code. /// /// public StreamingSessionStreamStatusCode StatusCode { get { return this._statusCode; } set { this._statusCode = value; } } // Check to see if StatusCode property is set internal bool IsSetStatusCode() { return this._statusCode != null; } /// /// Gets and sets the property StreamId. /// /// The stream ID. /// /// public string StreamId { get { return this._streamId; } set { this._streamId = value; } } // Check to see if StreamId property is set internal bool IsSetStreamId() { return this._streamId != null; } /// /// Gets and sets the property Url. /// /// The URL to connect to this stream using the DCV client. /// /// [AWSProperty(Sensitive=true)] public string Url { get { return this._url; } set { this._url = value; } } // Check to see if Url property is set internal bool IsSetUrl() { return this._url != null; } } }