/* * 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 quicksight-2018-04-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.QuickSight.Model { /// /// A structure that represents a named entity. /// public partial class TopicNamedEntity { private List _definition = new List(); private string _entityDescription; private string _entityName; private List _entitySynonyms = new List(); private SemanticEntityType _semanticEntityType; /// /// Gets and sets the property Definition. /// /// The definition of a named entity. /// /// public List Definition { get { return this._definition; } set { this._definition = value; } } // Check to see if Definition property is set internal bool IsSetDefinition() { return this._definition != null && this._definition.Count > 0; } /// /// Gets and sets the property EntityDescription. /// /// The description of the named entity. /// /// [AWSProperty(Max=256)] public string EntityDescription { get { return this._entityDescription; } set { this._entityDescription = value; } } // Check to see if EntityDescription property is set internal bool IsSetEntityDescription() { return this._entityDescription != null; } /// /// Gets and sets the property EntityName. /// /// The name of the named entity. /// /// [AWSProperty(Required=true, Max=256)] public string EntityName { get { return this._entityName; } set { this._entityName = value; } } // Check to see if EntityName property is set internal bool IsSetEntityName() { return this._entityName != null; } /// /// Gets and sets the property EntitySynonyms. /// /// The other names or aliases for the named entity. /// /// public List EntitySynonyms { get { return this._entitySynonyms; } set { this._entitySynonyms = value; } } // Check to see if EntitySynonyms property is set internal bool IsSetEntitySynonyms() { return this._entitySynonyms != null && this._entitySynonyms.Count > 0; } /// /// Gets and sets the property SemanticEntityType. /// /// The type of named entity that a topic represents. /// /// public SemanticEntityType SemanticEntityType { get { return this._semanticEntityType; } set { this._semanticEntityType = value; } } // Check to see if SemanticEntityType property is set internal bool IsSetSemanticEntityType() { return this._semanticEntityType != null; } } }