/*
* 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
{
///
/// An array that provides the enablement status and other details for each control that
/// applies to each enabled standard.
///
public partial class StandardsControlAssociationSummary
{
private AssociationStatus _associationStatus;
private List _relatedRequirements = new List();
private string _securityControlArn;
private string _securityControlId;
private string _standardsArn;
private string _standardsControlDescription;
private string _standardsControlTitle;
private DateTime? _updatedAt;
private string _updatedReason;
///
/// Gets and sets the property AssociationStatus.
///
/// The enablement status of a control in a specific standard.
///
///
[AWSProperty(Required=true)]
public AssociationStatus AssociationStatus
{
get { return this._associationStatus; }
set { this._associationStatus = value; }
}
// Check to see if AssociationStatus property is set
internal bool IsSetAssociationStatus()
{
return this._associationStatus != null;
}
///
/// Gets and sets the property RelatedRequirements.
///
/// The requirement that underlies this control in the compliance framework related to
/// the standard.
///
///
public List RelatedRequirements
{
get { return this._relatedRequirements; }
set { this._relatedRequirements = value; }
}
// Check to see if RelatedRequirements property is set
internal bool IsSetRelatedRequirements()
{
return this._relatedRequirements != null && this._relatedRequirements.Count > 0;
}
///
/// Gets and sets the property SecurityControlArn.
///
/// The ARN of a control, such as arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
.
/// This parameter doesn't mention a specific standard.
///
///
[AWSProperty(Required=true)]
public string SecurityControlArn
{
get { return this._securityControlArn; }
set { this._securityControlArn = value; }
}
// Check to see if SecurityControlArn property is set
internal bool IsSetSecurityControlArn()
{
return this._securityControlArn != null;
}
///
/// Gets and sets the property SecurityControlId.
///
/// A unique standard-agnostic identifier for a control. Values for this field typically
/// consist of an Amazon Web Service and a number, such as APIGateway.5. This field doesn't
/// reference a specific standard.
///
///
[AWSProperty(Required=true)]
public string SecurityControlId
{
get { return this._securityControlId; }
set { this._securityControlId = value; }
}
// Check to see if SecurityControlId property is set
internal bool IsSetSecurityControlId()
{
return this._securityControlId != null;
}
///
/// Gets and sets the property StandardsArn.
///
/// The Amazon Resource Name (ARN) of a standard.
///
///
[AWSProperty(Required=true)]
public string StandardsArn
{
get { return this._standardsArn; }
set { this._standardsArn = value; }
}
// Check to see if StandardsArn property is set
internal bool IsSetStandardsArn()
{
return this._standardsArn != null;
}
///
/// Gets and sets the property StandardsControlDescription.
///
/// The description of a control. This typically summarizes how Security Hub evaluates
/// the control and the conditions under which it produces a failed finding. The parameter
/// may reference a specific standard.
///
///
public string StandardsControlDescription
{
get { return this._standardsControlDescription; }
set { this._standardsControlDescription = value; }
}
// Check to see if StandardsControlDescription property is set
internal bool IsSetStandardsControlDescription()
{
return this._standardsControlDescription != null;
}
///
/// Gets and sets the property StandardsControlTitle.
///
/// The title of a control.
///
///
public string StandardsControlTitle
{
get { return this._standardsControlTitle; }
set { this._standardsControlTitle = value; }
}
// Check to see if StandardsControlTitle property is set
internal bool IsSetStandardsControlTitle()
{
return this._standardsControlTitle != null;
}
///
/// Gets and sets the property UpdatedAt.
///
/// The last time that a control's enablement status in a specified standard was updated.
///
///
///
public DateTime UpdatedAt
{
get { return this._updatedAt.GetValueOrDefault(); }
set { this._updatedAt = value; }
}
// Check to see if UpdatedAt property is set
internal bool IsSetUpdatedAt()
{
return this._updatedAt.HasValue;
}
///
/// Gets and sets the property UpdatedReason.
///
/// The reason for updating the control's enablement status in a specified standard.
///
///
///
public string UpdatedReason
{
get { return this._updatedReason; }
set { this._updatedReason = value; }
}
// Check to see if UpdatedReason property is set
internal bool IsSetUpdatedReason()
{
return this._updatedReason != null;
}
}
}