/* * 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 { /// /// Container for the parameters to the AssociateBot operation. /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Allows the specified Amazon Connect instance to access the specified Amazon Lex or /// Amazon Lex V2 bot. /// /// public partial class AssociateBotRequest : AmazonConnectRequest { private string _instanceId; private LexBot _lexBot; private LexV2Bot _lexV2Bot; /// /// 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 LexBot. /// public LexBot LexBot { get { return this._lexBot; } set { this._lexBot = value; } } // Check to see if LexBot property is set internal bool IsSetLexBot() { return this._lexBot != null; } /// /// Gets and sets the property LexV2Bot. /// /// The Amazon Lex V2 bot to associate with the instance. /// /// public LexV2Bot LexV2Bot { get { return this._lexV2Bot; } set { this._lexV2Bot = value; } } // Check to see if LexV2Bot property is set internal bool IsSetLexV2Bot() { return this._lexV2Bot != null; } } }