/*
* 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 networkmanager-2019-07-05.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.NetworkManager.Model
{
///
/// Describes the status of an analysis at completion.
///
public partial class RouteAnalysisCompletion
{
private RouteAnalysisCompletionReasonCode _reasonCode;
private Dictionary _reasonContext = new Dictionary();
private RouteAnalysisCompletionResultCode _resultCode;
///
/// Gets and sets the property ReasonCode.
///
/// The reason code. Available only if a connection is not found.
///
/// -
///
///
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND
- Found a black hole route with
/// the destination CIDR block.
///
/// -
///
///
CYCLIC_PATH_DETECTED
- Found the same resource multiple times while
/// traversing the path.
///
/// -
///
///
INACTIVE_ROUTE_FOR_DESTINATION_FOUND
- Found an inactive route with
/// the destination CIDR block.
///
/// -
///
///
MAX_HOPS_EXCEEDED
- Analysis exceeded 64 hops without finding the destination.
///
/// -
///
///
ROUTE_NOT_FOUND
- Cannot find a route table with the destination CIDR
/// block.
///
/// -
///
///
TGW_ATTACH_ARN_NO_MATCH
- Found an attachment, but not with the correct
/// destination ARN.
///
/// -
///
///
TGW_ATTACH_NOT_FOUND
- Cannot find an attachment.
///
/// -
///
///
TGW_ATTACH_NOT_IN_TGW
- Found an attachment, but not to the correct
/// transit gateway.
///
/// -
///
///
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND
- The state of the route table
/// association is not associated.
///
///
///
public RouteAnalysisCompletionReasonCode ReasonCode
{
get { return this._reasonCode; }
set { this._reasonCode = value; }
}
// Check to see if ReasonCode property is set
internal bool IsSetReasonCode()
{
return this._reasonCode != null;
}
///
/// Gets and sets the property ReasonContext.
///
/// Additional information about the path. Available only if a connection is not found.
///
///
public Dictionary ReasonContext
{
get { return this._reasonContext; }
set { this._reasonContext = value; }
}
// Check to see if ReasonContext property is set
internal bool IsSetReasonContext()
{
return this._reasonContext != null && this._reasonContext.Count > 0;
}
///
/// Gets and sets the property ResultCode.
///
/// The result of the analysis. If the status is NOT_CONNECTED
, check the
/// reason code.
///
///
public RouteAnalysisCompletionResultCode ResultCode
{
get { return this._resultCode; }
set { this._resultCode = value; }
}
// Check to see if ResultCode property is set
internal bool IsSetResultCode()
{
return this._resultCode != null;
}
}
}