/* * 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 lex-models-2017-04-19.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.LexModelBuildingService.Model { /// /// This is the response object from the PutBotAlias operation. /// public partial class PutBotAliasResponse : AmazonWebServiceResponse { private string _botName; private string _botVersion; private string _checksum; private ConversationLogsResponse _conversationLogs; private DateTime? _createdDate; private string _description; private DateTime? _lastUpdatedDate; private string _name; private List _tags = new List(); /// /// Gets and sets the property BotName. /// /// The name of the bot that the alias points to. /// /// [AWSProperty(Min=2, Max=50)] public string BotName { get { return this._botName; } set { this._botName = value; } } // Check to see if BotName property is set internal bool IsSetBotName() { return this._botName != null; } /// /// Gets and sets the property BotVersion. /// /// The version of the bot that the alias points to. /// /// [AWSProperty(Min=1, Max=64)] public string BotVersion { get { return this._botVersion; } set { this._botVersion = value; } } // Check to see if BotVersion property is set internal bool IsSetBotVersion() { return this._botVersion != null; } /// /// Gets and sets the property Checksum. /// /// The checksum for the current version of the alias. /// /// public string Checksum { get { return this._checksum; } set { this._checksum = value; } } // Check to see if Checksum property is set internal bool IsSetChecksum() { return this._checksum != null; } /// /// Gets and sets the property ConversationLogs. /// /// The settings that determine how Amazon Lex uses conversation logs for the alias. /// /// public ConversationLogsResponse ConversationLogs { get { return this._conversationLogs; } set { this._conversationLogs = value; } } // Check to see if ConversationLogs property is set internal bool IsSetConversationLogs() { return this._conversationLogs != null; } /// /// Gets and sets the property CreatedDate. /// /// The date that the bot alias was created. /// /// public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the alias. /// /// [AWSProperty(Min=0, Max=200)] 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 LastUpdatedDate. /// /// The date that the bot alias was updated. When you create a resource, the creation /// date and the last updated date are the same. /// /// public DateTime LastUpdatedDate { get { return this._lastUpdatedDate.GetValueOrDefault(); } set { this._lastUpdatedDate = value; } } // Check to see if LastUpdatedDate property is set internal bool IsSetLastUpdatedDate() { return this._lastUpdatedDate.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the alias. /// /// [AWSProperty(Min=1, Max=100)] 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 Tags. /// /// A list of tags associated with a bot. /// /// [AWSProperty(Min=0, Max=200)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }