AWSPinpointTargetingEndpointLocation

@interface AWSPinpointTargetingEndpointLocation

Specifies geographic information about an endpoint.

  • The name of the city where the endpoint is located.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable city;

    Swift

    var city: String? { get set }
  • The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable country;

    Swift

    var country: String? { get set }
  • The latitude coordinate of the endpoint location, rounded to one decimal place.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable latitude;

    Swift

    var latitude: NSNumber? { get set }
  • The longitude coordinate of the endpoint location, rounded to one decimal place.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable longitude;

    Swift

    var longitude: NSNumber? { get set }
  • The postal or ZIP code for the area where the endpoint is located.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable postalCode;

    Swift

    var postalCode: String? { get set }
  • The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable region;

    Swift

    var region: String? { get set }