Class: Aws::QApps::Types::CardInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::QApps::Types::CardInput
- Defined in:
- gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb
Overview
CardInput is a union - when making an API calls you must set exactly one of the members.
CardInput is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CardInput corresponding to the set member.
The properties defining an input card in an Amazon Q App.
Direct Known Subclasses
Defined Under Namespace
Classes: FileUpload, QPlugin, QQuery, TextInput, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#file_upload ⇒ Types::FileUploadCardInput
A container for the properties of the file upload input card.
-
#q_plugin ⇒ Types::QPluginCardInput
A container for the properties of the plugin input card.
-
#q_query ⇒ Types::QQueryCardInput
A container for the properties of the query input card.
-
#text_input ⇒ Types::TextInputCardInput
A container for the properties of the text input card.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#file_upload ⇒ Types::FileUploadCardInput
A container for the properties of the file upload input card.
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274 class CardInput < Struct.new( :text_input, :q_query, :q_plugin, :file_upload, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextInput < CardInput; end class QQuery < CardInput; end class QPlugin < CardInput; end class FileUpload < CardInput; end class Unknown < CardInput; end end |
#q_plugin ⇒ Types::QPluginCardInput
A container for the properties of the plugin input card.
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274 class CardInput < Struct.new( :text_input, :q_query, :q_plugin, :file_upload, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextInput < CardInput; end class QQuery < CardInput; end class QPlugin < CardInput; end class FileUpload < CardInput; end class Unknown < CardInput; end end |
#q_query ⇒ Types::QQueryCardInput
A container for the properties of the query input card.
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274 class CardInput < Struct.new( :text_input, :q_query, :q_plugin, :file_upload, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextInput < CardInput; end class QQuery < CardInput; end class QPlugin < CardInput; end class FileUpload < CardInput; end class Unknown < CardInput; end end |
#text_input ⇒ Types::TextInputCardInput
A container for the properties of the text input card.
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274 class CardInput < Struct.new( :text_input, :q_query, :q_plugin, :file_upload, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class TextInput < CardInput; end class QQuery < CardInput; end class QPlugin < CardInput; end class FileUpload < CardInput; end class Unknown < CardInput; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
274 275 276 |
# File 'gems/aws-sdk-qapps/lib/aws-sdk-qapps/types.rb', line 274 def unknown @unknown end |