/*
* 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 shield-2016-06-02.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.Shield.Model
{
///
/// The attack information for the specified SubResource.
///
public partial class SubResourceSummary
{
private List _attackVectors = new List();
private List _counters = new List();
private string _id;
private SubResourceType _type;
///
/// Gets and sets the property AttackVectors.
///
/// The list of attack types and associated counters.
///
///
public List AttackVectors
{
get { return this._attackVectors; }
set { this._attackVectors = value; }
}
// Check to see if AttackVectors property is set
internal bool IsSetAttackVectors()
{
return this._attackVectors != null && this._attackVectors.Count > 0;
}
///
/// Gets and sets the property Counters.
///
/// The counters that describe the details of the attack.
///
///
public List Counters
{
get { return this._counters; }
set { this._counters = value; }
}
// Check to see if Counters property is set
internal bool IsSetCounters()
{
return this._counters != null && this._counters.Count > 0;
}
///
/// Gets and sets the property Id.
///
/// The unique identifier (ID) of the SubResource
.
///
///
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 Type.
///
/// The SubResource
type.
///
///
public SubResourceType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}