/*
* 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 ec2-2016-11-15.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.EC2.Model
{
///
/// Describes a network insights analysis.
///
public partial class NetworkInsightsAnalysis
{
private List _additionalAccounts = new List();
private List _alternatePathHints = new List();
private List _explanations = new List();
private List _filterInArns = new List();
private List _forwardPathComponents = new List();
private string _networkInsightsAnalysisArn;
private string _networkInsightsAnalysisId;
private string _networkInsightsPathId;
private bool? _networkPathFound;
private List _returnPathComponents = new List();
private DateTime? _startDate;
private AnalysisStatus _status;
private string _statusMessage;
private List _suggestedAccounts = new List();
private List _tags = new List();
private string _warningMessage;
///
/// Gets and sets the property AdditionalAccounts.
///
/// The member accounts that contain resources that the path can traverse.
///
///
public List AdditionalAccounts
{
get { return this._additionalAccounts; }
set { this._additionalAccounts = value; }
}
// Check to see if AdditionalAccounts property is set
internal bool IsSetAdditionalAccounts()
{
return this._additionalAccounts != null && this._additionalAccounts.Count > 0;
}
///
/// Gets and sets the property AlternatePathHints.
///
/// Potential intermediate components.
///
///
public List AlternatePathHints
{
get { return this._alternatePathHints; }
set { this._alternatePathHints = value; }
}
// Check to see if AlternatePathHints property is set
internal bool IsSetAlternatePathHints()
{
return this._alternatePathHints != null && this._alternatePathHints.Count > 0;
}
///
/// Gets and sets the property Explanations.
///
/// The explanations. For more information, see Reachability
/// Analyzer explanation codes.
///
///
public List Explanations
{
get { return this._explanations; }
set { this._explanations = value; }
}
// Check to see if Explanations property is set
internal bool IsSetExplanations()
{
return this._explanations != null && this._explanations.Count > 0;
}
///
/// Gets and sets the property FilterInArns.
///
/// The Amazon Resource Names (ARN) of the resources that the path must traverse.
///
///
public List FilterInArns
{
get { return this._filterInArns; }
set { this._filterInArns = value; }
}
// Check to see if FilterInArns property is set
internal bool IsSetFilterInArns()
{
return this._filterInArns != null && this._filterInArns.Count > 0;
}
///
/// Gets and sets the property ForwardPathComponents.
///
/// The components in the path from source to destination.
///
///
public List ForwardPathComponents
{
get { return this._forwardPathComponents; }
set { this._forwardPathComponents = value; }
}
// Check to see if ForwardPathComponents property is set
internal bool IsSetForwardPathComponents()
{
return this._forwardPathComponents != null && this._forwardPathComponents.Count > 0;
}
///
/// Gets and sets the property NetworkInsightsAnalysisArn.
///
/// The Amazon Resource Name (ARN) of the network insights analysis.
///
///
[AWSProperty(Min=1, Max=1283)]
public string NetworkInsightsAnalysisArn
{
get { return this._networkInsightsAnalysisArn; }
set { this._networkInsightsAnalysisArn = value; }
}
// Check to see if NetworkInsightsAnalysisArn property is set
internal bool IsSetNetworkInsightsAnalysisArn()
{
return this._networkInsightsAnalysisArn != null;
}
///
/// Gets and sets the property NetworkInsightsAnalysisId.
///
/// The ID of the network insights analysis.
///
///
public string NetworkInsightsAnalysisId
{
get { return this._networkInsightsAnalysisId; }
set { this._networkInsightsAnalysisId = value; }
}
// Check to see if NetworkInsightsAnalysisId property is set
internal bool IsSetNetworkInsightsAnalysisId()
{
return this._networkInsightsAnalysisId != null;
}
///
/// Gets and sets the property NetworkInsightsPathId.
///
/// The ID of the path.
///
///
public string NetworkInsightsPathId
{
get { return this._networkInsightsPathId; }
set { this._networkInsightsPathId = value; }
}
// Check to see if NetworkInsightsPathId property is set
internal bool IsSetNetworkInsightsPathId()
{
return this._networkInsightsPathId != null;
}
///
/// Gets and sets the property NetworkPathFound.
///
/// Indicates whether the destination is reachable from the source.
///
///
public bool NetworkPathFound
{
get { return this._networkPathFound.GetValueOrDefault(); }
set { this._networkPathFound = value; }
}
// Check to see if NetworkPathFound property is set
internal bool IsSetNetworkPathFound()
{
return this._networkPathFound.HasValue;
}
///
/// Gets and sets the property ReturnPathComponents.
///
/// The components in the path from destination to source.
///
///
public List ReturnPathComponents
{
get { return this._returnPathComponents; }
set { this._returnPathComponents = value; }
}
// Check to see if ReturnPathComponents property is set
internal bool IsSetReturnPathComponents()
{
return this._returnPathComponents != null && this._returnPathComponents.Count > 0;
}
///
/// Gets and sets the property StartDate.
///
/// The time the analysis started.
///
///
public DateTime StartDate
{
get { return this._startDate.GetValueOrDefault(); }
set { this._startDate = value; }
}
// Check to see if StartDate property is set
internal bool IsSetStartDate()
{
return this._startDate.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status of the network insights analysis.
///
///
public AnalysisStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusMessage.
///
/// The status message, if the status is failed
.
///
///
public string StatusMessage
{
get { return this._statusMessage; }
set { this._statusMessage = value; }
}
// Check to see if StatusMessage property is set
internal bool IsSetStatusMessage()
{
return this._statusMessage != null;
}
///
/// Gets and sets the property SuggestedAccounts.
///
/// Potential intermediate accounts.
///
///
public List SuggestedAccounts
{
get { return this._suggestedAccounts; }
set { this._suggestedAccounts = value; }
}
// Check to see if SuggestedAccounts property is set
internal bool IsSetSuggestedAccounts()
{
return this._suggestedAccounts != null && this._suggestedAccounts.Count > 0;
}
///
/// Gets and sets the property Tags.
///
/// The tags.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property WarningMessage.
///
/// The warning message.
///
///
public string WarningMessage
{
get { return this._warningMessage; }
set { this._warningMessage = value; }
}
// Check to see if WarningMessage property is set
internal bool IsSetWarningMessage()
{
return this._warningMessage != null;
}
}
}