Class: Aws::ElementalInference::Types::YesNoPerOptionQuestion
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::YesNoPerOptionQuestion
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
A question that you ask Elemental Inference separately about each of its options. Elemental Inference answers yes or no for each option. Word the question so that it fits any of the options. For example, ask Is this overlay visible? with one option for each overlay. You specify it in the yesNoPerOption array of a question set.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
A name for the question.
-
#options ⇒ Array<Types::QuestionOption>
The options that you ask the question about.
-
#question ⇒ String
The text of the question.
Instance Attribute Details
#name ⇒ String
A name for the question. The name must be unique among all the questions in the version, across all question types. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores.
3837 3838 3839 3840 3841 3842 3843 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3837 class YesNoPerOptionQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |
#options ⇒ Array<Types::QuestionOption>
The options that you ask the question about. You can specify from 1 to 50 options. Each option counts as one item toward the limit of 100 scored items in a version.
3837 3838 3839 3840 3841 3842 3843 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3837 class YesNoPerOptionQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |
#question ⇒ String
The text of the question. The text can be up to 256 bytes, encoded
in UTF-8. It can contain letters in any language, combining marks,
digits, spaces, and the following characters: . , ? ! ' " ( ) - : ;
/ & %, plus the curly apostrophe and quotation marks (U+2019,
U+201C, and U+201D).
3837 3838 3839 3840 3841 3842 3843 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3837 class YesNoPerOptionQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |