/* * 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 fms-2018-01-01.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.FMS.Model { /// /// Information about an individual action you can take to remediate a violation. /// public partial class RemediationAction { private string _description; private EC2AssociateRouteTableAction _ec2AssociateRouteTableAction; private EC2CopyRouteTableAction _ec2CopyRouteTableAction; private EC2CreateRouteAction _ec2CreateRouteAction; private EC2CreateRouteTableAction _ec2CreateRouteTableAction; private EC2DeleteRouteAction _ec2DeleteRouteAction; private EC2ReplaceRouteAction _ec2ReplaceRouteAction; private EC2ReplaceRouteTableAssociationAction _ec2ReplaceRouteTableAssociationAction; private FMSPolicyUpdateFirewallCreationConfigAction _fmsPolicyUpdateFirewallCreationConfigAction; /// /// Gets and sets the property Description. /// /// A description of a remediation action. /// /// [AWSProperty(Min=0, Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property EC2AssociateRouteTableAction. /// /// Information about the AssociateRouteTable action in the Amazon EC2 API. /// /// public EC2AssociateRouteTableAction EC2AssociateRouteTableAction { get { return this._ec2AssociateRouteTableAction; } set { this._ec2AssociateRouteTableAction = value; } } // Check to see if EC2AssociateRouteTableAction property is set internal bool IsSetEC2AssociateRouteTableAction() { return this._ec2AssociateRouteTableAction != null; } /// /// Gets and sets the property EC2CopyRouteTableAction. /// /// Information about the CopyRouteTable action in the Amazon EC2 API. /// /// public EC2CopyRouteTableAction EC2CopyRouteTableAction { get { return this._ec2CopyRouteTableAction; } set { this._ec2CopyRouteTableAction = value; } } // Check to see if EC2CopyRouteTableAction property is set internal bool IsSetEC2CopyRouteTableAction() { return this._ec2CopyRouteTableAction != null; } /// /// Gets and sets the property EC2CreateRouteAction. /// /// Information about the CreateRoute action in the Amazon EC2 API. /// /// public EC2CreateRouteAction EC2CreateRouteAction { get { return this._ec2CreateRouteAction; } set { this._ec2CreateRouteAction = value; } } // Check to see if EC2CreateRouteAction property is set internal bool IsSetEC2CreateRouteAction() { return this._ec2CreateRouteAction != null; } /// /// Gets and sets the property EC2CreateRouteTableAction. /// /// Information about the CreateRouteTable action in the Amazon EC2 API. /// /// public EC2CreateRouteTableAction EC2CreateRouteTableAction { get { return this._ec2CreateRouteTableAction; } set { this._ec2CreateRouteTableAction = value; } } // Check to see if EC2CreateRouteTableAction property is set internal bool IsSetEC2CreateRouteTableAction() { return this._ec2CreateRouteTableAction != null; } /// /// Gets and sets the property EC2DeleteRouteAction. /// /// Information about the DeleteRoute action in the Amazon EC2 API. /// /// public EC2DeleteRouteAction EC2DeleteRouteAction { get { return this._ec2DeleteRouteAction; } set { this._ec2DeleteRouteAction = value; } } // Check to see if EC2DeleteRouteAction property is set internal bool IsSetEC2DeleteRouteAction() { return this._ec2DeleteRouteAction != null; } /// /// Gets and sets the property EC2ReplaceRouteAction. /// /// Information about the ReplaceRoute action in the Amazon EC2 API. /// /// public EC2ReplaceRouteAction EC2ReplaceRouteAction { get { return this._ec2ReplaceRouteAction; } set { this._ec2ReplaceRouteAction = value; } } // Check to see if EC2ReplaceRouteAction property is set internal bool IsSetEC2ReplaceRouteAction() { return this._ec2ReplaceRouteAction != null; } /// /// Gets and sets the property EC2ReplaceRouteTableAssociationAction. /// /// Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API. /// /// public EC2ReplaceRouteTableAssociationAction EC2ReplaceRouteTableAssociationAction { get { return this._ec2ReplaceRouteTableAssociationAction; } set { this._ec2ReplaceRouteTableAssociationAction = value; } } // Check to see if EC2ReplaceRouteTableAssociationAction property is set internal bool IsSetEC2ReplaceRouteTableAssociationAction() { return this._ec2ReplaceRouteTableAssociationAction != null; } /// /// Gets and sets the property FMSPolicyUpdateFirewallCreationConfigAction. /// /// The remedial action to take when updating a firewall configuration. /// /// public FMSPolicyUpdateFirewallCreationConfigAction FMSPolicyUpdateFirewallCreationConfigAction { get { return this._fmsPolicyUpdateFirewallCreationConfigAction; } set { this._fmsPolicyUpdateFirewallCreationConfigAction = value; } } // Check to see if FMSPolicyUpdateFirewallCreationConfigAction property is set internal bool IsSetFMSPolicyUpdateFirewallCreationConfigAction() { return this._fmsPolicyUpdateFirewallCreationConfigAction != null; } } }