/*
* 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 CreateProvisionedProductPlan operation.
/// Creates a plan.
///
///
///
/// A plan includes the list of resources to be created (when provisioning a new product)
/// or modified (when updating a provisioned product) when the plan is executed.
///
///
///
/// You can create one plan for each provisioned product. To create a plan for an existing
/// provisioned product, the product status must be AVAILABLE or TAINTED.
///
///
///
/// To view the resource changes in the change set, use DescribeProvisionedProductPlan.
/// To create or modify the provisioned product, use ExecuteProvisionedProductPlan.
///
///
public partial class CreateProvisionedProductPlanRequest : AmazonServiceCatalogRequest
{
private string _acceptLanguage;
private string _idempotencyToken;
private List _notificationArns = new List();
private string _pathId;
private string _planName;
private ProvisionedProductPlanType _planType;
private string _productId;
private string _provisionedProductName;
private string _provisioningArtifactId;
private List _provisioningParameters = new List();
private List _tags = new List();
///
/// Gets and sets the property AcceptLanguage.
///
/// The language code.
///
/// -
///
///
jp
- Japanese
///
/// -
///
///
zh
- Chinese
///
///
///
[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 NotificationArns.
///
/// Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.
///
///
[AWSProperty(Max=5)]
public List NotificationArns
{
get { return this._notificationArns; }
set { this._notificationArns = value; }
}
// Check to see if NotificationArns property is set
internal bool IsSetNotificationArns()
{
return this._notificationArns != null && this._notificationArns.Count > 0;
}
///
/// Gets and sets the property PathId.
///
/// The path identifier of the product. This value is optional if the product has a default
/// path, and required if the product has more than one path. To list the paths for a
/// product, use ListLaunchPaths.
///
///
[AWSProperty(Min=1, Max=100)]
public string PathId
{
get { return this._pathId; }
set { this._pathId = value; }
}
// Check to see if PathId property is set
internal bool IsSetPathId()
{
return this._pathId != null;
}
///
/// Gets and sets the property PlanName.
///
/// The name of the plan.
///
///
[AWSProperty(Required=true)]
public string PlanName
{
get { return this._planName; }
set { this._planName = value; }
}
// Check to see if PlanName property is set
internal bool IsSetPlanName()
{
return this._planName != null;
}
///
/// Gets and sets the property PlanType.
///
/// The plan type.
///
///
[AWSProperty(Required=true)]
public ProvisionedProductPlanType PlanType
{
get { return this._planType; }
set { this._planType = value; }
}
// Check to see if PlanType property is set
internal bool IsSetPlanType()
{
return this._planType != 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 ProvisionedProductName.
///
/// A user-friendly name for the provisioned product. This value must be unique for the
/// Amazon Web Services account and cannot be updated after the product is provisioned.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string ProvisionedProductName
{
get { return this._provisionedProductName; }
set { this._provisionedProductName = value; }
}
// Check to see if ProvisionedProductName property is set
internal bool IsSetProvisionedProductName()
{
return this._provisionedProductName != 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;
}
///
/// Gets and sets the property ProvisioningParameters.
///
/// Parameters specified by the administrator that are required for provisioning the product.
///
///
public List ProvisioningParameters
{
get { return this._provisioningParameters; }
set { this._provisioningParameters = value; }
}
// Check to see if ProvisioningParameters property is set
internal bool IsSetProvisioningParameters()
{
return this._provisioningParameters != null && this._provisioningParameters.Count > 0;
}
///
/// Gets and sets the property Tags.
///
/// One or more tags.
///
///
///
/// If the plan is for an existing provisioned product, the product must have a RESOURCE_UPDATE
/// constraint with TagUpdatesOnProvisionedProduct
set to ALLOWED
/// to allow tag updates.
///
///
[AWSProperty(Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}