/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a dataflow endpoint.See Also:
AWS
* API Reference
Socket address of a dataflow endpoint.
*/ inline const SocketAddress& GetAddress() const{ return m_address; } /** *Socket address of a dataflow endpoint.
*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *Socket address of a dataflow endpoint.
*/ inline void SetAddress(const SocketAddress& value) { m_addressHasBeenSet = true; m_address = value; } /** *Socket address of a dataflow endpoint.
*/ inline void SetAddress(SocketAddress&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *Socket address of a dataflow endpoint.
*/ inline DataflowEndpoint& WithAddress(const SocketAddress& value) { SetAddress(value); return *this;} /** *Socket address of a dataflow endpoint.
*/ inline DataflowEndpoint& WithAddress(SocketAddress&& value) { SetAddress(std::move(value)); return *this;} /** *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 DataflowEndpoint& WithMtu(int value) { SetMtu(value); return *this;} /** *Name of a dataflow endpoint.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of a dataflow endpoint.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of a dataflow endpoint.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of a dataflow endpoint.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of a dataflow endpoint.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of a dataflow endpoint.
*/ inline DataflowEndpoint& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of a dataflow endpoint.
*/ inline DataflowEndpoint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of a dataflow endpoint.
*/ inline DataflowEndpoint& WithName(const char* value) { SetName(value); return *this;} /** *Status of a dataflow endpoint.
*/ inline const EndpointStatus& GetStatus() const{ return m_status; } /** *Status of a dataflow endpoint.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of a dataflow endpoint.
*/ inline void SetStatus(const EndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of a dataflow endpoint.
*/ inline void SetStatus(EndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of a dataflow endpoint.
*/ inline DataflowEndpoint& WithStatus(const EndpointStatus& value) { SetStatus(value); return *this;} /** *Status of a dataflow endpoint.
*/ inline DataflowEndpoint& WithStatus(EndpointStatus&& value) { SetStatus(std::move(value)); return *this;} private: SocketAddress m_address; bool m_addressHasBeenSet = false; int m_mtu; bool m_mtuHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; EndpointStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws