7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
19namespace GroundStation {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
56 inline int GetPort()
const {
return m_port; }
59 m_portHasBeenSet =
true;
71 bool m_nameHasBeenSet =
false;
72 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