7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace GroundStation
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
56 inline int GetPort()
const {
return m_port; }
58 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
64 bool m_nameHasBeenSet =
false;
67 bool m_portHasBeenSet =
false;
AWS_GROUNDSTATION_API SocketAddress(Aws::Utils::Json::JsonView jsonValue)
SocketAddress & WithPort(int value)
AWS_GROUNDSTATION_API SocketAddress()=default
bool PortHasBeenSet() const
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
SocketAddress & WithName(NameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
AWS_GROUNDSTATION_API SocketAddress & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue