/* * 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 ecs-2014-11-13.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.ECS.Model { /// /// The details for the execute command session. /// public partial class Session { private string _sessionId; private string _streamUrl; private string _tokenValue; /// /// Gets and sets the property SessionId. /// /// The ID of the execute command session. /// /// public string SessionId { get { return this._sessionId; } set { this._sessionId = value; } } // Check to see if SessionId property is set internal bool IsSetSessionId() { return this._sessionId != null; } /// /// Gets and sets the property StreamUrl. /// /// A URL to the managed agent on the container that the SSM Session Manager client uses /// to send commands and receive output from the container. /// /// public string StreamUrl { get { return this._streamUrl; } set { this._streamUrl = value; } } // Check to see if StreamUrl property is set internal bool IsSetStreamUrl() { return this._streamUrl != null; } /// /// Gets and sets the property TokenValue. /// /// An encrypted token value containing session and caller information. It's used to authenticate /// the connection to the container. /// /// [AWSProperty(Sensitive=true)] public string TokenValue { get { return this._tokenValue; } set { this._tokenValue = value; } } // Check to see if TokenValue property is set internal bool IsSetTokenValue() { return this._tokenValue != null; } } }