/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Egress address of AgentEndpoint with an optional mtu.See
* Also:
AWS
* API Reference
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
*/ inline int GetMtu() const{ return m_mtu; } /** *Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
*/ inline bool MtuHasBeenSet() const { return m_mtuHasBeenSet; } /** *Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
*/ inline void SetMtu(int value) { m_mtuHasBeenSet = true; m_mtu = value; } /** *Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
*/ inline ConnectionDetails& WithMtu(int value) { SetMtu(value); return *this;} /** *A socket address.
*/ inline const SocketAddress& GetSocketAddress() const{ return m_socketAddress; } /** *A socket address.
*/ inline bool SocketAddressHasBeenSet() const { return m_socketAddressHasBeenSet; } /** *A socket address.
*/ inline void SetSocketAddress(const SocketAddress& value) { m_socketAddressHasBeenSet = true; m_socketAddress = value; } /** *A socket address.
*/ inline void SetSocketAddress(SocketAddress&& value) { m_socketAddressHasBeenSet = true; m_socketAddress = std::move(value); } /** *A socket address.
*/ inline ConnectionDetails& WithSocketAddress(const SocketAddress& value) { SetSocketAddress(value); return *this;} /** *A socket address.
*/ inline ConnectionDetails& WithSocketAddress(SocketAddress&& value) { SetSocketAddress(std::move(value)); return *this;} private: int m_mtu; bool m_mtuHasBeenSet = false; SocketAddress m_socketAddress; bool m_socketAddressHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws