/* * 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 AssociateResolverQueryLogConfig, /// DisassociateResolverQueryLogConfig, /// GetResolverQueryLogConfigAssociation, /// or ListResolverQueryLogConfigAssociations, /// request, a complex type that contains settings for a specified association between /// an Amazon VPC and a query logging configuration. /// public partial class ResolverQueryLogConfigAssociation { private string _creationTime; private ResolverQueryLogConfigAssociationError _error; private string _errorMessage; private string _id; private string _resolverQueryLogConfigId; private string _resourceId; private ResolverQueryLogConfigAssociationStatus _status; /// /// Gets and sets the property CreationTime. /// /// The date and time that the VPC was associated with the query logging configuration, /// in Unix time format and Coordinated Universal Time (UTC). /// /// [AWSProperty(Min=20, Max=40)] public string CreationTime { get { return this._creationTime; } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime != null; } /// /// Gets and sets the property Error. /// /// If the value of Status is FAILED, the value of Error /// indicates the cause: /// /// /// /// If the value of Status is a value other than FAILED, Error /// is null. /// /// public ResolverQueryLogConfigAssociationError Error { get { return this._error; } set { this._error = value; } } // Check to see if Error property is set internal bool IsSetError() { return this._error != null; } /// /// Gets and sets the property ErrorMessage. /// /// Contains additional information about the error. If the value or Error /// is null, the value of ErrorMessage also is null. /// /// public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property Id. /// /// The ID of the query logging association. /// /// [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 ResolverQueryLogConfigId. /// /// The ID of the query logging configuration that a VPC is associated with. /// /// [AWSProperty(Min=1, Max=64)] public string ResolverQueryLogConfigId { get { return this._resolverQueryLogConfigId; } set { this._resolverQueryLogConfigId = value; } } // Check to see if ResolverQueryLogConfigId property is set internal bool IsSetResolverQueryLogConfigId() { return this._resolverQueryLogConfigId != null; } /// /// Gets and sets the property ResourceId. /// /// The ID of the Amazon VPC that is associated with the query logging configuration. /// /// [AWSProperty(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; } /// /// Gets and sets the property Status. /// /// The status of the specified query logging association. Valid values include the following: /// /// /// public ResolverQueryLogConfigAssociationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }