/* * 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 { /// /// The list of Resilience Hub application input sources. /// public partial class AppInputSource { private EksSourceClusterNamespace _eksSourceClusterNamespace; private ResourceMappingType _importType; private int? _resourceCount; private string _sourceArn; private string _sourceName; private TerraformSource _terraformSource; /// /// Gets and sets the property EksSourceClusterNamespace. /// /// The namespace on your Amazon Elastic Kubernetes Service cluster. /// /// public EksSourceClusterNamespace EksSourceClusterNamespace { get { return this._eksSourceClusterNamespace; } set { this._eksSourceClusterNamespace = value; } } // Check to see if EksSourceClusterNamespace property is set internal bool IsSetEksSourceClusterNamespace() { return this._eksSourceClusterNamespace != null; } /// /// Gets and sets the property ImportType. /// /// The resource type of the input source. /// /// [AWSProperty(Required=true)] public ResourceMappingType ImportType { get { return this._importType; } set { this._importType = value; } } // Check to see if ImportType property is set internal bool IsSetImportType() { return this._importType != null; } /// /// Gets and sets the property ResourceCount. /// /// The number of resources. /// /// public int ResourceCount { get { return this._resourceCount.GetValueOrDefault(); } set { this._resourceCount = value; } } // Check to see if ResourceCount property is set internal bool IsSetResourceCount() { return this._resourceCount.HasValue; } /// /// Gets and sets the property SourceArn. /// /// The Amazon Resource Name (ARN) of the input source. For more information about ARNs, /// see /// Amazon Resource Names (ARNs) in the AWS General Reference guide. /// /// public string SourceArn { get { return this._sourceArn; } set { this._sourceArn = value; } } // Check to see if SourceArn property is set internal bool IsSetSourceArn() { return this._sourceArn != null; } /// /// Gets and sets the property SourceName. /// /// The name of the input source. /// /// [AWSProperty(Min=1, Max=255)] public string SourceName { get { return this._sourceName; } set { this._sourceName = value; } } // Check to see if SourceName property is set internal bool IsSetSourceName() { return this._sourceName != null; } /// /// Gets and sets the property TerraformSource. /// /// The name of the Terraform s3 state file. /// /// public TerraformSource TerraformSource { get { return this._terraformSource; } set { this._terraformSource = value; } } // Check to see if TerraformSource property is set internal bool IsSetTerraformSource() { return this._terraformSource != null; } } }