/* * 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 athena-2017-05-18.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.Athena.Model { /// /// This is the response object from the CreatePresignedNotebookUrl operation. /// public partial class CreatePresignedNotebookUrlResponse : AmazonWebServiceResponse { private string _authToken; private long? _authTokenExpirationTime; private string _notebookUrl; /// /// Gets and sets the property AuthToken. /// /// The authentication token for the notebook. /// /// [AWSProperty(Required=true, Max=2048)] public string AuthToken { get { return this._authToken; } set { this._authToken = value; } } // Check to see if AuthToken property is set internal bool IsSetAuthToken() { return this._authToken != null; } /// /// Gets and sets the property AuthTokenExpirationTime. /// /// The UTC epoch time when the authentication token expires. /// /// [AWSProperty(Required=true)] public long AuthTokenExpirationTime { get { return this._authTokenExpirationTime.GetValueOrDefault(); } set { this._authTokenExpirationTime = value; } } // Check to see if AuthTokenExpirationTime property is set internal bool IsSetAuthTokenExpirationTime() { return this._authTokenExpirationTime.HasValue; } /// /// Gets and sets the property NotebookUrl. /// /// The URL of the notebook. The URL includes the authentication token and notebook file /// name and points directly to the opened notebook. /// /// [AWSProperty(Required=true)] public string NotebookUrl { get { return this._notebookUrl; } set { this._notebookUrl = value; } } // Check to see if NotebookUrl property is set internal bool IsSetNotebookUrl() { return this._notebookUrl != null; } } }