/**
* 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 the network interface that's
* attached to the instance.See Also:
AWS
* API Reference
Indicates whether ENA Express is enabled for the network interface that's * attached to the instance.
*/ inline bool GetEnaSrdEnabled() const{ return m_enaSrdEnabled; } /** *Indicates whether ENA Express is enabled for the network interface that's * attached to the instance.
*/ inline bool EnaSrdEnabledHasBeenSet() const { return m_enaSrdEnabledHasBeenSet; } /** *Indicates whether ENA Express is enabled for the network interface that's * attached to the instance.
*/ inline void SetEnaSrdEnabled(bool value) { m_enaSrdEnabledHasBeenSet = true; m_enaSrdEnabled = value; } /** *Indicates whether ENA Express is enabled for the network interface that's * attached to the instance.
*/ inline AttachmentEnaSrdSpecification& WithEnaSrdEnabled(bool value) { SetEnaSrdEnabled(value); return *this;} /** *ENA Express configuration for UDP network traffic.
*/ inline const AttachmentEnaSrdUdpSpecification& GetEnaSrdUdpSpecification() const{ return m_enaSrdUdpSpecification; } /** *ENA Express configuration for UDP network traffic.
*/ inline bool EnaSrdUdpSpecificationHasBeenSet() const { return m_enaSrdUdpSpecificationHasBeenSet; } /** *ENA Express configuration for UDP network traffic.
*/ inline void SetEnaSrdUdpSpecification(const AttachmentEnaSrdUdpSpecification& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = value; } /** *ENA Express configuration for UDP network traffic.
*/ inline void SetEnaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification&& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = std::move(value); } /** *ENA Express configuration for UDP network traffic.
*/ inline AttachmentEnaSrdSpecification& WithEnaSrdUdpSpecification(const AttachmentEnaSrdUdpSpecification& value) { SetEnaSrdUdpSpecification(value); return *this;} /** *ENA Express configuration for UDP network traffic.
*/ inline AttachmentEnaSrdSpecification& WithEnaSrdUdpSpecification(AttachmentEnaSrdUdpSpecification&& value) { SetEnaSrdUdpSpecification(std::move(value)); return *this;} private: bool m_enaSrdEnabled; bool m_enaSrdEnabledHasBeenSet = false; AttachmentEnaSrdUdpSpecification m_enaSrdUdpSpecification; bool m_enaSrdUdpSpecificationHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws