Class: Aws::ElementalInference::Types::YesNoQuestion

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, which answers with yes or no. You specify it in the yesNo 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)


3834
3835
3836
3837
3838
3839
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3834

class YesNoQuestion < Struct.new(
  :name,
  :question)
  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)


3834
3835
3836
3837
3838
3839
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3834

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