/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DirectConnect { namespace Model { class DescribeRouterConfigurationResult { public: AWS_DIRECTCONNECT_API DescribeRouterConfigurationResult(); AWS_DIRECTCONNECT_API DescribeRouterConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTCONNECT_API DescribeRouterConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The customer router configuration.

*/ inline const Aws::String& GetCustomerRouterConfig() const{ return m_customerRouterConfig; } /** *

The customer router configuration.

*/ inline void SetCustomerRouterConfig(const Aws::String& value) { m_customerRouterConfig = value; } /** *

The customer router configuration.

*/ inline void SetCustomerRouterConfig(Aws::String&& value) { m_customerRouterConfig = std::move(value); } /** *

The customer router configuration.

*/ inline void SetCustomerRouterConfig(const char* value) { m_customerRouterConfig.assign(value); } /** *

The customer router configuration.

*/ inline DescribeRouterConfigurationResult& WithCustomerRouterConfig(const Aws::String& value) { SetCustomerRouterConfig(value); return *this;} /** *

The customer router configuration.

*/ inline DescribeRouterConfigurationResult& WithCustomerRouterConfig(Aws::String&& value) { SetCustomerRouterConfig(std::move(value)); return *this;} /** *

The customer router configuration.

*/ inline DescribeRouterConfigurationResult& WithCustomerRouterConfig(const char* value) { SetCustomerRouterConfig(value); return *this;} /** *

The details about the router.

*/ inline const RouterType& GetRouter() const{ return m_router; } /** *

The details about the router.

*/ inline void SetRouter(const RouterType& value) { m_router = value; } /** *

The details about the router.

*/ inline void SetRouter(RouterType&& value) { m_router = std::move(value); } /** *

The details about the router.

*/ inline DescribeRouterConfigurationResult& WithRouter(const RouterType& value) { SetRouter(value); return *this;} /** *

The details about the router.

*/ inline DescribeRouterConfigurationResult& WithRouter(RouterType&& value) { SetRouter(std::move(value)); return *this;} /** *

The ID assigned to the virtual interface.

*/ inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; } /** *

The ID assigned to the virtual interface.

*/ inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceId = value; } /** *

The ID assigned to the virtual interface.

*/ inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceId = std::move(value); } /** *

The ID assigned to the virtual interface.

*/ inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceId.assign(value); } /** *

The ID assigned to the virtual interface.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;} /** *

The ID assigned to the virtual interface.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;} /** *

The ID assigned to the virtual interface.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;} /** *

Provides the details about a virtual interface's router.

*/ inline const Aws::String& GetVirtualInterfaceName() const{ return m_virtualInterfaceName; } /** *

Provides the details about a virtual interface's router.

*/ inline void SetVirtualInterfaceName(const Aws::String& value) { m_virtualInterfaceName = value; } /** *

Provides the details about a virtual interface's router.

*/ inline void SetVirtualInterfaceName(Aws::String&& value) { m_virtualInterfaceName = std::move(value); } /** *

Provides the details about a virtual interface's router.

*/ inline void SetVirtualInterfaceName(const char* value) { m_virtualInterfaceName.assign(value); } /** *

Provides the details about a virtual interface's router.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceName(const Aws::String& value) { SetVirtualInterfaceName(value); return *this;} /** *

Provides the details about a virtual interface's router.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceName(Aws::String&& value) { SetVirtualInterfaceName(std::move(value)); return *this;} /** *

Provides the details about a virtual interface's router.

*/ inline DescribeRouterConfigurationResult& WithVirtualInterfaceName(const char* value) { SetVirtualInterfaceName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeRouterConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeRouterConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeRouterConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_customerRouterConfig; RouterType m_router; Aws::String m_virtualInterfaceId; Aws::String m_virtualInterfaceName; Aws::String m_requestId; }; } // namespace Model } // namespace DirectConnect } // namespace Aws