/*
* 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 codestar-2017-04-19.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.CodeStar.Model
{
///
/// This is the response object from the DescribeProject operation.
///
public partial class DescribeProjectResponse : AmazonWebServiceResponse
{
private string _arn;
private string _clientRequestToken;
private DateTime? _createdTimeStamp;
private string _description;
private string _id;
private string _name;
private string _projectTemplateId;
private string _stackId;
private ProjectStatus _status;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) for the project.
///
///
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property ClientRequestToken.
///
/// A user- or system-generated token that identifies the entity that requested project
/// creation.
///
///
[AWSProperty(Min=1, Max=256)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
///
/// Gets and sets the property CreatedTimeStamp.
///
/// The date and time the project was created, in timestamp format.
///
///
public DateTime CreatedTimeStamp
{
get { return this._createdTimeStamp.GetValueOrDefault(); }
set { this._createdTimeStamp = value; }
}
// Check to see if CreatedTimeStamp property is set
internal bool IsSetCreatedTimeStamp()
{
return this._createdTimeStamp.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the project, if any.
///
///
[AWSProperty(Sensitive=true, Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// The ID of the project.
///
///
[AWSProperty(Min=2, Max=15)]
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 Name.
///
/// The display name for the project.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=100)]
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 ProjectTemplateId.
///
/// The ID for the AWS CodeStar project template used to create the project.
///
///
[AWSProperty(Min=1)]
public string ProjectTemplateId
{
get { return this._projectTemplateId; }
set { this._projectTemplateId = value; }
}
// Check to see if ProjectTemplateId property is set
internal bool IsSetProjectTemplateId()
{
return this._projectTemplateId != null;
}
///
/// Gets and sets the property StackId.
///
/// The ID of the primary stack in AWS CloudFormation used to generate resources for the
/// project.
///
///
public string StackId
{
get { return this._stackId; }
set { this._stackId = value; }
}
// Check to see if StackId property is set
internal bool IsSetStackId()
{
return this._stackId != null;
}
///
/// Gets and sets the property Status.
///
/// The project creation or deletion status.
///
///
public ProjectStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}