/* * 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 macie2-2020-01-01.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.Macie2.Model { /// /// Provides information about an entity that performed an action that produced a policy /// finding for a resource. /// public partial class FindingActor { private DomainDetails _domainDetails; private IpAddressDetails _ipAddressDetails; private UserIdentity _userIdentity; /// /// Gets and sets the property DomainDetails. /// /// The domain name of the device that the entity used to perform the action on the affected /// resource. /// /// public DomainDetails DomainDetails { get { return this._domainDetails; } set { this._domainDetails = value; } } // Check to see if DomainDetails property is set internal bool IsSetDomainDetails() { return this._domainDetails != null; } /// /// Gets and sets the property IpAddressDetails. /// /// The IP address of the device that the entity used to perform the action on the affected /// resource. This object also provides information such as the owner and geographic location /// for the IP address. /// /// public IpAddressDetails IpAddressDetails { get { return this._ipAddressDetails; } set { this._ipAddressDetails = value; } } // Check to see if IpAddressDetails property is set internal bool IsSetIpAddressDetails() { return this._ipAddressDetails != null; } /// /// Gets and sets the property UserIdentity. /// /// The type and other characteristics of the entity that performed the action on the /// affected resource. /// /// public UserIdentity UserIdentity { get { return this._userIdentity; } set { this._userIdentity = value; } } // Check to see if UserIdentity property is set internal bool IsSetUserIdentity() { return this._userIdentity != null; } } }