/*
* 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model
{
///
/// Information about a provisioning artifact (also known as a version) for a product.
///
public partial class ProvisioningArtifactDetail
{
private bool? _active;
private DateTime? _createdTime;
private string _description;
private ProvisioningArtifactGuidance _guidance;
private string _id;
private string _name;
private string _sourceRevision;
private ProvisioningArtifactType _type;
///
/// Gets and sets the property Active.
///
/// Indicates whether the product version is active.
///
///
public bool Active
{
get { return this._active.GetValueOrDefault(); }
set { this._active = value; }
}
// Check to see if Active property is set
internal bool IsSetActive()
{
return this._active.HasValue;
}
///
/// Gets and sets the property CreatedTime.
///
/// The UTC time stamp of the creation time.
///
///
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the provisioning artifact.
///
///
[AWSProperty(Max=8192)]
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 Guidance.
///
/// Information set by the administrator to provide guidance to end users about which
/// provisioning artifacts to use.
///
///
public ProvisioningArtifactGuidance Guidance
{
get { return this._guidance; }
set { this._guidance = value; }
}
// Check to see if Guidance property is set
internal bool IsSetGuidance()
{
return this._guidance != null;
}
///
/// Gets and sets the property Id.
///
/// The identifier of the provisioning artifact.
///
///
[AWSProperty(Min=1, Max=100)]
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 name of the provisioning artifact.
///
///
[AWSProperty(Max=8192)]
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 SourceRevision.
///
/// Specifies the revision of the external artifact that was used to automatically sync
/// the Service Catalog product and create the provisioning artifact. Service Catalog
/// includes this response parameter as a high level field to the existing ProvisioningArtifactDetail
/// type, which is returned as part of the response for CreateProduct
, UpdateProduct
,
/// DescribeProductAsAdmin
, DescribeProvisioningArtifact
, ListProvisioningArtifact
,
/// and UpdateProvisioningArticat
APIs.
///
///
///
/// This field only exists for Repo-Synced products.
///
///
[AWSProperty(Min=1, Max=512)]
public string SourceRevision
{
get { return this._sourceRevision; }
set { this._sourceRevision = value; }
}
// Check to see if SourceRevision property is set
internal bool IsSetSourceRevision()
{
return this._sourceRevision != null;
}
///
/// Gets and sets the property Type.
///
/// The type of provisioning artifact.
///
/// -
///
///
CLOUD_FORMATION_TEMPLATE
- CloudFormation template
///
/// -
///
///
MARKETPLACE_AMI
- Amazon Web Services Marketplace AMI
///
/// -
///
///
MARKETPLACE_CAR
- Amazon Web Services Marketplace Clusters and Amazon
/// Web Services Resources
///
///
///
public ProvisioningArtifactType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}