/* * 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 resiliencehub-2020-04-30.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.ResilienceHub.Model { /// /// Container for the parameters to the DescribeAppVersionResource operation. /// Describes a resource of the Resilience Hub application. /// /// /// /// This API accepts only one of the following parameters to descibe the resource: /// /// /// public partial class DescribeAppVersionResourceRequest : AmazonResilienceHubRequest { private string _appArn; private string _appVersion; private string _awsAccountId; private string _awsRegion; private LogicalResourceId _logicalResourceId; private string _physicalResourceId; private string _resourceName; /// /// Gets and sets the property AppArn. /// /// The Amazon Resource Name (ARN) of the Resilience Hub application. The format for this /// ARN is: arn:partition:resiliencehub:region:account:app/app-id. /// For more information about ARNs, see /// Amazon Resource Names (ARNs) in the AWS General Reference guide. /// /// [AWSProperty(Required=true)] public string AppArn { get { return this._appArn; } set { this._appArn = value; } } // Check to see if AppArn property is set internal bool IsSetAppArn() { return this._appArn != null; } /// /// Gets and sets the property AppVersion. /// /// The Resilience Hub application version. /// /// [AWSProperty(Required=true)] public string AppVersion { get { return this._appVersion; } set { this._appVersion = value; } } // Check to see if AppVersion property is set internal bool IsSetAppVersion() { return this._appVersion != null; } /// /// Gets and sets the property AwsAccountId. /// /// The Amazon Web Services account that owns the physical resource. /// /// public string AwsAccountId { get { return this._awsAccountId; } set { this._awsAccountId = value; } } // Check to see if AwsAccountId property is set internal bool IsSetAwsAccountId() { return this._awsAccountId != null; } /// /// Gets and sets the property AwsRegion. /// /// The Amazon Web Services region that owns the physical resource. /// /// public string AwsRegion { get { return this._awsRegion; } set { this._awsRegion = value; } } // Check to see if AwsRegion property is set internal bool IsSetAwsRegion() { return this._awsRegion != null; } /// /// Gets and sets the property LogicalResourceId. /// /// The logical identifier of the resource. /// /// public LogicalResourceId LogicalResourceId { get { return this._logicalResourceId; } set { this._logicalResourceId = value; } } // Check to see if LogicalResourceId property is set internal bool IsSetLogicalResourceId() { return this._logicalResourceId != null; } /// /// Gets and sets the property PhysicalResourceId. /// /// The physical identifier of the resource. /// /// [AWSProperty(Min=1, Max=2048)] public string PhysicalResourceId { get { return this._physicalResourceId; } set { this._physicalResourceId = value; } } // Check to see if PhysicalResourceId property is set internal bool IsSetPhysicalResourceId() { return this._physicalResourceId != null; } /// /// Gets and sets the property ResourceName. /// /// The name of the resource. /// /// public string ResourceName { get { return this._resourceName; } set { this._resourceName = value; } } // Check to see if ResourceName property is set internal bool IsSetResourceName() { return this._resourceName != null; } } }