/* * 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 { /// /// Summarizes the resource sets used in a policy. /// public partial class ResourceSetSummary { private string _description; private string _id; private DateTime? _lastUpdateTime; private string _name; private ResourceSetStatus _resourceSetStatus; /// /// Gets and sets the property Description. /// /// A description of the resource set. /// /// [AWSProperty(Max=256)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Id. /// /// A unique identifier for the resource set. This ID is returned in the responses to /// create and list commands. You provide it to operations like update and delete. /// /// [AWSProperty(Min=22, Max=22)] 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 LastUpdateTime. /// /// The last time that the resource set was changed. /// /// 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 Name. /// /// The descriptive name of the resource set. You can't change the name of a resource /// set after you create it. /// /// [AWSProperty(Min=1, Max=128)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property ResourceSetStatus. /// /// Indicates whether the resource set is in or out of an admin's Region scope. /// /// /// public ResourceSetStatus ResourceSetStatus { get { return this._resourceSetStatus; } set { this._resourceSetStatus = value; } } // Check to see if ResourceSetStatus property is set internal bool IsSetResourceSetStatus() { return this._resourceSetStatus != null; } } }