/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes a virtual private gateway propagating route.

See * Also:

AWS * API Reference

*/ class PropagatingVgw { public: AWS_EC2_API PropagatingVgw(); AWS_EC2_API PropagatingVgw(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API PropagatingVgw& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ID of the virtual private gateway.

*/ inline const Aws::String& GetGatewayId() const{ return m_gatewayId; } /** *

The ID of the virtual private gateway.

*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *

The ID of the virtual private gateway.

*/ inline void SetGatewayId(const Aws::String& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; } /** *

The ID of the virtual private gateway.

*/ inline void SetGatewayId(Aws::String&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); } /** *

The ID of the virtual private gateway.

*/ inline void SetGatewayId(const char* value) { m_gatewayIdHasBeenSet = true; m_gatewayId.assign(value); } /** *

The ID of the virtual private gateway.

*/ inline PropagatingVgw& WithGatewayId(const Aws::String& value) { SetGatewayId(value); return *this;} /** *

The ID of the virtual private gateway.

*/ inline PropagatingVgw& WithGatewayId(Aws::String&& value) { SetGatewayId(std::move(value)); return *this;} /** *

The ID of the virtual private gateway.

*/ inline PropagatingVgw& WithGatewayId(const char* value) { SetGatewayId(value); return *this;} private: Aws::String m_gatewayId; bool m_gatewayIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws