7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
50 template<
typename IdT = Aws::String>
61 template<
typename HostAddressT = Aws::String>
62 void SetHostAddress(HostAddressT&& value) { m_hostAddressHasBeenSet =
true; m_hostAddress = std::forward<HostAddressT>(value); }
63 template<
typename HostAddressT = Aws::String>
75 inline void SetPortNumber(
int value) { m_portNumberHasBeenSet =
true; m_portNumber = value; }
86 template<
typename MetadataT = Aws::String>
87 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
88 template<
typename MetadataT = Aws::String>
94 bool m_idHasBeenSet =
false;
97 bool m_hostAddressHasBeenSet =
false;
100 bool m_portNumberHasBeenSet =
false;
103 bool m_metadataHasBeenSet =
false;
ConnectivityInfo & WithHostAddress(HostAddressT &&value)
void SetMetadata(MetadataT &&value)
AWS_GREENGRASSV2_API ConnectivityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHostAddress() const
AWS_GREENGRASSV2_API ConnectivityInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API ConnectivityInfo()=default
ConnectivityInfo & WithId(IdT &&value)
void SetHostAddress(HostAddressT &&value)
void SetPortNumber(int value)
ConnectivityInfo & WithPortNumber(int value)
bool MetadataHasBeenSet() const
int GetPortNumber() const
ConnectivityInfo & WithMetadata(MetadataT &&value)
bool PortNumberHasBeenSet() const
const Aws::String & GetMetadata() const
bool IdHasBeenSet() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
bool HostAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue