Class: Aws::GeoPlaces::Types::Highlight

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb

Overview

Indicates the starting and ending index of the text query that match the found title.

Constant Summary collapse

SENSITIVE =
[:value]

Instance Attribute Summary collapse

Instance Attribute Details

#end_indexInteger

End index of the highlight.

Returns:

  • (Integer)


1575
1576
1577
1578
1579
1580
1581
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1575

class Highlight < Struct.new(
  :start_index,
  :end_index,
  :value)
  SENSITIVE = [:value]
  include Aws::Structure
end

#start_indexInteger

Start index of the highlight.

Returns:

  • (Integer)


1575
1576
1577
1578
1579
1580
1581
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1575

class Highlight < Struct.new(
  :start_index,
  :end_index,
  :value)
  SENSITIVE = [:value]
  include Aws::Structure
end

#valueString

The highlight's value.

Returns:

  • (String)


1575
1576
1577
1578
1579
1580
1581
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1575

class Highlight < Struct.new(
  :start_index,
  :end_index,
  :value)
  SENSITIVE = [:value]
  include Aws::Structure
end