/* * 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model { /// /// Provides information for updating the user on the progress of fulfilling an intent. /// public partial class FulfillmentUpdatesSpecification { private bool? _active; private FulfillmentStartResponseSpecification _startResponse; private int? _timeoutInSeconds; private FulfillmentUpdateResponseSpecification _updateResponse; /// /// Gets and sets the property Active. /// /// Determines whether fulfillment updates are sent to the user. When this field is true, /// updates are sent. /// /// /// /// If the active field is set to true, the startResponse, updateResponse, /// and timeoutInSeconds fields are required. /// /// [AWSProperty(Required=true)] public bool Active { get { return this._active.GetValueOrDefault(); } set { this._active = value; } } // Check to see if Active property is set internal bool IsSetActive() { return this._active.HasValue; } /// /// Gets and sets the property StartResponse. /// /// Provides configuration information for the message sent to users when the fulfillment /// Lambda functions starts running. /// /// public FulfillmentStartResponseSpecification StartResponse { get { return this._startResponse; } set { this._startResponse = value; } } // Check to see if StartResponse property is set internal bool IsSetStartResponse() { return this._startResponse != null; } /// /// Gets and sets the property TimeoutInSeconds. /// /// The length of time that the fulfillment Lambda function should run before it times /// out. /// /// [AWSProperty(Min=1, Max=900)] public int TimeoutInSeconds { get { return this._timeoutInSeconds.GetValueOrDefault(); } set { this._timeoutInSeconds = value; } } // Check to see if TimeoutInSeconds property is set internal bool IsSetTimeoutInSeconds() { return this._timeoutInSeconds.HasValue; } /// /// Gets and sets the property UpdateResponse. /// /// Provides configuration information for messages sent periodically to the user while /// the fulfillment Lambda function is running. /// /// public FulfillmentUpdateResponseSpecification UpdateResponse { get { return this._updateResponse; } set { this._updateResponse = value; } } // Check to see if UpdateResponse property is set internal bool IsSetUpdateResponse() { return this._updateResponse != null; } } }