Class: Aws::ElementalInference::Types::YesNoPerOptionQuestion

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (String)


3805
3806
3807
3808
3809
3810
3811
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3805

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.

Returns:



3805
3806
3807
3808
3809
3810
3811
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3805

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).

Returns:

  • (String)


3805
3806
3807
3808
3809
3810
3811
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3805

class YesNoPerOptionQuestion < Struct.new(
  :name,
  :question,
  :options)
  SENSITIVE = []
  include Aws::Structure
end