/*
* 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
{
///
/// Contains session configuration information.
///
public partial class SessionConfiguration
{
private EncryptionConfiguration _encryptionConfiguration;
private string _executionRole;
private long? _idleTimeoutSeconds;
private string _workingDirectory;
///
/// Gets and sets the property EncryptionConfiguration.
///
public EncryptionConfiguration EncryptionConfiguration
{
get { return this._encryptionConfiguration; }
set { this._encryptionConfiguration = value; }
}
// Check to see if EncryptionConfiguration property is set
internal bool IsSetEncryptionConfiguration()
{
return this._encryptionConfiguration != null;
}
///
/// Gets and sets the property ExecutionRole.
///
/// The ARN of the execution role used for the session.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ExecutionRole
{
get { return this._executionRole; }
set { this._executionRole = value; }
}
// Check to see if ExecutionRole property is set
internal bool IsSetExecutionRole()
{
return this._executionRole != null;
}
///
/// Gets and sets the property IdleTimeoutSeconds.
///
/// The idle timeout in seconds for the session.
///
///
public long IdleTimeoutSeconds
{
get { return this._idleTimeoutSeconds.GetValueOrDefault(); }
set { this._idleTimeoutSeconds = value; }
}
// Check to see if IdleTimeoutSeconds property is set
internal bool IsSetIdleTimeoutSeconds()
{
return this._idleTimeoutSeconds.HasValue;
}
///
/// Gets and sets the property WorkingDirectory.
///
/// The Amazon S3 location that stores information for the notebook.
///
///
public string WorkingDirectory
{
get { return this._workingDirectory; }
set { this._workingDirectory = value; }
}
// Check to see if WorkingDirectory property is set
internal bool IsSetWorkingDirectory()
{
return this._workingDirectory != null;
}
}
}