/*
* 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 mobile-2017-07-01.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.Mobile.Model
{
///
/// Detailed information about an AWS Mobile Hub project.
///
public partial class ProjectDetails
{
private string _consoleUrl;
private DateTime? _createdDate;
private DateTime? _lastUpdatedDate;
private string _name;
private string _projectId;
private string _region;
private List _resources = new List();
private ProjectState _state;
///
/// Gets and sets the property ConsoleUrl.
///
/// Website URL for this project in the AWS Mobile Hub console.
///
///
public string ConsoleUrl
{
get { return this._consoleUrl; }
set { this._consoleUrl = value; }
}
// Check to see if ConsoleUrl property is set
internal bool IsSetConsoleUrl()
{
return this._consoleUrl != null;
}
///
/// Gets and sets the property CreatedDate.
///
/// Date the project was created.
///
///
public DateTime CreatedDate
{
get { return this._createdDate.GetValueOrDefault(); }
set { this._createdDate = value; }
}
// Check to see if CreatedDate property is set
internal bool IsSetCreatedDate()
{
return this._createdDate.HasValue;
}
///
/// Gets and sets the property LastUpdatedDate.
///
/// Date of the last modification of the project.
///
///
public DateTime LastUpdatedDate
{
get { return this._lastUpdatedDate.GetValueOrDefault(); }
set { this._lastUpdatedDate = value; }
}
// Check to see if LastUpdatedDate property is set
internal bool IsSetLastUpdatedDate()
{
return this._lastUpdatedDate.HasValue;
}
///
/// Gets and sets the property Name.
///
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 ProjectId.
///
public string ProjectId
{
get { return this._projectId; }
set { this._projectId = value; }
}
// Check to see if ProjectId property is set
internal bool IsSetProjectId()
{
return this._projectId != null;
}
///
/// Gets and sets the property Region.
///
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property Resources.
///
public List Resources
{
get { return this._resources; }
set { this._resources = value; }
}
// Check to see if Resources property is set
internal bool IsSetResources()
{
return this._resources != null && this._resources.Count > 0;
}
///
/// Gets and sets the property State.
///
public ProjectState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
}