/* * 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 connect-2017-08-08.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.Connect.Model { /// /// Contains information about a default vocabulary. /// public partial class DefaultVocabulary { private string _instanceId; private VocabularyLanguageCode _languageCode; private string _vocabularyId; private string _vocabularyName; /// /// Gets and sets the property InstanceId. /// /// The identifier of the Amazon Connect instance. You can find /// the instance ID in the Amazon Resource Name (ARN) of the instance. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string InstanceId { get { return this._instanceId; } set { this._instanceId = value; } } // Check to see if InstanceId property is set internal bool IsSetInstanceId() { return this._instanceId != null; } /// /// Gets and sets the property LanguageCode. /// /// The language code of the vocabulary entries. For a list of languages and their corresponding /// language codes, see What /// is Amazon Transcribe? /// /// [AWSProperty(Required=true)] public VocabularyLanguageCode LanguageCode { get { return this._languageCode; } set { this._languageCode = value; } } // Check to see if LanguageCode property is set internal bool IsSetLanguageCode() { return this._languageCode != null; } /// /// Gets and sets the property VocabularyId. /// /// The identifier of the custom vocabulary. /// /// [AWSProperty(Required=true, Min=1, Max=500)] public string VocabularyId { get { return this._vocabularyId; } set { this._vocabularyId = value; } } // Check to see if VocabularyId property is set internal bool IsSetVocabularyId() { return this._vocabularyId != null; } /// /// Gets and sets the property VocabularyName. /// /// A unique name of the custom vocabulary. /// /// [AWSProperty(Required=true, Min=1, Max=140)] public string VocabularyName { get { return this._vocabularyName; } set { this._vocabularyName = value; } } // Check to see if VocabularyName property is set internal bool IsSetVocabularyName() { return this._vocabularyName != null; } } }