/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The network configuration for a device.See Also:
AWS
* API Reference
Settings for Ethernet port 0.
*/ inline const EthernetPayload& GetEthernet0() const{ return m_ethernet0; } /** *Settings for Ethernet port 0.
*/ inline bool Ethernet0HasBeenSet() const { return m_ethernet0HasBeenSet; } /** *Settings for Ethernet port 0.
*/ inline void SetEthernet0(const EthernetPayload& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = value; } /** *Settings for Ethernet port 0.
*/ inline void SetEthernet0(EthernetPayload&& value) { m_ethernet0HasBeenSet = true; m_ethernet0 = std::move(value); } /** *Settings for Ethernet port 0.
*/ inline NetworkPayload& WithEthernet0(const EthernetPayload& value) { SetEthernet0(value); return *this;} /** *Settings for Ethernet port 0.
*/ inline NetworkPayload& WithEthernet0(EthernetPayload&& value) { SetEthernet0(std::move(value)); return *this;} /** *Settings for Ethernet port 1.
*/ inline const EthernetPayload& GetEthernet1() const{ return m_ethernet1; } /** *Settings for Ethernet port 1.
*/ inline bool Ethernet1HasBeenSet() const { return m_ethernet1HasBeenSet; } /** *Settings for Ethernet port 1.
*/ inline void SetEthernet1(const EthernetPayload& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = value; } /** *Settings for Ethernet port 1.
*/ inline void SetEthernet1(EthernetPayload&& value) { m_ethernet1HasBeenSet = true; m_ethernet1 = std::move(value); } /** *Settings for Ethernet port 1.
*/ inline NetworkPayload& WithEthernet1(const EthernetPayload& value) { SetEthernet1(value); return *this;} /** *Settings for Ethernet port 1.
*/ inline NetworkPayload& WithEthernet1(EthernetPayload&& value) { SetEthernet1(std::move(value)); return *this;} /** *Network time protocol (NTP) server settings.
*/ inline const NtpPayload& GetNtp() const{ return m_ntp; } /** *Network time protocol (NTP) server settings.
*/ inline bool NtpHasBeenSet() const { return m_ntpHasBeenSet; } /** *Network time protocol (NTP) server settings.
*/ inline void SetNtp(const NtpPayload& value) { m_ntpHasBeenSet = true; m_ntp = value; } /** *Network time protocol (NTP) server settings.
*/ inline void SetNtp(NtpPayload&& value) { m_ntpHasBeenSet = true; m_ntp = std::move(value); } /** *Network time protocol (NTP) server settings.
*/ inline NetworkPayload& WithNtp(const NtpPayload& value) { SetNtp(value); return *this;} /** *Network time protocol (NTP) server settings.
*/ inline NetworkPayload& WithNtp(NtpPayload&& value) { SetNtp(std::move(value)); return *this;} private: EthernetPayload m_ethernet0; bool m_ethernet0HasBeenSet = false; EthernetPayload m_ethernet1; bool m_ethernet1HasBeenSet = false; NtpPayload m_ntp; bool m_ntpHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws