/* * 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 { /// /// Container for the parameters to the UpdateProvisioningArtifact operation. /// Updates the specified provisioning artifact (also known as a version) for the specified /// product. /// /// /// /// You cannot update a provisioning artifact for a product that was shared with you. /// /// public partial class UpdateProvisioningArtifactRequest : AmazonServiceCatalogRequest { private string _acceptLanguage; private bool? _active; private string _description; private ProvisioningArtifactGuidance _guidance; private string _name; private string _productId; private string _provisioningArtifactId; /// /// Gets and sets the property AcceptLanguage. /// /// The language code. /// /// /// [AWSProperty(Max=100)] public string AcceptLanguage { get { return this._acceptLanguage; } set { this._acceptLanguage = value; } } // Check to see if AcceptLanguage property is set internal bool IsSetAcceptLanguage() { return this._acceptLanguage != null; } /// /// Gets and sets the property Active. /// /// Indicates whether the product version is active. /// /// /// /// Inactive provisioning artifacts are invisible to end users. End users cannot launch /// or update a provisioned product from an inactive provisioning artifact. /// /// 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 Description. /// /// The updated 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. /// /// /// /// The DEFAULT value indicates that the product version is active. /// /// /// /// The administrator can set the guidance to DEPRECATED to inform users /// that the product version is deprecated. Users are able to make updates to a provisioned /// product of a deprecated version but cannot launch new provisioned products using a /// deprecated version. /// /// 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 Name. /// /// The updated 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 ProductId. /// /// The product identifier. /// /// [AWSProperty(Required=true, 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. /// /// [AWSProperty(Required=true, 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; } } }