/* * 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 redshift-data-2019-12-20.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.RedshiftDataAPIService.Model { /// /// Container for the parameters to the GetStatementResult operation. /// Fetches the temporarily cached result of an SQL statement. A token is returned to /// page through the statement results. /// /// /// /// For more information about the Amazon Redshift Data API and CLI usage examples, see /// Using the /// Amazon Redshift Data API in the Amazon Redshift Management Guide. /// /// public partial class GetStatementResultRequest : AmazonRedshiftDataAPIServiceRequest { private string _id; private string _nextToken; /// /// Gets and sets the property Id. /// /// The identifier of the SQL statement whose results are to be fetched. This value is /// a universally unique identifier (UUID) generated by Amazon Redshift Data API. A suffix /// indicates then number of the SQL statement. For example, d9b6c0c9-0747-4bf4-b142-e8883122f766:2 /// has a suffix of :2 that indicates the second SQL statement of a batch /// query. This identifier is returned by BatchExecuteStatment, ExecuteStatment, /// and ListStatements. /// /// [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property NextToken. /// /// A value that indicates the starting point for the next set of response records in /// a subsequent request. If a value is returned in a response, you can retrieve the next /// set of records by providing this returned NextToken value in the next NextToken parameter /// and retrying the command. If the NextToken field is empty, all response records have /// been retrieved for the request. /// /// public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }