/*
* 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 auditmanager-2017-07-25.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.AuditManager.Model
{
///
/// The metadata that's associated with a standard framework or a custom framework.
///
public partial class AssessmentFrameworkMetadata
{
private string _arn;
private string _complianceType;
private int? _controlsCount;
private int? _controlSetsCount;
private DateTime? _createdAt;
private string _description;
private string _id;
private DateTime? _lastUpdatedAt;
private string _logo;
private string _name;
private FrameworkType _type;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the framework.
///
///
[AWSProperty(Min=20, Max=2048)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property ComplianceType.
///
/// The compliance type that the new custom framework supports, such as CIS or HIPAA.
///
///
///
[AWSProperty(Max=100)]
public string ComplianceType
{
get { return this._complianceType; }
set { this._complianceType = value; }
}
// Check to see if ComplianceType property is set
internal bool IsSetComplianceType()
{
return this._complianceType != null;
}
///
/// Gets and sets the property ControlsCount.
///
/// The number of controls that are associated with the framework.
///
///
public int ControlsCount
{
get { return this._controlsCount.GetValueOrDefault(); }
set { this._controlsCount = value; }
}
// Check to see if ControlsCount property is set
internal bool IsSetControlsCount()
{
return this._controlsCount.HasValue;
}
///
/// Gets and sets the property ControlSetsCount.
///
/// The number of control sets that are associated with the framework.
///
///
public int ControlSetsCount
{
get { return this._controlSetsCount.GetValueOrDefault(); }
set { this._controlSetsCount = value; }
}
// Check to see if ControlSetsCount property is set
internal bool IsSetControlSetsCount()
{
return this._controlSetsCount.HasValue;
}
///
/// Gets and sets the property CreatedAt.
///
/// The time when the framework was created.
///
///
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the framework.
///
///
[AWSProperty(Min=1, Max=1000)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property Id.
///
/// The unique identifier for the framework.
///
///
[AWSProperty(Min=36, Max=36)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property LastUpdatedAt.
///
/// The time when the framework was most recently updated.
///
///
public DateTime LastUpdatedAt
{
get { return this._lastUpdatedAt.GetValueOrDefault(); }
set { this._lastUpdatedAt = value; }
}
// Check to see if LastUpdatedAt property is set
internal bool IsSetLastUpdatedAt()
{
return this._lastUpdatedAt.HasValue;
}
///
/// Gets and sets the property Logo.
///
/// The logo that's associated with the framework.
///
///
[AWSProperty(Min=1, Max=255)]
public string Logo
{
get { return this._logo; }
set { this._logo = value; }
}
// Check to see if Logo property is set
internal bool IsSetLogo()
{
return this._logo != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the framework.
///
///
[AWSProperty(Min=1, Max=300)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Type.
///
/// The framework type, such as a standard framework or a custom framework.
///
///
public FrameworkType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}