AWSPinpointTargetingEndpointLocation

Objective-C

@interface AWSPinpointTargetingEndpointLocation

Swift

class AWSPinpointTargetingEndpointLocation

Specifies geographic information about an endpoint.

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

    Declaration

    Objective-C

    @property (nonatomic, strong) 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 (nonatomic, strong) 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 (nonatomic, strong) 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 (nonatomic, strong) 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 (nonatomic, strong) 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 (nonatomic, strong) NSString *_Nullable region;

    Swift

    var region: String? { get set }