/* * 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 { /// /// In the response to an AssociateResolverRule, /// DisassociateResolverRule, /// or ListResolverRuleAssociations /// request, provides information about an association between a Resolver rule and a VPC. /// The association determines which DNS queries that originate in the VPC are forwarded /// to your network. /// public partial class ResolverRuleAssociation { private string _id; private string _name; private string _resolverRuleId; private ResolverRuleAssociationStatus _status; private string _statusMessage; private string _vpcId; /// /// Gets and sets the property Id. /// /// The ID of the association between a Resolver rule and a VPC. Resolver assigns this /// value when you submit an AssociateResolverRule /// request. /// /// [AWSProperty(Min=1, Max=64)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property Name. /// /// The name of an association between a Resolver rule and a VPC. /// /// [AWSProperty(Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ResolverRuleId. /// /// The ID of the Resolver rule that you associated with the VPC that is specified by /// VPCId. /// /// [AWSProperty(Min=1, Max=64)] public string ResolverRuleId { get { return this._resolverRuleId; } set { this._resolverRuleId = value; } } // Check to see if ResolverRuleId property is set internal bool IsSetResolverRuleId() { return this._resolverRuleId != null; } /// /// Gets and sets the property Status. /// /// A code that specifies the current status of the association between a Resolver rule /// and a VPC. /// /// public ResolverRuleAssociationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusMessage. /// /// A detailed description of the status of the association between a Resolver rule and /// a VPC. /// /// [AWSProperty(Max=255)] public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// /// Gets and sets the property VPCId. /// /// The ID of the VPC that you associated the Resolver rule with. /// /// [AWSProperty(Min=1, Max=64)] public string VPCId { get { return this._vpcId; } set { this._vpcId = value; } } // Check to see if VPCId property is set internal bool IsSetVPCId() { return this._vpcId != null; } } }