/*
* 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
{
///
/// Identifies the source of the finding change event.
///
public partial class FindingHistoryUpdateSource
{
private string _identity;
private FindingHistoryUpdateSourceType _type;
///
/// Gets and sets the property Identity.
///
/// The identity of the source that initiated the finding change event. For example,
/// the Amazon Resource Name (ARN) of a partner that calls BatchImportFindings or of a
/// customer that calls BatchUpdateFindings.
///
///
public string Identity
{
get { return this._identity; }
set { this._identity = value; }
}
// Check to see if Identity property is set
internal bool IsSetIdentity()
{
return this._identity != null;
}
///
/// Gets and sets the property Type.
///
/// Describes the type of finding change event, such as a call to
/// BatchImportFindings
(by an integrated Amazon Web Service or third
/// party partner integration) or
/// BatchUpdateFindings
(by a Security Hub customer).
///
///
public FindingHistoryUpdateSourceType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}