/* * 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 { /// /// This is the response object from the ExecuteStatement operation. /// public partial class ExecuteStatementResponse : AmazonWebServiceResponse { private string _clusterIdentifier; private DateTime? _createdAt; private string _database; private string _dbUser; private string _id; private string _secretArn; private string _workgroupName; /// /// Gets and sets the property ClusterIdentifier. /// /// The cluster identifier. This element is not returned when connecting to a serverless /// workgroup. /// /// public string ClusterIdentifier { get { return this._clusterIdentifier; } set { this._clusterIdentifier = value; } } // Check to see if ClusterIdentifier property is set internal bool IsSetClusterIdentifier() { return this._clusterIdentifier != null; } /// /// Gets and sets the property CreatedAt. /// /// The date and time (UTC) the statement was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// Gets and sets the property Database. /// /// The name of the database. /// /// public string Database { get { return this._database; } set { this._database = value; } } // Check to see if Database property is set internal bool IsSetDatabase() { return this._database != null; } /// /// Gets and sets the property DbUser. /// /// The database user name. /// /// public string DbUser { get { return this._dbUser; } set { this._dbUser = value; } } // Check to see if DbUser property is set internal bool IsSetDbUser() { return this._dbUser != null; } /// /// 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. /// /// 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 SecretArn. /// /// The name or ARN of the secret that enables access to the database. /// /// public string SecretArn { get { return this._secretArn; } set { this._secretArn = value; } } // Check to see if SecretArn property is set internal bool IsSetSecretArn() { return this._secretArn != null; } /// /// Gets and sets the property WorkgroupName. /// /// The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned /// when connecting to a provisioned cluster. /// /// [AWSProperty(Min=3, Max=128)] public string WorkgroupName { get { return this._workgroupName; } set { this._workgroupName = value; } } // Check to see if WorkgroupName property is set internal bool IsSetWorkgroupName() { return this._workgroupName != null; } } }