/*
* 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 RemoveDraftAppVersionResourceMappings operation.
/// Removes resource mappings from a draft application version.
///
public partial class RemoveDraftAppVersionResourceMappingsRequest : AmazonResilienceHubRequest
{
private string _appArn;
private List _appRegistryAppNames = new List();
private List _eksSourceNames = new List();
private List _logicalStackNames = new List();
private List _resourceGroupNames = new List();
private List _resourceNames = new List();
private List _terraformSourceNames = new List();
///
/// 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 AppRegistryAppNames.
///
/// The names of the registered applications you want to remove from the resource mappings.
///
///
public List AppRegistryAppNames
{
get { return this._appRegistryAppNames; }
set { this._appRegistryAppNames = value; }
}
// Check to see if AppRegistryAppNames property is set
internal bool IsSetAppRegistryAppNames()
{
return this._appRegistryAppNames != null && this._appRegistryAppNames.Count > 0;
}
///
/// Gets and sets the property EksSourceNames.
///
/// The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want
/// to remove from the resource mappings.
///
///
///
/// This parameter accepts values in "eks-cluster/namespace" format.
///
///
///
public List EksSourceNames
{
get { return this._eksSourceNames; }
set { this._eksSourceNames = value; }
}
// Check to see if EksSourceNames property is set
internal bool IsSetEksSourceNames()
{
return this._eksSourceNames != null && this._eksSourceNames.Count > 0;
}
///
/// Gets and sets the property LogicalStackNames.
///
/// The names of the CloudFormation stacks you want to remove from the resource mappings.
///
///
public List LogicalStackNames
{
get { return this._logicalStackNames; }
set { this._logicalStackNames = value; }
}
// Check to see if LogicalStackNames property is set
internal bool IsSetLogicalStackNames()
{
return this._logicalStackNames != null && this._logicalStackNames.Count > 0;
}
///
/// Gets and sets the property ResourceGroupNames.
///
/// The names of the resource groups you want to remove from the resource mappings.
///
///
public List ResourceGroupNames
{
get { return this._resourceGroupNames; }
set { this._resourceGroupNames = value; }
}
// Check to see if ResourceGroupNames property is set
internal bool IsSetResourceGroupNames()
{
return this._resourceGroupNames != null && this._resourceGroupNames.Count > 0;
}
///
/// Gets and sets the property ResourceNames.
///
/// The names of the resources you want to remove from the resource mappings.
///
///
public List ResourceNames
{
get { return this._resourceNames; }
set { this._resourceNames = value; }
}
// Check to see if ResourceNames property is set
internal bool IsSetResourceNames()
{
return this._resourceNames != null && this._resourceNames.Count > 0;
}
///
/// Gets and sets the property TerraformSourceNames.
///
/// The names of the Terraform sources you want to remove from the resource mappings.
///
///
public List TerraformSourceNames
{
get { return this._terraformSourceNames; }
set { this._terraformSourceNames = value; }
}
// Check to see if TerraformSourceNames property is set
internal bool IsSetTerraformSourceNames()
{
return this._terraformSourceNames != null && this._terraformSourceNames.Count > 0;
}
}
}