Class: Aws::GeoPlaces::Types::StreetComponents

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

Overview

Components of a street.

Constant Summary collapse

SENSITIVE =
[:base_name, :type, :prefix, :suffix, :direction]

Instance Attribute Summary collapse

Instance Attribute Details

#base_nameString

Base name part of the street name.

Example: Younge from the "Younge street".

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#directionString

Indicates the official directional identifiers assigned to highways.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#languageString

A BCP 47 compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#prefixString

A prefix is a directional identifier that precedes, but is not included in, the base name of a road.

Example: E for East.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#suffixString

A suffix is a directional identifier that follows, but is not included in, the base name of a road.

Example W for West.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#typeString

Street type part of the street name.

Example: "avenue".

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#type_placementString

Defines if the street type is before or after the base name.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end

#type_separatorString

Defines a separator character such as "" or " " between the base name and type.

Returns:

  • (String)


2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 2904

class StreetComponents < Struct.new(
  :base_name,
  :type,
  :type_placement,
  :type_separator,
  :prefix,
  :suffix,
  :direction,
  :language)
  SENSITIVE = [:base_name, :type, :prefix, :suffix, :direction]
  include Aws::Structure
end