/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes dynamic routing for the transit gateway peering
* attachment.See Also:
AWS
* API Reference
Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline const DynamicRoutingValue& GetDynamicRouting() const{ return m_dynamicRouting; } /** *Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline bool DynamicRoutingHasBeenSet() const { return m_dynamicRoutingHasBeenSet; } /** *Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline void SetDynamicRouting(const DynamicRoutingValue& value) { m_dynamicRoutingHasBeenSet = true; m_dynamicRouting = value; } /** *Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline void SetDynamicRouting(DynamicRoutingValue&& value) { m_dynamicRoutingHasBeenSet = true; m_dynamicRouting = std::move(value); } /** *Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline TransitGatewayPeeringAttachmentOptions& WithDynamicRouting(const DynamicRoutingValue& value) { SetDynamicRouting(value); return *this;} /** *Describes whether dynamic routing is enabled or disabled for the transit * gateway peering attachment.
*/ inline TransitGatewayPeeringAttachmentOptions& WithDynamicRouting(DynamicRoutingValue&& value) { SetDynamicRouting(std::move(value)); return *this;} private: DynamicRoutingValue m_dynamicRouting; bool m_dynamicRoutingHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws