/*
* 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 serverlessrepo-2017-09-08.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.ServerlessApplicationRepository.Model
{
///
/// This is the response object from the GetCloudFormationTemplate operation.
///
public partial class GetCloudFormationTemplateResponse : AmazonWebServiceResponse
{
private string _applicationId;
private string _creationTime;
private string _expirationTime;
private string _semanticVersion;
private Status _status;
private string _templateId;
private string _templateUrl;
///
/// Gets and sets the property ApplicationId.
///
/// The application Amazon Resource Name (ARN).
///
///
public string ApplicationId
{
get { return this._applicationId; }
set { this._applicationId = value; }
}
// Check to see if ApplicationId property is set
internal bool IsSetApplicationId()
{
return this._applicationId != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The date and time this resource was created.
///
///
public string CreationTime
{
get { return this._creationTime; }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime != null;
}
///
/// Gets and sets the property ExpirationTime.
///
/// The date and time this template expires. Templates expire 1 hour after creation.
///
///
public string ExpirationTime
{
get { return this._expirationTime; }
set { this._expirationTime = value; }
}
// Check to see if ExpirationTime property is set
internal bool IsSetExpirationTime()
{
return this._expirationTime != null;
}
///
/// Gets and sets the property SemanticVersion.
///
/// The semantic version of the application:
///
///
///
/// https://semver.org/
///
///
public string SemanticVersion
{
get { return this._semanticVersion; }
set { this._semanticVersion = value; }
}
// Check to see if SemanticVersion property is set
internal bool IsSetSemanticVersion()
{
return this._semanticVersion != null;
}
///
/// Gets and sets the property Status.
///
/// Status of the template creation workflow.
///
///
///
/// Possible values: PREPARING | ACTIVE | EXPIRED
///
///
public Status Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property TemplateId.
///
/// The UUID returned by CreateCloudFormationTemplate.
///
///
///
/// Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}
///
///
public string TemplateId
{
get { return this._templateId; }
set { this._templateId = value; }
}
// Check to see if TemplateId property is set
internal bool IsSetTemplateId()
{
return this._templateId != null;
}
///
/// Gets and sets the property TemplateUrl.
///
/// A link to the template that can be used to deploy the application using AWS CloudFormation.
///
///
public string TemplateUrl
{
get { return this._templateUrl; }
set { this._templateUrl = value; }
}
// Check to see if TemplateUrl property is set
internal bool IsSetTemplateUrl()
{
return this._templateUrl != null;
}
}
}