/* * 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 provisioned product. /// public partial class ProvisionedProductDetail { private string _arn; private DateTime? _createdTime; private string _id; private string _idempotencyToken; private string _lastProvisioningRecordId; private string _lastRecordId; private string _lastSuccessfulProvisioningRecordId; private string _launchRoleArn; private string _name; private string _productId; private string _provisioningArtifactId; private ProvisionedProductStatus _status; private string _statusMessage; private string _type; /// /// Gets and sets the property Arn. /// /// The ARN of the provisioned product. /// /// [AWSProperty(Min=1, Max=1224)] 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 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 Id. /// /// The identifier of the provisioned product. /// /// 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 IdempotencyToken. /// /// A unique identifier that you provide to ensure idempotency. If multiple requests differ /// only by the idempotency token, the same response is returned for each repeated request. /// /// [AWSProperty(Min=1, Max=128)] public string IdempotencyToken { get { return this._idempotencyToken; } set { this._idempotencyToken = value; } } // Check to see if IdempotencyToken property is set internal bool IsSetIdempotencyToken() { return this._idempotencyToken != null; } /// /// Gets and sets the property LastProvisioningRecordId. /// /// The record identifier of the last request performed on this provisioned product of /// the following types: /// /// /// [AWSProperty(Min=1, Max=100)] public string LastProvisioningRecordId { get { return this._lastProvisioningRecordId; } set { this._lastProvisioningRecordId = value; } } // Check to see if LastProvisioningRecordId property is set internal bool IsSetLastProvisioningRecordId() { return this._lastProvisioningRecordId != null; } /// /// Gets and sets the property LastRecordId. /// /// The record identifier of the last request performed on this provisioned product. /// /// public string LastRecordId { get { return this._lastRecordId; } set { this._lastRecordId = value; } } // Check to see if LastRecordId property is set internal bool IsSetLastRecordId() { return this._lastRecordId != null; } /// /// Gets and sets the property LastSuccessfulProvisioningRecordId. /// /// The record identifier of the last successful request performed on this provisioned /// product of the following types: /// /// /// [AWSProperty(Min=1, Max=100)] public string LastSuccessfulProvisioningRecordId { get { return this._lastSuccessfulProvisioningRecordId; } set { this._lastSuccessfulProvisioningRecordId = value; } } // Check to see if LastSuccessfulProvisioningRecordId property is set internal bool IsSetLastSuccessfulProvisioningRecordId() { return this._lastSuccessfulProvisioningRecordId != null; } /// /// Gets and sets the property LaunchRoleArn. /// /// The ARN of the launch role associated with the provisioned product. /// /// [AWSProperty(Min=1, Max=1224)] public string LaunchRoleArn { get { return this._launchRoleArn; } set { this._launchRoleArn = value; } } // Check to see if LaunchRoleArn property is set internal bool IsSetLaunchRoleArn() { return this._launchRoleArn != null; } /// /// Gets and sets the property Name. /// /// The user-friendly name of the provisioned product. /// /// [AWSProperty(Min=1, Max=1224)] 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 ProductId. /// /// The product identifier. For example, prod-abcdzk7xy33qa. /// /// [AWSProperty(Min=1, Max=100)] public string ProductId { get { return this._productId; } set { this._productId = value; } } // Check to see if ProductId property is set internal bool IsSetProductId() { return this._productId != null; } /// /// Gets and sets the property ProvisioningArtifactId. /// /// The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne. /// /// [AWSProperty(Min=1, Max=100)] public string ProvisioningArtifactId { get { return this._provisioningArtifactId; } set { this._provisioningArtifactId = value; } } // Check to see if ProvisioningArtifactId property is set internal bool IsSetProvisioningArtifactId() { return this._provisioningArtifactId != null; } /// /// Gets and sets the property Status. /// /// The current status of the provisioned product. /// /// /// public ProvisionedProductStatus 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 StatusMessage. /// /// The current status message of the provisioned product. /// /// public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// /// Gets and sets the property Type. /// /// The type of provisioned product. The supported values are CFN_STACK and /// CFN_STACKSET. /// /// public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }