/* * 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 CreateVpcConnection operation. /// public partial class CreateVpcConnectionResponse : AmazonWebServiceResponse { private string _authentication; private List _clientSubnets = new List(); private DateTime? _creationTime; private List _securityGroups = new List(); private VpcConnectionState _state; private Dictionary _tags = new Dictionary(); 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 ClientSubnets. /// /// The list of client subnets. /// /// public List ClientSubnets { get { return this._clientSubnets; } set { this._clientSubnets = value; } } // Check to see if ClientSubnets property is set internal bool IsSetClientSubnets() { return this._clientSubnets != null && this._clientSubnets.Count > 0; } /// /// Gets and sets the property CreationTime. /// /// The creation time of 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. /// /// 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 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 VpcConnectionArn. /// /// The VPC connection ARN. /// /// 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 of 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; } } }