/* * 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 route53resolver-2018-04-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.Route53Resolver.Model { /// /// Container for the parameters to the UpdateFirewallConfig operation. /// Updates the configuration of the firewall behavior provided by DNS Firewall for a /// single VPC from Amazon Virtual Private Cloud (Amazon VPC). /// public partial class UpdateFirewallConfigRequest : AmazonRoute53ResolverRequest { private FirewallFailOpenStatus _firewallFailOpen; private string _resourceId; /// /// Gets and sets the property FirewallFailOpen. /// /// Determines how Route 53 Resolver handles queries during failures, for example when /// all traffic that is sent to DNS Firewall fails to receive a reply. /// /// /// /// This behavior is only enforced for VPCs that have at least one DNS Firewall rule group /// association. /// /// [AWSProperty(Required=true)] public FirewallFailOpenStatus FirewallFailOpen { get { return this._firewallFailOpen; } set { this._firewallFailOpen = value; } } // Check to see if FirewallFailOpen property is set internal bool IsSetFirewallFailOpen() { return this._firewallFailOpen != null; } /// /// Gets and sets the property ResourceId. /// /// The ID of the VPC that the configuration is for. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string ResourceId { get { return this._resourceId; } set { this._resourceId = value; } } // Check to see if ResourceId property is set internal bool IsSetResourceId() { return this._resourceId != null; } } }