/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NetworkManager { namespace Model { /** *

Describes a route analysis path.

See Also:

AWS * API Reference

*/ class RouteAnalysisPath { public: AWS_NETWORKMANAGER_API RouteAnalysisPath(); AWS_NETWORKMANAGER_API RouteAnalysisPath(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API RouteAnalysisPath& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The status of the analysis at completion.

*/ inline const RouteAnalysisCompletion& GetCompletionStatus() const{ return m_completionStatus; } /** *

The status of the analysis at completion.

*/ inline bool CompletionStatusHasBeenSet() const { return m_completionStatusHasBeenSet; } /** *

The status of the analysis at completion.

*/ inline void SetCompletionStatus(const RouteAnalysisCompletion& value) { m_completionStatusHasBeenSet = true; m_completionStatus = value; } /** *

The status of the analysis at completion.

*/ inline void SetCompletionStatus(RouteAnalysisCompletion&& value) { m_completionStatusHasBeenSet = true; m_completionStatus = std::move(value); } /** *

The status of the analysis at completion.

*/ inline RouteAnalysisPath& WithCompletionStatus(const RouteAnalysisCompletion& value) { SetCompletionStatus(value); return *this;} /** *

The status of the analysis at completion.

*/ inline RouteAnalysisPath& WithCompletionStatus(RouteAnalysisCompletion&& value) { SetCompletionStatus(std::move(value)); return *this;} /** *

The route analysis path.

*/ inline const Aws::Vector& GetPath() const{ return m_path; } /** *

The route analysis path.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The route analysis path.

*/ inline void SetPath(const Aws::Vector& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The route analysis path.

*/ inline void SetPath(Aws::Vector&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The route analysis path.

*/ inline RouteAnalysisPath& WithPath(const Aws::Vector& value) { SetPath(value); return *this;} /** *

The route analysis path.

*/ inline RouteAnalysisPath& WithPath(Aws::Vector&& value) { SetPath(std::move(value)); return *this;} /** *

The route analysis path.

*/ inline RouteAnalysisPath& AddPath(const PathComponent& value) { m_pathHasBeenSet = true; m_path.push_back(value); return *this; } /** *

The route analysis path.

*/ inline RouteAnalysisPath& AddPath(PathComponent&& value) { m_pathHasBeenSet = true; m_path.push_back(std::move(value)); return *this; } private: RouteAnalysisCompletion m_completionStatus; bool m_completionStatusHasBeenSet = false; Aws::Vector m_path; bool m_pathHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws