/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the socket address.See Also:
AWS
* API Reference
Name of a socket address.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of a socket address.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of a socket address.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of a socket address.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of a socket address.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of a socket address.
*/ inline SocketAddress& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of a socket address.
*/ inline SocketAddress& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of a socket address.
*/ inline SocketAddress& WithName(const char* value) { SetName(value); return *this;} /** *Port of a socket address.
*/ inline int GetPort() const{ return m_port; } /** *Port of a socket address.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *Port of a socket address.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *Port of a socket address.
*/ inline SocketAddress& WithPort(int value) { SetPort(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws