/* * 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 glue-2017-03-31.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.Glue.Model { /// /// Container for the parameters to the RunStatement operation. /// Executes the statement. /// public partial class RunStatementRequest : AmazonGlueRequest { private string _code; private string _requestOrigin; private string _sessionId; /// /// Gets and sets the property Code. /// /// The statement code to be run. /// /// [AWSProperty(Required=true, Max=68000)] public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// /// Gets and sets the property RequestOrigin. /// /// The origin of the request. /// /// [AWSProperty(Min=1, Max=128)] public string RequestOrigin { get { return this._requestOrigin; } set { this._requestOrigin = value; } } // Check to see if RequestOrigin property is set internal bool IsSetRequestOrigin() { return this._requestOrigin != null; } /// /// Gets and sets the property SessionId. /// /// The Session Id of the statement to be run. /// /// [AWSProperty(Required=true, Min=1, Max=255)] 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; } } }