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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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)


3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 3119

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