/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the ENA Express configuration for UDP traffic on the network
* interface that's attached to the instance.See Also:
AWS
* API Reference
Indicates whether UDP traffic to and from the instance uses ENA Express. To * specify this setting, you must first enable ENA Express.
*/ inline bool GetEnaSrdUdpEnabled() const{ return m_enaSrdUdpEnabled; } /** *Indicates whether UDP traffic to and from the instance uses ENA Express. To * specify this setting, you must first enable ENA Express.
*/ inline bool EnaSrdUdpEnabledHasBeenSet() const { return m_enaSrdUdpEnabledHasBeenSet; } /** *Indicates whether UDP traffic to and from the instance uses ENA Express. To * specify this setting, you must first enable ENA Express.
*/ inline void SetEnaSrdUdpEnabled(bool value) { m_enaSrdUdpEnabledHasBeenSet = true; m_enaSrdUdpEnabled = value; } /** *Indicates whether UDP traffic to and from the instance uses ENA Express. To * specify this setting, you must first enable ENA Express.
*/ inline AttachmentEnaSrdUdpSpecification& WithEnaSrdUdpEnabled(bool value) { SetEnaSrdUdpEnabled(value); return *this;} private: bool m_enaSrdUdpEnabled; bool m_enaSrdUdpEnabledHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws