/* * 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 proton-2020-07-20.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.Proton.Model { /// /// Container for the parameters to the NotifyResourceDeploymentStatusChange operation. /// Notify Proton of status changes to a provisioned resource when you use self-managed /// provisioning. /// /// /// /// For more information, see Self-managed /// provisioning in the Proton User Guide. /// /// public partial class NotifyResourceDeploymentStatusChangeRequest : AmazonProtonRequest { private string _deploymentId; private List _outputs = new List(); private string _resourceArn; private ResourceDeploymentStatus _status; private string _statusMessage; /// /// Gets and sets the property DeploymentId. /// /// The deployment ID for your provisioned resource. /// /// public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// /// Gets and sets the property Outputs. /// /// The provisioned resource state change detail data that's returned by Proton. /// /// [AWSProperty(Min=0, Max=50)] public List Outputs { get { return this._outputs; } set { this._outputs = value; } } // Check to see if Outputs property is set internal bool IsSetOutputs() { return this._outputs != null && this._outputs.Count > 0; } /// /// Gets and sets the property ResourceArn. /// /// The provisioned resource Amazon Resource Name (ARN). /// /// [AWSProperty(Required=true, Min=1, Max=200)] public string ResourceArn { get { return this._resourceArn; } set { this._resourceArn = value; } } // Check to see if ResourceArn property is set internal bool IsSetResourceArn() { return this._resourceArn != null; } /// /// Gets and sets the property Status. /// /// The status of your provisioned resource. /// /// public ResourceDeploymentStatus 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 deployment status message for your provisioned resource. /// /// [AWSProperty(Sensitive=true, Min=0, Max=5000)] 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; } } }