/* * 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 fms-2018-01-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.FMS.Model { /// /// An Firewall Manager protocols list. /// public partial class ProtocolsListData { private DateTime? _createTime; private DateTime? _lastUpdateTime; private string _listId; private string _listName; private string _listUpdateToken; private Dictionary> _previousProtocolsList = new Dictionary>(); private List _protocolsList = new List(); /// /// Gets and sets the property CreateTime. /// /// The time that the Firewall Manager protocols list was created. /// /// public DateTime CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// /// Gets and sets the property LastUpdateTime. /// /// The time that the Firewall Manager protocols list was last updated. /// /// public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// /// Gets and sets the property ListId. /// /// The ID of the Firewall Manager protocols list. /// /// [AWSProperty(Min=36, Max=36)] public string ListId { get { return this._listId; } set { this._listId = value; } } // Check to see if ListId property is set internal bool IsSetListId() { return this._listId != null; } /// /// Gets and sets the property ListName. /// /// The name of the Firewall Manager protocols list. /// /// [AWSProperty(Required=true, Min=1, Max=128)] public string ListName { get { return this._listName; } set { this._listName = value; } } // Check to see if ListName property is set internal bool IsSetListName() { return this._listName != null; } /// /// Gets and sets the property ListUpdateToken. /// /// A unique identifier for each update to the list. When you update the list, the update /// token must match the token of the current version of the application list. You can /// retrieve the update token by getting the list. /// /// [AWSProperty(Min=1, Max=1024)] public string ListUpdateToken { get { return this._listUpdateToken; } set { this._listUpdateToken = value; } } // Check to see if ListUpdateToken property is set internal bool IsSetListUpdateToken() { return this._listUpdateToken != null; } /// /// Gets and sets the property PreviousProtocolsList. /// /// A map of previous version numbers to their corresponding protocol arrays. /// /// public Dictionary> PreviousProtocolsList { get { return this._previousProtocolsList; } set { this._previousProtocolsList = value; } } // Check to see if PreviousProtocolsList property is set internal bool IsSetPreviousProtocolsList() { return this._previousProtocolsList != null && this._previousProtocolsList.Count > 0; } /// /// Gets and sets the property ProtocolsList. /// /// An array of protocols in the Firewall Manager protocols list. /// /// [AWSProperty(Required=true)] public List ProtocolsList { get { return this._protocolsList; } set { this._protocolsList = value; } } // Check to see if ProtocolsList property is set internal bool IsSetProtocolsList() { return this._protocolsList != null && this._protocolsList.Count > 0; } } }