/* * 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 databrew-2017-07-25.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.GlueDataBrew.Model { /// /// This is the response object from the DescribeProject operation. /// public partial class DescribeProjectResponse : AmazonWebServiceResponse { private DateTime? _createDate; private string _createdBy; private string _datasetName; private string _lastModifiedBy; private DateTime? _lastModifiedDate; private string _name; private DateTime? _openDate; private string _openedBy; private string _recipeName; private string _resourceArn; private string _roleArn; private Sample _sample; private SessionStatus _sessionStatus; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property CreateDate. /// /// The date and time that the project was created. /// /// public DateTime CreateDate { get { return this._createDate.GetValueOrDefault(); } set { this._createDate = value; } } // Check to see if CreateDate property is set internal bool IsSetCreateDate() { return this._createDate.HasValue; } /// /// Gets and sets the property CreatedBy. /// /// The identifier (user name) of the user who created the project. /// /// public string CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// /// Gets and sets the property DatasetName. /// /// The dataset associated with the project. /// /// [AWSProperty(Min=1, Max=255)] public string DatasetName { get { return this._datasetName; } set { this._datasetName = value; } } // Check to see if DatasetName property is set internal bool IsSetDatasetName() { return this._datasetName != null; } /// /// Gets and sets the property LastModifiedBy. /// /// The identifier (user name) of the user who last modified the project. /// /// public string LastModifiedBy { get { return this._lastModifiedBy; } set { this._lastModifiedBy = value; } } // Check to see if LastModifiedBy property is set internal bool IsSetLastModifiedBy() { return this._lastModifiedBy != null; } /// /// Gets and sets the property LastModifiedDate. /// /// The date and time that the project was last modified. /// /// public DateTime LastModifiedDate { get { return this._lastModifiedDate.GetValueOrDefault(); } set { this._lastModifiedDate = value; } } // Check to see if LastModifiedDate property is set internal bool IsSetLastModifiedDate() { return this._lastModifiedDate.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the project. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property OpenDate. /// /// The date and time when the project was opened. /// /// public DateTime OpenDate { get { return this._openDate.GetValueOrDefault(); } set { this._openDate = value; } } // Check to see if OpenDate property is set internal bool IsSetOpenDate() { return this._openDate.HasValue; } /// /// Gets and sets the property OpenedBy. /// /// The identifier (user name) of the user that opened the project for use. /// /// public string OpenedBy { get { return this._openedBy; } set { this._openedBy = value; } } // Check to see if OpenedBy property is set internal bool IsSetOpenedBy() { return this._openedBy != null; } /// /// Gets and sets the property RecipeName. /// /// The recipe associated with this job. /// /// [AWSProperty(Min=1, Max=255)] public string RecipeName { get { return this._recipeName; } set { this._recipeName = value; } } // Check to see if RecipeName property is set internal bool IsSetRecipeName() { return this._recipeName != null; } /// /// Gets and sets the property ResourceArn. /// /// The Amazon Resource Name (ARN) of the project. /// /// [AWSProperty(Min=20, Max=2048)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// /// Gets and sets the property RoleArn. /// /// The ARN of the Identity and Access Management (IAM) role to be assumed when DataBrew /// runs the job. /// /// [AWSProperty(Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property Sample. /// public Sample Sample { get { return this._sample; } set { this._sample = value; } } // Check to see if Sample property is set internal bool IsSetSample() { return this._sample != null; } /// /// Gets and sets the property SessionStatus. /// /// Describes the current state of the session: /// ///
  • /// /// PROVISIONING - allocating resources for the session. /// ///
  • /// /// INITIALIZING - getting the session ready for first use. /// ///
  • /// /// ASSIGNED - the session is ready for use. /// ///
///
public SessionStatus SessionStatus { get { return this._sessionStatus; } set { this._sessionStatus = value; } } // Check to see if SessionStatus property is set internal bool IsSetSessionStatus() { return this._sessionStatus != null; } /// /// Gets and sets the property Tags. /// /// Metadata tags associated with this project. /// /// [AWSProperty(Min=1, Max=200)] public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }