/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// For AwsApiAction, NetworkConnectionAction, and PortProbeAction, /// RemoteIpDetails provides information about the remote IP address that /// was involved in the action. /// public partial class ActionRemoteIpDetails { private City _city; private Country _country; private GeoLocation _geoLocation; private string _ipAddressV4; private IpOrganizationDetails _organization; /// /// Gets and sets the property City. /// /// The city where the remote IP address is located. /// /// public City City { get { return this._city; } set { this._city = value; } } // Check to see if City property is set internal bool IsSetCity() { return this._city != null; } /// /// Gets and sets the property Country. /// /// The country where the remote IP address is located. /// /// public Country Country { get { return this._country; } set { this._country = value; } } // Check to see if Country property is set internal bool IsSetCountry() { return this._country != null; } /// /// Gets and sets the property GeoLocation. /// /// The coordinates of the location of the remote IP address. /// /// public GeoLocation GeoLocation { get { return this._geoLocation; } set { this._geoLocation = value; } } // Check to see if GeoLocation property is set internal bool IsSetGeoLocation() { return this._geoLocation != null; } /// /// Gets and sets the property IpAddressV4. /// /// The IP address. /// /// public string IpAddressV4 { get { return this._ipAddressV4; } set { this._ipAddressV4 = value; } } // Check to see if IpAddressV4 property is set internal bool IsSetIpAddressV4() { return this._ipAddressV4 != null; } /// /// Gets and sets the property Organization. /// /// The internet service provider (ISP) organization associated with the remote IP address. /// /// public IpOrganizationDetails Organization { get { return this._organization; } set { this._organization = value; } } // Check to see if Organization property is set internal bool IsSetOrganization() { return this._organization != null; } } }