Interface CfnBot.ISlotValueOverrideProperty
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public interface ISlotValueOverrideProperty
Syntax (vb)
Public Interface ISlotValueOverrideProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
SlotValueOverrideProperty slotValueOverrideProperty_;
var slotValueOverrideProperty = new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { new SlotValueOverrideProperty {
Shape = "shape",
Value = new SlotValueProperty {
InterpretedValue = "interpretedValue"
},
Values = new [] { slotValueOverrideProperty_ }
} }
};
Synopsis
Properties
Shape | When the shape value is |
Value | The current value of the slot. |
Values | A list of one or more values that the user provided for the slot. |
Properties
Shape
When the shape value is List
, it indicates that the values
field contains a list of slot values.
virtual string Shape { get; }
Property Value
System.String
Remarks
When the value is Scalar
, it indicates that the value
field contains a single value.
Value
The current value of the slot.
virtual object Value { get; }
Property Value
System.Object
Remarks
Values
A list of one or more values that the user provided for the slot.
virtual object Values { get; }
Property Value
System.Object
Remarks
For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."