/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of an analysis at completion.See Also:
* AWS
* API Reference
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
The result of the analysis. If the status is NOT_CONNECTED
,
* check the reason code.
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.
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.
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.
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.
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.
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.
Additional information about the path. Available only if a connection is not * found.
*/ inline const Aws::MapAdditional information about the path. Available only if a connection is not * found.
*/ inline bool ReasonContextHasBeenSet() const { return m_reasonContextHasBeenSet; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline void SetReasonContext(const Aws::MapAdditional information about the path. Available only if a connection is not * found.
*/ inline void SetReasonContext(Aws::MapAdditional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& WithReasonContext(const Aws::MapAdditional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& WithReasonContext(Aws::MapAdditional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(const Aws::String& key, const Aws::String& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, value); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, const Aws::String& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), value); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(const Aws::String& key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, std::move(value)); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), std::move(value)); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(const char* key, Aws::String&& value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, std::move(value)); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(Aws::String&& key, const char* value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(std::move(key), value); return *this; } /** *Additional information about the path. Available only if a connection is not * found.
*/ inline RouteAnalysisCompletion& AddReasonContext(const char* key, const char* value) { m_reasonContextHasBeenSet = true; m_reasonContext.emplace(key, value); return *this; } private: RouteAnalysisCompletionResultCode m_resultCode; bool m_resultCodeHasBeenSet = false; RouteAnalysisCompletionReasonCode m_reasonCode; bool m_reasonCodeHasBeenSet = false; Aws::Map