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

Information on the network path associated with a finding.

See * Also:

AWS * API Reference

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

The details on the steps in the network path.

*/ inline const Aws::Vector& GetSteps() const{ return m_steps; } /** *

The details on the steps in the network path.

*/ inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; } /** *

The details on the steps in the network path.

*/ inline void SetSteps(const Aws::Vector& value) { m_stepsHasBeenSet = true; m_steps = value; } /** *

The details on the steps in the network path.

*/ inline void SetSteps(Aws::Vector&& value) { m_stepsHasBeenSet = true; m_steps = std::move(value); } /** *

The details on the steps in the network path.

*/ inline NetworkPath& WithSteps(const Aws::Vector& value) { SetSteps(value); return *this;} /** *

The details on the steps in the network path.

*/ inline NetworkPath& WithSteps(Aws::Vector&& value) { SetSteps(std::move(value)); return *this;} /** *

The details on the steps in the network path.

*/ inline NetworkPath& AddSteps(const Step& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; } /** *

The details on the steps in the network path.

*/ inline NetworkPath& AddSteps(Step&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; } private: Aws::Vector m_steps; bool m_stepsHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws