/* * 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 kafka-2018-11-14.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.Kafka.Model { /// /// This is the response object from the DescribeVpcConnection operation. /// public partial class DescribeVpcConnectionResponse : AmazonWebServiceResponse { private string _authentication; private DateTime? _creationTime; private List _securityGroups = new List(); private VpcConnectionState _state; private List _subnets = new List(); private Dictionary _tags = new Dictionary(); private string _targetClusterArn; private string _vpcConnectionArn; private string _vpcId; /// /// Gets and sets the property Authentication. /// /// The authentication type of VPC connection. /// /// public string Authentication { get { return this._authentication; } set { this._authentication = value; } } // Check to see if Authentication property is set internal bool IsSetAuthentication() { return this._authentication != null; } /// /// Gets and sets the property CreationTime. /// /// The creation time of the VPC connection. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property SecurityGroups. /// /// The list of security groups for the VPC connection. /// /// public List SecurityGroups { get { return this._securityGroups; } set { this._securityGroups = value; } } // Check to see if SecurityGroups property is set internal bool IsSetSecurityGroups() { return this._securityGroups != null && this._securityGroups.Count > 0; } /// /// Gets and sets the property State. /// /// The state of VPC connection. /// /// public VpcConnectionState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property Subnets. /// /// The list of subnets for the VPC connection. /// /// public List Subnets { get { return this._subnets; } set { this._subnets = value; } } // Check to see if Subnets property is set internal bool IsSetSubnets() { return this._subnets != null && this._subnets.Count > 0; } /// /// Gets and sets the property Tags. /// /// A map of tags for the VPC connection. /// /// public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TargetClusterArn. /// /// The Amazon Resource Name (ARN) that uniquely identifies an MSK cluster. /// /// public string TargetClusterArn { get { return this._targetClusterArn; } set { this._targetClusterArn = value; } } // Check to see if TargetClusterArn property is set internal bool IsSetTargetClusterArn() { return this._targetClusterArn != null; } /// /// Gets and sets the property VpcConnectionArn. /// /// The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection. /// /// public string VpcConnectionArn { get { return this._vpcConnectionArn; } set { this._vpcConnectionArn = value; } } // Check to see if VpcConnectionArn property is set internal bool IsSetVpcConnectionArn() { return this._vpcConnectionArn != null; } /// /// Gets and sets the property VpcId. /// /// The VPC Id for the VPC connection. /// /// 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; } } }