/*
* 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 inspector-2016-02-16.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.Inspector.Model
{
///
/// Used in the exception error that is thrown if you start an assessment run for an assessment
/// target that includes an EC2 instance that is already participating in another started
/// assessment run.
///
public partial class AgentAlreadyRunningAssessment
{
private string _agentId;
private string _assessmentRunArn;
///
/// Gets and sets the property AgentId.
///
/// ID of the agent that is running on an EC2 instance that is already participating in
/// another started assessment run.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string AgentId
{
get { return this._agentId; }
set { this._agentId = value; }
}
// Check to see if AgentId property is set
internal bool IsSetAgentId()
{
return this._agentId != null;
}
///
/// Gets and sets the property AssessmentRunArn.
///
/// The ARN of the assessment run that has already been started.
///
///
[AWSProperty(Required=true, Min=1, Max=300)]
public string AssessmentRunArn
{
get { return this._assessmentRunArn; }
set { this._assessmentRunArn = value; }
}
// Check to see if AssessmentRunArn property is set
internal bool IsSetAssessmentRunArn()
{
return this._assessmentRunArn != null;
}
}
}