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

An object that represents the status of a virtual router.

See * Also:

AWS * API Reference

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

The current status of the virtual router.

*/ inline const VirtualRouterStatusCode& GetStatus() const{ return m_status; } /** *

The current status of the virtual router.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the virtual router.

*/ inline void SetStatus(const VirtualRouterStatusCode& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the virtual router.

*/ inline void SetStatus(VirtualRouterStatusCode&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the virtual router.

*/ inline VirtualRouterStatus& WithStatus(const VirtualRouterStatusCode& value) { SetStatus(value); return *this;} /** *

The current status of the virtual router.

*/ inline VirtualRouterStatus& WithStatus(VirtualRouterStatusCode&& value) { SetStatus(std::move(value)); return *this;} private: VirtualRouterStatusCode m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws