/* * 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 CreateProvisioningArtifact operation. /// Creates a provisioning artifact (also known as a version) for the specified product. /// /// /// /// You cannot create a provisioning artifact for a product that was shared with you. /// /// /// /// The user or role that performs this operation must have the cloudformation:GetTemplate /// IAM policy permission. This policy permission is required when using the ImportFromPhysicalId /// template source in the information data section. /// /// public partial class CreateProvisioningArtifactRequest : AmazonServiceCatalogRequest { private string _acceptLanguage; private string _idempotencyToken; private ProvisioningArtifactProperties _parameters; private string _productId; /// /// 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 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 Parameters. /// /// The configuration for the provisioning artifact. /// /// [AWSProperty(Required=true)] public ProvisioningArtifactProperties Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != 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; } } }