/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GroundStation { namespace Model { /** *

Ingress address of AgentEndpoint with a port range and an optional * mtu.

See Also:

AWS * API Reference

*/ class RangedConnectionDetails { public: AWS_GROUNDSTATION_API RangedConnectionDetails(); AWS_GROUNDSTATION_API RangedConnectionDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API RangedConnectionDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 RangedConnectionDetails& WithMtu(int value) { SetMtu(value); return *this;} /** *

A ranged socket address.

*/ inline const RangedSocketAddress& GetSocketAddress() const{ return m_socketAddress; } /** *

A ranged socket address.

*/ inline bool SocketAddressHasBeenSet() const { return m_socketAddressHasBeenSet; } /** *

A ranged socket address.

*/ inline void SetSocketAddress(const RangedSocketAddress& value) { m_socketAddressHasBeenSet = true; m_socketAddress = value; } /** *

A ranged socket address.

*/ inline void SetSocketAddress(RangedSocketAddress&& value) { m_socketAddressHasBeenSet = true; m_socketAddress = std::move(value); } /** *

A ranged socket address.

*/ inline RangedConnectionDetails& WithSocketAddress(const RangedSocketAddress& value) { SetSocketAddress(value); return *this;} /** *

A ranged socket address.

*/ inline RangedConnectionDetails& WithSocketAddress(RangedSocketAddress&& value) { SetSocketAddress(std::move(value)); return *this;} private: int m_mtu; bool m_mtuHasBeenSet = false; RangedSocketAddress m_socketAddress; bool m_socketAddressHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws