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)


1544
1545
1546
1547
1548
1549
1550
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1544

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

#start_indexInteger

Start index of the highlight.

Returns:

  • (Integer)


1544
1545
1546
1547
1548
1549
1550
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1544

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

#valueString

The highlight's value.

Returns:

  • (String)


1544
1545
1546
1547
1548
1549
1550
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 1544

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