/* * 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 resource-explorer-2-2022-07-28.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.ResourceExplorer2.Model { /// /// A view is a structure that defines a set of filters that provide a view into the information /// in the Amazon Web Services Resource Explorer index. The filters specify which information /// from the index is visible to the users of the view. For example, you can specify filters /// that include only resources that are tagged with the key "ENV" and the value "DEVELOPMENT" /// in the results returned by this view. You could also create a second view that includes /// only resources that are tagged with "ENV" and "PRODUCTION". /// public partial class View { private SearchFilter _filters; private List _includedProperties = new List(); private DateTime? _lastUpdatedAt; private string _owner; private string _scope; private string _viewArn; /// /// Gets and sets the property Filters. /// /// An array of SearchFilter objects that specify which resources can be included /// in the results of queries made using this view. /// /// [AWSProperty(Sensitive=true)] public SearchFilter Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null; } /// /// Gets and sets the property IncludedProperties. /// /// A structure that contains additional information about the view. /// /// public List IncludedProperties { get { return this._includedProperties; } set { this._includedProperties = value; } } // Check to see if IncludedProperties property is set internal bool IsSetIncludedProperties() { return this._includedProperties != null && this._includedProperties.Count > 0; } /// /// Gets and sets the property LastUpdatedAt. /// /// The date and time when this view was last modified. /// /// public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// /// Gets and sets the property Owner. /// /// The Amazon Web Services account that owns this view. /// /// public string Owner { get { return this._owner; } set { this._owner = value; } } // Check to see if Owner property is set internal bool IsSetOwner() { return this._owner != null; } /// /// Gets and sets the property Scope. /// /// An Amazon /// resource name (ARN) of an Amazon Web Services account, an organization, or an /// organizational unit (OU) that specifies whether this view includes resources from /// only the specified Amazon Web Services account, all accounts in the specified organization, /// or all accounts in the specified OU. /// /// /// /// If not specified, the value defaults to the Amazon Web Services account used to call /// this operation. /// /// public string Scope { get { return this._scope; } set { this._scope = value; } } // Check to see if Scope property is set internal bool IsSetScope() { return this._scope != null; } /// /// Gets and sets the property ViewArn. /// /// The Amazon /// resource name (ARN) of the view. /// /// public string ViewArn { get { return this._viewArn; } set { this._viewArn = value; } } // Check to see if ViewArn property is set internal bool IsSetViewArn() { return this._viewArn != null; } } }