/* * 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 panorama-2019-07-24.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.Panorama.Model { /// /// A static IP configuration. /// public partial class StaticIpConnectionInfo { private string _defaultGateway; private List _dns = new List(); private string _ipAddress; private string _mask; /// /// Gets and sets the property DefaultGateway. /// /// The connection's default gateway. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string DefaultGateway { get { return this._defaultGateway; } set { this._defaultGateway = value; } } // Check to see if DefaultGateway property is set internal bool IsSetDefaultGateway() { return this._defaultGateway != null; } /// /// Gets and sets the property Dns. /// /// The connection's DNS address. /// /// [AWSProperty(Required=true)] public List Dns { get { return this._dns; } set { this._dns = value; } } // Check to see if Dns property is set internal bool IsSetDns() { return this._dns != null && this._dns.Count > 0; } /// /// Gets and sets the property IpAddress. /// /// The connection's IP address. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string IpAddress { get { return this._ipAddress; } set { this._ipAddress = value; } } // Check to see if IpAddress property is set internal bool IsSetIpAddress() { return this._ipAddress != null; } /// /// Gets and sets the property Mask. /// /// The connection's DNS mask. /// /// [AWSProperty(Required=true, Min=1, Max=255)] public string Mask { get { return this._mask; } set { this._mask = value; } } // Check to see if Mask property is set internal bool IsSetMask() { return this._mask != null; } } }